From e5af153f0b7964bf65ff9af07012d9a51ab0cd1c Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 22 Sep 2022 19:43:16 -0400 Subject: [Rust API] BinaryView::update_analysis --- rust/src/binaryview.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rust/src/binaryview.rs') 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 { unsafe { let raw = BNGetDefaultArchitecture(self.as_ref().handle); -- cgit v1.3.1