[build-dependencies.cc]
version = "1.2.13"
[dependencies.ahash]
default-features = false
version = "0.8.12"
[dependencies.baby-mimalloc]
default-features = false
features = ["spin_mutex"]
optional = true
version = "0.2.1"
[dependencies.bitflags]
default-features = false
version = "2.8.0"
[dependencies.dlmalloc]
default-features = false
optional = true
version = "0.2.11"
[dependencies.document-features]
optional = true
version = "0.2.11"
[dependencies.hashbrown]
default-features = false
version = "0.16.0"
[dependencies.itertools]
default-features = false
version = "0.14.0"
[dependencies.libc]
default-features = false
optional = true
version = "0.2.177"
[dependencies.log]
default-features = false
features = ["release_max_level_info"]
version = "0.4.22"
[dependencies.nostd-musl]
default-features = false
features = ["optimized-assembly"]
version = "0.1.6"
[dependencies.nostd-printf]
default-features = false
version = "0.1.4"
[dependencies.readonly]
default-features = false
version = "0.2.12"
[dependencies.rustix]
default-features = false
features = ["fs", "mm", "process", "stdio"]
optional = true
version = "1.0.0"
[dependencies.spin]
default-features = false
features = ["lazy", "mutex", "spin_mutex"]
version = "0.10.0"
[dependencies.syscalls]
default-features = false
optional = true
version = "0.7.0"
[dependencies.thiserror]
default-features = false
version = "2.0.16"
[dev-dependencies.env_logger]
version = "0.11.6"
[dev-dependencies.mockall]
version = "0.13.1"
[dev-dependencies.widestring]
version = "1.1.0"
[features]
default = ["dlmalloc", "document-features", "global_allocator", "guest", "hooks", "host", "libc", "syscalls", "mimalloc", "test", "tracking"]
dlmalloc = ["dep:dlmalloc"]
document-features = ["dep:document-features"]
global_allocator = []
guest = []
hooks = []
host = ["dep:syscalls"]
initialize = []
libc = ["dep:libc"]
mimalloc = ["dep:baby-mimalloc"]
syscalls = ["dep:rustix", "dep:syscalls"]
test = ["dlmalloc", "guest", "libc"]
tracking = []
[lib]
crate-type = ["rlib"]
name = "libafl_asan"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["development-tools::testing", "emulators", "embedded", "os", "no-std"]
description = "Address sanitizer library for LibAFL"
edition = "2024"
keywords = ["fuzzing", "address", "sanitizer", "asan"]
license = "MIT OR Apache-2.0"
name = "libafl_asan"
readme = "README.md"
repository = "https://github.com/AFLplusplus/LibAFL/"
resolver = "2"
rust-version = "1.87"
version = "0.15.4"
[[test]]
name = "default_frontend"
path = "tests/default_frontend.rs"
[[test]]
name = "default_frontend_mock"
path = "tests/default_frontend_mock.rs"
[[test]]
name = "dlmalloc_backend"
path = "tests/dlmalloc_backend.rs"
[[test]]
name = "guest_shadow_align"
path = "tests/guest_shadow_align.rs"
[[test]]
name = "guest_shadow_example"
path = "tests/guest_shadow_example.rs"
[[test]]
name = "guest_shadow_is_memory"
path = "tests/guest_shadow_is_memory.rs"
[[test]]
name = "guest_shadow_libc_is_poison"
path = "tests/guest_shadow_libc_is_poison.rs"
[[test]]
name = "guest_shadow_libc_poison"
path = "tests/guest_shadow_libc_poison.rs"
[[test]]
name = "guest_shadow_linux_is_poison"
path = "tests/guest_shadow_linux_is_poison.rs"
[[test]]
name = "guest_shadow_linux_poison"
path = "tests/guest_shadow_linux_poison.rs"
[[test]]
name = "guest_shadow_linux_unpoison"
path = "tests/guest_shadow_linux_unpoison.rs"
[[test]]
name = "guest_shadow_unpoison"
path = "tests/guest_shadow_unpoison.rs"
[[test]]
name = "guest_tracking"
path = "tests/guest_tracking.rs"
[[test]]
name = "hooks_aligned_alloc"
path = "tests/hooks_aligned_alloc.rs"
[[test]]
name = "hooks_atoi"
path = "tests/hooks_atoi.rs"
[[test]]
name = "hooks_atol"
path = "tests/hooks_atol.rs"
[[test]]
name = "hooks_atoll"
path = "tests/hooks_atoll.rs"
[[test]]
name = "hooks_bcmp"
path = "tests/hooks_bcmp.rs"
[[test]]
name = "hooks_bzero"
path = "tests/hooks_bzero.rs"
[[test]]
name = "hooks_calloc"
path = "tests/hooks_calloc.rs"
[[test]]
name = "hooks_explicit_bzero"
path = "tests/hooks_explicit_bzero.rs"
[[test]]
name = "hooks_fgets"
path = "tests/hooks_fgets.rs"
[[test]]
name = "hooks_free"
path = "tests/hooks_free.rs"
[[test]]
name = "hooks_malloc"
path = "tests/hooks_malloc.rs"
[[test]]
name = "hooks_malloc_usable_size"
path = "tests/hooks_malloc_usable_size.rs"
[[test]]
name = "hooks_memalign"
path = "tests/hooks_memalign.rs"
[[test]]
name = "hooks_memchr"
path = "tests/hooks_memchr.rs"
[[test]]
name = "hooks_memcmp"
path = "tests/hooks_memcmp.rs"
[[test]]
name = "hooks_memcpy"
path = "tests/hooks_memcpy.rs"
[[test]]
name = "hooks_memmem"
path = "tests/hooks_memmem.rs"
[[test]]
name = "hooks_memmove"
path = "tests/hooks_memmove.rs"
[[test]]
name = "hooks_mempcpy"
path = "tests/hooks_mempcpy.rs"
[[test]]
name = "hooks_memrchr"
path = "tests/hooks_memrchr.rs"
[[test]]
name = "hooks_memset"
path = "tests/hooks_memset.rs"
[[test]]
name = "hooks_posix_memalign"
path = "tests/hooks_posix_memalign.rs"
[[test]]
name = "hooks_pvalloc"
path = "tests/hooks_pvalloc.rs"
[[test]]
name = "hooks_rawmemchr"
path = "tests/hooks_rawmemchr.rs"
[[test]]
name = "hooks_read_libc"
path = "tests/hooks_read_libc.rs"
[[test]]
name = "hooks_read_linux"
path = "tests/hooks_read_linux.rs"
[[test]]
name = "hooks_realloc"
path = "tests/hooks_realloc.rs"
[[test]]
name = "hooks_reallocarray"
path = "tests/hooks_reallocarray.rs"
[[test]]
name = "hooks_stpcpy"
path = "tests/hooks_stpcpy.rs"
[[test]]
name = "hooks_stpncpy"
path = "tests/hooks_stpncpy.rs"
[[test]]
name = "hooks_strcasecmp"
path = "tests/hooks_strcasecmp.rs"
[[test]]
name = "hooks_strcasestr"
path = "tests/hooks_strcasestr.rs"
[[test]]
name = "hooks_strcat"
path = "tests/hooks_strcat.rs"
[[test]]
name = "hooks_strchr"
path = "tests/hooks_strchr.rs"
[[test]]
name = "hooks_strchrnul"
path = "tests/hooks_strchrnul.rs"
[[test]]
name = "hooks_strcmp"
path = "tests/hooks_strcmp.rs"
[[test]]
name = "hooks_strcpy"
path = "tests/hooks_strcpy.rs"
[[test]]
name = "hooks_strdup"
path = "tests/hooks_strdup.rs"
[[test]]
name = "hooks_strlen"
path = "tests/hooks_strlen.rs"
[[test]]
name = "hooks_strncasecmp"
path = "tests/hooks_strncasecmp.rs"
[[test]]
name = "hooks_strncat"
path = "tests/hooks_strncat.rs"
[[test]]
name = "hooks_strncmp"
path = "tests/hooks_strncmp.rs"
[[test]]
name = "hooks_strncpy"
path = "tests/hooks_strncpy.rs"
[[test]]
name = "hooks_strndup"
path = "tests/hooks_strndup.rs"
[[test]]
name = "hooks_strnlen"
path = "tests/hooks_strnlen.rs"
[[test]]
name = "hooks_strrchr"
path = "tests/hooks_strrchr.rs"
[[test]]
name = "hooks_strstr"
path = "tests/hooks_strstr.rs"
[[test]]
name = "hooks_valloc"
path = "tests/hooks_valloc.rs"
[[test]]
name = "hooks_wcschr"
path = "tests/hooks_wcschr.rs"
[[test]]
name = "hooks_wcscmp"
path = "tests/hooks_wcscmp.rs"
[[test]]
name = "hooks_wcscpy"
path = "tests/hooks_wcscpy.rs"
[[test]]
name = "hooks_wcslen"
path = "tests/hooks_wcslen.rs"
[[test]]
name = "hooks_wcsncmp"
path = "tests/hooks_wcsncmp.rs"
[[test]]
name = "hooks_wcsnlen"
path = "tests/hooks_wcsnlen.rs"
[[test]]
name = "hooks_wcsrchr"
path = "tests/hooks_wcsrchr.rs"
[[test]]
name = "hooks_wmemchr"
path = "tests/hooks_wmemchr.rs"
[[test]]
name = "hooks_write_libc"
path = "tests/hooks_write_libc.rs"
[[test]]
name = "hooks_write_linux"
path = "tests/hooks_write_linux.rs"
[[test]]
name = "host"
path = "tests/host.rs"
[[test]]
name = "libc_env"
path = "tests/libc_env.rs"
[[test]]
name = "libc_map_reader"
path = "tests/libc_map_reader.rs"
[[test]]
name = "linux_env"
path = "tests/linux_env.rs"
[[test]]
name = "linux_map_reader"
path = "tests/linux_map_reader.rs"
[[test]]
name = "patch_raw"
path = "tests/patch_raw.rs"
[[test]]
name = "symbols_dlsym"
path = "tests/symbols_dlsym.rs"