Re: [PATCH v9 13/44] kasan: hide invalid free check implementation

2020-11-11 Thread Alexander Potapenko
On Tue, Nov 10, 2020 at 11:11 PM Andrey Konovalov wrote: > > This is a preparatory commit for the upcoming addition of a new hardware > tag-based (MTE-based) KASAN mode. > > For software KASAN modes the check is based on the value in the shadow > memory. Hardware tag-based KASAN won't be using

[PATCH v9 13/44] kasan: hide invalid free check implementation

2020-11-10 Thread Andrey Konovalov
This is a preparatory commit for the upcoming addition of a new hardware tag-based (MTE-based) KASAN mode. For software KASAN modes the check is based on the value in the shadow memory. Hardware tag-based KASAN won't be using shadow, so hide the implementation of the check in