Re: [PATCH v9 01/17] Add kernel address sanitizer infrastructure.

2015-01-23 Thread Andrey Ryabinin
On 01/23/2015 03:35 PM, Michal Marek wrote: > On 2015-01-21 17:51, Andrey Ryabinin wrote: >> +ifdef CONFIG_KASAN_INLINE >> +call_threshold := 1 >> +else >> +call_threshold := 0 >> +endif > > Can you please move this to a Kconfig helper like you did with > CONFIG_KASAN_SHADOW_OFFSET?

Re: [PATCH v9 01/17] Add kernel address sanitizer infrastructure.

2015-01-23 Thread Andrey Ryabinin
On 01/23/2015 03:35 PM, Michal Marek wrote: On 2015-01-21 17:51, Andrey Ryabinin wrote: +ifdef CONFIG_KASAN_INLINE +call_threshold := 1 +else +call_threshold := 0 +endif Can you please move this to a Kconfig helper like you did with CONFIG_KASAN_SHADOW_OFFSET? Despite

[PATCH v9 01/17] Add kernel address sanitizer infrastructure.

2015-01-21 Thread Andrey Ryabinin
Kernel Address sanitizer (KASan) is a dynamic memory error detector. It provides fast and comprehensive solution for finding use-after-free and out-of-bounds bugs. KASAN uses compile-time instrumentation for checking every memory access, therefore GCC >= v4.9.2 required. This patch only adds

[PATCH v9 01/17] Add kernel address sanitizer infrastructure.

2015-01-21 Thread Andrey Ryabinin
Kernel Address sanitizer (KASan) is a dynamic memory error detector. It provides fast and comprehensive solution for finding use-after-free and out-of-bounds bugs. KASAN uses compile-time instrumentation for checking every memory access, therefore GCC = v4.9.2 required. This patch only adds