create fake string segment to allow ida to show the actual strings, also add custom xref between methodinfo and method when both exist

This commit is contained in:
LukeFZ
2024-02-16 11:43:15 +01:00
parent 42d97813df
commit 0f7cd027c3
4 changed files with 70 additions and 11 deletions

View File

@@ -64,11 +64,12 @@ def script_prologue(status):
if currentProgram.getExecutableFormat().endswith('(ELF)'):
currentProgram.setImageBase(toAddr(%IMAGE_BASE%), True)
def get_script_directory(): return getSourceFile().getParentFile().toString()
def script_epilogue(status): pass
def get_script_directory():
return getSourceFile().getParentFile().toString()
def add_function_to_group(addr, group): pass
def add_xref(addr, to): pass
def create_fake_segment(name, size): pass
def write_string(addr, string): pass
def write_address(addr, value): pass
class StatusWrapper(BaseStatusHandler): pass