# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "xgadget" version = "0.11.1" authors = [ "Tiemoko Ballo", "d3vco", ] include = [ "**/*.rs", "**/*.md", "**/*.sh", "Cargo.toml", "LICENSE", ] description = "Fast, parallel, cross-variant ROP/JOP gadget search for x86/x64 binaries." homepage = "https://github.com/entropic-security/xgadget" documentation = "https://docs.rs/xgadget" readme = "README.md" keywords = [ "rop", "jop", "gadget", "x86", "x64", ] categories = [ "algorithms", "development-tools", "command-line-utilities", ] license = "MIT" repository = "https://github.com/entropic-security/xgadget" [profile.bench] debug = 2 [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 0 debug-assertions = false rpath = false panic = "unwind" overflow-checks = false incremental = false [lib] name = "xgadget" path = "src/lib.rs" [[bin]] name = "xgadget" path = "src/cli/main.rs" required-features = ["cli-bin"] [[bench]] name = "bench_0_elf_userspace" harness = false [[bench]] name = "bench_1_filter" harness = false [[bench]] name = "bench_2_fmt" harness = false [[bench]] name = "bench_3_elf_kernels" harness = false [dependencies.bitflags] version = "2" [dependencies.checksec] version = "0.0.9" features = [ "elf", "pe", "color", ] optional = true [dependencies.checksec_goblin] version = "0.5" optional = true package = "goblin" [dependencies.clap] version = "4" features = [ "cargo", "color", "derive", "env", ] optional = true [dependencies.color-eyre] version = "0.6" optional = true default-features = false [dependencies.colored] version = "2" [dependencies.goblin] version = "0.7" [dependencies.iced-x86] version = "1" [dependencies.lazy_static] version = "1" optional = true [dependencies.memmap] version = "0.7" optional = true [dependencies.num-format] version = "0.4" optional = true [dependencies.num_cpus] version = "1" optional = true [dependencies.rayon] version = "1" [dependencies.regex] version = "1" optional = true [dependencies.rustc-hash] version = "1" [dependencies.tabled] version = "0.14" features = ["color"] optional = true [dependencies.term_size] version = "0.3" optional = true [dependencies.thiserror] version = "1" [dev-dependencies.assert_cmd] version = "2" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.dirs] version = "4" [dev-dependencies.pprof] version = "0.8" features = ["flamegraph"] [dev-dependencies.predicates] version = "2" [dev-dependencies.rand] version = "0.8" [dev-dependencies.regex] version = "1" [dev-dependencies.strip-ansi-escapes] version = "0.2" [dev-dependencies.tempfile] version = "3" [features] cli-bin = [ "lazy_static", "clap", "num_cpus", "regex", "term_size", "checksec", "checksec_goblin", "memmap", "num-format", "tabled", "color-eyre", ]