Replies: 3 comments
-
It may. |
Beta Was this translation helpful? Give feedback.
0 replies
-
can you share ghidra script? |
Beta Was this translation helpful? Give feedback.
0 replies
-
from ghidra.program.model.address import AddressFactory
from ghidra.program.model.symbol.SourceType import USER_DEFINED
import re
address_factory = getAddressFactory()
with open("/path/to/dump.cs", "r") as file:
content = file.read()
matches = re.findall("([^\s]+)(?:\(.+)(0x[0123456789abcdef]{8})", content)
for match in matches:
function = getFunctionAt(address_factory.getAddress(match[1]))
if function:
function.setName(match[0], USER_DEFINED) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
dump() => file.cs => used by ida7.5?
Beta Was this translation helpful? Give feedback.
All reactions