mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Kernel: Implement new ptrace function PT_PEEKBUF
This enables the tracer to copy large amounts of data in a much saner way.
This commit is contained in:
parent
3e223185b3
commit
0f8483f09c
Notes:
sideshowbarker
2024-07-17 23:07:51 +09:00
Author: https://github.com/BenWiederhake
Commit: 0f8483f09c
Pull-request: https://github.com/SerenityOS/serenity/pull/11113
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/creator1creeper1
4 changed files with 35 additions and 0 deletions
|
@ -21,8 +21,11 @@ extern "C" {
|
|||
#define PT_PEEK 7
|
||||
#define PT_POKE 8
|
||||
#define PT_SETREGS 9
|
||||
|
||||
// Serenity extensions:
|
||||
#define PT_POKEDEBUG 10
|
||||
#define PT_PEEKDEBUG 11
|
||||
#define PT_PEEKBUF 12
|
||||
|
||||
#define PT_READ_I PT_PEEK
|
||||
#define PT_READ_D PT_PEEK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue