Skip to content

scripts that generates an IDA script to highlight instructions of a binary that was executed in GDB

Notifications You must be signed in to change notification settings

misterjyu/poortrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

poortrace

scripts that generates an IDA script to highlight instructions of a binary that was executed in GDB.

To use:

assuming we have a ELF binary called "hello" we want to trace.

edit the trace.gdb and change the "$start_address" variable to point to the starting address of the bianry file.

then run:

gdb --batch-silent -x trace.gdb ./hello

the above command will generate a gdb.txt file

Now run ./ida_highlight.py

it will generate address.txt, highlight.idc and clear.idc

The address.txt is a place holder of address from gdb.txt

Run IDA pro and load the highlight.idc script. It will highlight the instructions that gdb recorded as executed.

Assuming you're using a white background for the graph, the clear.idc will revert the 'highlighted' lines and turn them back to white.

About

scripts that generates an IDA script to highlight instructions of a binary that was executed in GDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages