[Sanitizers] Remove OpenBSD support (new attempt)- Fixing VS compiler and other cases settings this time.Reviewers: dmajor, hansReviewed By: hansDifferential Revision: https://reviews.llvm.or
[Sanitizers] Remove OpenBSD support (new attempt)- Fixing VS compiler and other cases settings this time.Reviewers: dmajor, hansReviewed By: hansDifferential Revision: https://reviews.llvm.org/D89759
show more ...
Revert "[Sanitizers] Remove OpenBSD support" + 1Revert "Fix compiler-rt build on Windows after D89640"This reverts commit a7acee89d68473183cc5021d952a56cdf0ae27d3.This reverts commit d09b08919ca
Revert "[Sanitizers] Remove OpenBSD support" + 1Revert "Fix compiler-rt build on Windows after D89640"This reverts commit a7acee89d68473183cc5021d952a56cdf0ae27d3.This reverts commit d09b08919ca6e206cd981fdea8b19b1d1188e325.Reason: breaks Linux / x86_64 build.
[Sanitizers] Remove OpenBSD support- Removing unused and unusable code.Reviewers: krytarowskiReviewed By: krytarowskiDifferential Revision: https://reviews.llvm.org/D89640
[fuzzer][afl] Fix build with GCCSummary:Fixes this build error with GCC 9.3.0:```../lib/fuzzer/afl/afl_driver.cpp:114:30: error: expected unqualified-id before string constant 114 | __attribu
[fuzzer][afl] Fix build with GCCSummary:Fixes this build error with GCC 9.3.0:```../lib/fuzzer/afl/afl_driver.cpp:114:30: error: expected unqualified-id before string constant 114 | __attribute__((weak)) extern "C" void __sanitizer_set_report_fd(void *); | ^~~```Reviewers: metzman, kccReviewed By: kccSubscribers: #sanitizersTags: #sanitizersDifferential Revision: https://reviews.llvm.org/D80479
[compiler-rt] [fuzzer] Include stdarg.h for va_listFixes build on NetBSD after 139e216e6610091b7ee3c30bc11114f5d73cbd3e.
Summary:Add close_fd_mask functionality to AFL driver.Summary:Add support for env var AFL_DRIVER_CLOSE_FD_MASK which behavesthe same as libFuzzer's -close_fd_mask=1.Also add tests.Reviewers:
Summary:Add close_fd_mask functionality to AFL driver.Summary:Add support for env var AFL_DRIVER_CLOSE_FD_MASK which behavesthe same as libFuzzer's -close_fd_mask=1.Also add tests.Reviewers: kcc, vitalybuka, morehouseReviewed By: morehouseSubscribers: #sanitizers, llvm-commitsTags: #sanitizers, #llvmDifferential Revision: https://reviews.llvm.org/D60334llvm-svn: 358703
[fuzzer][afl] Remove AFL_DRIVER_EXTRA_STATS_FILENAMESummary:Remove this feature as it is unused, buggy, and not worth correctingsince the forkserver makes it difficult.Reviewers: morehouse, jfb
[fuzzer][afl] Remove AFL_DRIVER_EXTRA_STATS_FILENAMESummary:Remove this feature as it is unused, buggy, and not worth correctingsince the forkserver makes it difficult.Reviewers: morehouse, jfbReviewed By: morehouseDifferential Revision: https://reviews.llvm.org/D57308llvm-svn: 352392
Update the file headers across all of the LLVM projects in the monorepoto reflect the new license.We understand that people may be surprised that we're moving the headerentirely to discuss the ne
Update the file headers across all of the LLVM projects in the monorepoto reflect the new license.We understand that people may be surprised that we're moving the headerentirely to discuss the new license. We checked this carefully with theFoundation's lawyer and we believe this is the correct approach.Essentially, all code in the project is now made available by the LLVMproject under our new license, so you will see that the license headersinclude that license only. Some of our contributors have contributedcode under our old license, and accordingly, we have retained a copy ofour old license notice in the top-level files in each project andrepository.llvm-svn: 351636
[fuzzer] Read files as binarySummary: Read corpus files as binary to avoid automatic conversionsReviewers: Dor1s, morehouseReviewed By: Dor1s, morehouseDifferential Revision: https://reviews.
[fuzzer] Read files as binarySummary: Read corpus files as binary to avoid automatic conversionsReviewers: Dor1s, morehouseReviewed By: Dor1s, morehouseDifferential Revision: https://reviews.llvm.org/D54180llvm-svn: 346279
Revert "[Fuzzer] Afl driver changing iterations handling"This reverts rL334510 due to breakage of afl_driver's command lineinterface.Patch By: Jonathan MetzmanDifferential Revision: https://re
Revert "[Fuzzer] Afl driver changing iterations handling"This reverts rL334510 due to breakage of afl_driver's command lineinterface.Patch By: Jonathan MetzmanDifferential Revision: https://reviews.llvm.org/D49141llvm-svn: 336719
[Fuzzer] Afl driver changing iterations handlingHandling differently the iterations with the type limit and eventually an error message.Reviewers: morehouse, kccReviewed By: morehouseDifferen
[Fuzzer] Afl driver changing iterations handlingHandling differently the iterations with the type limit and eventually an error message.Reviewers: morehouse, kccReviewed By: morehouseDifferential Revision: https://reviews.llvm.org/D47880llvm-svn: 334510
[libFuzzer] Add feature to not use AFL's deferred forkserver.A small but substantial minority of libFuzzer-based fuzzers run code thatdoes not play well with fork in global constructors or LLVMFuz
[libFuzzer] Add feature to not use AFL's deferred forkserver.A small but substantial minority of libFuzzer-based fuzzers run code thatdoes not play well with fork in global constructors or LLVMFuzzerInitialize.This patch allows these fuzzers to use afl_driver by allowing them toopt-out of using AFL's deferred forkserver which deferres calling fork untilafter this code.Patch By: metzmanDifferential Revision: https://reviews.llvm.org/D45744llvm-svn: 330652
libFuzzer, OpenBSD supportSummary:- Enabling libfuzzer on OpenBSD- OpenBSD can t support asan, msan ... the tests can t be run.Patch by David CARLIERReviewers: eugenis, phosek, vitalybukaRe
libFuzzer, OpenBSD supportSummary:- Enabling libfuzzer on OpenBSD- OpenBSD can t support asan, msan ... the tests can t be run.Patch by David CARLIERReviewers: eugenis, phosek, vitalybukaReviewed By: vitalybukaSubscribers: srhines, mgorny, krytarowski, llvm-commits, #sanitizersDifferential Revision: https://reviews.llvm.org/D44877llvm-svn: 329631
fix some user facing typos / in the commentsllvm-svn: 327402
lib Fuzzer FreeBSD supportSummary: Patch by David CARLIERReviewers: vitalybuka, kcc, dim, emaste, davide, morehouse, george.karpenkovReviewed By: morehouseSubscribers: george.karpenkov, kubam
lib Fuzzer FreeBSD supportSummary: Patch by David CARLIERReviewers: vitalybuka, kcc, dim, emaste, davide, morehouse, george.karpenkovReviewed By: morehouseSubscribers: george.karpenkov, kubamracek, srhines, mgorny, emaste, krytarowskiDifferential Revision: https://reviews.llvm.org/D41642llvm-svn: 322380
[libFuzzer] Add dummy call of LLVMFuzzerTestOneInput to afl_driver.Summary:Add dummy call of LLVMFuzzerTestOneInput to afl_driver before it startsexecuting on actual inputs. Do this so that first
[libFuzzer] Add dummy call of LLVMFuzzerTestOneInput to afl_driver.Summary:Add dummy call of LLVMFuzzerTestOneInput to afl_driver before it startsexecuting on actual inputs. Do this so that first time initializationperformed by LLVMFuzzerTestOneInput is not considered code covered bya particular input.Patch By: metzmanReviewers: kcc, morehouseReviewed By: kccSubscribers: llvm-commits, SanitizersDifferential Revision: https://reviews.llvm.org/D41193llvm-svn: 320643
Add preliminary NetBSD support in libfuzzerSummary:This code already works and passes some number of tests.There is need to finish remaining sanitizers to get better coverage.Many tests fail d
Add preliminary NetBSD support in libfuzzerSummary:This code already works and passes some number of tests.There is need to finish remaining sanitizers to get better coverage.Many tests fail due to overly long file names of executables (>31).This is a current shortcoming of the NetBSD 8(beta) kernel, ascertain functions can fail (like retrieving file name of executable).Sponsored by <The NetBSD Foundation>Reviewers: joerg, kcc, vitalybuka, george.karpenkovReviewed By: kccSubscribers: mgorny, llvm-commits, #sanitizersTags: #sanitizersDifferential Revision: https://reviews.llvm.org/D37304llvm-svn: 312183
Move libFuzzer to compiler_rt.Resulting library binaries will be named libclang_rt.fuzzer*, and willbe placed in Clang toolchain, allowing redistribution.Differential Revision: https://reviews.l
Move libFuzzer to compiler_rt.Resulting library binaries will be named libclang_rt.fuzzer*, and willbe placed in Clang toolchain, allowing redistribution.Differential Revision: https://reviews.llvm.org/D36908llvm-svn: 311407