The NetBSD Project

CVS log for src/tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / c++

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:12 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +11 -158 lines
Sync with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jan 29 20:07:03 2019 UTC (5 years, 10 months ago) by mgorny
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +11 -158 lines
Move common UBSAN test case code into ubsan_common.subr

Reviewed by <kamil>

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:13 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +2 -2 lines
Sync with HEAD

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jul 16 07:27:26 2018 UTC (6 years, 4 months ago) by kamil
Branches: MAIN
CVS 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
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).

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:18 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +194 -0 lines
Sync with HEAD

Revision 1.3.2.1
Fri May 4 12:51:18 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.3: +0 -194 lines
file t_ubsan_vla_out_of_bounds.sh was added on branch pgoyette-compat on 2018-05-21 04:36:18 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri May 4 12:51:18 2018 UTC (6 years, 7 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
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>

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 4 12:27:58 2018 UTC (6 years, 7 months ago) by kamil
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -5 lines
Explain VLA in c++/t_ubsan_vla_out_of_bounds.sh (ATF test)

VLA - Variable Length Array

Requested by <martin>

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed May 2 18:46:05 2018 UTC (6 years, 7 months ago) by kamil
Branches: MAIN
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>

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>