This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Diff 27 - [AflDriver] Update afl driver to use std::istream::read() instead of posix read().
AbandonedPublic

Authored by mpividori on Dec 19 2016, 8:40 AM.

Details

Reviewers
kcc
zturner

Diff Detail

Repository
rL LLVM

Event Timeline

mpividori updated this revision to Diff 81957.Dec 19 2016, 8:40 AM
mpividori retitled this revision from to [libFuzzer] Diff 27 - Update afl driver to use std::istream::read() instead of posix read()..
mpividori updated this object.
mpividori added reviewers: kcc, zturner.
mpividori set the repository for this revision to rL LLVM.
mpividori added a subscriber: llvm-commits.
zturner edited edge metadata.Dec 19 2016, 9:35 AM

Same comment as before about c++ / c.

If we have to use C here, you could use fread(stdin...)

mpividori retitled this revision from [libFuzzer] Diff 27 - Update afl driver to use std::istream::read() instead of posix read(). to [libFuzzer] Diff 27 - [AflDriver] Update afl driver to use std::istream::read() instead of posix read()..Dec 21 2016, 8:50 AM
mpividori edited edge metadata.
mpividori abandoned this revision.Jan 4 2017, 6:06 PM