[cfe-dev] External Symbolizer with ubsan
samsonov at google.com
Tue Feb 26 01:28:29 PST 2013
On Tue, Feb 26, 2013 at 12:27 PM, zapadinsky <zapadinsky at gmail.com> wrote:
> I've tried hard to rule it out by myself... but yielded.
> -fsanitize=enum require an external symbolizer.
External symbolizer in UBSan tool is not a requirement, but not fully
feature. For now, I can add setting external symbolizer for ubsan via env
Richard tells that's fine.
> This requirement was added
> in svn revision 170407. But how to set up an External Symbolizer if I am
> using asan? I've tried env ASAN_FILTER with no success.
> Now I am getting this error massage:
> ==19442== WARNING: Trying to symbolize code, but external symbolizer is not
> /.../a.out:0x804bc04: runtime error: load of value 5, which is not a valid
> value for type 'TEnum'
For now, you may disregard the warning and take a look at "runtime error"
line - it tells
you the location of guilty load instruction in your code (module + offset).
If your binary is built with "-g" you may try running
addr2line -Cfe a.out 0x804bc04
> And there is no information about this in manual
> View this message in context:
> Sent from the Clang Developers mailing list archive at Nabble.com.
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev