Go to the documentation of this file.
16#ifndef LIEF_MACHO_DATA_CODE_ENTRY_H
17#define LIEF_MACHO_DATA_CODE_ENTRY_H
29struct data_in_code_entry;
41 ABS_JUMP_TABLE_32 = 5,
53 DataCodeEntry&
operator=(
const DataCodeEntry&) =
default;
83 void accept(Visitor& visitor)
const override;
90 TYPES type_ = TYPES::UNKNOWN;
Interface over an entry in the DataInCode command.
Definition DataCodeEntry.hpp:33
~DataCodeEntry() override=default
friend std::ostream & operator<<(std::ostream &os, const DataCodeEntry &entry)
void accept(Visitor &visitor) const override
DataCodeEntry(const details::data_in_code_entry &entry)
DataCodeEntry(const DataCodeEntry &)=default
void offset(uint32_t off)
Definition DataCodeEntry.hpp:71
TYPES type() const
Definition DataCodeEntry.hpp:67
DataCodeEntry & operator=(const DataCodeEntry &)=default
void length(uint16_t length)
Definition DataCodeEntry.hpp:74
uint32_t offset() const
Offset of the data.
Definition DataCodeEntry.hpp:57
DataCodeEntry(uint32_t off, uint16_t length, TYPES type)
Definition DataCodeEntry.hpp:46
void type(TYPES type)
Definition DataCodeEntry.hpp:77
TYPES
Definition DataCodeEntry.hpp:35
uint16_t length() const
Length of the data.
Definition DataCodeEntry.hpp:62