summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-04-13 01:30:44 -0400
committerGlenn Smith <glenn@vector35.com>2021-04-13 01:32:11 -0400
commitf287e50a22fa88f02da56782983669c903113230 (patch)
treec0579fd1bf77d2061d6a40cb7f2d9221e307bff1
parentc45eb55186491d1f7f268a4134ff478fba782374 (diff)
Toggle/Make Float Variable actions #2069
-rw-r--r--ui/linearview.h4
-rw-r--r--ui/tokenizedtextview.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/ui/linearview.h b/ui/linearview.h
index 2360df94..244d4ace 100644
--- a/ui/linearview.h
+++ b/ui/linearview.h
@@ -180,6 +180,7 @@ class BINARYNINJAUIAPI LinearView: public QAbstractScrollArea, public View, publ
void ensureLineVisible(size_t line);
TypeRef createStructure(BinaryNinja::QualifiedName& name, uint64_t size);
+ TypeRef getInnerType(TypeRef type, uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
StructureRef defineInnerType(TypeRef type, TypeRef baseType, uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
StructureRef defineInnerPointer(TypeRef type, ArchitectureRef arch, uint64_t baseAddress,
uint64_t offset, uint64_t size, std::set<TypeRef>& seen);
@@ -254,6 +255,9 @@ private Q_SLOTS:
void makeInt64();
void toggleIntSize();
void toggleIntSign();
+ void makeFloat32();
+ void makeFloat64();
+ void toggleFloatSize();
void makePtr();
void makeString();
void changeType();
diff --git a/ui/tokenizedtextview.h b/ui/tokenizedtextview.h
index fc718311..c76d65af 100644
--- a/ui/tokenizedtextview.h
+++ b/ui/tokenizedtextview.h
@@ -86,6 +86,9 @@ class BINARYNINJAUIAPI TokenizedTextView: public QAbstractScrollArea, public Vie
void makeInt32();
void makeInt64();
void toggleIntSize();
+ void makeFloat32();
+ void makeFloat64();
+ void toggleFloatSize();
void makePtr();
void makeString();
void changeType();