GithubHelp home page GithubHelp logo

fuzzinglabs / wasm_runtimes_fuzzing Goto Github PK

View Code? Open in Web Editor NEW
81.0 81.0 17.0 241 KB

Improving security and resilience of WebAssembly VMs/runtimes/parsers using fuzzing

Home Page: https://fuzzinglabs.com/

License: Apache License 2.0

Rust 92.46% WebAssembly 0.77% Dockerfile 1.43% Makefile 5.33%
fuzzing rust rust-fuzzing security wasm webassembly

wasm_runtimes_fuzzing's People

Contributors

pventuzelo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wasm_runtimes_fuzzing's Issues

error: failed to select a version for `clang-sys`

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.