r193432 - in /trunk/gcc: ChangeLog Makefile.in ...
dodji@gcc.gnu.org
dodji@gcc.gnu.org
Mon Nov 12 15:51:00 GMT 2012
Author: dodji
Date: Mon Nov 12 15:51:13 2012
New Revision: 193432
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193432
Log:
Initial import of asan from the Google branch
This patch imports the initial state of asan as it was in the
Google branch.
It provides basic infrastructure for asan to instrument memory
accesses on the heap, at -O3. Note that it supports neither stack nor
global variable protection.
The rest of the patches of the set is intended to further improve this
base.
gcc/ChangeLog
* Makefile.in: Add asan.c and its dependencies.
* common.opt: Add -faddress-sanitizer option.
* invoke.texi: Document the new flag.
* passes.c: Add the asan pass.
* toplev.c (compile_file): Call asan_finish_file.
* asan.c: New file.
* asan.h: New file.
* tree-pass.h: Declare pass_asan.
Added:
trunk/gcc/asan.c
trunk/gcc/asan.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/common.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/passes.c
trunk/gcc/toplev.c
trunk/gcc/tree-pass.h
More information about the Gcc-cvs
mailing list