MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / is_valid

Method is_valid

plugins/idb_import/src/lib.rs:22–30  ·  view source on GitHub ↗
(&self, view: &BinaryView)

Source from the content-addressed store, hash-verified

20struct IDBDebugInfoParser;
21impl CustomDebugInfoParser for IDBDebugInfoParser {
22 fn is_valid(&self, view: &BinaryView) -> bool {
23 if let Some(project_file) = view.file().project_file() {
24 project_file.name().as_str().ends_with(".i64")
25 || project_file.name().as_str().ends_with(".idb")
26 } else {
27 view.file().filename().as_str().ends_with(".i64")
28 || view.file().filename().as_str().ends_with(".idb")
29 }
30 }
31
32 fn parse_info(
33 &self,

Callers

nothing calls this directly

Calls 5

as_strMethod · 0.80
project_fileMethod · 0.45
fileMethod · 0.45
nameMethod · 0.45
filenameMethod · 0.45

Tested by

no test coverage detected