android_bionic/tests
Nick Kralevich 1aae9bd170 strncpy: implement _FORTIFY_SOURCE=2
Add support for fortify source level 2 to strncpy.
This will enable detection of more areas where strncpy
is used inappropriately. For example, this would have detected
bug 8727221.

Move the fortify_source tests out of string_test.cpp, and
put it into fortify1_test.cpp.

Create a new fortify2_test.cpp file, which copies all
the tests in fortify1_test.cpp, and adds fortify_source level
2 specific tests.

Change-Id: Ica0fba531cc7d0609e4f23b8176739b13f7f7a83
2013-04-29 15:22:10 -07:00
..
Android.mk strncpy: implement _FORTIFY_SOURCE=2 2013-04-29 15:22:10 -07:00
benchmark.h Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
benchmark_main.cpp Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
dirent_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
dlfcn_test.cpp
empty.cpp
eventfd_test.cpp Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a 2013-04-03 11:10:37 -07:00
fenv_test.cpp Upgrade libm. 2013-02-01 14:51:19 -08:00
fortify1_test.cpp strncpy: implement _FORTIFY_SOURCE=2 2013-04-29 15:22:10 -07:00
fortify2_test.cpp strncpy: implement _FORTIFY_SOURCE=2 2013-04-29 15:22:10 -07:00
getauxval_test.cpp
getcwd_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
libc_logging_test.cpp Clean up internal libc logging. 2013-03-15 16:12:58 -07:00
libgen_test.cpp
math_benchmark.cpp Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
math_test.cpp Put the right number of Ls after 64-bit constants. 2013-02-12 20:18:49 -08:00
netdb_test.cpp Update getnameinfo.c, remove dead code, and fix error reporting. 2013-02-13 13:11:11 -08:00
pthread_test.cpp Fix pthread_setname_np's behavior on invalid pthread_ts. 2013-03-21 20:02:35 -07:00
regex_test.cpp
signal_test.cpp Fix raise(3) so it works in signal handlers. 2013-02-21 11:22:23 -08:00
stack_protector_test.cpp Fix the stack protector death test. 2013-02-14 16:35:58 -08:00
stdio_test.cpp Start moving to current FreeBSD stdio. 2013-04-11 13:55:01 -07:00
stdlib_test.cpp Switch to current FreeBSD qsort. 2013-04-11 18:08:34 -07:00
string_benchmark.cpp Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
string_test.cpp strncpy: implement _FORTIFY_SOURCE=2 2013-04-29 15:22:10 -07:00
strings_test.cpp Everyone has CLZ. 2013-02-13 14:40:48 -08:00
stubs_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
time_benchmark.cpp Cache the most-recently used timezone for mktime_tz and localtime_tz. 2013-03-11 17:17:02 -07:00
time_test.cpp Don't search off the end of the index for bad Olson ids. 2013-03-14 14:38:08 -07:00
unistd_test.cpp Remove bogus extra alignment from sbrk. 2013-02-05 16:10:59 -08:00