1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00
serenity/Userland/Libraries/LibC
Andreas Kling 4faeaf101c LibC: Don't scrub memory in malloc/free when running in UE
Since UE is keeping track of the heap anyway, we can skip the scrubbing
and drastically improve the speed of malloc and free when emulating.
2021-03-09 08:59:10 +01:00
..
arch LibC: Add x86_64 implementation of setjmp() and longjmp() 2021-02-25 16:27:12 +01:00
arpa LibC: Use "static inline" for inline functions in arpa/inet.h (#5392) 2021-02-18 00:02:47 +01:00
bits LibC+LibPthread: Implement pthread_atfork() 2021-02-15 17:32:56 +01:00
net Everywhere: Remove unnecessary clang-format offs 2021-03-04 11:01:48 +01:00
netinet Everywhere: Remove unnecessary clang-format offs 2021-03-04 11:01:48 +01:00
sys Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
alloca.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
assert.cpp LibC: Convert dbgprintf() => dbgln() 2021-02-17 15:39:32 +01:00
assert.h LibC: Define static_assert in assert.h when it's being used in C 2021-03-08 08:56:15 +01:00
byteswap.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CMakeLists.txt LibC: Add imaxdiv and lldiv 2021-03-09 07:28:06 +01:00
crt0.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
crt0_shared.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
crti.S Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
crtn.S Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ctype.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ctype.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
cxxabi.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
dirent.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
dirent.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
dlfcn.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
dlfcn.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
endian.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
errno.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
errno_numbers.h Kernel+LibC: Turn errno codes into a strongly typed enum 2021-01-20 23:20:02 +01:00
fcntl.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
fcntl.h LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
fd_set.h LibC: Bump FD_SETSIZE to 1024 2021-01-16 11:26:53 +01:00
fenv.cpp LibC: Fix typo in fenv.h 2021-03-04 19:40:40 +01:00
fenv.h LibC: Fix typo in fenv.h 2021-03-04 19:40:40 +01:00
float.h LibC: Add defines to float.h 2021-03-09 07:28:06 +01:00
getopt.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
getopt.h LibC: Expose various option variables for later usage 2021-02-01 17:13:23 +01:00
grp.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
grp.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
iconv.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
inttypes.cpp LibC: Add imaxdiv and lldiv 2021-03-09 07:28:06 +01:00
inttypes.h LibC: Add imaxdiv and lldiv 2021-03-09 07:28:06 +01:00
ioctl.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
libcinit.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
libgen.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
libgen.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
limits.h LibC: Add TTY_NAME_MAX (32) 2021-01-18 22:28:56 +01:00
locale.cpp LibC: Remove FIXME spam in setlocale() 2021-02-11 23:31:56 +01:00
locale.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
malloc.cpp LibC: Don't scrub memory in malloc/free when running in UE 2021-03-09 08:59:10 +01:00
mallocdefs.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
memory.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
mman.cpp LibC: Make it compile on 64-bit 2021-02-25 16:27:12 +01:00
mman.h Kernel+LibC: Add MAP_RANDOMIZED flag for sys$mmap() 2021-01-28 16:23:38 +01:00
mntent.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
mntent.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
netdb.cpp LibC: Make it compile on 64-bit 2021-02-25 16:27:12 +01:00
netdb.h LibC: Stub out some addrinfo things 2021-02-15 17:32:56 +01:00
paths.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
poll.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
poll.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
pthread_integration.cpp LibC+LibPthread: Implement pthread_atfork() 2021-02-15 17:32:56 +01:00
pwd.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
pwd.h LibC: Add reentrant versions of getpw{uid,nam} 2021-02-15 17:32:56 +01:00
qsort.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
regex.h Everywhere: Remove unnecessary clang-format offs 2021-03-04 11:01:48 +01:00
scanf.cpp LibC: Make it compile on 64-bit 2021-02-25 16:27:12 +01:00
sched.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
sched.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
semaphore.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
semaphore.h LibC: Stub out semaphore.h 2021-02-15 17:32:56 +01:00
serenity.cpp LibC: Make it compile on 64-bit 2021-02-25 16:27:12 +01:00
serenity.h Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
setjmp.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
signal.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
signal.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
signal_numbers.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
spawn.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
spawn.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ssp.cpp LibC: Convert dbgprintf() => dbgln() in SSP handler 2021-02-17 15:48:55 +01:00
stat.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
stdarg.h LibC: Don't #define away __{BEGIN,END}_DECLS in stdarg.h 2021-02-21 18:27:50 +01:00
stddef.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stdint.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stdio.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
stdio.h AK+LibC: Remove dbgprintf() :^) 2021-02-20 17:17:30 +01:00
stdlib.cpp LibC: Add imaxdiv and lldiv 2021-03-09 07:28:06 +01:00
stdlib.h LibC: Add imaxdiv and lldiv 2021-03-09 07:28:06 +01:00
string.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
string.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
strings.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
strings.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stubs.cpp LibC+DynamicLoader: Move "transactional memory" GCC stubs to LibC 2021-02-24 14:54:26 +01:00
syslog.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
syslog.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
termcap.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
termcap.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
termios.cpp LibC: Add 'cfmakeraw()' 2021-02-15 17:32:56 +01:00
termios.h LibC: Add 'cfmakeraw()' 2021-02-15 17:32:56 +01:00
time.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
time.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
times.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
ulimit.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
ulimit.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
unistd.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
unistd.h Kernel+LibC: Add the _SC_GETPW_R_SIZE_MAX sysconf enum 2021-02-15 17:32:56 +01:00
utime.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
utime.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
utmp.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
utsname.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
wchar.cpp LibC: Add wcstol() and wcstoll() stubs 2021-01-18 22:28:56 +01:00
wchar.h LibC: Add wcstol() and wcstoll() stubs 2021-01-18 22:28:56 +01:00