summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2021-09-21 19:17:35 +0800
committerXusheng <xusheng@vector35.com>2021-09-27 11:52:18 +0800
commitc7e33d35b4adef40e53619662c7a6cfc198efd4a (patch)
tree668f61f855615c1207eb48bb1b0e23a507e56a5a /ui
parentf6d43d5eda8a1bbc95fc5467beb4cc9723b85682 (diff)
Better support for change type in linear view
Diffstat (limited to 'ui')
-rw-r--r--ui/linearview.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/linearview.h b/ui/linearview.h
index f6191862..02f14b88 100644
--- a/ui/linearview.h
+++ b/ui/linearview.h
@@ -192,7 +192,6 @@ class BINARYNINJAUIAPI LinearView: public QAbstractScrollArea, public View, publ
StructureRef defineInnerStruct(TypeRef type, uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
StructureRef defineInnerArray(TypeRef type, uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
StructureRef defineInnerName(TypeRef type, uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
- StructureRef defineInnerUnknownType(QWidget* parent, TypeRef type, uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
StructureRef defineInnerIntegerSize(TypeRef type, uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
StructureRef defineInnerSign(TypeRef type, uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
TypeRef getPointerTypeAndName(ArchitectureRef arch, uint64_t addr, std::string& name);
@@ -266,7 +265,7 @@ private Q_SLOTS:
void toggleFloatSize();
void makePtr();
void makeString();
- void changeType();
+ void changeType(const UIActionContext& context);
void undefineVariable();
void displayAs(const UIActionContext& context, BNIntegerDisplayType displayType) override;
void createStructOrInferStructureType();