2019-01-29 22:56:37 +03:00
|
|
|
# $NetBSD: Makefile,v 1.5 2019/01/29 19:56:37 mgorny Exp $
|
2012-03-17 21:15:28 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
TESTSDIR= ${TESTSBASE}/usr.bin/cc
|
|
|
|
|
2019-01-29 22:56:37 +03:00
|
|
|
ASAN_TESTS= #
|
|
|
|
ASAN_TESTS+= t_asan_double_free
|
|
|
|
ASAN_TESTS+= t_asan_global_buffer_overflow
|
|
|
|
ASAN_TESTS+= t_asan_heap_overflow
|
|
|
|
ASAN_TESTS+= t_asan_off_by_one
|
|
|
|
ASAN_TESTS+= t_asan_poison
|
|
|
|
ASAN_TESTS+= t_asan_uaf
|
|
|
|
|
2018-04-05 02:51:35 +03:00
|
|
|
TESTS_SH= #
|
2019-01-29 22:56:37 +03:00
|
|
|
TESTS_SH+= $(ASAN_TESTS)
|
2018-05-02 21:46:05 +03:00
|
|
|
TESTS_SH+= t_ubsan_int_add_overflow
|
|
|
|
TESTS_SH+= t_ubsan_int_sub_overflow
|
|
|
|
TESTS_SH+= t_ubsan_int_neg_overflow
|
|
|
|
TESTS_SH+= t_ubsan_int_divzero
|
|
|
|
TESTS_SH+= t_ubsan_vla_out_of_bounds
|
2018-04-05 02:51:35 +03:00
|
|
|
TESTS_SH+= t_hello
|
2012-03-17 21:15:28 +04:00
|
|
|
|
2019-01-29 22:56:37 +03:00
|
|
|
.for test in ${ASAN_TESTS}
|
|
|
|
TESTS_SH_SRC_${test}= asan_common.subr ${test}.sh
|
|
|
|
.endfor
|
|
|
|
|
2012-03-17 21:15:28 +04:00
|
|
|
.include <bsd.test.mk>
|