From 1c9e2c998ffc9f20fc72aa75b01dae6c336659e4 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 3 Mar 2021 17:33:26 +0100 Subject: Do ElfPlt on main elf --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index 8495aca5..b5ba59ec 100755 --- a/src/main.c +++ b/src/main.c @@ -871,6 +871,10 @@ int main(int argc, const char **argv, const char **env) { FreeBox64Context(&my_context); return -1; } + // and handle PLT + RelocateElfPlt(my_context->maplib, NULL, elf_header); + // defered init +// RunDeferedElfInit(emu); return 0; } -- cgit 1.4.1