LIEF: Library to Instrument Executable Formats Version 0.16.0
|
This class represents a generic entry in the debug data directory. For known types, this class is extended to provide a dedicated API (see: ! CodeCodeView) More...
#include <Debug.hpp>
Public Types | |
enum class | TYPES { UNKNOWN = 0 , COFF = 1 , CODEVIEW = 2 , FPO = 3 , MISC = 4 , EXCEPTION = 5 , FIXUP = 6 , OMAP_TO_SRC = 7 , OMAP_FROM_SRC = 8 , BORLAND = 9 , RESERVED10 = 10 , CLSID = 11 , VC_FEATURE = 12 , POGO = 13 , ILTCG = 14 , MPX = 15 , REPRO = 16 , EX_DLLCHARACTERISTICS = 20 } |
The entry types. More... | |
Public Types inherited from LIEF::Object | |
template<class T > | |
using | output_t = add_pointer_t<decay_t<T>> |
template<class T > | |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
Public Member Functions | |
Debug ()=default | |
Debug (TYPES type) | |
Debug (const details::pe_debug &debug_s) | |
Debug (const Debug &other)=default | |
Debug & | operator= (const Debug &other)=default |
~Debug () override=default | |
virtual std::unique_ptr< Debug > | clone () const |
uint32_t | characteristics () const |
Reserved should be 0. | |
uint32_t | timestamp () const |
The time and date when the debug data was created. | |
uint16_t | major_version () const |
The major version number of the debug data format. | |
uint16_t | minor_version () const |
The minor version number of the debug data format. | |
TYPES | type () const |
The format DEBUG_TYPES of the debugging information. | |
uint32_t | sizeof_data () const |
Size of the debug data. | |
uint32_t | addressof_rawdata () const |
Address of the debug data relative to the image base. | |
uint32_t | pointerto_rawdata () const |
File offset of the debug data. | |
void | characteristics (uint32_t characteristics) |
void | timestamp (uint32_t timestamp) |
void | major_version (uint16_t major_version) |
void | minor_version (uint16_t minor_version) |
void | sizeof_data (uint32_t sizeof_data) |
void | addressof_rawdata (uint32_t addressof_rawdata) |
void | pointerto_rawdata (uint32_t pointerto_rawdata) |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::Object | |
Object () | |
Object (const Object &other) | |
Object & | operator= (const Object &other) |
template<class T > | |
output_t< T > | as () |
template<class T > | |
output_const_t< T > | as () const |
virtual bool | operator== (const Object &other) const |
virtual bool | operator!= (const Object &other) const |
virtual | ~Object () |
This class represents a generic entry in the debug data directory. For known types, this class is extended to provide a dedicated API (see: ! CodeCodeView)
|
strong |
The entry types.
Enumerator | |
---|---|
UNKNOWN | |
COFF | COFF debug information. |
CODEVIEW | CodeView debug information (pdb & cie) |
FPO | Frame pointer omission information. |
MISC | |
EXCEPTION | A copy of .pdata section. |
FIXUP | Reserved. |
OMAP_TO_SRC | The mapping from an RVA in image to an RVA in source image. |
OMAP_FROM_SRC | The mapping from an RVA in source image to an RVA in image. |
BORLAND | Reserved for Borland. |
RESERVED10 | Reserved. |
CLSID | Reserved. |
VC_FEATURE | |
POGO | Profile Guided Optimization metadata. |
ILTCG | |
MPX | |
REPRO | PE determinism or reproducibility. |
EX_DLLCHARACTERISTICS |
|
default |
|
inline |
LIEF::PE::Debug::Debug | ( | const details::pe_debug & | debug_s | ) |
|
default |
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
Reimplemented in LIEF::PE::Pogo, and LIEF::PE::Repro.
|
inline |
Address of the debug data relative to the image base.
|
inline |
|
inline |
Reserved should be 0.
|
inline |
|
inlinevirtual |
Reimplemented in LIEF::PE::CodeView, LIEF::PE::CodeViewPDB, LIEF::PE::Pogo, and LIEF::PE::Repro.
|
inline |
The major version number of the debug data format.
|
inline |
|
inline |
The minor version number of the debug data format.
|
inline |
|
inline |
File offset of the debug data.
|
inline |
|
inline |
Size of the debug data.
|
inline |
|
inline |
The time and date when the debug data was created.
|
inline |
|
inline |
The format DEBUG_TYPES of the debugging information.