Yes I tried but its coming out to be almost same.

Slowdown is almost 2 times.

On Wed, Jun 21, 2017 at 9:28 PM, Kuba Mracek <mra...@apple.com> wrote:

> How big is the slowdown?  Did you try using ASan with higher optimization
> levels (-O1, -O2, -O3)?
>
> At the point where ASan instruments memory reads and writes, it doesn't
> know whether the destination is a stack variable, a global variable or a
> pointer to the heap.  So I don't think there's a way of selectively only
> instrumenting stack and/or globals.
>
> Kuba
>
> On 21 Jun 2017, at 04:11, Aayushi Agrawal <aayushigr...@gmail.com> wrote:
>
> Hello
>
> I used " -fsanitise=address " as one of the option for compiling my
> program with clang.
> But it slows down the execution of the program.
>
> Can anybody please tell me that is there a way to only check the stack
> variables overflow, global variables overflow and avoid all other checks
> using ASAN which could help in improving the execution speed?
>
>
> --
> 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 address-sanitizer+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
>


-- 
Aayushi Agrawal
B.Tech(Final Year)
Computer Science Engineering Undergraduate
LNMIIT,JAIPUR
Contact - 09649357639

-- 
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 address-sanitizer+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to