This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/17] Outline instrumentation


On Thu, Oct 16, 2014 at 12:37:37PM +0400, Yury Gribov wrote:
> 4.9's Asan runtime library provides no support for these so I removed the
> tests. I've also changed default value of threshold to INT_MAX to completely
> disable outline instrumentation in userspace Asan.

> New asan-instrumentation-with-call-threshold parameter.
> 
> 2014-10-15  Yury Gribov  <y.gribov@samsung.com>
> 
> 	Backport from mainline
> 	2014-06-16  Yury Gribov  <y.gribov@samsung.com>
> 
> 	* asan.c (check_func): New function.
> 	(maybe_create_ssa_name): Likewise.
> 	(build_check_stmt_with_calls): Likewise.
> 	(use_calls_p): Likewise.
> 	(report_error_func): Change interface.
> 	(build_check_stmt): Allow non-integer lengths; add support
> 	for new parameter.
> 	(asan_instrument): Likewise.
> 	(instrument_mem_region_access): Moved code to
> 	build_check_stmt.
> 	(instrument_derefs): Likewise.
> 	(instrument_strlen_call): Likewise.
> 	* cfgcleanup.c (old_insns_match_p): Add support for new
> 	functions.
> 	* doc/invoke.texi: Describe new parameter.
> 	* params.def: Define new parameter.
> 	* params.h: Likewise.
> 	* sanitizer.def: Describe new builtins.
> 
> 	* c-c++-common/asan/instrument-with-calls-1.c: New test.
> 	* c-c++-common/asan/instrument-with-calls-2.c: Likewise.
> 	* c-c++-common/asan/no-redundant-instrumentation-1.c: Update
> 	test patterns.
> 	* c-c++-common/asan/no-redundant-instrumentation-2.c:
> 	Likewise.
> 	* c-c++-common/asan/no-redundant-instrumentation-4.c:
> 	Likewise.
> 	* c-c++-common/asan/no-redundant-instrumentation-5.c:
> 	Likewise.
> 	* c-c++-common/asan/no-redundant-instrumentation-6.c:
> 	Likewise.
> 	* c-c++-common/asan/no-redundant-instrumentation-7.c:
> 	Likewise.
> 	* c-c++-common/asan/no-redundant-instrumentation-8.c:
> 	Likewise.

Ok.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]