LIEF: Library to Instrument Executable Formats Version 0.15.0
|
Interface over an entry in the DataInCode command. More...
#include <DataCodeEntry.hpp>
Public Types | |
enum class | TYPES { UNKNOWN = 0 , DATA = 1 , JUMP_TABLE_8 = 2 , JUMP_TABLE_16 = 3 , JUMP_TABLE_32 = 4 , ABS_JUMP_TABLE_32 = 5 } |
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 | |
DataCodeEntry (uint32_t off, uint16_t length, TYPES type) | |
DataCodeEntry (const details::data_in_code_entry &entry) | |
DataCodeEntry & | operator= (const DataCodeEntry &) |
DataCodeEntry (const DataCodeEntry &) | |
uint32_t | offset () const |
Offset of the data. | |
uint16_t | length () const |
Length of the data. | |
TYPES | type () const |
void | offset (uint32_t off) |
void | length (uint16_t length) |
void | type (TYPES type) |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::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 |
Interface over an entry in the DataInCode command.
|
overridevirtual |
Implements LIEF::Object.