2024-08-02 13:51:35 +00:00
|
|
|
from ghidra_assistant.ghidra_assistant import GhidraAssistant
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2024-08-05 17:37:13 +00:00
|
|
|
# rom = open("S7/rom.bin", 'rb').read()
|
2024-08-16 08:11:18 +00:00
|
|
|
imem = open("/tmp/imem", 'rb').read()
|
2024-08-02 13:51:35 +00:00
|
|
|
|
|
|
|
ga = GhidraAssistant()
|
2024-08-05 17:37:13 +00:00
|
|
|
# ga.ghidra.add_memory(rom, 0x0, True, "ROM")
|
|
|
|
ga.ghidra.add_memory(imem, 0x02020000, True, "IMEM")
|
2024-08-02 13:51:35 +00:00
|
|
|
|
|
|
|
pass
|