diff options
| author | Xusheng <xusheng@vector35.com> | 2024-10-02 12:55:43 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2024-10-03 13:20:18 +0800 |
| commit | 84172132ffed56cb1ff97b33d729a3daeb637736 (patch) | |
| tree | 947d206c466e8cc1eea6e3e61a7ebf3525d8b1da /rust/src/binaryview.rs | |
| parent | e9c53f3c9a8cb2f28ea8047c1b9b12f0ea31968f (diff) | |
Make sure the undefined data variable does not get recreated by auto-analysis. Fix https://github.com/Vector35/binaryninja-api/issues/5817
Diffstat (limited to 'rust/src/binaryview.rs')
| -rw-r--r-- | rust/src/binaryview.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs index ed35bc76..6c8020c6 100644 --- a/rust/src/binaryview.rs +++ b/rust/src/binaryview.rs @@ -585,9 +585,9 @@ pub trait BinaryViewExt: BinaryViewBase { } } - fn undefine_auto_data_var(&self, addr: u64) { + fn undefine_auto_data_var(&self, addr: u64, blacklist: Option<bool>) { unsafe { - BNUndefineDataVariable(self.as_ref().handle, addr); + BNUndefineDataVariable(self.as_ref().handle, addr, blacklist.unwrap_or(true)); } } |
