[package]
edition = "2021"
rust-version = "1.85"
name = "rustrip"
version = "0.1.14"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Make stripped Rust binaries readable again: recover slice-string boundaries, demangle symbols, and reconstruct panic source locations from release/stripped ELF, PE, and Mach-O binaries."
homepage = "https://github.com/rolanfreeman6-png/rustrip"
documentation = "https://docs.rs/rustrip"
readme = "README.md"
keywords = [
"reverse-engineering",
"binary-analysis",
"rust",
"demangle",
"malware",
]
categories = [
"development-tools::debugging",
"command-line-utilities",
"parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rolanfreeman6-png/rustrip"
[lib]
name = "rustrip"
path = "src/lib.rs"
[[bin]]
name = "rustrip"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "metamorphic"
path = "tests/metamorphic.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.goblin]
version = "0.8"
features = [
"std",
"elf32",
"elf64",
"pe32",
"pe64",
"mach32",
"mach64",
]
default-features = false
[dependencies.rustc-demangle]
version = "0.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
literal_string_with_formatting_args = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = "symbols"
[profile.release-debug]
debug = 2
inherits = "release"
strip = "none"