https://github.com/kkent030315/idarustcargo
https://github.com/kkent030315/idarustcargo
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kkent030315/idarustcargo
- Owner: kkent030315
- License: mit
- Created: 2024-01-13T00:57:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T00:20:42.000Z (almost 2 years ago)
- Last Synced: 2025-04-12T01:54:22.790Z (7 months ago)
- Language: Python
- Size: 29.3 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IDARustCargo

_Example that displays the binary of locally-built [cargo-bloat](https://github.com/RazrFalcon/cargo-bloat) crate._
IDA plugin for displaying potentially installed Cargo dependencies from compiled binary without debug symbols.
This plugin detects Rust [`panic`](https://doc.rust-lang.org/std/macro.panic.html) constant strings in the binary by regex. By the design, this plugin may not display dependencies that do not rely on the code that generates the [`panic`](https://doc.rust-lang.org/std/macro.panic.html), or the binaries that is compiled with [`panic_abort`](https://docs.rs/panic-abort/latest/panic_abort/) crate and/or [`panic_immediate_abort`](https://github.com/rust-lang/rust/blob/25f8d01fd8bda339612d0c0a8844173a09205f7c/library/std/Cargo.toml#L80) std feature, which makes less-constant built-in strings in the resulting binary by making panics and failed asserts immediately abort without formatting any messages.