serenity/LibC
Andreas Kling 95ddca8a52 LibC: Make the malloc()/free() scrubbing runtime optional (default on.)
Memory returned by malloc() is normally memset with 0x85.
Memory passed to free() is normally memset with 0x82.

These behaviors can now be disabled by setting one or both of
LIBC_NOSCRUB_MALLOC and LIBC_NOSCRUB_FREE in your environment. :^)
2019-04-27 21:19:56 +02:00
..
arpa LibC: A whole bunch of compat work towards porting Lynx. 2019-03-14 15:18:15 +01:00
netinet LibC: A whole bunch of compat work towards porting Lynx. 2019-03-14 15:18:15 +01:00
sys Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
.gitignore LibC: Run constructors on process startup. 2019-03-27 12:48:21 +01:00
alloca.h More LibC portability work while trying to get figlet building. 2018-10-31 10:14:56 +01:00
assert.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
assert.h Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
crt0.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
crti.S LibC: Run constructors on process startup. 2019-03-27 12:48:21 +01:00
crtn.S LibC: Run constructors on process startup. 2019-03-27 12:48:21 +01:00
ctype.cpp LibC: Bring the C library close enough to newlib to trick GCC. 2019-04-17 23:16:16 +02:00
ctype.h LibC: Bring the C library close enough to newlib to trick GCC. 2019-04-17 23:16:16 +02:00
dirent.cpp Kernel+LibC: Don't crash upon traversal of large directories. 2019-03-20 18:31:12 +01:00
dirent.h More work towards getting bash to build. 2018-11-05 19:01:59 +01:00
endian.h Lots of minor compat stuff while seeing if bash would build. 2018-11-05 16:40:48 +01:00
errno.h Add sys_nerr and sys_errlist. 2018-11-06 14:42:28 +01:00
errno_numbers.h LibGUI+Kernel: Add a GLock class (userspace mutex.) 2019-03-25 13:03:49 +01:00
fcntl.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
fcntl.h LibC: Add ungetc() and automatically flush streams on fclose(). 2019-03-27 01:40:55 +01:00
fd_set.h More compat work. Rename libraries from LibFoo.a => libfoo.a 2019-02-26 13:30:57 +01:00
float.h LibC: Implement enough missing stuff to get bash-5.0 running. :^) 2019-02-08 02:38:21 +01:00
getopt.cpp Fix all current build warnings in LibC. 2018-11-09 10:09:46 +01:00
getopt.h Enough compatibility work to make figlet build and run! 2018-10-31 17:52:59 +01:00
grp.cpp LibC: Oops, rename getgrname() -> getgrnam(). 2019-03-14 15:16:11 +01:00
grp.h Add some basic setgroups(), getgroups() and initgroups(). 2018-11-07 01:38:51 +01:00
iconv.h LibC: Bring the C library close enough to newlib to trick GCC. 2019-04-17 23:16:16 +02:00
install.sh LibC: Run constructors on process startup. 2019-03-27 12:48:21 +01:00
inttypes.h LibC: Add ungetc() and automatically flush streams on fclose(). 2019-03-27 01:40:55 +01:00
ioctl.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
limits.h LibC: Add ungetc() and automatically flush streams on fclose(). 2019-03-27 01:40:55 +01:00
locale.cpp LibC: Return a default locale from localeconv(). (For GCC 8.3.0) 2019-04-22 13:00:59 +02:00
locale.h LibC: Add ungetc() and automatically flush streams on fclose(). 2019-03-27 01:40:55 +01:00
Makefile LibC: Add sched_yield(), needed for GCC 8.3.0 build. 2019-04-22 00:13:41 +02:00
mman.cpp Kernel+LibC: Add stubs for POSIX shared memory API. 2019-04-08 23:44:12 +02:00
mman.h Kernel+LibC: Add stubs for POSIX shared memory API. 2019-04-08 23:44:12 +02:00
mntent.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
mntent.h Miscellaneous compat work while seeing if GNU coreutils would build. 2018-11-07 10:23:16 +01:00
netdb.cpp Move NetworkOrdered.h to AK/ since it's used in both kernel and userspace. 2019-04-02 20:04:54 +02:00
netdb.h LibC: A whole bunch of compat work towards porting Lynx. 2019-03-14 15:18:15 +01:00
poll.cpp Stub out poll() syscall and LibC wrapper. 2019-01-23 07:28:25 +01:00
poll.h Stub out poll() syscall and LibC wrapper. 2019-01-23 07:28:25 +01:00
pthread.h LibC: Add dummy pthread.h for GCC build. 2019-04-27 21:19:18 +02:00
pwd.cpp Big, possibly complete sweep of naming changes. 2019-01-31 17:31:23 +01:00
pwd.h Add getpwent() family of functions to LibC. 2018-10-31 19:54:25 +01:00
qsort.cpp Make it possible to sort a GTableModel by column+order. 2019-03-09 13:33:52 +01:00
scanf.cpp LibC: Fix bug in scanf() family where we'd capture invalid data. 2019-03-20 15:29:04 +01:00
sched.cpp LibC: Add sched_yield(), needed for GCC 8.3.0 build. 2019-04-22 00:13:41 +02:00
sched.h LibC: Add sched_yield(), needed for GCC 8.3.0 build. 2019-04-22 00:13:41 +02:00
serenity.h Stopwatch: Print the result in decimal instead of hexadecimal. 2019-03-30 04:20:08 +01:00
setjmp.asm LibC: Implement enough missing stuff to get bash-5.0 running. :^) 2019-02-08 02:38:21 +01:00
setjmp.h Compat work towards making bash-5.0 build with less patches. 2019-02-26 14:05:28 +01:00
SharedBuffer.cpp Taskbar: More bringup work. We now see a basic window list. 2019-04-04 01:44:35 +02:00
SharedBuffer.h Add a C++ helper class for working with shared buffers. 2019-03-08 12:24:05 +01:00
signal.cpp Kernel: Remove "restorer" field from SignalActionData. 2019-04-20 19:32:14 +02:00
signal.h Kernel: Remove "restorer" field from SignalActionData. 2019-04-20 19:32:14 +02:00
signal_numbers.h Compat work towards porting vim. 2019-02-26 15:57:59 +01:00
stat.cpp Kernel+Userland: Implement fchmod() syscall and use it to improve /bin/cp. 2019-03-01 10:39:19 +01:00
stdarg.h Kernel: Get rid of Unix namespace. 2019-01-23 06:57:00 +01:00
stdbool.h Compat work towards making bash-5.0 build with less patches. 2019-02-26 14:05:28 +01:00
stddef.h Miscellaneous compat work while seeing if GNU coreutils would build. 2018-11-07 10:23:16 +01:00
stdint.h LibC: Add some missing stuff in stdint.h for libstdc++. 2019-04-05 03:37:01 +02:00
stdio.cpp LibC: Make fwrite() buffered. 2019-04-27 17:32:47 +02:00
stdio.h Kernel+LibC: Add a DebugLogDevice that forwards everything to I/O port 0xe9. 2019-04-18 16:08:52 +02:00
stdlib.cpp LibC: Make the malloc()/free() scrubbing runtime optional (default on.) 2019-04-27 21:19:56 +02:00
stdlib.h LibC: Bring the C library close enough to newlib to trick GCC. 2019-04-17 23:16:16 +02:00
string.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
string.h Some compat work towards making GCC's libstdc++ build. 2019-02-25 10:05:32 +01:00
strings.cpp Compat work towards porting vim. 2019-02-26 15:57:59 +01:00
strings.h LibC: A bunch of compat work towards porting GCC. 2019-02-24 15:20:07 +01:00
termcap.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
termcap.h Fix a bunch of compiler warnings. Not all, but a lot. 2019-02-25 19:05:51 +01:00
termios.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
termios.h Compat work towards porting vim. 2019-02-26 15:57:59 +01:00
time.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
time.h LibC: Minor compat tweak, move struct timezone to sys/time.h 2019-04-21 02:59:20 +02:00
times.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
ulimit.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
ulimit.h Rage hacking to get bash to run. It finally runs. So cool! :^) 2018-11-11 15:38:07 +01:00
unistd.cpp LibC: Add execvpe() and make execvp()'ed children inherit environment. 2019-04-26 03:16:26 +02:00
unistd.h LibC: Add execvpe() and make execvp()'ed children inherit environment. 2019-04-26 03:16:26 +02:00
utime.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
utime.h Implement utime() along with a naive /bin/touch. 2018-12-19 21:14:55 +01:00
utmp.h Various stubs while trying to get an old coreutils to build. 2018-11-17 15:56:09 +01:00
utsname.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
wchar.h LibC: A bunch of compat work towards porting GCC. 2019-02-24 15:20:07 +01:00