7 #ifndef RETDEC_FILEFORMAT_FILE_FORMAT_RAW_DATA_RAW_DATA_FORMAT_H
8 #define RETDEC_FILEFORMAT_FILE_FORMAT_RAW_DATA_RAW_DATA_FORMAT_H
81 virtual bool isDll()
const override;
83 virtual bool getMachineCode(
unsigned long long &result)
const override;
84 virtual bool getAbiVersion(
unsigned long long &result)
const override;
86 virtual bool getEpAddress(
unsigned long long &result)
const override;
87 virtual bool getEpOffset(
unsigned long long &result)
const override;
124 const auto *pd =
reinterpret_cast<const unsigned char*
>(&d);
125 assert(pd &&
"Invalid data");
126 assert(
section &&
"Section must be initialized in constructor");
127 std::vector<unsigned char> aBytes(pd, pd +
sizeof(d));
128 const auto pos =
bytes.size();
129 bytes.insert(
bytes.end(), aBytes.begin(), aBytes.end());
Address, address pair and other derived class representation.
Endianness
Definition: byte_value_storage.h:21
Definition: archive_wrapper.h:19