The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.1.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.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +11 -168 lines
Sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jan 29 19:56:37 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.2: preferred, colored
Changes since revision 1.2: +11 -168 lines
Move common ASAN test case code into asan_common.subr

Reviewed by <kamil>

Revision 1.1.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.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +3 -3 lines
Sync with HEAD

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jul 16 07:25:58 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.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
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.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:21 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +205 -0 lines
Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.1.2.1
Wed Apr 4 23:51:35 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.1: +0 -205 lines
file t_asan_uaf.sh was added on branch pgoyette-compat on 2018-04-07 04:12:21 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Apr 4 23:51:35 2018 UTC (6 years, 8 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Branch point for: phil-wifi, pgoyette-compat
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.

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>