public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: Matthew Malcomson <Matthew.Malcomson@arm.com>,
	"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Cc: nd <nd@arm.com>, "kcc@google.com" <kcc@google.com>,
	"dvyukov@google.com" <dvyukov@google.com>,
	Richard Earnshaw <Richard.Earnshaw@arm.com>,
	Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>,
	"dodji@redhat.com" <dodji@redhat.com>,
	"jakub@redhat.com" <jakub@redhat.com>
Subject: Re: [PATCH 6/X] [libsanitizer] Add hwasan pass and associated gimple changes
Date: Tue, 07 Jan 2020 15:10:00 -0000	[thread overview]
Message-ID: <55869e12-0084-e2d5-5892-0ac90194c174@suse.cz> (raw)
In-Reply-To: <HE1PR0802MB22518444057EAFC7230B08CFE0550@HE1PR0802MB2251.eurprd08.prod.outlook.com>

On 12/12/19 4:19 PM, Matthew Malcomson wrote:
> - if (is_store && !param_asan_instrument_writes)
> + if (is_store
> + && (!param_asan_instrument_writes || !param_hwasan_instrument_writes))
> return;
> - if (!is_store && !param_asan_instrument_reads)
> + if (!is_store
> + && (!param_asan_instrument_reads || !param_hwasan_instrument_reads))
> return;

I know it's very unlikely, but one can use -fsanitize=address and
--param hwasan-instrument-reads=0 which will drop instrumentation of reads
for ASAN.

Similarly for other parameters.

Martin

  reply	other threads:[~2020-01-07 15:10 UTC|newest]

Thread overview: 150+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 6/X] [libsanitizer] Add hwasan_exceptions.cpp file 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 5/X] [libsanitizer] Remove system allocator fallback Matthew Malcomson
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 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 3/X] [libsanitizer] libhwasan initialisation include kernel syscall ABI relaxation Matthew Malcomson
2019-11-05 11:34   ` [PATCH 2/X] [libsanitizer] Introduce libhwasan to GCC tree Matthew Malcomson
2019-11-05 11:34   ` [PATCH 11/X] [libsanitizer] Only build libhwasan when targeting AArch64 Matthew Malcomson
2019-11-05 11:34   ` [PATCH 4/X] [libsanitizer] libhwasan add longjmp & setjmp interceptors 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:35   ` [PATCH 16/X] [libsanitizer] Add tests Matthew Malcomson
2019-11-05 11:35   ` [PATCH 9/X] [libsanitizer] Remove lazy thread initialisation Matthew Malcomson
2019-11-05 11:35   ` [PATCH 18/X] [libsanitizer] Add in MTE stubs 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 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 15/X] [libsanitizer] Add hwasan pass and associated gimple changes 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 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: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 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 2/X] [libsanitizer] Only build libhwasan when targeting AArch64 Matthew Malcomson
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 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 6/X] [libsanitizer] Add hwasan pass and associated gimple changes Matthew Malcomson
2020-01-07 15:10       ` Martin Liška [this message]
2020-01-13 12:20         ` 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 2/X] [libsanitizer] Only build libhwasan when targeting AArch64 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 5/X] [libsanitizer][mid-end] Introduce stack variable handling for HWASAN 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55869e12-0084-e2d5-5892-0ac90194c174@suse.cz \
    --to=mliska@suse.cz \
    --cc=Kyrylo.Tkachov@arm.com \
    --cc=Matthew.Malcomson@arm.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=dodji@redhat.com \
    --cc=dvyukov@google.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=kcc@google.com \
    --cc=nd@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).