<div dir="ltr">Hi!<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 12:27 PM, zapadinsky <span dir="ltr"><<a href="mailto:zapadinsky@gmail.com" target="_blank">zapadinsky@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I've tried hard to rule it out by myself... but yielded.<br>

<br>
-fsanitize=enum require an external symbolizer.</blockquote><div><br></div><div>External symbolizer in UBSan tool is not a requirement, but not fully implemented</div><div style>feature. For now, I can add setting external symbolizer for ubsan via env var if</div>
<div style>Richard tells that's fine.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
This requirement was added<br>
in svn revision 170407. But how to set up an External Symbolizer if I am not<br>
using asan? I've tried env ASAN_FILTER with no success.<br>
<br>
Now I am getting this error massage:<br>
==19442== WARNING: Trying to symbolize code, but external symbolizer is not<br>
initialized!<br>
/.../a.out:0x804bc04: runtime error: load of value 5, which is not a valid<br>
value for type 'TEnum'</blockquote><div><br></div><div style>For now, you may disregard the warning and take a look at "runtime error" line - it tells</div><div style>you the location of guilty load instruction in your code (module + offset).</div>
<div style>If your binary is built with "-g" you may try running</div><div style>addr2line -Cfe a.out 0x804bc04</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
And there is no information about this in manual</blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
<br>
<br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/External-Symbolizer-with-ubsan-tp4030648.html" target="_blank">http://clang-developers.42468.n3.nabble.com/External-Symbolizer-with-ubsan-tp4030648.html</a><br>

Sent from the Clang Developers mailing list archive at Nabble.com.<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div>
</div></div>