逆向工程 - Ghidra - Python - EntryPoint



參考資訊:
https://github.com/HackOvert/GhidraSnippets

Window -> Script Manager


Create New Script


Python


File Name


entrypoint.py

from ghidra.program.flatapi import FlatProgramAPI

state = getState()
program = state.getCurrentProgram()
fpapi = FlatProgramAPI(program)

print('Program: {}'.format(fpapi.currentProgram))
print('Entry: {}'.format(fpapi.firstFunction))

Run


完成