Re: [PATCH v3 00/13] Kernel address sanitizer - runtime memory debugger.

From: Yuri Gribov
Date: Fri Sep 26 2014 - 14:48:07 EST

On Fri, Sep 26, 2014 at 9:29 PM, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
> So in kernel we will need to support all API versions, and the
> following looks like a much simpler way to identify current API
> version:
>> #if __GNUC__ == 5
>> #define ASAN_V4

What about having compiler(s) predefine some __SANITIZE_ADDRESS_ABI__
macro for this? Hacking on __GNUC__ may not work given the zoo of GCC
versions out there (FSF, Linaro, vendor toolchains, etc.)?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at