summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2024-10-02 12:55:43 +0800
committerXusheng <xusheng@vector35.com>2024-10-03 13:20:18 +0800
commit84172132ffed56cb1ff97b33d729a3daeb637736 (patch)
tree947d206c466e8cc1eea6e3e61a7ebf3525d8b1da /binaryninjaapi.h
parente9c53f3c9a8cb2f28ea8047c1b9b12f0ea31968f (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 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 898a1711..bec3474f 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -5080,8 +5080,10 @@ namespace BinaryNinja {
/*! Undefine a DataVariable at a given address
\param addr virtual address of the DataVariable
+ \param blacklist whether to add the address to the data variable black list so that the auto analysis would
+ not recreate the variable on re-analysis
*/
- void UndefineDataVariable(uint64_t addr);
+ void UndefineDataVariable(uint64_t addr, bool blacklist = true);
/*! Undefine a user DataVariable at a given address