platform_bionic/tests
Evgenii Stepanov 505168e530 Annotate vfork for hwasan.
Call a hwasan hook in the parent return path for vfork() to let hwasan
update its shadow. See https://github.com/google/sanitizers/issues/925
for more details.

Bug: 112438058
Test: bionic-unit-tests
Change-Id: I9a06800962913e822bd66e072012d0a2c5be453d
2019-03-19 23:36:44 +00:00
..
headers bionic: update for glibc 2.17 2019-01-15 19:00:11 -08:00
libs linker: Handle libraries with disjoint mappings correctly. 2019-03-08 18:34:34 -08:00
math_data
prebuilt-elf-files
__aeabi_read_tp_test.cpp Provide a stub aeabi.read_tp on other archs 2019-01-16 01:11:26 -08:00
__cxa_thread_atexit_test.cpp
alloca_test.cpp A few new bionic tests. 2017-12-07 15:44:20 -08:00
Android.bp Merge "linker: Handle libraries with disjoint mappings correctly." 2019-03-09 05:40:03 +00:00
Android.build.mk dlfcn.dt_runpath* tests are amended to handle LIB 2019-01-30 21:05:03 +09:00
Android.build.prebuilt.mk Mark bionic-loader-test-libs-target as a phony rule 2018-06-18 20:23:14 -07:00
Android.mk remove bionic-compile-time-tests-g++ 2018-07-24 12:49:50 -07:00
android_get_device_api_level.cpp Make android_get_application_target_sdk_version available to the NDK. 2018-11-15 11:07:30 -08:00
arpa_inet_test.cpp
assert_test.cpp
async_safe_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
atexit_test.cpp Remove workarounds for old versions of clang and GCC. 2018-07-11 13:18:29 -07:00
bionic_allocator_test.cpp Add BionicAllocator::memalign 2019-01-25 15:31:35 -08:00
BionicDeathTest.h Add struct sigaction64 and sigaction64. 2018-02-01 14:45:15 -08:00
buffer_tests.cpp Cleanup bionic tests with hwasan. 2019-02-06 13:59:16 -08:00
buffer_tests.h Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
bug_26110743_test.cpp Fix uses of readlink in tests. 2018-08-23 11:30:56 -07:00
byteswap_test.cpp A few new bionic tests. 2017-12-07 15:44:20 -08:00
cfi_test.cpp Move isolated test runner out of bionic. 2018-09-27 22:22:17 -07:00
complex_force_long_double_test.cpp
complex_test.cpp Remove __INTRODUCED_IN_FUTURE. 2019-03-14 13:34:21 -07:00
ctype_test.cpp A few more trivial tests. 2017-12-15 13:55:53 -08:00
dirent_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
dl_test.cpp Cleanup bionic tests with hwasan. 2019-02-06 13:59:16 -08:00
dlext_private.h Move API levels from uint32_t to int. 2018-11-13 21:25:07 -08:00
dlext_test.cpp Reduce reserved size for DlExtTest.ReservedRecursiveTooSmall test 2019-03-14 16:25:45 -07:00
dlfcn_symlink_support.cpp EndsWith now accepts std::string suffixes. 2017-12-20 12:28:30 -08:00
dlfcn_symlink_support.h
dlfcn_test.cpp linker: Handle libraries with disjoint mappings correctly. 2019-03-08 18:34:34 -08:00
elf_test.cpp
elftls_dl_test.cpp Only test tprel_missing_weak in dynamic binaries 2019-02-11 18:37:17 -08:00
elftls_test.cpp Only test tprel_missing_weak in dynamic binaries 2019-02-11 18:37:17 -08:00
endian_test.cpp
errno_test.cpp
error_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
eventfd_test.cpp Our prebuilt host glibc is new enough to remove a workaround. 2018-08-01 12:26:17 -07:00
fcntl_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
fdsan_test.cpp Move unique_fd fdsan tests into bionic. 2018-08-09 01:09:08 +00:00
fenv_test.cpp Rewrite system(3) to use posix_spawn(3). 2018-03-05 17:20:12 -08:00
file-check-cxx
float_test.cpp Fix up a few bionic tests for the clang-r339409 update. 2018-09-24 16:59:08 -07:00
fortify_filecheck_diagnostics_test.cpp Fix up a few bionic tests for the clang-r339409 update. 2018-09-24 16:59:08 -07:00
fortify_test.cpp Fix an ifdef in a test 2018-03-26 18:03:16 -07:00
fortify_test_main.cpp
ftw_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
getauxval_test.cpp Updates for glibc 2.17. 2019-01-30 13:52:36 -08:00
getcwd_test.cpp Disable a few bionic tests under HWASan. 2018-11-06 16:59:25 -08:00
glob_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
grp_pwd_file_test.cpp Fix/suppress bionic google-explicit-constructor warnings 2019-01-02 11:04:05 -08:00
grp_pwd_test.cpp Waive AID Range check for devices through Q 2019-02-19 13:24:59 -08:00
gtest_globals.cpp Move isolated test runner out of bionic. 2018-09-27 22:22:17 -07:00
gtest_globals.h Move isolated test runner out of bionic. 2018-09-27 22:22:17 -07:00
gtest_globals_cts.cpp Move isolated test runner out of bionic. 2018-09-27 22:22:17 -07:00
gtest_main.cpp Move isolated test runner out of bionic. 2018-09-27 22:22:17 -07:00
gtest_preinit_debuggerd.cpp
gtest_utils.h Move isolated test runner out of bionic. 2018-09-27 22:22:17 -07:00
iconv_test.cpp
ifaddrs_test.cpp
ifunc_test.cpp Implement ifunc support for static executables. 2019-01-25 16:25:27 -08:00
inttypes_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
iso646_test.c
langinfo_test.cpp
leak_test.cpp Add a warm up pass to pthread_leak.join test 2018-05-07 13:16:16 +02:00
libdl_test.cpp Make android_get_application_target_sdk_version available to the NDK. 2018-11-15 11:07:30 -08:00
libgen_basename_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
libgen_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
limits_test.cpp Fix WORD_BIT test. 2017-10-23 12:06:30 -07:00
link_test.cpp Test that the _r_debug list looks OK 2018-08-22 13:17:03 -07:00
linux_swab_test.cpp Add POSIX swab. 2017-10-18 13:34:32 -07:00
locale_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
malloc_iterate_test.cpp bionic/malloc_iterate_test: Adjust callback for procinfo::ReadMapFile 2019-02-10 17:27:39 -08:00
malloc_test.cpp Add a platform API for setting an allocation limit. 2019-03-15 10:54:55 -07:00
math_data_test.h
math_force_long_double_test.cpp
math_test.cpp Fix cert-dcl16-c clang-tidy warnings in tests. 2018-12-11 15:16:24 -08:00
membarrier_test.cpp Update probing in membarrier_test 2018-09-10 10:21:40 +01:00
mntent_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
net_if_test.cpp
netdb_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
netinet_ether_test.cpp
netinet_in_test.cpp Use in_addr in ip_mreq_source and ip_msfilter. 2017-12-14 10:07:27 -08:00
netinet_ip_icmp_test.cpp <netinet/ip_icmp.h>: ensure struct icmphdr is available. 2018-06-27 12:29:06 -07:00
netinet_udp_test.cpp
nl_types_test.cpp
poll_test.cpp Add a test for poll with null fds. 2018-08-30 12:15:56 -07:00
pthread_dlfcn_test.cpp
pthread_test.cpp Merge "Cleanup bionic tests with hwasan." 2019-02-06 22:04:09 +00:00
pty_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
regex_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
resolv_test.cpp Expose __res_randomid. 2018-07-17 13:02:52 -07:00
run-on-host.sh
sched_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
scs_test.cpp Allocate a small guard region around the shadow call stack. 2018-11-16 14:37:08 -08:00
scsi_sg_test.cpp
search_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
semaphore_test.cpp Move API levels from uint32_t to int. 2018-11-13 21:25:07 -08:00
setjmp_test.cpp Allocate a small guard region around the shadow call stack. 2018-11-16 14:37:08 -08:00
signal_test.cpp Don't filter reserved signals in sigaction. 2019-01-24 13:21:18 -08:00
SignalUtils.h Block TIMER_SIGNAL in sigprocmask(SIG_SETMASK, ...). 2018-10-09 16:27:22 -07:00
spawn_test.cpp Block TIMER_SIGNAL in sigprocmask(SIG_SETMASK, ...). 2018-10-09 16:27:22 -07:00
sstream_test.cpp
stack_protector_test.cpp Cleanup bionic tests with hwasan. 2019-02-06 13:59:16 -08:00
stack_protector_test_helper.cpp Fix modify_stack_protector flake 2019-01-01 19:46:41 -08:00
stack_unwinding_test.cpp Rewrite system(3) to use posix_spawn(3). 2018-03-05 17:20:12 -08:00
stdalign_test.cpp
stdarg_test.cpp
stdatomic_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
stdbool_test.c
stdint_test.cpp
stdio_ext_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
stdio_nofortify_test.cpp
stdio_test.cpp Avoid writing to a zero-capacity buffer. 2019-02-05 15:00:13 -08:00
stdlib_test.cpp Make aligned_alloc match the standard. 2019-03-01 23:56:23 -08:00
stdnoreturn_test.cpp
string_nofortify_test.cpp
string_posix_strerror_r_test.cpp
string_test.cpp Move NetBSD string routines to OpenBSD. 2019-02-05 12:15:27 -08:00
strings_nofortify_test.cpp
strings_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
sys_epoll_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
sys_ioctl_diag_test.cpp libc: silence unsigned->signed warnings with ioctl 2018-03-20 15:59:46 -07:00
sys_mman_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
sys_msg_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
sys_personality_test.cpp
sys_prctl_test.cpp Fix sys_prctl.pr_cap_ambient. 2018-12-18 15:19:40 -08:00
sys_procfs_test.cpp
sys_ptrace_test.cpp Cleanup bionic tests with hwasan. 2019-02-06 13:59:16 -08:00
sys_quota_test.cpp
sys_random_test.cpp
sys_resource_test.cpp
sys_select_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
sys_sem_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
sys_sendfile_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
sys_shm_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
sys_signalfd_test.cpp Rewrite system(3) to use posix_spawn(3). 2018-03-05 17:20:12 -08:00
sys_socket_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
sys_stat_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
sys_statvfs_test.cpp
sys_syscall_test.cpp
sys_sysinfo_test.cpp
sys_sysmacros_test.cpp
sys_time_test.cpp Allow more leeway to fix sys_time.gettimeofday flakiness. 2019-01-18 08:20:55 -08:00
sys_timex_test.cpp
sys_ttydefaults_test.cpp
sys_types_test.cpp
sys_uio_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
sys_un_test.cpp <sys/un.h>: add SUN_LEN. 2018-06-27 14:08:48 -07:00
sys_vfs_test.cpp
sys_xattr_test.cpp bionic tests: switch to using android-base/file.h for TemporaryFile 2018-11-13 10:57:28 -08:00
system_properties_test.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 15:46:49 -08:00
system_properties_test2.cpp
termios_test.cpp Add trivial termios tests. 2017-12-14 09:46:50 -08:00
tgmath_test.c
thread_local_test.cpp Remove workarounds for old versions of clang and GCC. 2018-07-11 13:18:29 -07:00
time_test.cpp Allow more leeway to fix time.clock_gettime flakiness. 2019-01-17 12:32:32 -08:00
uchar_test.cpp Updates for glibc 2.17. 2019-01-30 13:52:36 -08:00
unistd_nofortify_test.cpp
unistd_test.cpp Annotate vfork for hwasan. 2019-03-19 23:36:44 +00:00
utils.h Cleanup bionic tests with hwasan. 2019-02-06 13:59:16 -08:00
utmp_test.cpp
wchar_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00
wctype_test.cpp Modernize codebase by replacing NULL with nullptr 2018-08-02 18:09:44 -07:00