1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00
serenity/Libraries/LibC/sys
Itamar 9e51e295cf ptrace: Add PT_SETREGS
PT_SETTREGS sets the regsiters of the traced thread. It can only be
used when the tracee is stopped.

Also, refactor ptrace.
The implementation was getting long and cluttered the alraedy large
Process.cpp file.

This commit moves the bulk of the implementation to Kernel/Ptrace.cpp,
and factors out peek & poke to separate methods of the Process class.
2020-04-13 00:53:22 +02:00
..
arch/i386 CPU: Handle breakpoint trap 2020-04-13 00:53:22 +02:00
cdefs.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
file.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ioctl.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ioctl_numbers.h Userland: ifconfig can change the IP address of the default gateway 2020-03-15 19:09:31 +01:00
mman.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
param.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ptrace.cpp strace: Change implementation to use ptrace() 2020-03-28 18:27:18 +01:00
ptrace.h ptrace: Add PT_SETREGS 2020-04-13 00:53:22 +02:00
resource.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
select.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
select.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
socket.cpp Net: Add a basic sys$shutdown() implementation 2020-02-08 00:54:43 +01:00
socket.h Kernel: Add the SO_BINDTODEVICE socket option 2020-04-05 09:50:48 +02:00
stat.h LibC: Move struct stat to sys/stat.h 2020-02-05 18:39:45 +01:00
sysmacros.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
time.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
times.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
types.h LibC: Move struct stat to sys/stat.h 2020-02-05 18:39:45 +01:00
uio.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
uio.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
un.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
utsname.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
wait.cpp Kernel+LibC: Add sys$waitid(), and make sys$waitpid() wrap it 2020-02-05 18:14:37 +01:00
wait.h Kernel+LibC: Add sys$waitid(), and make sys$waitpid() wrap it 2020-02-05 18:14:37 +01:00