36 #include <spdlog/spdlog.h>
41 #include <xed-decode.h>
42 #include <xed-interface.h>
45 #define INSTR_SPLIT_SECTION_NAME ".obf"
68 coff::section_header_t*
scn,
69 std::vector<std::uint8_t>& fn,
83 coff::section_header_t*
scn();
89 std::vector<std::uint8_t>
data();
92 coff::symbol_t* m_sym;
93 std::vector<std::uint8_t> m_data;
95 coff::section_header_t* m_scn;
the routine class which is responsible for creating symbols for routines. if the routine is located i...
coff::section_header_t * scn()
gets the section header of the section in which the symbol is located in.
std::vector< decomp::symbol_t > decompose()
decompose the function into symbol(s).
routine_t(coff::symbol_t *sym, coff::image_t *img, coff::section_header_t *scn, std::vector< std::uint8_t > &fn, sym_type_t dcmp_type)
the explicit constructor for routine_t.
std::vector< std::uint8_t > data()
gets the function bytes.
the namespace that contains all of the decomposition related code.
sym_type_t
meta symbol type. this is an abstraction upon the coff symbol storage/class type.