kallsyms / warpspeed

macOS Record Replay Debugger
4 stars 0 forks source link

consider doing a DBI approach #14

Open kallsyms opened 1 year ago

kallsyms commented 1 year ago

instead of trying to glue together an increasing number of subsystems, maybe statically finding syscall/mach trap instructions and patching them is actually the way to go. See NOTES.

potential issues:

see also https://arxiv.org/pdf/2105.12819.pdf ("Implementation of Live Reverse Debugging in LLDB")

pmarkowsky commented 1 year ago

Another thought would be could we just patch out the system call with jumps, may also want to look at code caves to jump to.

pmarkowsky commented 1 year ago

The REPT Paper also has some interesting approaches but also leverages Intel PT.