You've already forked ghidra-cli
mirror of
https://github.com/encounter/ghidra-cli.git
synced 2026-03-30 11:12:36 -07:00
3db0af7a3c
Add E2E test infrastructure: - DaemonTestHarness for managing daemon lifecycle in tests - Test fixtures and helpers in tests/common/ - Sample binary fixture for integration tests Add test coverage: - command_tests.rs: version, doctor, config commands - project_tests.rs: project create/list/info/delete, import, analyze - daemon_tests.rs: daemon start/status/ping/stop/clear-cache - query_tests.rs: function list, strings, memory, decompile, xref - unimplemented_tests.rs: 39 tests for graceful error messages Fix CLI bugs: - DisasmArgs: rename count to num_instructions (--instructions/-n) to avoid conflict with QueryOptions.count - GraphExportArgs: add unique arg id for format positional to avoid conflict with QueryOptions.format Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
102 lines
1.9 KiB
TOML
102 lines
1.9 KiB
TOML
[package]
|
|
name = "ghidra-cli"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Alexander Kiselev"]
|
|
description = "Rust CLI to run Ghidra headless for reverse engineering with Claude Code and other agents"
|
|
license = "GPL-3.0"
|
|
repository = "https://github.com/akiselev/ghidra-cli"
|
|
|
|
[dependencies]
|
|
# CLI framework
|
|
clap = { version = "4.5", features = ["derive", "env", "cargo"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde_yaml = "0.9"
|
|
|
|
# Parsing
|
|
pest = "2.7"
|
|
pest_derive = "2.7"
|
|
|
|
# Output formatting
|
|
tabled = "0.15"
|
|
comfy-table = "7.1"
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# Logging
|
|
env_logger = "0.11"
|
|
log = "0.4"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Async runtime
|
|
tokio = { version = "1.35", features = ["full"] }
|
|
|
|
# RPC
|
|
remoc = { version = "0.16", features = ["full"] }
|
|
|
|
# IPC (local sockets)
|
|
interprocess = { version = "2.2", features = ["tokio"] }
|
|
|
|
# Time
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# System info
|
|
sysinfo = "0.30"
|
|
|
|
# Hashing
|
|
md5 = "0.7"
|
|
|
|
# File system & paths
|
|
dirs = "5.0"
|
|
tempfile = "3.8"
|
|
walkdir = "2.4"
|
|
|
|
# Process management
|
|
which = "6.0"
|
|
|
|
# Regex
|
|
regex = "1.10"
|
|
lazy_static = "1.4"
|
|
|
|
# CSV/TSV
|
|
csv = "1.3"
|
|
|
|
# String similarity (for fuzzy matching)
|
|
strsim = "0.11"
|
|
|
|
# Cross-platform support
|
|
dunce = "1.0" # Windows path handling
|
|
atty = "0.2" # TTY detection
|
|
|
|
# Setup command dependencies
|
|
reqwest = { version = "0.11", features = ["json", "stream", "rustls-tls"] }
|
|
zip = "0.6"
|
|
futures-util = "0.3"
|
|
indicatif = "0.17"
|
|
|
|
# Daemonization (Unix only)
|
|
[target.'cfg(unix)'.dependencies]
|
|
daemonize = "0.5"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2.0"
|
|
predicates = "3.0"
|
|
tempfile = "3.8"
|
|
serial_test = "3.0"
|
|
uuid = { version = "1.6", features = ["v4"] }
|
|
once_cell = "1.19"
|
|
|
|
[lib]
|
|
name = "ghidra_cli"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "ghidra"
|
|
path = "src/main.rs"
|