fuzzinglabs / wasm_runtimes_fuzzing Goto Github PK
View Code? Open in Web Editor NEWImproving security and resilience of WebAssembly VMs/runtimes/parsers using fuzzing
Home Page: https://fuzzinglabs.com/
License: Apache License 2.0
Improving security and resilience of WebAssembly VMs/runtimes/parsers using fuzzing
Home Page: https://fuzzinglabs.com/
License: Apache License 2.0
Hi team,
I have successfully built WARF on my machine running Ubuntu 18.04, but when I run the command "make test ", the following error occurs. Could you provide any help?
cargo +nightly build --release --out-dir=. -Z unstable-options
Finished release [optimized] target(s) in 0.04s
./warf target wasmparser_parser -t 2 -s 1234 --fuzzer libfuzzer
Updating crates.io index
Updating git repository https://github.com/Veykril/wasm3-rs
error: failed to select a version for clang-sys
.
... required by package bindgen v0.59.0
... which satisfies dependency bindgen = "^0.59"
of package wasm3-sys v0.1.2 (https://github.com/Veykril/wasm3-rs#b4e35835)
... which satisfies git dependency ffi
of package wasm3 v0.2.0 (https://github.com/Veykril/wasm3-rs#b4e35835)
... which satisfies git dependency wasm3
of package fuzz-targets v0.1.0 (/home/dennis/Documents/Rust_Project/Fuzzing_Wasmer/wasm_runtimes_fuzzing/warf/workspace/targets)
... which satisfies path dependency fuzz-targets
of package fuzz-targets-libfuzzer v0.1.0 (/home/dennis/Documents/Rust_Project/Fuzzing_Wasmer/wasm_runtimes_fuzzing/warf/workspace/libfuzzer/fuzz)
versions that meet the requirements ^1
are: 1.6.0, 1.4.0, 1.3.3, 1.3.2, 1.3.1, 1.3.0, 1.2.2, 1.2.1, 1.2.0, 1.1.1, 1.1.0, 1.0.3, 1.0.2, 1.0.1, 1.0.0
the package clang-sys
links to the native library clang
, but it conflicts with a previous package which links to clang
as well:
package clang-sys v0.29.3
... which satisfies dependency clang-sys = "^0.29"
of package bindgen v0.54.0
... which satisfies dependency bindgen = "^0.54.0"
of package fizzy v0.6.0-dev
... which satisfies dependency fizzy = "^0.6.0-dev"
of package fuzz-targets v0.1.0 (/home/dennis/Documents/Rust_Project/Fuzzing_Wasmer/wasm_runtimes_fuzzing/warf/workspace/targets)
... which satisfies path dependency fuzz-targets
of package fuzz-targets-libfuzzer v0.1.0 (/home/dennis/Documents/Rust_Project/Fuzzing_Wasmer/wasm_runtimes_fuzzing/warf/workspace/libfuzzer/fuzz)
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='clang-sys' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
failed to select a version for clang-sys
which could resolve this conflict
Error: failed to build fuzz script: ASAN_OPTIONS="detect_odr_violation=0" RUSTFLAGS="-Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-pc-table -Cllvm-args=-sanitizer-coverage-trace-compares --cfg fuzzing -Clink-dead-code -Zsanitizer=address -Cllvm-args=-sanitizer-coverage-stack-depth -Cdebug-assertions -C codegen-units=1 " "cargo" "build" "--manifest-path" "/home/dennis/Documents/Rust_Project/Fuzzing_Wasmer/wasm_runtimes_fuzzing/warf/workspace/libfuzzer/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--release" "--bin" "wasmparser_parser"
[WARF] Fuzzer quit
Makefile:98: recipe for target 'test-libfuzzer' failed
make: *** [test-libfuzzer] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.