7 #ifndef RETDEC_FILEFORMAT_FILE_FORMAT_ELF_ELF_FORMAT_H
8 #define RETDEC_FILEFORMAT_FILE_FORMAT_ELF_ELF_FORMAT_H
10 #include <unordered_map>
12 #include <elfio/elfio.hpp>
34 unsigned long long size = 0;
38 unsigned long long type = SHT_NULL;
62 ELFIO::Elf_Half
fixSymbolLink(ELFIO::Elf_Half symbolLink, ELFIO::Elf64_Addr symbolValue);
64 void loadRelocations(
const ELFIO::elfio *file,
const ELFIO::section *symbolTable, std::unordered_multimap<std::string, unsigned long long> &nameAddressMap);
65 void loadSymbols(
const ELFIO::elfio *file,
const ELFIO::symbol_section_accessor *elfSymbolTable,
const ELFIO::section *elfSection);
69 const ELFIO::dynamic_section_accessor *elfDynamicTable,
70 const ELFIO::section *sec);
110 virtual bool isDll()
const override;
112 virtual bool getMachineCode(
unsigned long long &result)
const override;
113 virtual bool getAbiVersion(
unsigned long long &result)
const override;
115 virtual bool getEpAddress(
unsigned long long &result)
const override;
116 virtual bool getEpOffset(
unsigned long long &epOffset)
const override;
Endianness
Definition: byte_value_storage.h:21
Definition: archive_wrapper.h:19