[package]
edition = "2024"
rust-version = "1.99"
name = "binbun"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Disassembler and decompiler engine."
homepage = "https://binbun.org"
readme = "README.md"
keywords = [
"disassembler",
"decompiler",
"reverse-engineering",
"binary-analysis",
]
categories = ["development-tools::debugging"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dmaivel/binbun"
[lib]
name = "binbun"
path = "src/lib.rs"
[[example]]
name = "listing"
path = "examples/listing.rs"
[[example]]
name = "speed"
path = "examples/speed.rs"
[[test]]
name = "aarch64"
path = "tests/aarch64.rs"
[[test]]
name = "calls"
path = "tests/calls.rs"
[[test]]
name = "cfg_corrections"
path = "tests/cfg_corrections.rs"
[[test]]
name = "cfg_recover"
path = "tests/cfg_recover.rs"
[[test]]
name = "classes"
path = "tests/classes.rs"
[[test]]
name = "debug"
path = "tests/debug.rs"
[[test]]
name = "decompile"
path = "tests/decompile.rs"
[[test]]
name = "eval"
path = "tests/eval.rs"
[[test]]
name = "exceptions"
path = "tests/exceptions.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[[test]]
name = "globals"
path = "tests/globals.rs"
[[test]]
name = "graph_function"
path = "tests/graph_function.rs"
[[test]]
name = "graph_layout"
path = "tests/graph_layout.rs"
[[test]]
name = "listing_corrections"
path = "tests/listing_corrections.rs"
[[test]]
name = "listing_fixtures"
path = "tests/listing_fixtures.rs"
[[test]]
name = "listing_roles"
path = "tests/listing_roles.rs"
[[test]]
name = "lower"
path = "tests/lower.rs"
[[test]]
name = "macho"
path = "tests/macho.rs"
[[test]]
name = "manglings"
path = "tests/manglings.rs"
[[test]]
name = "msvc"
path = "tests/msvc.rs"
[[test]]
name = "native"
path = "tests/native.rs"
[[test]]
name = "opaque"
path = "tests/opaque.rs"
[[test]]
name = "queries"
path = "tests/queries.rs"
[[test]]
name = "references"
path = "tests/references.rs"
[[test]]
name = "resolve"
path = "tests/resolve.rs"
[[test]]
name = "run"
path = "tests/run.rs"
[[test]]
name = "signatures"
path = "tests/signatures.rs"
[[test]]
name = "simd"
path = "tests/simd.rs"
[[test]]
name = "ssa"
path = "tests/ssa.rs"
[[test]]
name = "stages"
path = "tests/stages.rs"
[[test]]
name = "tables"
path = "tests/tables.rs"
[[test]]
name = "textstrings"
path = "tests/textstrings.rs"
[[test]]
name = "tokens"
path = "tests/tokens.rs"
[dependencies.binbun-aarch64]
version = "=0.1.0"
[dependencies.binbun-aarch64-lift]
version = "=0.1.0"
[dependencies.binbun-ast]
version = "=0.1.0"
[dependencies.binbun-debuginfo]
version = "=0.1.0"
[dependencies.binbun-decompile]
version = "=0.1.0"
[dependencies.binbun-demangle]
version = "=0.1.0"
[dependencies.binbun-isa]
version = "=0.1.0"
[dependencies.binbun-loader]
version = "=0.1.0"
[dependencies.binbun-print]
version = "=0.1.0"
[dependencies.binbun-semantics]
version = "=0.1.0"
[dependencies.binbun-sigpack]
version = "=0.1.0"
[dependencies.binbun-ssa]
version = "=0.1.0"
[dependencies.binbun-typedb]
version = "=0.1.0"
[dependencies.binbun-typeinfer]
version = "=0.1.0"
[dependencies.binbun-x86]
version = "=0.1.0"
[dependencies.binbun-x86-lift]
version = "=0.1.0"
features = ["profiles"]
[dependencies.blake3]
version = "1.8.7"
[dependencies.msvc-demangler]
version = "0.11.0"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.sha2]
version = "0.11.1"
[dependencies.toml]
version = "1.1.8"
features = [
"parse",
"serde",
"std",
"display",
]
default-features = false
[lints.clippy]
clone_on_ref_ptr = "warn"
implicit_clone = "warn"
indexing_slicing = "warn"
match_wildcard_for_single_variants = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_clone = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"