gdbghidra icon indicating copy to clipboard operation
gdbghidra copied to clipboard

Broken breakpoints are sent by server if no cursor event has been received from client

Open fmagin opened this issue 5 years ago • 0 comments

GDBReceiver.relocate is initialized as 0, and used as a base in https://github.com/Comsecuris/gdbghidra/blob/c817839da4fe7fcb01893fb423bd55157892e741/src/main/java/gdbghidra/GDBReceiver.java#L195 when a breakpoint is set. If no cursor event is received that updates .relocate prior to toggling a breakpoint, the address sent to GDB will be wrong.

Ghidra Version: https://github.com/NationalSecurityAgency/ghidra/tree/adedcde30f893fe3f48291f15866aed05df04fc9 gdbghidra Version: c817839da4fe7fcb01893fb423bd55157892e741

fmagin avatar Dec 08 '19 18:12 fmagin