Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a step command via agent debugging #619

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

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

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