On my 64-bit linux box running a 32-bit app I see this:
% cat addr.c
#include <stdio.h>
#include <stdlib.h>
int main() {
int local;
printf("%p %p %p\n", &main, &local, malloc(10));
}
% g++ addr.c -m32 && ./a.out
0x8048414 0xff95481c 0x99de008
%
Stack is at 0xff95481c, so, the app uses the entire 4Gb range.
What can be optimized here?
--kcc
On Tue, Mar 18, 2014 at 3:15 PM, Yuri Gribov <[email protected]> wrote:
> On Tue, Mar 18, 2014 at 1:20 PM, Alexander Potapenko <[email protected]>
> wrote:
> > This sounds feasible.
> > In order to do this we must also shrink the shadow gap so that those 256M
> > can be actually used.
>
> Cool. I see if I can prepare something this week.
>
> -Y
>
> --
> You received this message because you are subscribed to the Google Groups
> "address-sanitizer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.