LIEF: Library to Instrument Executable Formats Version 0.17.0
|
#include "LIEF/visibility.h"
#include "LIEF/COFF/Header.hpp"
#include "LIEF/BinaryStream/FileStream.hpp"
#include "LIEF/BinaryStream/SpanStream.hpp"
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | LIEF |
LIEF namespace. | |
namespace | LIEF::COFF |
Functions | |
Header::KIND | LIEF::COFF::get_kind (BinaryStream &stream) |
This function determines if the given stream wraps a COFF binary and if so, whether it's a regular or bigobj COFF. | |
bool | LIEF::COFF::is_coff (BinaryStream &stream) |
Check if the given stream wraps a COFF file. | |
bool | LIEF::COFF::is_coff (const std::string &file) |
Check if the file is a COFF. | |
bool | LIEF::COFF::is_coff (const uint8_t *buffer, size_t size) |
Check if the given buffer points to a COFF file. | |
bool | LIEF::COFF::is_coff (const std::vector< uint8_t > &buffer) |
Check if the given buffer points to a COFF file. | |
bool | LIEF::COFF::is_bigobj (BinaryStream &stream) |
Check if the COFF file wrapped by the given stream is a bigobj | |
bool | LIEF::COFF::is_regular (BinaryStream &stream) |
Check if the COFF file wrapped by the given stream is regular (i.e. not a bigobj) | |