11 lines
328 B
Python
11 lines
328 B
Python
from ghidra_assistant.ghidra_assistant import GhidraAssistant
|
|
|
|
if __name__ == "__main__":
|
|
# rom = open("S7/rom.bin", 'rb').read()
|
|
imem = open("/tmp/imem", 'rb').read()
|
|
|
|
ga = GhidraAssistant()
|
|
# ga.ghidra.add_memory(rom, 0x0, True, "ROM")
|
|
ga.ghidra.add_memory(imem, 0x02020000, True, "IMEM")
|
|
|
|
pass |