summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2026-04-25 23:14:42 -0400
committerAlexander Taylor <alex@vector35.com>2026-04-29 22:36:55 -0400
commit40d4ddeadf9110e6188532bc922571ffa9a1b6d9 (patch)
treef77fddf53c6d1020f39d72c287761a3e4ce070c0
parent117f847d34011695b2260c4ee00894fb8cd39a4c (diff)
Better toggling of integer display signedness.
-rw-r--r--ui/linearview.h2
-rw-r--r--ui/tokenizedtextview.h1
-rw-r--r--ui/util.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/ui/linearview.h b/ui/linearview.h
index df01a3b2..95abdd8c 100644
--- a/ui/linearview.h
+++ b/ui/linearview.h
@@ -390,7 +390,7 @@ private Q_SLOTS:
void makeInt32();
void makeInt64();
void toggleIntSize();
- void toggleIntSign();
+ void toggleIntSign(const UIActionContext& context);
void makeFloat32();
void makeFloat64();
void toggleFloatSize();
diff --git a/ui/tokenizedtextview.h b/ui/tokenizedtextview.h
index 708673bb..0843d27a 100644
--- a/ui/tokenizedtextview.h
+++ b/ui/tokenizedtextview.h
@@ -106,6 +106,7 @@ class BINARYNINJAUIAPI TokenizedTextView :
void makeInt32();
void makeInt64();
void toggleIntSize();
+ void toggleIntSign();
void makeFloat32();
void makeFloat64();
void toggleFloatSize();
diff --git a/ui/util.h b/ui/util.h
index 9f5365ca..eb21b310 100644
--- a/ui/util.h
+++ b/ui/util.h
@@ -22,6 +22,7 @@ std::string BINARYNINJAUIAPI getStringForRegisterValue(ArchitectureRef arch, Bin
std::string BINARYNINJAUIAPI getPossibleValueSetStateName(BNRegisterValueType state);
std::string BINARYNINJAUIAPI getStringForIntegerValue(int64_t value);
std::string BINARYNINJAUIAPI getStringForUIntegerValue(uint64_t value);
+BNIntegerDisplayType BINARYNINJAUIAPI getInvertedIntegerDisplayType(BNIntegerDisplayType displayType, const std::string& text);
std::string BINARYNINJAUIAPI getStringForPossibleValueSet(ArchitectureRef arch, const BinaryNinja::PossibleValueSet& values, bool pretty = true);
std::string BINARYNINJAUIAPI getStringForInstructionDataflowDetails(BinaryViewRef data, ArchitectureRef arch, FunctionRef func, uint64_t address);
std::optional<BinaryNinja::PossibleValueSet> BINARYNINJAUIAPI getPossibleValueSetForToken(View* view, BinaryViewRef data, ArchitectureRef arch,