1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00
serenity/Libraries/LibC
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
..
arpa LibC: Add inet_ntoa() 2020-02-20 06:57:47 +01:00
bits LibC: Move FILE definition to bits/FILE.h 2020-02-02 10:58:45 +01:00
net Userland: ifconfig can change the IP address of the default gateway 2020-03-15 19:09:31 +01:00
netinet LibC: Add an empty <netinet/tcp.h> 2020-02-20 06:51:28 +01:00
sys ptrace: Add PT_SETREGS 2020-04-13 00:53:22 +02:00
alloca.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
assert.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
assert.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
byteswap.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
crt0.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
crti.S Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
crtn.S Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ctype.cpp Revert "LibC: Implement isblank()" 2020-02-16 10:47:54 +01:00
ctype.h Revert "LibC: Implement isblank()" 2020-02-16 10:47:54 +01:00
cxxabi.cpp Meta: Claim copyright on files added by me 2020-02-02 02:05:38 +01:00
dirent.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
dirent.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
dlfcn.cpp LibELF: Move ELF classes into namespace ELF 2020-04-11 22:41:05 +02:00
dlfcn.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
endian.h LibC: Fix big endian definitions 2020-02-19 16:08:28 +01:00
errno.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
errno_numbers.h Kernel+LibC: Remove ESUCCESS 2020-04-10 13:09:35 +02:00
fcntl.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
fcntl.h Kernel+LibC: Clean up open() flag (O_*) definitions 2020-01-21 13:34:39 +01:00
fd_set.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
float.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
getopt.cpp LibC: Ensure getopt error messages end with a newline 2019-09-17 21:56:42 +02:00
getopt.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
grp.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
grp.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
iconv.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
inttypes.h LibC: Add some missing macros to inttypes.h 2020-02-20 06:51:16 +01:00
ioctl.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
libcinit.cpp LibWeb: Move everything into the Web namespace 2020-03-07 10:27:02 +01:00
libgen.cpp Meta: Claim copyright for files created by me 2020-01-24 15:15:16 +01:00
libgen.h Meta: Claim copyright for files created by me 2020-01-24 15:15:16 +01:00
limits.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
locale.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
locale.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Makefile LibELF: Move validation methods to their own file 2020-04-11 22:41:05 +02:00
malloc.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
mallocdefs.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
memory.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mman.cpp Kernel+LibC: Add minherit() and MAP_INHERIT_ZERO 2020-04-12 20:22:26 +02:00
mman.h Kernel+LibC: Add minherit() and MAP_INHERIT_ZERO 2020-04-12 20:22:26 +02:00
mntent.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mntent.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
netdb.cpp LibC: Add h_errno and stub out getservbyname() 2020-02-20 06:58:16 +01:00
netdb.h LibC: Add h_errno and stub out getservbyname() 2020-02-20 06:58:16 +01:00
poll.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
poll.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
pwd.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
pwd.h LibC: Implement putpwent() 2020-02-02 10:58:45 +01:00
qsort.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
scanf.cpp LibC: Some build fixes for strange platforms 2019-09-29 21:02:13 +02:00
sched.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
sched.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
serenity.cpp Kernel: Add sys$get_stack_bounds() for finding the stack base & size 2020-03-16 19:06:33 +01:00
serenity.h Kernel: Add sys$get_stack_bounds() for finding the stack base & size 2020-03-16 19:06:33 +01:00
setjmp.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
setjmp.S Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
signal.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
signal.h Kernel+LibC: Add some Unix signal types & definitions 2020-02-05 18:14:37 +01:00
signal_numbers.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stat.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdarg.h LibC: Apply a change for the Bootstrapper environment 2020-02-09 19:38:17 +01:00
stdbool.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stddef.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdint.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdio.cpp LibC: Fix getline() forgetting to null-terminate on EOF 2020-03-26 08:18:08 +01:00
stdio.h LibC: Move FILE definition to bits/FILE.h 2020-02-02 10:58:45 +01:00
stdlib.cpp LibC: Fix strtod() parsing of negative exponents (#1645) 2020-04-05 15:32:57 +02:00
stdlib.h LibC: Add posix_openpt(), grantpt() and unlockpt() 2020-02-05 21:17:41 +01:00
string.cpp LibC: Implement strchrnul() 2020-02-22 21:36:54 +01:00
string.h LibC: Implement strchrnul() 2020-02-22 21:36:54 +01:00
strings.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
strings.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
syslog.cpp AK: Add a forward declaration header 2020-02-14 23:31:18 +01:00
syslog.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
termcap.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
termcap.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
termios.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
termios.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
time.cpp LibC: Add new syscall to allow changing the system date 2020-03-19 15:48:00 +01:00
time.h LibC: Add new syscall to allow changing the system date 2020-03-19 15:48:00 +01:00
times.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ulimit.cpp LibC: create a stub for getrusage. 2020-04-06 11:44:13 +02:00
ulimit.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
unistd.cpp LibC: Cache the result of gettid() to avoid syscalls 2020-04-12 20:24:34 +02:00
unistd.h Kernel & Userland: Allow to mount image files formatted with Ext2FS 2020-04-06 15:36:36 +02:00
utime.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
utime.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
utmp.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
utsname.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
wchar.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
wchar.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00