Rizin
unix-like reverse engineering framework and cli tools
|
conditional breakpoints are implemented in the following way:
0x4000ce
for five times: f times=5 (dec_times,f times=`?vi times-1`,?= times) db @ 0x4000ce dbC .(dec_times) @ 0x4000ce dc
0x4000ce
e cmd.hitinfo=0 (break_rax,f reg_rax=`dr rax`,f test=`?vi reg_rax-0x31c0`,?= test) db @ 0x4000ce dbC .(break_rax) @ 0x4000ce dc
0x4000ce
e cmd.hitinfo=0 (trace_rax,dr rax,?= 1) db @ 0x4000ce dbC .(trace_rax) @ 0x4000ce dc > trace.txt