diff options
Diffstat (limited to 'rust/src/basic_block.rs')
| -rw-r--r-- | rust/src/basic_block.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<C: BlockContext> BasicBlock<C> { } } + pub fn has_invalid_instructions(&self) -> bool { + unsafe { BNBasicBlockHasInvalidInstructions(self.handle) } + } + pub fn raw_length(&self) -> u64 { unsafe { BNGetBasicBlockLength(self.handle) } } |
