|
LIEF: Library to Instrument Executable Formats Version 1.0.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 ()=default | |
| DataCodeEntry (uint32_t off, uint16_t length, TYPES type) | |
| DataCodeEntry (const details::data_in_code_entry &entry) | |
| DataCodeEntry & | operator= (const DataCodeEntry &)=default |
| DataCodeEntry (const DataCodeEntry &)=default | |
| 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) |
| ~DataCodeEntry () override=default | |
| void | accept (Visitor &visitor) const override |
| Public Member Functions inherited from LIEF::Object | |
| Object () | |
| Object (const Object &other) | |
| Object & | operator= (const Object &other) |
| Object (Object &&other) noexcept=default | |
| Object & | operator= (Object &&other) noexcept=default |
| 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 () |
Interface over an entry in the DataInCode command.
|
strong |
|
default |
Referenced by DataCodeEntry(), operator<<, and operator=().
|
inline |
| LIEF::MachO::DataCodeEntry::DataCodeEntry | ( | const details::data_in_code_entry & | entry | ) |
|
default |
References DataCodeEntry().
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
|
inline |
Length of the data.
Referenced by DataCodeEntry(), and length().
|
inline |
References length().
|
inline |
Offset of the data.
|
inline |
|
default |
References DataCodeEntry().
|
inline |
Referenced by DataCodeEntry(), and type().