From 4c39a58c328461fe5485b87b93bc60a1490c16da Mon Sep 17 00:00:00 2001 From: Xusheng Date: Thu, 26 Sep 2024 17:50:35 -0400 Subject: Make the undefine action context aware --- ui/linearview.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ui/linearview.h') diff --git a/ui/linearview.h b/ui/linearview.h index caa0b439..8dc49041 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -322,14 +322,13 @@ private Q_SLOTS: void goToAddressAtFileOffset(); void defineNameAtAddr(uint64_t addr); void defineName(); - void undefineName(); + void undefine(); void setUserVariableValue(); void clearUserVariableValue(); void createFunc(const UIActionContext& context); void createFuncWithPlatform(PlatformRef platform, bool autoSelect = false); void defineFuncName(); void editFunctionProperties(); - void undefineFunc(); void reanalyze(); void forwardPropagateType(); void inferFunctionType(); @@ -366,7 +365,7 @@ private Q_SLOTS: void makePtr(); void makeString(size_t charSize = 1); void changeType(const UIActionContext& context); - void undefineVariable(); + void undefineInRange(); void displayAs(const UIActionContext& context, BNIntegerDisplayType displayType) override; void createStructOrInferStructureType(); bool autoCreateArray(); -- cgit v1.3.1