LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Classes | |
class | AuxiliarybfAndefSymbol |
class | AuxiliaryCLRToken |
Auxiliary symbol associated with the CLR_TOKEN storage class. More... | |
class | AuxiliaryFile |
This auxiliary symbol represents a filename (auxiliary format 4) More... | |
class | AuxiliaryFunctionDefinition |
This auxiliary symbols marks the beginning of a function definition. More... | |
class | AuxiliarySectionDefinition |
This auxiliary symbol exposes information about the associated section. More... | |
class | AuxiliarySymbol |
Class that represents an auxiliary symbol. More... | |
class | AuxiliaryWeakExternal |
"Weak externals" are a mechanism for object files that allows flexibility at link time. A module can contain an unresolved external symbol (sym1 ), but it can also include an auxiliary record that indicates that if sym1 is not present at link time, another external symbol (sym2 ) is used to resolve references instead. More... | |
class | BigObjHeader |
This class represents the header for a COFF object compiled with /bigobj support (i.e. the number of sections can exceed 65536). More... | |
class | Binary |
Class that represents a COFF Binary. More... | |
class | Header |
Class that represents the COFF header. It is subclassed by LIEF::COFF::RegularHeader and LIEF::COFF::BigObjHeader for normal vs /bigobj files. More... | |
class | Parser |
class | ParserConfig |
Class used to configure the COFF parser. More... | |
class | RegularHeader |
This class represents the COFF header for non-bigobj. More... | |
class | Relocation |
This class represents a COFF relocation. More... | |
class | Section |
This class represents a COFF section. More... | |
class | String |
This class represents a string located in the COFF string table. More... | |
class | Symbol |
This class represents a COFF symbol. More... | |
Functions | |
const char * | to_string (AuxiliarySectionDefinition::COMDAT_SELECTION e) |
const char * | to_string (AuxiliaryWeakExternal::CHARACTERISTICS e) |
const char * | to_string (Header::KIND kind) |
const char * | to_string (Header::MACHINE_TYPES machine) |
const char * | to_string (Relocation::TYPE e) |
const char * | to_string (Section::CHARACTERISTICS e) |
const char * | to_string (Symbol::STORAGE_CLASS e) |
const char * | to_string (Symbol::BASE_TYPE e) |
const char * | to_string (Symbol::COMPLEX_TYPE e) |
Header::KIND | 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 | is_coff (BinaryStream &stream) |
Check if the given stream wraps a COFF file. | |
bool | is_coff (const std::string &file) |
Check if the file is a COFF. | |
bool | is_coff (const uint8_t *buffer, size_t size) |
Check if the given buffer points to a COFF file. | |
bool | is_coff (const std::vector< uint8_t > &buffer) |
Check if the given buffer points to a COFF file. | |
bool | is_bigobj (BinaryStream &stream) |
Check if the COFF file wrapped by the given stream is a bigobj | |
bool | is_regular (BinaryStream &stream) |
Check if the COFF file wrapped by the given stream is regular (i.e. not a bigobj) | |
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.
Referenced by is_bigobj(), is_coff(), and is_regular().
|
inline |
Check if the COFF file wrapped by the given stream is a bigobj
References LIEF::COFF::Header::BIGOBJ, and get_kind().
|
inline |
Check if the given stream wraps a COFF file.
References get_kind(), and LIEF::COFF::Header::UNKNOWN.
|
inline |
Check if the file
is a COFF.
References LIEF::FileStream::from_file(), and is_coff().
|
inline |
|
inline |
|
inline |
Check if the COFF file wrapped by the given stream is regular (i.e. not a bigobj)
References get_kind(), and LIEF::COFF::Header::REGULAR.
const char * LIEF::COFF::to_string | ( | AuxiliarySectionDefinition::COMDAT_SELECTION | e | ) |
const char * LIEF::COFF::to_string | ( | AuxiliaryWeakExternal::CHARACTERISTICS | e | ) |
|
inline |
References LIEF::COFF::Header::BIGOBJ, LIEF::COFF::Header::REGULAR, and LIEF::COFF::Header::UNKNOWN.
|
inline |
References LIEF::PE::to_string().
const char * LIEF::COFF::to_string | ( | Relocation::TYPE | e | ) |
|
inline |
References LIEF::PE::to_string().
const char * LIEF::COFF::to_string | ( | Symbol::BASE_TYPE | e | ) |
const char * LIEF::COFF::to_string | ( | Symbol::COMPLEX_TYPE | e | ) |
const char * LIEF::COFF::to_string | ( | Symbol::STORAGE_CLASS | e | ) |