Hello, I'm trying to use ASAN on an IOS app but I get the mentioned error.
I would like to know if there is anything at all that I can do to make it 
work.
I know that app links to a lot of shared libraries and I think that might 
be issue, but if that is the case I don't know how can I debug it to see if 
there is specific library that is using the memory space required by ASAN.

Here is the output with verbosity=3:
==43926==AddressSanitizer: libc interceptors initialized

==43926==FindDynamicShadowStart, space_size = 0x00005b003fff

==43926==Shadow doesn't fit, largest_gap_found = 0x000057fe0000, 
max_occupied_addr = 0x000280000000

==43926==FindDynamicShadowStart, space_size = 0x000057fe3fff

==43926==Unable to find a memory range after restricting VM.

==43926==AddressSanitizer CHECK failed: 
/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/clang_compiler_rt/clang-1200.0.32.2/compiler-rt/lib/asan/asan_mac.cpp:92
 
"((0 && "cannot place shadow after restricting vm")) != (0)" (0x0, 0x0)

Thank you,
Rodrigo

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/address-sanitizer/e2b05c00-c47e-46b1-af75-ebe6328d836fn%40googlegroups.com.

Reply via email to