Skip to content

Commit

Permalink
binja: Add rudimentary binja mode
Browse files Browse the repository at this point in the history
For now this just decompiles the whole binary indiscriminately, without
prioritising based on query identifiers. But as a proof-of-concept, it
works.
  • Loading branch information
fabianfreyer committed Jan 31, 2022
1 parent 54707a6 commit 59bef28
Show file tree
Hide file tree
Showing 7 changed files with 468 additions and 27 deletions.
174 changes: 173 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description = "weggli is a fast and robust semantic search tool for C and C++ co

[features]
python = ["pyo3"]
binja = ["binaryninja"]

[lib]
crate-type = ["rlib", "dylib"]
Expand All @@ -35,6 +36,10 @@ version = "0.13.0"
features = ["extension-module"]
optional = true

[dependencies.binaryninja]
path = "../binaryninja-api/rust/"
optional = true

[target.'cfg(target_family = "unix")'.dependencies]
nix = "0.17.0"

Expand Down

0 comments on commit 59bef28

Please sign in to comment.