[cfe-dev] Question about __asan_set_error_report_callback

Oliver Schneider oliver at f-prot.com
Wed Mar 26 03:15:18 PDT 2014


Hello,

currently I am looking into how to suppress certain error output
selectively. What I want to achieve here is not to simply hide them, but
to attack each class of errors one by one.

So I stumbled over __asan_set_error_report_callback from the public ASAN
interface. However, it appears that the callback gets notified but
cannot really act on whether it gets shown or not.

Is there a way to achieve this with the public interface?

One class of errors I'd like to suppress for starters have to do with
alignments when accessing typed arrays and coercing the type.

// Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140326/f2e9e5b2/attachment.sig>


More information about the cfe-dev mailing list