mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +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
|
@ -481,6 +481,7 @@ public:
|
|||
m_wait_for_tracer_at_next_execve = val;
|
||||
}
|
||||
|
||||
ErrorOr<void> peek_user_data(Span<u8> destination, Userspace<const u8*> address);
|
||||
ErrorOr<FlatPtr> peek_user_data(Userspace<const FlatPtr*> address);
|
||||
ErrorOr<void> poke_user_data(Userspace<FlatPtr*> address, FlatPtr data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue