[package]
edition = "2024"
rust-version = "1.85"
name = "macho-cpp"
version = "0.5.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C++ RTTI, vtable, and ABI inference for Mach-O images"
homepage = "https://github.com/bryanmatteson/macho"
readme = "README.md"
license = "MIT"
repository = "https://github.com/bryanmatteson/macho.git"
resolver = "2"
[features]
abi = [
"fixups",
"dep:macho-insn",
]
default = [
"abi",
"fixups",
"itanium-rtti",
]
fixups = ["dep:macho-dyld"]
itanium-rtti = ["fixups"]
[lib]
name = "macho_cpp"
path = "src/lib.rs"
[[test]]
name = "leaf_contract"
path = "tests/leaf_contract.rs"
[[test]]
name = "strict_rtti"
path = "tests/strict_rtti.rs"
[[test]]
name = "strict_vtable"
path = "tests/strict_vtable.rs"
[dependencies.macho-core]
version = "0.5.6"
[dependencies.macho-demangle]
version = "0.5.6"
[dependencies.macho-dyld]
version = "0.5.6"
optional = true
[dependencies.macho-insn]
version = "0.5.6"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.serde_json]
version = "1"