public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/3][asan] Instrument memory access builtins calls
@ 2012-10-23 13:08 Dodji Seketeli
  2012-10-23 13:11 ` [PATCH 1/3] [asan] Make build_check_stmt accept an SSA_NAME for its base Dodji Seketeli
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Dodji Seketeli @ 2012-10-23 13:08 UTC (permalink / raw)
  To: GCC Patches; +Cc: Jakub Jelinek, Diego Novillo, Xinliang David Li, Wei Mi

Hello,

The three patches following up this message implement instrumenting
memory access builtins calls in AddressSanitizer, like what the llvm
implementation does.

The first two patches do some factorizing that is used by the third
one.  I have split them up like this to ease the review and to ensure
that applying them up one by one keeps the tree in a build-able state.

As we don't yet seem to have have a test harness on the tree, I have
tested the patches by starring at the gimple outputs and by
bootstrapping the tree for basic sanity.

This is my first foray in gimple and middle-end land, so I guess some
apologies are due in advance for the barbarisms you might find in
these patches.

Below is the summary of the changes.

Thank you in advance.

  [asan] Make build_check_stmt accept an SSA_NAME for its base
  [asan] Factorize condition insertion code out of build_check_stmt
  [asan] Instrument built-in memory access function calls

 gcc/asan.c | 482 +++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 419 insertions(+), 63 deletions(-)

-- 
		Dodji

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

end of thread, other threads:[~2012-10-29 14:55 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 13:08 [PATCH 0/3][asan] Instrument memory access builtins calls Dodji Seketeli
2012-10-23 13:11 ` [PATCH 1/3] [asan] Make build_check_stmt accept an SSA_NAME for its base Dodji Seketeli
2012-10-23 13:14   ` Jakub Jelinek
2012-10-23 13:11 ` [PATCH 2/3] [asan] Factorize condition insertion code out of build_check_stmt Dodji Seketeli
2012-10-23 13:27   ` Jakub Jelinek
2012-10-24 15:11     ` Dodji Seketeli
2012-10-24 15:44       ` Jakub Jelinek
2012-10-23 13:21 ` [PATCH 3/3] [asan] Instrument built-in memory access function calls Dodji Seketeli
2012-10-23 14:12   ` Jakub Jelinek
2012-10-23 15:51   ` Xinliang David Li
2012-10-23 16:03     ` Jakub Jelinek
2012-10-23 16:13       ` Xinliang David Li
2012-10-24 15:35       ` Dodji Seketeli
2012-10-24 16:10         ` Jakub Jelinek
2012-10-24 16:15           ` Dodji Seketeli
2012-10-23 16:06   ` Jakub Jelinek
2012-10-24 15:27     ` Dodji Seketeli
2012-10-24 16:46       ` Jakub Jelinek
2012-10-25 21:46         ` Dodji Seketeli
2012-10-25 22:13           ` Jakub Jelinek
2012-10-25 22:39             ` Dodji Seketeli
2012-10-25 22:57               ` Jakub Jelinek
2012-10-26 10:55                 ` Dodji Seketeli
2012-10-26 11:33                   ` Jakub Jelinek
2012-10-29 15:15       ` Hans-Peter Nilsson

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).