starting work on transformations...

3.0
_xeroxz 2 years ago
parent 0529fda2cc
commit 312762b3ca

@ -3,7 +3,15 @@ extern "C" int MessageBoxA(void* hWnd,
char* lpCaption,
void* uType);
struct test_t {
char buff[0x2000];
};
test_t t = {};
extern "C" void EntryPoint() {
t.buff[0] = 1;
t.buff[1] = 2;
MessageBoxA(nullptr, "Hello World", "Hello World", nullptr);
MessageBoxA(nullptr, "Hello World 1", "Hello World 1", nullptr);
}

@ -92,9 +92,10 @@ std::optional<comp::symbol_table_t*> decomp_t::decompose() {
sym_type_t::section);
spdlog::info(
"generating symbol for section: {} sym name: {} hash: {:X}",
"generating symbol for section: {} sym name: {} hash: {:X} "
"section size: {}",
scn->name.to_string(img->get_strings()), new_scn_sym.name(),
new_scn_sym.hash());
new_scn_sym.hash(), scn->size_raw_data);
m_syms->add_symbol(new_scn_sym);
}

Loading…
Cancel
Save