#
1.4 |
|
07-Aug-2023 |
rin |
t_asan_global_buffer_overflow: Avoid ODR Violation for pic variants
Common symbol triggers ODR (One Definition Rule) Violation correctly, instead of Global Buffer Overflow.
XXX Add test for odr_violation.
|
Revision tags: netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
#
1.3 |
|
29-Jan-2019 |
mgorny |
Move common ASAN test case code into asan_common.subr
Reviewed by <kamil>
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.2 |
|
16-Jul-2018 |
kamil |
Disable profile and compat 32-bit tests cc sanitizer tests
These tests are known to be faulty. These fatures aren't ready. They tend to break to unrelated changes to the codebase and require.
Base Clang and GCC are in general dated to use with sanitizers as these features are being fixed on HEAD versions of both compilers (mostly Clang).
|
Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
|
#
1.1 |
|
04-Apr-2018 |
kamil |
branches: 1.1.2; 1.1.4; Add new ATF tests for Address Sanitzier (ASan)
Add new C and C++ tests: - t_asan_double_free - t_asan_global_buffer_overflow - t_asan_heap_overflow - t_asan_off_by_one - t_asan_uaf
Each tests checks: - regular build - 32-bit - PIC - PIE - profile
These tests require paxctl(8) to disable ASLR in order to work in a predictable way. This is especially true for all !regular builds with additional compiler flags.
There are no static variations of these tests as this mode is not supported in upstream ASan.
Enable these tests on amd64 and i386.
Patch submitted by <Siddharth Muralee> Additional polishing by myself.
|