mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GP-5976: Implement constant folding and other optimizations in JIT emulator.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user