radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.35k stars 2.97k forks source link

r2 : the breakpoint not working... #23298

Closed rolio37 closed 3 days ago

rolio37 commented 1 week ago

Environment

sam. 7 sept. 2024 20:13:53 CEST

radare2 5.9.4 1 @ freebsd-x86-64 birth: git.5.9.4 2024-09-06__22:00:50 commit: 02129cb2032f22e445bf98240859a0cca63336fd options: gpl -O1 cs:5 cl:2 make

FreeBSD amd64

Description

the breakpoint not working...

Test

asm exit program compiled with nasm :

r2 -d exit

[0x00201120]> db 0x0020112d [0x00201120]> dc

debug_r2

trufae commented 1 week ago

The breakpoint seems to work but its not recoiling a byte for an unknown reason. Will chk when i have some time

rolio37 commented 1 week ago

ok thank you.

trufae commented 6 days ago

cant reproduce

rolio37 commented 5 days ago

ok, it's strange... $ freebsd-version -kru 14.1-RELEASE-p4 14.1-RELEASE-p4 14.1-RELEASE-p4

trufae commented 3 days ago

uh i can repro now! ill take a look

trufae commented 3 days ago

here we go :) pull from master

rolio37 commented 3 days ago

It's ok, breakpoints work under FreeBSD, thanks for the correction :)