Open GoogleCodeExporter opened 9 years ago
Try ASAN_OPTIONS=replace_str=0 as a workaround.
We are planing a better support for this case, but I don't have an ETA:
https://groups.google.com/forum/#!topic/address-sanitizer/M6jmTnYbRRY
Original comment by konstant...@gmail.com
on 13 Nov 2014 at 12:39
>Try ASAN_OPTIONS=replace_str=0
This helps, thanks, but does this disable string.h checks for all of my app?
Can not find any note about replace_str here:
https://code.google.com/p/address-sanitizer/wiki/Flags , is it some secret
option for privy councillors?
Original comment by dushis...@gmail.com
on 13 Nov 2014 at 1:02
>> This helps, thanks, but does this disable string.h checks for all of my app?
Yes, at least some of them.
See here for the exact list:
http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interceptors
.cc?revision=216184&view=markup&pathrev=216184
The flag is deliberately undocumented, we don't want users to rely on it.
CC-ed Kuba. Kuba, any ETA for the asan interceptor suppressions?
Are you still working on those?
Original comment by konstant...@gmail.com
on 13 Nov 2014 at 1:17
Yes, working on that. Can't say any specific date, though.
Original comment by kuba.brecka@gmail.com
on 13 Nov 2014 at 1:47
Suppressions had landed in r223508. Though we need to document them. Would the
llvm webpage be the appropriate place? (For now, http://reviews.llvm.org/D6280
has the best documentation.)
Original comment by zaks.a...@gmail.com
on 17 Feb 2015 at 5:38
Original issue reported on code.google.com by
dushis...@gmail.com
on 12 Nov 2014 at 10:09Attachments: