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

2014-11-12 Thread H.J. Lu
On Wed, Nov 5, 2014 at 6:50 AM, Kirill Yukhin wrote: > Hello, > On 24 Oct 17:56, Yury Gribov wrote: > ... >> +const struct test_data_t test_data[] = { >> + { STRTOL, "-0x8000", 0, -0x8000L, 0 }, > ... >> + switch (test_data[i].fun) >> + { >> + case STRTOL: >> + r

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

2014-11-05 Thread Kirill Yukhin
Hello, On 24 Oct 17:56, Yury Gribov wrote: ... > +const struct test_data_t test_data[] = { > + { STRTOL, "-0x8000", 0, -0x8000L, 0 }, ... > + switch (test_data[i].fun) > + { > + case STRTOL: > + res = strtol (test_data[i].nptr, 0, test_data[i].base); > + bre

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

2014-10-27 Thread Ian Lance Taylor
Yury Gribov writes: > --- a/include/libiberty.h > +++ b/include/libiberty.h > @@ -655,6 +655,33 @@ extern size_t strnlen (const char *, size_t); > extern int strverscmp (const char *, const char *); > #endif > > +#if defined(HAVE_DECL_STRTOL) && !HAVE_DECL_STRTOL > +extern long int strtol (co

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

2014-10-24 Thread Jakub Jelinek
On Fri, Oct 24, 2014 at 05:56:37PM +0400, Yury Gribov wrote: > >From 1882c41de6c8ae53b7e199b3cc655b6f4b31e8fb Mon Sep 17 00:00:00 2001 > From: Yury Gribov > Date: Thu, 16 Oct 2014 18:31:10 +0400 > Subject: [PATCH 1/2] Add strtoll and strtoull to libiberty. > > 2014-10-20 Yury Gribov > > inclu