summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerShmemPosix.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [libFuzzer] remove stale code, NFCKostya Serebryany2019-01-301-107/+0
| | | | llvm-svn: 352604
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* wrong usages of sem_open in the libFuzzerKamil Rytarowski2018-05-101-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Fixed two non-standard usages of sem_open in the libFuzzer library and one NetBSD-related modification with test script. - The return value to indicate error should be SEM_FAILED instead of (void *)-1 (please refer to "RETURN VALUE" section in this [[ http://pubs.opengroup.org/onlinepubs/9699919799/functions/sem_open.html | page ]]). Actually, SEM_FAILED != (void *)-1 holds in NetBSD. - The SharedMemoryRegion::SemName function should return name starting with slash. Because the behaviour of name which does not start with slash is unspecified as the [[ http://pubs.opengroup.org/onlinepubs/9699919799/functions/sem_open.html | "DESCRIPTION" section ]] specified: > If name does not begin with the <slash> character, the effect is implementation-defined. - The length of name is limited to 14 in NetBSD, it is suggested to reduce the length of equivalence server name in the test script. Patch by: Yang Zheng Reviewers: vitalybuka, krytarowski, kcc Reviewed By: kcc Subscribers: kcc, #sanitizers, llvm-commits, joerg Differential Revision: https://reviews.llvm.org/D46622 llvm-svn: 332003
* Move libFuzzer to compiler_rt.George Karpenkov2017-08-211-0/+103
Resulting library binaries will be named libclang_rt.fuzzer*, and will be placed in Clang toolchain, allowing redistribution. Differential Revision: https://reviews.llvm.org/D36908 llvm-svn: 311407
OpenPOWER on IntegriCloud