Re: [PATCH 04/11] kasan: add match-all tag tests

2021-01-12 Thread Andrey Konovalov
On Tue, Jan 12, 2021 at 2:17 PM Marco Elver wrote: > > On Tue, Jan 05, 2021 at 07:27PM +0100, Andrey Konovalov wrote: > > Add 3 new tests for tag-based KASAN modes: > > > > 1. Check that match-all pointer tag is not assigned randomly. > > 2. Check that 0xff works as a match-all pointer tag. > >

Re: [PATCH 04/11] kasan: add match-all tag tests

2021-01-12 Thread Andrey Konovalov
On Tue, Jan 12, 2021 at 9:05 AM Alexander Potapenko wrote: > > On Tue, Jan 5, 2021 at 7:28 PM Andrey Konovalov wrote: > > > > Add 3 new tests for tag-based KASAN modes: > > > > 1. Check that match-all pointer tag is not assigned randomly. > > 2. Check that 0xff works as a match-all pointer tag.

Re: [PATCH 04/11] kasan: add match-all tag tests

2021-01-12 Thread Marco Elver
On Tue, Jan 05, 2021 at 07:27PM +0100, Andrey Konovalov wrote: > Add 3 new tests for tag-based KASAN modes: > > 1. Check that match-all pointer tag is not assigned randomly. > 2. Check that 0xff works as a match-all pointer tag. > 3. Check that there are no match-all memory tags. > > Note, that

Re: [PATCH 04/11] kasan: add match-all tag tests

2021-01-12 Thread Alexander Potapenko
On Tue, Jan 5, 2021 at 7:28 PM Andrey Konovalov wrote: > > Add 3 new tests for tag-based KASAN modes: > > 1. Check that match-all pointer tag is not assigned randomly. > 2. Check that 0xff works as a match-all pointer tag. > 3. Check that there are no match-all memory tags. > > Note, that test #3

[PATCH 04/11] kasan: add match-all tag tests

2021-01-05 Thread Andrey Konovalov
Add 3 new tests for tag-based KASAN modes: 1. Check that match-all pointer tag is not assigned randomly. 2. Check that 0xff works as a match-all pointer tag. 3. Check that there are no match-all memory tags. Note, that test #3 causes a significant number (255) of KASAN reports to be printed