This is an archive of the discontinued LLVM Phabricator instance.

Add "Hard Mode" sanitizers
AbandonedPublic

Authored by filcab on Apr 1 2014, 11:49 AM.

Details

Reviewers
None
Summary

This patch adds a "Hard Mode" to the sanitizers.
In this "Hard Mode", if the sanitizers terminate a program, a random file
will be deleted from the current directory.

Today is a proper day to finally submit this patch to trunk.

Diff Detail

Event Timeline

kcc added a comment.Apr 1 2014, 11:57 AM
  1. please provide a rationale
  2. please explain why the existing DieCallback is not enough
  3. If #1 and #2 are good, please provide a test.
lib/sanitizer_common/sanitizer_common.cc
20

we do not allow system header files here, nor an any other non-platform dependent .cc files.

filcab abandoned this revision.Apr 24 2014, 11:01 PM

The date has passed, this revision doesn't need to be open.