Created
December 10, 2019 08:30
-
-
Save tahaconfiant/6a407aa6e7124cb7f94f9cea6130ba2d to your computer and use it in GitHub Desktop.
custom_breakpoints
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
def custom_breakpoints(debugger, command, result, internal_dict): | |
target = debugger.GetSelectedTarget() | |
breakpoint = target.BreakpointCreateByName("write", "libsystem_kernel.dylib") | |
breakpoint.SetScriptCallbackFunction('bundlore_python_dump.write_callback') | |
breakpoint = target.BreakpointCreateByName("waitpid") | |
breakpoint.SetScriptCallbackFunction('bundlore_python_dump.waitpid_callback') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment