Open joylin1984 opened 9 months ago
This topic could be expanded further into a Debug API (I tried to do it in the past, but it didn't go very well - I could try again though). E.g:
LM_DbgAttach
LM_DbgDetach
LM_DbgReadRegs
LM_DbgWriteRegs
LM_DbgBreakpoint
LM_DbgHwBreakpoint
// ...
I've done a PoC for Linux here: https://github.com/rdbo/ptrace-breakpoint-parent-test So yeah, this is definitely possible
I don't know how this would go on Windows though, but it shouldn't be much different
Function request: add (remove) hardware breakpoints to threads.
This can achieve HWBP HOOK.