<div>Hi!</div><div><br></div><div>This is an almost final step in hacking error report machinery in ASan: now the code that was previously</div><div>run before/after printing error report for invalid memory accesses is shared between all other error reports</div>
<div>(double-free, free of not allocated pointer, strcpy-overflow etc.). This code includes:</div><div>ensuring we don't output several reports simultaneously, disabling fake stack, invoking error report callback,</div>
<div>announcing thread.</div><div><br></div><div>General comments on asan_report.{h,cc} are also welcome!</div><div><br></div>Code review: <a href="http://codereview.appspot.com/6446107/">http://codereview.appspot.com/6446107/</a><br clear="all">
<div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>