Expand description
A debugger library utilizing ptrace
-syscall.
Supported platforms: linux x86_64 and freebsd x86_64.
WARNING: Only one concurrent instance of Ptracer
is currently supported!
This library is still in early development.
There may still be edge cases where things will break.
See examples for possible usage.
Re-exports§
Modules§
Structs§
- Breakpoint
- Breakpoint
- Ptracer
- Ptrace wraps
ptrace
syscalls to enable writing an debugger.
Enums§
- Continue
Mode - Debugee continue mode
- Thread
State - Thread state
Traits§
- Registers
- Abstraction trait for x86_64 registers.
Functions§
- getevent
- Gets a ptrace event as described by
ptrace(PTRACE_GETEVENTMSG,...)
- getregs
- Get user registers, as with
ptrace(PTRACE_GETREGS, ...)
- getsiginfo
- Get siginfo as with
ptrace(PTRACE_GETSIGINFO,...)
- read
- Reads a word from a processes memory at the given address
- setregs
- Set user registers, as with
ptrace(PTRACE_SETREGS, ...)
- setsiginfo
- Set siginfo as with
ptrace(PTRACE_SETSIGINFO,...)
- write
- Writes a word into the processes memory at the given address