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:
parent
f5504cd682
commit
e77770c780
5 changed files with 502 additions and 2 deletions
24
fuzz/Cargo.toml
Normal file
24
fuzz/Cargo.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue