From 9a9d7d98c2b49c734771397a8d37aca0279dfa21 Mon Sep 17 00:00:00 2001 From: Brandon Miller Date: Thu, 25 Sep 2025 08:55:34 -0400 Subject: Rust APIs needed for guided analysis mode Required for implementing guided analysis mode in custom implementations of analyze_basic_blocks --- rust/src/basic_block.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rust/src/basic_block.rs') diff --git a/rust/src/basic_block.rs b/rust/src/basic_block.rs index da41e712..d415b148 100644 --- a/rust/src/basic_block.rs +++ b/rust/src/basic_block.rs @@ -205,6 +205,10 @@ impl BasicBlock { } } + pub fn has_invalid_instructions(&self) -> bool { + unsafe { BNBasicBlockHasInvalidInstructions(self.handle) } + } + pub fn raw_length(&self) -> u64 { unsafe { BNGetBasicBlockLength(self.handle) } } -- cgit v1.3.1