Re: [PATCHv4][Kasan] Allow to override Asan shadow offset from command line

2014-10-21 Thread Yury Gribov
On 10/17/2014 04:32 PM, Ian Lance Taylor wrote: Jakub Jelinek writes: Not sure if there aren't extra steps to make strtoull prototype available in system.h, libiberty.h etc. for systems that don't have strtoull in their headers. See the #if defined(HAVE_DECL_XXX) && !HAVE_DECL_XXX lines in

Re: [PATCHv4][Kasan] Allow to override Asan shadow offset from command line

2014-10-17 Thread Ian Lance Taylor
Jakub Jelinek writes: > Not sure if there aren't extra steps to make strtoull prototype available > in system.h, libiberty.h etc. for systems that don't have strtoull in their > headers. See the #if defined(HAVE_DECL_XXX) && !HAVE_DECL_XXX lines in include/libiberty.h. Although strtol is miss

Re: [PATCHv4][Kasan] Allow to override Asan shadow offset from command line

2014-10-17 Thread Jakub Jelinek
On Fri, Oct 17, 2014 at 11:53:01AM +0400, Yury Gribov wrote: > >From 0225b7878bbb5b803814646d089824d016316fef Mon Sep 17 00:00:00 2001 > From: Yury Gribov > Date: Thu, 16 Oct 2014 18:31:10 +0400 > Subject: [PATCH 1/2] Add strtoull to libiberty. > > 2014-10-17 Yury Gribov > > libiberty/ >

[PATCHv4][Kasan] Allow to override Asan shadow offset from command line

2014-10-17 Thread Yury Gribov
Hi all, On 09/29/2014 09:21 PM, Yury Gribov wrote: Kasan developers has asked for an option to override offset of Asan shadow memory region. This should simplify experimenting with memory layouts on 64-bit architectures. New patch which checks that -fasan-shadow-offset is only enabled for -fsa