[cfe-dev] External Symbolizer with ubsan
richard at metafoo.co.uk
Tue Feb 26 11:29:05 PST 2013
On Tue, Feb 26, 2013 at 5:45 AM, 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
> > implemented feature. For now, I can add setting external symbolizer for
> > ubsan via env
> > var if Richard tells that's fine.
Thank you, that would be great.
> -fsanitize=integer somehow print the line number and character of an
> operator raised an overflow error. Why enum sanitizer needs symbolizer?
> There was an idea to print the stack trace?
Two things: firstly, ubsan can't currently determine the source location
for all checks at build time; for a few, we work out the location based on
return address at runtime. That's just due to incomplete implementation.
Secondly, as you suspect, we want to include a stack trace eventually.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev