platform_bionic/libc
Christopher Ferris f78486f40e Mangle the pointers stored in PointerData.
The libmemunreachable library looks through memory to determine
if pointers are leaked. Unfortunately, the malloc debug code
stores the original pointer in data structures, so it looks like
pointers are still in use. The fix is to mangle the pointers
stored in memory so that it doesn't trick the library into thinking
they are live.

Test: All unit/system tests pass.
Test: Ran libmemunreachable and verified leaks show up.
Change-Id: Ic40a0a5ae73857cde936fd76895d88829686a643
2022-05-04 17:07:40 -07:00
..
arch-arm [NFCI] Change Android's NT_TYPE to NT_ANDROID_TYPE. 2022-02-07 13:49:20 -08:00
arch-arm64 [NFCI] Change Android's NT_TYPE to NT_ANDROID_TYPE. 2022-02-07 13:49:20 -08:00
arch-common/bionic [NFCI] Change Android's NT_TYPE to NT_ANDROID_TYPE. 2022-02-07 13:49:20 -08:00
arch-x86 Clear the stack frame pointer in _start and __bionic_clone 2021-05-07 15:00:55 -07:00
arch-x86_64 setjmp/longjmp: avoid invalid values in the stack pointer. 2021-04-05 17:43:36 -07:00
async_safe Make libasync_safe available in com.android.virt 2022-04-06 21:00:13 +00:00
b64/include/bionic Export bionic's resolv base64 functions to musl 2022-02-03 16:25:26 -08:00
bionic allowlist new Linux close_range() system call, use it in posix_spawn() 2022-04-28 23:33:38 +00:00
dns Make res_init() work again. 2021-04-08 12:04:05 -07:00
execinfo/include Export bionic's execinfo functions to musl 2022-02-03 16:25:21 -08:00
fts/include Use the BSD license for our bogus fts.h. 2021-09-14 12:26:08 -07:00
include posix_spawn - implement support for POSIX_SPAWN_CLOEXEC_DEFAULT 2022-04-21 07:09:55 -07:00
kernel Set VIDEO_MAX_FRAME value back to 64. 2022-04-21 10:42:09 -07:00
malloc_debug Mangle the pointers stored in PointerData. 2022-05-04 17:07:40 -07:00
malloc_hooks Use SKIP_WITH_HWASAN macro from libbase. 2022-04-15 16:14:56 -07:00
platform [GWP-ASan] Provide runtime configuration through an env var + sysprop. 2022-04-20 11:26:00 -07:00
private [MTE] Relax ELF note. 2022-02-08 13:17:18 -08:00
seccomp Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
stdio Add the missing '--' to shell invocations. 2021-11-04 17:29:35 -07:00
system_properties Remove references to nonplat sepolicy 2021-11-05 09:30:25 +01:00
tools Merge "Ignore backup files left by emacs." 2021-04-20 01:24:49 +00:00
tzcode strftime: format small positive integers ourselves. 2021-12-06 14:55:00 -08:00
upstream-freebsd Fully disable clang format where needed. 2020-01-30 08:10:17 -08:00
upstream-netbsd Make res_init() work again. 2021-04-08 12:04:05 -07:00
upstream-openbsd Export fts as a static library for use with musl 2021-09-08 15:53:10 -07:00
versioner-dependencies Stop generating unused headers. 2020-02-03 17:56:06 -08:00
Android.bp Merge "[GWP-ASan] Provide runtime configuration through an env var + sysprop." 2022-04-21 18:12:43 +00:00
fs_config_generator.py
libc.map.txt Fix incorrect API level for wcstombs and mbstowcs. 2021-11-09 23:29:33 +00:00
libstdc++.map.txt Remove dead code. 2020-02-13 22:25:02 -08:00
MODULE_LICENSE_BSD
NOTICE Export bionic's resolv base64 functions to musl 2022-02-03 16:25:26 -08:00
SECCOMP_ALLOWLIST_APP.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_ALLOWLIST_COMMON.TXT Merge "seccomp: allow stat() for ubsan." 2022-05-04 16:35:26 +00:00
SECCOMP_ALLOWLIST_SYSTEM.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_BLOCKLIST_APP.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_BLOCKLIST_COMMON.TXT Revert "Disallow vmsplice(2) for all zygote-spawned processes." 2020-06-23 17:53:35 +00:00
SECCOMP_PRIORITY.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SYSCALLS.TXT Allow bpf() syscall 2021-12-01 21:32:08 +00:00
version_script.txt