Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion plugins/idb_import/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ binaryninjacore-sys.workspace = true
idb-rs = { git = "https://github.com/Vector35/idb-rs", tag = "0.1.13" }
tracing = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_json = "1.0"
sha2 = "0.10"
3 changes: 2 additions & 1 deletion plugins/idb_import/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ impl LoadFileField {
pub fn field(&self) -> FormInputField {
FormInputField::OpenFileName {
prompt: "File Path".to_string(),
// TODO: This is called extension but is really a filter.
// NOTE: Binary Ninja's `OpenFileName` field names this `extension`, but it accepts a
// full file filter expression (e.g. "*.idb;*.i64"), which is what we pass here.
extension: Some(self.filter.clone()),
default: self.default.clone(),
value: None,
Expand Down
Loading