From f287e50a22fa88f02da56782983669c903113230 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 13 Apr 2021 01:30:44 -0400 Subject: Toggle/Make Float Variable actions #2069 --- ui/linearview.h | 4 ++++ ui/tokenizedtextview.h | 3 +++ 2 files changed, 7 insertions(+) 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& seen); StructureRef defineInnerType(TypeRef type, TypeRef baseType, uint64_t offset, uint64_t size, std::set& seen); StructureRef defineInnerPointer(TypeRef type, ArchitectureRef arch, uint64_t baseAddress, uint64_t offset, uint64_t size, std::set& 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(); -- cgit v1.3.1