Re: [PATCH v12 20/25] kasan, arm64: add brk handler for inline instrumentation

2018-12-06 Thread Andrey Konovalov
On Thu, Dec 6, 2018 at 12:10 PM Will Deacon wrote: > > On Thu, Dec 06, 2018 at 11:31:43AM +0100, Andrey Konovalov wrote: > > On Thu, Nov 29, 2018 at 7:01 PM Will Deacon wrote: > > > > > > On Tue, Nov 27, 2018 at 05:55:38PM +0100, Andrey Konovalov wrote: > > > > Tag-based KASAN inline instrumentat

Re: [PATCH v12 20/25] kasan, arm64: add brk handler for inline instrumentation

2018-12-06 Thread Will Deacon
On Thu, Dec 06, 2018 at 11:31:43AM +0100, Andrey Konovalov wrote: > On Thu, Nov 29, 2018 at 7:01 PM Will Deacon wrote: > > > > On Tue, Nov 27, 2018 at 05:55:38PM +0100, Andrey Konovalov wrote: > > > Tag-based KASAN inline instrumentation mode (which embeds checks of shadow > > > memory into the ge

Re: [PATCH v12 20/25] kasan, arm64: add brk handler for inline instrumentation

2018-12-06 Thread Andrey Konovalov
On Thu, Nov 29, 2018 at 7:01 PM Will Deacon wrote: > > On Tue, Nov 27, 2018 at 05:55:38PM +0100, Andrey Konovalov wrote: > > Tag-based KASAN inline instrumentation mode (which embeds checks of shadow > > memory into the generated code, instead of inserting a callback) generates > > a brk instructi

Re: [PATCH v12 20/25] kasan, arm64: add brk handler for inline instrumentation

2018-11-29 Thread Will Deacon
On Tue, Nov 27, 2018 at 05:55:38PM +0100, Andrey Konovalov wrote: > Tag-based KASAN inline instrumentation mode (which embeds checks of shadow > memory into the generated code, instead of inserting a callback) generates > a brk instruction when a tag mismatch is detected. > > This commit adds a ta

[PATCH v12 20/25] kasan, arm64: add brk handler for inline instrumentation

2018-11-27 Thread Andrey Konovalov
Tag-based KASAN inline instrumentation mode (which embeds checks of shadow memory into the generated code, instead of inserting a callback) generates a brk instruction when a tag mismatch is detected. This commit adds a tag-based KASAN specific brk handler, that decodes the immediate value passed