32#include <coff/image.hpp>
79 std::vector<std::uint8_t>
data,
80 coff::section_header_t*
scn = {},
81 coff::symbol_t*
sym = {},
82 std::vector<recomp::reloc_t>
relocs = {},
89 std::string
name()
const;
96 std::uintptr_t
offset()
const;
108 std::uint32_t
size()
const;
115 coff::section_header_t*
scn()
const;
121 coff::image_t*
img()
const;
128 std::vector<std::uint8_t>&
data();
134 coff::symbol_t*
sym()
const;
146 std::vector<recomp::reloc_t>&
relocs();
165 static std::size_t
hash(
const std::string&
sym);
187 static std::string
name(
const coff::image_t*
img, coff::symbol_t*
sym);
191 std::uintptr_t m_offset, m_allocated_at;
192 std::vector<std::uint8_t> m_data;
193 coff::section_header_t* m_scn;
194 std::vector<recomp::reloc_t> m_relocs;
196 coff::symbol_t* m_sym;
197 coff::image_t* m_img;