GP-5976: Implement constant folding and other optimizations in JIT emulator.

This commit is contained in:
Dan
2026-09-02 18:36:58 +00:00
parent c55ee84ba3
commit 9d186a3e30
256 changed files with 11499 additions and 6268 deletions

View File

@@ -31,7 +31,8 @@ public class CustomLibraryScript extends GhidraScript {
};
emu.inject(currentAddress, """
__libc_strlen();
__X86_64_RET();
RIP = __X86_64_POP();
return [RIP];
""");
// TODO: Initialize the emulator's memory from the current program