Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasmtime] Try fixing delivery of SIGILL/SIGSEGV to JIT #3335

Merged
merged 1 commit into from
Feb 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/wasmtime/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ RUN git submodule update --init --recursive

RUN git clone --depth 1 https://github.com/bytecodealliance/wasmtime-libfuzzer-corpus wasmtime-libfuzzer-corpus

COPY build.sh $SRC/
COPY build.sh default.options $SRC/
1 change: 1 addition & 0 deletions projects/wasmtime/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ do
FUZZ_TARGET_NAME=$(basename ${f%.*})
cp $FUZZ_TARGET_OUTPUT_DIR/$FUZZ_TARGET_NAME $OUT/
zip -jr $OUT/${FUZZ_TARGET_NAME}_seed_corpus.zip $PROJECT_DIR/wasmtime-libfuzzer-corpus/$FUZZ_TARGET_NAME/
cp $SRC/default.options $OUT/$FUZZ_TARGET_NAME.options
done
3 changes: 3 additions & 0 deletions projects/wasmtime/default.options
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[asan]
allow_user_segv_handler=0
handle_sigill=1