Open b1gcat opened 10 months ago
iirc dts command was introduced by a gsoc student many years ago and it was a bit broken at the time, i found some more bugs and fixed them right now, but the main problem is that dts is probably not the thing you are looking for. because this command is used to trace reg and mem access in order to perform backstepping. and my guess is that you want to just traces when the program hits a specific address, right?
you shuold be able to do that using a tracepoint, aka a breakpoint with the tracebit set.
| dbite <idx> enable breakpoint Trace by index
| dbitd <idx> disable breakpoint Trace by index
its also been a while since this was used and the debugger tests has been enabled few weeks ago, so i expect to focus on the debugger this year and get all those issues addressed, but i cant promise you all these commands would work as expected because they have been touched by many people and hasnt been tested at all.
My suggestion is to use r2frida, which i use more frequently and it's heavily tested on many more platforms, r2frida provides breakpoints and tracepoints. The support for syscall tracing is not yet there, but i also hope to find some time this year to implement it.
Let me know how your testing goes and feel free to report anything you find in these commands.
Thank you
thank you, I got it
I wanna trace some special address by
dta/dts
:I create a script to load while debuging:
and then load script:
and then run
dcs
, I hope to trace something, but nothing:Maybe I have some misunderstanding about trace, can someone help?
thanks.
ps: ob.bin.zip