dotscope 0.5.2

A high-performance, cross-platform framework for analyzing and reverse engineering .NET PE executables
Documentation
[[bench]]
harness = false
name = "assembly"
path = "benches/assembly.rs"

[[bench]]
harness = false
name = "cilassemblyview"
path = "benches/cilassemblyview.rs"

[[bench]]
harness = false
name = "cilobject"
path = "benches/cilobject.rs"

[[bench]]
harness = false
name = "cor20"
path = "benches/cor20.rs"

[[bench]]
harness = false
name = "method_body"
path = "benches/method_body.rs"

[[bench]]
harness = false
name = "resources"
path = "benches/resources.rs"

[[bench]]
harness = false
name = "security"
path = "benches/security.rs"

[[bench]]
harness = false
name = "signatures"
path = "benches/signatures.rs"

[[bench]]
harness = false
name = "streams"
path = "benches/streams.rs"

[dependencies.bitflags]
version = "2.10.0"

[dependencies.boxcar]
version = "0.2.14"

[dependencies.crossbeam-skiplist]
version = "0.1.3"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.flate2]
version = "1.1.5"

[dependencies.goblin]
version = "0.10.4"

[dependencies.hex]
version = "0.4.3"

[dependencies.md-5]
optional = true
version = "0.10.6"

[dependencies.memmap2]
version = "0.9.9"

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.ouroboros]
version = "0.18.5"

[dependencies.quick-xml]
version = "0.38.4"

[dependencies.rayon]
version = "1.11.0"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.sha1]
optional = true
version = "0.10.6"

[dependencies.sha2]
version = "0.10.9"

[dependencies.strum]
features = ["derive"]
version = "0.27.2"

[dependencies.tempfile]
version = "3.24.0"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.uguid]
version = "2.2.1"

[dependencies.widestring]
version = "1.2.1"

[dev-dependencies.criterion]
version = "0.8.1"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "comprehensive"
path = "examples/comprehensive.rs"

[[example]]
name = "decode_blocks"
path = "examples/decode_blocks.rs"

[[example]]
name = "disassembly"
path = "examples/disassembly.rs"

[[example]]
name = "injectcode"
path = "examples/injectcode.rs"

[[example]]
name = "lowlevel"
path = "examples/lowlevel.rs"

[[example]]
name = "metadata"
path = "examples/metadata.rs"

[[example]]
name = "method_analysis"
path = "examples/method_analysis.rs"

[[example]]
name = "modify"
path = "examples/modify.rs"

[[example]]
name = "project_loader"
path = "examples/project_loader.rs"

[[example]]
name = "raw_assembly_view"
path = "examples/raw_assembly_view.rs"

[[example]]
name = "types"
path = "examples/types.rs"

[features]
default = ["legacy-crypto"]
legacy-crypto = ["sha1", "md-5"]
skip-expensive-tests = []

[lib]
name = "dotscope"
path = "src/lib.rs"

[package]
authors = ["Johann Kempter <admin@binflip.rs>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parsing", "development-tools", "encoding"]
description = "A high-performance, cross-platform framework for analyzing and reverse engineering .NET PE executables"
documentation = "https://docs.rs/dotscope"
edition = "2021"
exclude = ["tests/samples/mono_2.0", "tests/samples/mono_3.5", "tests/samples/mono_4.0", "tests/samples/mono_4.5", "docs/", "*.log"]
homepage = "https://github.com/BinFlip/dotscope"
keywords = ["dotnet", "cil", "assembly", "reverse-engineering", "metadata"]
license = "Apache-2.0"
name = "dotscope"
readme = "README.md"
repository = "https://github.com/BinFlip/dotscope"
version = "0.5.2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[profile.bench]
debug = 2
lto = "fat"
opt-level = 3

[profile.release]
lto = "fat"
opt-level = 3

[[test]]
name = "builders"
path = "tests/builders.rs"

[[test]]
name = "crafted_1"
path = "tests/crafted_1.rs"

[[test]]
name = "fuzzer"
path = "tests/fuzzer.rs"

[[test]]
name = "modify_add"
path = "tests/modify_add.rs"

[[test]]
name = "modify_basic"
path = "tests/modify_basic.rs"

[[test]]
name = "modify_heaps"
path = "tests/modify_heaps.rs"

[[test]]
name = "modify_impexp"
path = "tests/modify_impexp.rs"

[[test]]
name = "modify_roundtrips_crafted2"
path = "tests/modify_roundtrips_crafted2.rs"

[[test]]
name = "modify_roundtrips_method"
path = "tests/modify_roundtrips_method.rs"

[[test]]
name = "modify_roundtrips_wbdll"
path = "tests/modify_roundtrips_wbdll.rs"

[[test]]
name = "mono"
path = "tests/mono.rs"

[[test]]
name = "roundtrip_asm"
path = "tests/roundtrip_asm.rs"