On Sun, May 8, 2016 at 10:03 AM, Amit Kumar wrote:
> Hi,
> I am reviving this 3 years old thread. The good news is that address
> sanitizer is now officially supported by Apple in Xcode 7.
>
> Thanks everyone.
>
> Could it be a good idea to create a release build (highly optimized) in
> order to
On Sun, May 8, 2016 at 10:03 AM, Amit Kumar wrote:
> Hi,
> I am reviving this 3 years old thread. The good news is that address
> sanitizer is now officially supported by Apple in Xcode 7.
>
> Thanks everyone.
>
> Could it be a good idea to create a release build (highly optimized) in
> order to
On Mon, May 9, 2016 at 10:35 AM, 'Ilya' via address-sanitizer
wrote:
>
>> Worst case you could wrap problematic code in #ifdef
>> __SANITIZE_UNDEFINED__ and provide dedicated implementation. What's
>> the problem with packed stuff though?
>
>
> Yep, but I'd like to avoid that if possible :)
Yeah.
> Worst case you could wrap problematic code in #ifdef
> __SANITIZE_UNDEFINED__ and provide dedicated implementation. What's
> the problem with packed stuff though?
>
Yep, but I'd like to avoid that if possible :)
The packed structures cause "misaligned pointer access".
--
You received this
Hello everybody,
> Usually, ubsan-related questions get answered at llvm...@lists.llvm.org
> , we we can reply too :)
>
first thanks for the quick responses. (We had some national holidays going
on here, so my answer comes quite late - sorry for that.)
fsanitize-blacklist is a compile-time