WorksButNotTested 728b1216bb
Librasan (#3023)
* Fixes to main

* Add librasan

* Party like it's 2024

* Fix snapshot module to work with guest asan

* Fix guest_asan module

* Fixes to runner

* Fix linking issues using a REL

* Fix qemu_launcher

* Change modify_mapping to a method

* Fix gasan_test

* Remove debug from Justfile

* Optimize release build of librasan

* Set ulimit for qasan and gasan tests

* Tidy up symbol renaming

* Add missing symbols for PPC

* Change to support rustix 1.0.0

* Canonicalize the CUSTOM_ASAN_PATH

* Review changes

* Restructure backends

* release_max_level_info

* More review changes

* Clippy fixes

* Changes to reduce the burden on the CI

* Fix macos clippy

---------

Co-authored-by: Your Name <you@example.com>
2025-03-10 17:27:55 +01:00

56 lines
1.0 KiB
TOML

[package]
name = "fuzz"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
[package.metadata]
cargo-fuzz = true
[dependencies]
arbitrary = { version = "1.4.1" }
asan = { path = "../asan", default-features = false, features = [
"dlmalloc",
"guest",
"host",
"libc",
"linux",
"test",
"tracking",
] }
env_logger = { version = "0.11.6" }
libfuzzer-sys = { version = "0.4" }
log = { version = "0.4.22", features = ["release_max_level_info"] }
mockall = { version = "0.13.1" }
thiserror = { version = "2.0.11" }
[[bin]]
name = "guest_shadow"
path = "fuzz_targets/guest_shadow.rs"
test = false
doc = false
bench = false
[[bin]]
name = "guest_tracking"
path = "fuzz_targets/guest_tracking.rs"
test = false
doc = false
bench = false
[[bin]]
name = "default_frontend_mock"
path = "fuzz_targets/default_frontend_mock.rs"
test = false
doc = false
bench = false
[[bin]]
name = "default_frontend_dlmalloc"
path = "fuzz_targets/default_frontend_dlmalloc.rs"
test = false
doc = false
bench = false