Re: [PATCH v6 2/4] kasan: record and print the free track

2020-05-25 Thread Dmitry Vyukov
On Fri, May 22, 2020 at 4:01 AM Walter Wu wrote: > > Move free track from kasan_alloc_meta to kasan_free_meta in order > to make struct kasan_alloc_meta and kasan_free_meta size are both > 16 bytes. It is a good size because it is the minimal redzone size > and a good number of alignment. > > For

[PATCH v6 2/4] kasan: record and print the free track

2020-05-21 Thread Walter Wu
Move free track from kasan_alloc_meta to kasan_free_meta in order to make struct kasan_alloc_meta and kasan_free_meta size are both 16 bytes. It is a good size because it is the minimal redzone size and a good number of alignment. For free track, we make some modifications as shown below: 1)