You can run Asan in error recovery mode (it's not generally
recommended as errors after the first one can not be reported reliably
but normally it works fine). You can see details e.g. in this answer:
https://github.com/google/sanitizers/issues/649#issuecomment-176304136

On 2/19/19, Hiren Shah <[email protected]> wrote:
> Hi,
>
> I am new to asan. I want to suppress strlen error.  I am getting following
> backtrace which is aborting ASAN. I would like ASAN to skip that error.
>
>
> #3  0x00007fd8f5994288 in __sanitizer::Die() () from /lib64/libasan.so.4
>
> #4  0x00007fd8f5975275 in __asan::ReportGenericError(unsigned long,
> unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned
> int, bool) ()
>
>    from /lib64/libasan.so.4
>
> #5  0x00007fd8f58dd3dd in __interceptor_strlen.part.24 () from
> /lib64/libasan.so.
>
> --
> You received this message because you are subscribed to the Google Groups
> "address-sanitizer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Best regards,
Yuri

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to