schlafwandler/ghidra_SavePatch

SavePatch failed!

mahdizolqadr opened this issue · 2 comments

hi
i use your script for save patch but this script failed and raised error:

AttributeError: 'ghidra.program.database.mem.MemoryMapDB' object has no attribute 'getAddressSourceInfo'

thanks

sourceinfo = mem.getAddressSourceInfo(address)
AttributeError: 'ghidra.program.database.mem.MemoryMapDB' object has no attribute 'getAddressSourceInfo'

Hi,
I can not reproduce this problem with Ghidra 9.2.1; and according to https://ghidra.re/ghidra_docs/api/ghidra/program/database/mem/MemoryMapDB.html MemoryMapDB should have a method getAddressSourceInfo​.

Can you give me some additional information, like the Ghidra version and OS?