1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

ptrace: Add PT_PEEK

PT_PEEK reads a single word from the tracee's address space and returns
it to the tracer.
This commit is contained in:
Itamar 2020-04-04 11:26:56 +03:00 committed by Andreas Kling
parent 77f671b462
commit 984ff93406
4 changed files with 28 additions and 2 deletions

View file

@ -554,3 +554,4 @@ struct rtentry {
#define PT_SYSCALL 4
#define PT_GETREGS 5
#define PT_DETACH 6
#define PT_PEEK 7