This is an archive of the discontinued LLVM Phabricator instance.

Update LibFuzzer w.r.t. the new comparisons instrumentation API
ClosedPublic

Authored by tch1bo on Aug 9 2017, 7:18 AM.

Details

Reviewers
glider
kcc
dvyukov
Summary

Added the _sanitizer_cov_trace_const_cmp[1248] callbacks. For now they are implemented the same way as _sanitizer_cov_trace_cmp[1248].
For more details, please see https://reviews.llvm.org/D36465.

These changes can be implemented separately from the instrumentation patch and should not break anything in LibFuzzer's work.

Diff Detail

Event Timeline

tch1bo created this revision.Aug 9 2017, 7:18 AM
tch1bo retitled this revision from Update lib-fuzzer w.r.t. the new comparisons instrumentation API to [RFC} Update LibFuzzer w.r.t. the new comparisons instrumentation API.Aug 9 2017, 7:22 AM
tch1bo edited the summary of this revision. (Show Details)
tch1bo added reviewers: kcc, dvyukov.
glider edited edge metadata.Aug 9 2017, 7:38 AM

Could you please upload with -U999999?
Also, probably no need to name the patch [RFC] anymore :)

glider added a comment.Aug 9 2017, 7:41 AM

Could you please also upload the context?

lib/Fuzzer/FuzzerTracePC.cpp
397

It would be better to replace this declaration with a macro, but looks like the rest of the file is also doing so :(

415

Missing newline

430

Missing newline

tch1bo updated this revision to Diff 110408.Aug 9 2017, 8:40 AM
tch1bo retitled this revision from [RFC} Update LibFuzzer w.r.t. the new comparisons instrumentation API to Update LibFuzzer w.r.t. the new comparisons instrumentation API.
kcc accepted this revision.Aug 9 2017, 12:07 PM

LGTM

This revision is now accepted and ready to land.Aug 9 2017, 12:07 PM
glider closed this revision.Aug 10 2017, 7:03 AM

Landed r310592.