summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-09-22 19:43:16 -0400
committerGlenn Smith <glenn@vector35.com>2022-09-29 21:02:24 -0400
commite5af153f0b7964bf65ff9af07012d9a51ab0cd1c (patch)
tree49117cd7570b13d9017ac59b2701ec97678eb465 /rust/src
parent2672d9a6e8a69b95ab58788a7a3046e26f1a9377 (diff)
[Rust API] BinaryView::update_analysis
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/binaryview.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs
index c60c8808..fa770b52 100644
--- a/rust/src/binaryview.rs
+++ b/rust/src/binaryview.rs
@@ -238,6 +238,12 @@ pub trait BinaryViewExt: BinaryViewBase {
}
}
+ fn update_analysis(&self) {
+ unsafe {
+ BNUpdateAnalysis(self.as_ref().handle);
+ }
+ }
+
fn default_arch(&self) -> Option<CoreArchitecture> {
unsafe {
let raw = BNGetDefaultArchitecture(self.as_ref().handle);