You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Theodosius/include/theo/symbol.hpp

27 lines
463 B

#pragma once
#include <coff/image.hpp>
#include <xtils.hpp>
#define XED_DECODER
extern "C"
{
#include <xed-decode.h>
}
namespace theo
{
class symbol_t
{
std::uint32_t symbol_table_idx;
coff::symbol_t coff_symbol;
std::vector< symbol_t * > deps;
std::vector< xed_decoded_inst_t > instrs;
void on_update();
public:
symbol_t();
void add_dep( const symbol_t &dep );
};
} // namespace theo