This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import r2pipe | |
r2 = r2pipe.open("./zwiebel2") | |
r2.cmd("e dbg.profile=zwiebel.rr2") | |
r2.cmd("doo") # reopen for debugging | |
r2.cmd("db 0x400875") # set breakpoint at `call r14` | |
r2.cmd("dc") # continue until breakpoint is hit | |
def step(): |