Skip to content

Conversation

@hexploitable
Copy link
Contributor

This is an attempt to add a step feature to the existing agent based breakpoint functionality (:db), by calculating the next instruction and setting an ephemeral breakpoint there.

I tried to have the code automatically continue, but the app behaves weird. Some times it would work and sometimes hang, so unless you have ideas, we'd use this like so:

> :db 0xdeadbeef

breakpoint 0xdeadbeef hit

> :ds
Setting breakpoint to 0x...

> :dc

@hexploitable hexploitable marked this pull request as draft August 25, 2024 19:57
@hexploitable hexploitable changed the title Draft: implement a step command via agent debugging Implement a step command via agent debugging Aug 25, 2024
@trufae
Copy link
Member

trufae commented Sep 6, 2024

Frida 18 will add support for breakpoints and watchpoints. maybe better to wait for this thing

@trufae
Copy link
Member

trufae commented Oct 7, 2024

the breakpoints commands should be reworked and use this pr as inspiration #630

@trufae trufae force-pushed the master branch 2 times, most recently from 71557b4 to ba873ed Compare December 10, 2024 16:17
@trufae
Copy link
Member

trufae commented Jan 2, 2025

breakpoints reworked, please resolve conflicts and rebase

@trufae trufae changed the title Implement a step command via agent debugging WIP: Implement a step command via agent debugging Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants