[all-commits] [llvm/llvm-project] 23bee0: [fuzzer] Add basic support for emscripten.
jonathanmetzman via All-commits
all-commits at lists.llvm.org
Thu Dec 12 08:57:00 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 23bee0b0cf7a1af084ea06f2b7dfde1767837084
https://github.com/llvm/llvm-project/commit/23bee0b0cf7a1af084ea06f2b7dfde1767837084
Author: Jonathan Metzman <metzman at chromium.org>
Date: 2019-12-12 (Thu, 12 Dec 2019)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerDefs.h
M compiler-rt/lib/fuzzer/FuzzerDriver.cpp
M compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
M compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
M compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
M compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
Log Message:
-----------
[fuzzer] Add basic support for emscripten.
Summary:
Add basic support for emscripten.
This enables libFuzzer to build (using build.sh) for emscripten and fuzz
a target compiled with
-fsanitize-coverage=inline-8bit-counters.
Basic fuzzing and bug finding work with this commit.
RSS limit and timeouts will not work because they depend on system
functions that are not implemented/widely supported in emscripten.
Reviewers: kcc, vitalybuka, hctim
Reviewed By: hctim
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D71285
More information about the All-commits
mailing list