LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
utils.hpp File Reference
Include dependency graph for COFF/utils.hpp:
This graph shows which files directly or indirectly include this file:

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)