From 8037455723546000448135499957273623776581 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 1 Nov 2023 17:03:17 -0400 Subject: Type Archives --- ui/commands.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/commands.h') diff --git a/ui/commands.h b/ui/commands.h index 62016bdb..441ca0ed 100644 --- a/ui/commands.h +++ b/ui/commands.h @@ -21,7 +21,7 @@ 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, +bool BINARYNINJAUIAPI askForNewType(QWidget* parent, std::optional container, const std::string& title, bool allowZeroSize, TypeRef& type, BinaryNinja::QualifiedName& name); bool BINARYNINJAUIAPI inputNewType(QWidget* parent, BinaryViewRef data, FunctionRef currentFunction, uint64_t currentAddr, size_t selectionSize, HighlightTokenState& highlight); @@ -51,7 +51,7 @@ uint64_t BINARYNINJAUIAPI getInnerMostStructureOffset( BinaryViewRef data, StructureRef structure, const std::vector& nameList, size_t nameIndex); // Auto generate a structure name -std::string BINARYNINJAUIAPI createStructureName(BinaryViewRef data); +std::string BINARYNINJAUIAPI createStructureName(BinaryNinja::TypeContainer types); std::optional BINARYNINJAUIAPI getSplitVariableForAssignment( FunctionRef func, BNFunctionGraphType ilType, uint64_t location, const BinaryNinja::Variable& var); -- cgit v1.3.1