History log of /netbsd-src/tests/usr.bin/c++/t_ubsan_int_divzero.sh (Results 1 – 4 of 4)
Revision Date Author Comments
# de2592f9 29-Jan-2019 mgorny <mgorny@NetBSD.org>

Move common UBSAN test case code into ubsan_common.subr

Reviewed by <kamil>


# b4d61ce6 16-Jul-2018 kamil <kamil@NetBSD.org>

Disable profile and compat 32-bit c++ sanitizer tests

These tests are known to be faulty. These fatures aren't ready.
They tend to break to unrelated changes to the codebase.

Base Clang and GCC are

Disable profile and compat 32-bit c++ sanitizer tests

These tests are known to be faulty. These fatures aren't ready.
They tend to break to unrelated changes to the codebase.

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).

show more ...


# 41014158 04-May-2018 kamil <kamil@NetBSD.org>

Improve wording for non-native speakers of English

Improve wording in t_ubsan tests in for c++.

No functional change intended.

Follow the changed in cc/ by <martin>


# e308425e 02-May-2018 kamil <kamil@NetBSD.org>

Add new ATF Undefined Behavior Sanitizer tests

Add new cc and c++ tests to check whether UBSan works.
These tests are prepared for GCC (in base) and Clang (with external patches).

Enable these test

Add new ATF Undefined Behavior Sanitizer tests

Add new cc and c++ tests to check whether UBSan works.
These tests are prepared for GCC (in base) and Clang (with external patches).

Enable these tests for all ports by default, just verify whether we are
using GCC/Clang or a compatible compiler.

Add five equivalent C and C++ tests:
- Integer addition overflow
- Integer divide by zero
- Integer negation overflow
- Integer subtraction overflow
- VLA out of bounds

All tests pass on NetBSD/amd64.

Patch submitted by <Harry Pantazis>
Minor cleanup by <myself>

show more ...