Add support for env var AFL_DRIVER_CLOSE_FD_MASK which behaves
the same as libFuzzer's -close_fd_mask=1.
Also add tests.
Paths
| Differential D60334
Summary:
Add close_fd_mask functionality to AFL driver. ClosedPublic Authored by metzman on Apr 5 2019, 12:31 PM.
Details Summary Add support for env var AFL_DRIVER_CLOSE_FD_MASK which behaves Also add tests.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 5 2019, 12:31 PM Comment Actions
Updating D60334: Summary:Add close_fd_mask functionality to AFL driver. Comment Actions Please take a look.
metzman marked 18 inline comments as done. Comment Actions
Updating D60334: Summary:Add close_fd_mask functionality to AFL driver. This revision is now accepted and ready to land.Apr 8 2019, 10:46 AM metzman added inline comments. This revision was automatically updated to reflect the committed changes. metzman marked an inline comment as done.
Revision Contents
Diff 194163 compiler-rt/lib/fuzzer/afl/afl_driver.cpp
compiler-rt/test/fuzzer/AFLDriverTest.cpp
compiler-rt/test/fuzzer/afl-driver-close-fd-mask.test
compiler-rt/test/fuzzer/afl-driver.test
|
Do we need to set visibility here?