Assuming you already know how to build an application targeting the iOS
simulator, you just need to use the trunk version of Clang (not the one
shipped with Xcode) and pass -fsanitize=address when compiling and linking
the code.

There's a pretty nice writeup on using ASan with iOS simulator by Mihai
Parparita: https://quip.com/pqu1A6PrunOS
You can refer to https://code.google.com/p/address-sanitizer/wiki/HowToBuild
for instructions on how to build the most recent Clang version.

On Sun, Nov 2, 2014 at 11:10 PM, Max Raskin <[email protected]>
wrote:

> Is it possible to compile code with address sanitizer enabled targeting
> the iOS Simulator?
>
> If yes how can this be accomplished? Is there a guide somewhere that
> documents that?
>
> Thanks!
>
>
>  --
> 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.

Reply via email to