From 7c9ada78241e08bf36bd04d989f742a6de721575 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Wed, 5 May 2021 17:23:49 +0800 Subject: Add the ability to automatically create struct members --- ui/commands.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui/commands.h') diff --git a/ui/commands.h b/ui/commands.h index a47f9ab5..fabea073 100644 --- a/ui/commands.h +++ b/ui/commands.h @@ -20,7 +20,9 @@ bool BINARYNINJAUIAPI askForNewType(QWidget* parent, BinaryViewRef data, Functio bool BINARYNINJAUIAPI inputNewType(QWidget* parent, BinaryViewRef data, FunctionRef currentFunction, uint64_t currentAddr, size_t selectionSize, HighlightTokenState& highlight); bool BINARYNINJAUIAPI createInferredMember(QWidget* parent, BinaryViewRef data, HighlightTokenState& highlight, - FunctionRef func, BNFunctionGraphType type); + FunctionRef func, BNFunctionGraphType ilType); +bool BINARYNINJAUIAPI createStructMembers(QWidget* parent, BinaryViewRef data, + HighlightTokenState& highlight, FunctionRef func); bool BINARYNINJAUIAPI inputPossibleValueSet(QWidget* parent, BinaryViewRef data, FunctionRef currentFunction, HighlightTokenState& highlight, uint64_t defSiteAddress, size_t ilInstructionIndex = BN_INVALID_EXPR); -- cgit v1.3.1