From d8e3001e535fad178c621ff07418f81f25123dc4 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 22 Aug 2024 12:55:49 -0600 Subject: Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin --- ui/commands.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ui/commands.h') diff --git a/ui/commands.h b/ui/commands.h index 70ed5778..37ed068a 100644 --- a/ui/commands.h +++ b/ui/commands.h @@ -27,11 +27,11 @@ bool BINARYNINJAUIAPI askForNewType(QWidget* parent, std::optional BINARYNINJAUIAPI getSplitVariableForAssignment( - FunctionRef func, BNFunctionGraphType ilType, uint64_t location, const BinaryNinja::Variable& var); + FunctionRef func, const BinaryNinja::FunctionViewType& ilType, uint64_t location, const BinaryNinja::Variable& var); std::optional getVariableDefinitionInstructionIndex( - FunctionRef func, BNFunctionGraphType funcType, const BinaryNinja::Variable& var, size_t ilInstructionIndex); + FunctionRef func, const BinaryNinja::FunctionViewType& funcType, const BinaryNinja::Variable& var, size_t ilInstructionIndex); std::optional getVariableDefinitionAddress( - FunctionRef func, BNFunctionGraphType funcType, const BinaryNinja::Variable& var, size_t ilInstructionIndex); + FunctionRef func, const BinaryNinja::FunctionViewType& funcType, const BinaryNinja::Variable& var, size_t ilInstructionIndex); bool IsDefaultArgumentOrParameterName(const std::string& name); std::optional GetVariableNameFromExpr(BinaryNinja::Function* func, -- cgit v1.3.1