Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Issue 1382653002: Fix pnacl-sz to return with staus 0 in report_fatal_error. (Closed)

Created:
5 years, 2 months ago by Karl
Modified:
5 years, 2 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

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 Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=db2fd9c0c3e5cad4c5a99497e226f3ec970cbcad

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
M src/IceCompileServer.cpp View 1 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Karl
5 years, 2 months ago (2015-09-30 16:10:23 UTC) #2
Jim Stichnoth
otherwise LGTM https://chromiumcodereview.appspot.com/1382653002/diff/1/src/IceCompileServer.cpp File src/IceCompileServer.cpp (right): https://chromiumcodereview.appspot.com/1382653002/diff/1/src/IceCompileServer.cpp#newcode99 src/IceCompileServer.cpp:99: bool gen_crash_diag) { Should probably be GenCrashDiag ...
5 years, 2 months ago (2015-09-30 21:32:13 UTC) #3
Karl
Committed patchset #2 (id:20001) manually as db2fd9c0c3e5cad4c5a99497e226f3ec970cbcad (presubmit successful).
5 years, 2 months ago (2015-09-30 22:02:09 UTC) #4
Karl
5 years, 2 months ago (2015-09-30 22:02:21 UTC) #5
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/1382653002/diff/1/src/IceCompileServer...
File src/IceCompileServer.cpp (right):

https://chromiumcodereview.appspot.com/1382653002/diff/1/src/IceCompileServer...
src/IceCompileServer.cpp:99: bool gen_crash_diag) {
On 2015/09/30 21:32:13, stichnot wrote:
> Should probably be GenCrashDiag or something.
> 
> But given that this arg isn't actually used, I'm surprised no "unused
parameter"
> error is being reported.

Marking UserData and gen_crash_dag as unused. Surprisingly, when I mark  only
one as unused, I get the "unused parameter" error (doesn't matter which).

Powered by Google App Engine
This is Rietveld 408576698