summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2020-09-01 16:23:22 +0800
committerXusheng <xusheng@vector35.com>2020-09-08 08:17:33 +0800
commitb946577b46bbd1c1120b7b346d037eb4750a9d9f (patch)
tree1660d8ecf697a281fa74e3bf69556af9ebabfcf9
parent8107ec4778fc4bcb657974438a7c12131d62644a (diff)
add InferArraySize()
-rw-r--r--ui/commands.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/commands.h b/ui/commands.h
index dee43c3a..cdbf16ff 100644
--- a/ui/commands.h
+++ b/ui/commands.h
@@ -14,10 +14,11 @@ bool BINARYNINJAUIAPI inputNameForLocalVariable(QWidget* parent, BinaryViewRef d
bool BINARYNINJAUIAPI inputNameForType(QWidget* parent, std::string& name, const QString& title = "Set Name",
const QString& msg = "Enter name:");
+bool BINARYNINJAUIAPI InferArraySize(TypeRef& type, size_t selectionSize);
bool BINARYNINJAUIAPI askForNewType(QWidget* parent, BinaryViewRef data, FunctionRef func, const std::string& title,
TypeRef& type, BinaryNinja::QualifiedName& name);
bool BINARYNINJAUIAPI inputNewType(QWidget* parent, BinaryViewRef data, FunctionRef currentFunction,
- uint64_t currentAddr, HighlightTokenState& highlight);
+ uint64_t currentAddr, size_t selectionSize, HighlightTokenState& highlight);
bool BINARYNINJAUIAPI createInferredMember(QWidget* parent, BinaryViewRef data, HighlightTokenState& highlight,
FunctionRef func, BNFunctionGraphType type);