OSDN Git Service

Fix pnacl-sz to return with staus 0 in report_fatal_error.
authorKarl Schimpf <kschimpf@google.com>
Wed, 30 Sep 2015 22:02:05 +0000 (15:02 -0700)
committerKarl Schimpf <kschimpf@google.com>
Wed, 30 Sep 2015 22:02:05 +0000 (15:02 -0700)
commitdb2fd9c0c3e5cad4c5a99497e226f3ec970cbcad
tree68a763d1c1c337a00ec966ee2509103cb83daa8e
parentfc0a52df6a03ee82208c65ae5d33745baf7caa64
Fix pnacl-sz to return with staus 0 in report_fatal_error.

Fixes pnacl-sz to return with exit status 0 in report_fatal_error, if
command line flag --exit-status is specified. The importance of this
is that it allows afl-fuzz to not report the mutation as a crash.

In addition, afl-fuzz doesn't record crash paths in its search
history.  By returning success, afl-fuzz can continue to apply
additional mutations to the bad input. This allows afl-fuzz to add
errors that require multiple changes to occur on the input.

BUG=None
R=stichnot@chromium.org

Review URL: https://codereview.chromium.org/1382653002 .
src/IceCompileServer.cpp