This is an archive of the discontinued LLVM Phabricator instance.

[libfuzzer] fixing collected pc addresses for coverage
ClosedPublic

Authored by aizatsky on Jan 17 2017, 1:29 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

aizatsky created this revision.Jan 17 2017, 1:29 PM
kcc accepted this revision.Jan 17 2017, 1:34 PM

LGTM with a nit

lib/Fuzzer/FuzzerTracePC.cpp
29 ↗(On Diff #84738)

move to FuzzerDefs.h

Or maybe just not do it. inline should be enough for GetPreviousInstructionPc

This revision is now accepted and ready to land.Jan 17 2017, 1:34 PM
aizatsky updated this revision to Diff 84756.Jan 17 2017, 3:19 PM

moved macro to FuzzerDefs.

This revision was automatically updated to reflect the committed changes.