[PATCH] Enable -fsanitize-recover for KASan

Yury Gribov y.gribov@samsung.com
Fri Sep 5 08:33:00 GMT 2014


On 09/05/2014 12:23 PM, Dmitry Vyukov wrote:
>> I didn't find a good way to achieve this. See, normal asan reporting
>> functions
>> have a noreturn attribute (defined in sanitizer.def) which can't be changed
>> depending on cmdline flag.
> I have not looked at the code in detail. But it looks weird to me that
> in a general-purpose programming language we can't alter an attribute
> of an in-memory object.

Well, builtins are described by metadata in .def files
(those are not written in general purpose language).
Post-hacking generated trees sounds ugly...

-Y



More information about the Gcc-patches mailing list