public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* v2 [PATCH 0/X] Introduce HWASAN sanitizer to GCC
  2019-11-05 11:32 ` Matthew Malcomson
@ 2019-11-07 18:37 Matthew Malcomson
  2019-11-05 11:32 ` Matthew Malcomson
                   ` (2 more replies)
  29 siblings, 3 replies; 150+ messages in thread
From: Matthew Malcomson @ 2019-11-07 18:37 UTC (permalink / raw)
  To: gcc-patches
  Cc: nd, rguenther, James Greenhalgh, kcc, law, dvyukov, Martin Liska,
	Richard Earnshaw, Kyrylo Tkachov, Marcus Shawcroft, ian, dodji,
	joseph, jakub

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

I have rebased this series onto Martin Liska's patches that take the most
recent libhwasan from upstream LLVM.
https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00340.html

I've also cleared up some nomenclature (I had previously used the word 'colour'
a few times instead of the word 'tag' and that clashes with other descriptions)
and based the patch series off a more recent GCC revision (r277678).

There's an ongoing discussion on whether to have __SANITIZER_ADDRESS__, or
__SANITIZER_HWADDRESS__, but I'm keeping that discussion to the existing
thread.

Similarly there's still the question around C++ exceptions that I'm keeping to
the existing thread (on the first patch series).


NOTE:
  Unfortunately, there's a bug in the more recent version of GCC I rebased
  onto.
  Hwasan catches this when bootstrapping, which means bootstrapping with hwasan
  fails.
  I'm working on tracking the bug down now, but sending this series upstream
  for visibility while that happens.

  Bugzilla link:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92410

Entire patch series attached to cover letter.

[-- Attachment #2: all-patches.tar.gz --]
[-- Type: application/gzip, Size: 54817 bytes --]

^ permalink raw reply	[flat|nested] 150+ messages in thread

end of thread, other threads:[~2020-11-25  8:23 UTC | newest]

Thread overview: 150+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 18:37 v2 [PATCH 0/X] Introduce HWASAN sanitizer to GCC Matthew Malcomson
2019-11-05 11:32 ` Matthew Malcomson
2019-11-05 11:34   ` [PATCH 12/X] [libsanitizer] Add option to bootstrap using HWASAN Matthew Malcomson
2019-11-05 11:34   ` [PATCH 8/X] [libsanitizer] Expose __hwasan_tag_mismatch_stub Matthew Malcomson
2019-11-05 11:34   ` [aarch64] Allocate enough space for err_str in aarch64_handle_attr_branch_protection Matthew Malcomson
2019-11-05 11:38     ` Kyrylo Tkachov
2019-11-05 11:34   ` [PATCH 1/X][mid-end] Fix declared type of personality functions Matthew Malcomson
2019-11-05 11:41     ` Richard Biener
2019-11-05 11:34   ` [PATCH 7/X] [libsanitizer] Add missing SANITIZER_INTERFACE_ATTRIBUTE on __hwasan_personality_wrapper Matthew Malcomson
2019-11-05 11:34   ` [PATCH 5/X] [libsanitizer] Remove system allocator fallback Matthew Malcomson
2019-11-05 11:34   ` [PATCH 10/X] [libsanitizer] Tie the hwasan library into our build system Matthew Malcomson
2019-11-05 11:34   ` [PATCH 6/X] [libsanitizer] Add hwasan_exceptions.cpp file Matthew Malcomson
2019-11-05 11:34   ` [PATCH 2/X] [libsanitizer] Introduce libhwasan to GCC tree Matthew Malcomson
2019-11-05 11:34   ` [PATCH 3/X] [libsanitizer] libhwasan initialisation include kernel syscall ABI relaxation Matthew Malcomson
2019-11-05 11:34   ` [PATCH 4/X] [libsanitizer] libhwasan add longjmp & setjmp interceptors Matthew Malcomson
2019-11-05 11:34   ` [PATCH 11/X] [libsanitizer] Only build libhwasan when targeting AArch64 Matthew Malcomson
2019-11-05 11:35   ` [PATCH 18/X] [libsanitizer] Add in MTE stubs Matthew Malcomson
2019-11-05 11:35   ` [PATCH 9/X] [libsanitizer] Remove lazy thread initialisation Matthew Malcomson
2019-11-05 11:35   ` [PATCH 17/X] [libsanitizer] Add hwasan Exception handling Matthew Malcomson
2019-11-05 11:35   ` [PATCH 14/X] [libsanitizer][mid-end] Introduce stack variable handling for HWASAN Matthew Malcomson
2019-11-05 11:35   ` [PATCH 15/X] [libsanitizer] Add hwasan pass and associated gimple changes Matthew Malcomson
2019-11-05 11:35   ` [PATCH 13/X] [libsanitizer][options] Add hwasan flags and argument parsing Matthew Malcomson
2019-11-05 13:11     ` Andrey Konovalov via gcc-patches
2019-11-07 12:48       ` Matthew Malcomson
2019-11-07 15:51         ` Andrey Konovalov via gcc-patches
2019-11-07 18:01           ` Evgenii Stepanov via gcc-patches
2019-11-08 13:56             ` Andrey Konovalov via gcc-patches
2019-11-05 18:32     ` Joseph Myers
2019-11-05 11:35   ` [PATCH 16/X] [libsanitizer] Add tests Matthew Malcomson
2019-11-05 11:50   ` [PATCH 0/X] Introduce HWASAN sanitizer to GCC Matthew Malcomson
2019-11-05 15:11   ` Martin Liška
2019-11-05 16:11     ` Matthew Malcomson
2019-11-05 17:22       ` Martin Liška
2019-11-05 17:35         ` Matthew Malcomson
2019-11-05 18:15           ` Martin Liška
2019-11-05 18:30   ` Joseph Myers
2019-11-07 18:37   ` [PATCH 5/X] [libsanitizer][mid-end] Introduce stack variable handling for HWASAN Matthew Malcomson
2019-11-20 14:06     ` Martin Liška
2019-11-20 14:42       ` Matthew Malcomson
2019-11-20 14:48         ` Martin Liška
2019-11-20 15:02           ` Matthew Malcomson
2019-11-20 18:13             ` Joseph Myers
2019-11-07 18:37   ` [PATCH 2/X] [libsanitizer] Only build libhwasan when targeting AArch64 Matthew Malcomson
2019-11-07 18:37   ` [PATCH 1/X] [libsanitizer] Tie the hwasan library into our build system Matthew Malcomson
2019-11-20 11:13     ` Martin Liška
2019-11-07 18:37   ` [PATCH 6/X] [libsanitizer] Add hwasan pass and associated gimple changes Matthew Malcomson
2019-11-20 14:11     ` Martin Liška
2019-11-07 18:37   ` [PATCH 3/X] [libsanitizer] Add option to bootstrap using HWASAN Matthew Malcomson
2019-11-11 14:30     ` Martin Liška
2019-11-11 16:13       ` Matthew Malcomson
2019-11-12 12:10         ` Martin Liška
2019-11-13 15:25           ` Matthew Malcomson
2019-11-20 14:38             ` Martin Liška
2019-11-20 15:46               ` Matthew Malcomson
2019-11-21 13:10                 ` Martin Liška
2019-11-26 10:15               ` Martin Liška
2019-11-07 18:37   ` [PATCH 4/X] [libsanitizer][options] Add hwasan flags and argument parsing Matthew Malcomson
2019-11-20 11:22     ` Martin Liška
2019-11-07 18:38   ` [PATCH 7/X] [libsanitizer] Add tests Matthew Malcomson
2019-11-20 14:16     ` Martin Liška
2019-12-12 15:19   ` [Patch 0/X] HWASAN v3 Matthew Malcomson
2019-12-12 15:19     ` [PATCH 7/X] [libsanitizer] Add tests Matthew Malcomson
2019-12-12 15:19     ` [PATCH 4/X] [libsanitizer][options] Add hwasan flags and argument parsing Matthew Malcomson
2020-01-07 15:04       ` Martin Liška
2019-12-12 15:19     ` [PATCH 6/X] [libsanitizer] Add hwasan pass and associated gimple changes Matthew Malcomson
2020-01-07 15:10       ` Martin Liška
2020-01-13 12:20         ` Matthew Malcomson
2019-12-12 15:19     ` [PATCH 3/X] [libsanitizer] Add option to bootstrap using HWASAN Matthew Malcomson
2019-12-12 15:47       ` Matthew Malcomson
2019-12-12 16:58       ` Kyrill Tkachov
2019-12-12 15:19     ` [PATCH 5/X] [libsanitizer][mid-end] Introduce stack variable handling for HWASAN Matthew Malcomson
2019-12-12 15:19     ` [PATCH 1/X] [libsanitizer] Tie the hwasan library into our build system Matthew Malcomson
2019-12-12 15:19     ` [PATCH 2/X] [libsanitizer] Only build libhwasan when targeting AArch64 Matthew Malcomson
2019-12-12 15:37     ` Document --with-build-config=bootstrap-asan option Matthew Malcomson
2020-01-11  7:39       ` Gerald Pfeifer
2020-01-13 10:52         ` Matthew Malcomson
2020-11-20 18:11           ` Matthew Malcomson
2020-11-22 22:49             ` Gerald Pfeifer
2019-12-16 11:47     ` [PATCH 7/X] [libsanitizer] Add tests Matthew Malcomson
2019-12-17 14:32     ` [Patch 0/X] HWASAN v3 Matthew Malcomson
2020-01-06 15:26       ` [PING] " Matthew Malcomson
2020-01-07 15:14     ` Martin Liška
2020-01-08 11:26       ` Matthew Malcomson
2020-01-08 19:30         ` Kostya Serebryany via gcc-patches
2020-01-10 16:17         ` Kyrill Tkachov
2020-08-17 14:12     ` [Patch 0/X] HWASAN v4 Matthew Malcomson
2020-10-16  9:03       ` Martin Liška
2020-11-13 16:33         ` Martin Liška
2020-11-13 16:57           ` Matthew Malcomson
2020-11-13 17:22             ` Martin Liška
2020-11-20 18:42               ` Matthew Malcomson
2020-11-23  8:18                 ` Martin Liška
2020-11-24 15:46                   ` libsanitizer: Hwasan reporting check for dladdr failing Matthew Malcomson
2020-11-24 15:53                     ` Kyrylo Tkachov
2020-11-24 16:20                       ` Matthew Malcomson
2020-11-24 16:22                         ` Kyrylo Tkachov
2020-11-25  8:23                           ` Martin Liška
2020-11-16 15:36       ` Hwasan v5 Matthew Malcomson
2020-11-16 15:37       ` [PATCH 1/X] libsanitizer: Tie the hwasan library into our build system Matthew Malcomson
2020-11-18 17:03         ` Richard Sandiford
2020-11-16 15:37       ` [PATCH 2/X] libsanitizer: Only build libhwasan when targeting AArch64 Matthew Malcomson
2020-11-18 17:06         ` Richard Sandiford
2020-11-16 15:37       ` [PATCH 3/X] libsanitizer: Add option to bootstrap using HWASAN Matthew Malcomson
2020-11-18 17:09         ` Richard Sandiford
2020-11-16 15:37       ` [PATCH 4/X] libsanitizer: options: Add hwasan flags and argument parsing Matthew Malcomson
2020-11-18 17:57         ` Richard Sandiford
2020-11-20 18:48           ` Matthew Malcomson
2020-11-23 20:12             ` Richard Sandiford
2020-11-16 15:37       ` [PATCH 5/X] libsanitizer: mid-end: Introduce stack variable handling for HWASAN Matthew Malcomson
2020-11-16 15:37       ` [PATCH 6/X] libsanitizer: Add hwasan pass and associated gimple changes Matthew Malcomson
2020-11-16 15:37       ` [PATCH 7/X] libsanitizer: Add tests Matthew Malcomson
2020-11-19 13:01       ` Update [PATCH 6/X] libsanitizer: Add hwasan pass and associated gimple changes Matthew Malcomson
2020-11-19 16:28         ` Richard Sandiford
2020-11-20 17:28           ` Matthew Malcomson
2020-11-20 18:09             ` Richard Sandiford
2020-08-17 14:12     ` [PATCH 1/X] libsanitizer: Tie the hwasan library into our build system Matthew Malcomson
2020-10-13 15:57       ` Richard Sandiford
2020-10-28 13:58         ` Matthew Malcomson
2020-10-28 15:02           ` Richard Sandiford
2020-08-17 14:13     ` [PATCH 2/X] libsanitizer: Only build libhwasan when targeting AArch64 Matthew Malcomson
2020-10-13 16:04       ` Richard Sandiford
2020-08-17 14:13     ` [PATCH 3/X] libsanitizer: Add option to bootstrap using HWASAN Matthew Malcomson
2020-10-14  7:52       ` Richard Sandiford
2020-10-14  8:05         ` Stott Graham
2020-08-17 14:13     ` [PATCH 4/X] libsanitizer: options: Add hwasan flags and argument parsing Matthew Malcomson
2020-10-14  9:42       ` Richard Sandiford
2020-08-17 14:13     ` [PATCH 5/X] libsanitizer: mid-end: Introduce stack variable handling for HWASAN Matthew Malcomson
2020-10-14 16:09       ` Richard Sandiford
2020-11-03 13:00         ` Matthew Malcomson
2020-11-04 15:43           ` Richard Sandiford
2020-11-19 12:57         ` Update: " Matthew Malcomson
2020-11-19 15:28           ` Richard Sandiford
2020-11-20 18:46             ` Matthew Malcomson
2020-11-23 20:10               ` Richard Sandiford
2020-11-23 20:16               ` Richard Sandiford
2020-11-24 12:30               ` Hongtao Liu
2020-11-24 16:45                 ` Matthew Malcomson
2020-08-17 14:13     ` [PATCH 6/X] libsanitizer: Add hwasan pass and associated gimple changes Matthew Malcomson
2020-10-14 18:37       ` Richard Sandiford
2020-08-17 14:13     ` [PATCH 7/X] libsanitizer: Add tests Matthew Malcomson
2020-11-20 19:14       ` Richard Sandiford
2020-11-23 18:08         ` Matthew Malcomson
2020-11-23 20:30           ` Richard Sandiford
2019-11-11 16:16 ` v2 [PATCH 0/X] Introduce HWASAN sanitizer to GCC Matthew Malcomson
2019-11-11 16:21   ` Matthew Malcomson
2019-11-20 14:33 ` Martin Liška
2019-11-20 17:41   ` Matthew Malcomson
2019-11-21 13:15     ` Martin Liška
2019-11-21 15:03       ` Matthew Malcomson
2019-11-25 12:23         ` Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).