The NetBSD Project

CVS log for src/tests/usr.bin/cc/t_ubsan_vla_out_of_bounds.sh

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.3.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:12 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +13 -158 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 9 00:13:19 2019 UTC (5 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, 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
Changes since 1.5: +2 -0 lines
Diff to previous 1.5 (colored)

add $NetBSD$ tags.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 29 19:59:10 2019 UTC (5 years, 2 months ago) by mgorny
Branch: MAIN
Changes since 1.4: +11 -158 lines
Diff to previous 1.4 (colored)

Move common UBSAN test case code into ubsan_common.subr

Reviewed by <kamil>

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:38:13 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.3.2.2: +2 -2 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 16 07:25:58 2018 UTC (5 years, 8 months ago) by kamil
Branch: 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
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

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 1.3.2.2 / (download) - annotate - [select for diffs], Mon May 21 04:36:18 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3.2.1: +194 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.3.2.1, Fri May 4 12:26:53 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3: +0 -194 lines
FILE REMOVED

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) - annotate - [select for diffs], Fri May 4 12:26:53 2018 UTC (5 years, 11 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Explain VLA in t_ubsan_vla_out_of_bounds.sh (ATF test)

VLA - Variable Length Array

Requested by <martin>

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 4 10:44:24 2018 UTC (5 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Use more formal speech in messages

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 2 18:46:05 2018 UTC (5 years, 11 months ago) by kamil
Branch: 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>

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>