[llvm-commits] PATCH: [ASan] Run common checks before/after printing error reports of various types

Alexey Samsonov samsonov at google.com
Thu Aug 9 08:16:17 PDT 2012


Hi!

This is an almost final step in hacking error report machinery in ASan: now
the code that was previously
run before/after printing error report for invalid memory accesses is
shared between all other error reports
(double-free, free of not allocated pointer, strcpy-overflow etc.). This
code includes:
ensuring we don't output several reports simultaneously, disabling fake
stack, invoking error report callback,
announcing thread.

General comments on asan_report.{h,cc} are also welcome!

Code review: http://codereview.appspot.com/6446107/

-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120809/286536dc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue6446107_2001.diff
Type: application/octet-stream
Size: 11430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120809/286536dc/attachment.obj>


More information about the llvm-commits mailing list