1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

fix panics with misformed demos and incorrect length values

This commit is contained in:
Robin Appelman 2020-01-19 20:25:13 +01:00
commit e77770c780
5 changed files with 502 additions and 2 deletions

24
fuzz/Cargo.toml Normal file
View file

@ -0,0 +1,24 @@
[package]
name = "tf-demo-parser-fuzz"
version = "0.0.0"
authors = ["Automatically generated"]
publish = false
edition = "2018"
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.2"
[dependencies.tf-demo-parser]
path = ".."
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "fuzz_target_1"
path = "fuzz_targets/fuzz_target_1.rs"