mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
Debugger: Add DebugSession
The DebugSession class wraps the usage of Ptrace. It is intended to be used by cli & gui debugger programs. Also, call objdump for disassemly
This commit is contained in:
parent
50fd2cabff
commit
3e9a7175d1
10 changed files with 473 additions and 166 deletions
|
@ -46,6 +46,7 @@ public:
|
|||
void set_trace_syscalls(bool val) { m_trace_syscalls = val; }
|
||||
|
||||
void set_regs(const RegisterState& regs);
|
||||
void set_regs(const PtraceRegisters& regs) { m_regs = regs; }
|
||||
bool has_regs() const { return m_regs.has_value(); }
|
||||
const PtraceRegisters& regs() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue