diff options
| author | Xusheng <xusheng@vector35.com> | 2020-07-28 01:14:35 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2020-07-30 17:29:04 +0800 |
| commit | bf044d705670433883caa406a111a91fd9f94f9d (patch) | |
| tree | 564398c94d8b4a2c91dbef765a6d560a3a24e187 | |
| parent | ca7d52c8740c78b517b06fc99874136cb3688bb2 (diff) | |
add support for display as float/double
| -rw-r--r-- | binaryninjacore.h | 4 | ||||
| -rw-r--r-- | docs/dev/bnil-mlil.md | 4 | ||||
| -rw-r--r-- | ui/flowgraphwidget.h | 2 | ||||
| -rw-r--r-- | ui/linearview.h | 2 | ||||
| -rw-r--r-- | ui/tokenizedtextview.h | 2 |
5 files changed, 12 insertions, 2 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 7b09e7fa..cd12c4d1 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -734,7 +734,9 @@ extern "C" SignedHexadecimalDisplayType, UnsignedHexadecimalDisplayType, CharacterConstantDisplayType, - PointerDisplayType + PointerDisplayType, + FloatDisplayType, + DoubleDisplayType }; enum BNFlowGraphOption diff --git a/docs/dev/bnil-mlil.md b/docs/dev/bnil-mlil.md index 545d72df..28d2b221 100644 --- a/docs/dev/bnil-mlil.md +++ b/docs/dev/bnil-mlil.md @@ -141,7 +141,9 @@ enum IntegerDisplayType SignedHexadecimalDisplayType, UnsignedHexadecimalDisplayType, CharacterConstantDisplayType, - PointerDisplayType + PointerDisplayType, + FloatDisplayType, + DoubleDisplayType }; ``` diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index d3bbd06e..2a3a8b78 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -316,6 +316,8 @@ private Q_SLOTS: void displayAsUnsignedHexadecimal(); void displayAsCharacterConstant(); void displayAsPointer(); + void displayAsFloat(); + void displayAsDouble(); void makePtr(); void makeString(); diff --git a/ui/linearview.h b/ui/linearview.h index 22b18efc..f9b373a7 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -243,6 +243,8 @@ private Q_SLOTS: void displayAsUnsignedHexadecimal(); void displayAsCharacterConstant(); void displayAsPointer(); + void displayAsFloat(); + void displayAsDouble(); void setInstructionHighlight(BNHighlightColor color); void setBlockHighlight(BNHighlightColor color); diff --git a/ui/tokenizedtextview.h b/ui/tokenizedtextview.h index 788bd90d..190dbfca 100644 --- a/ui/tokenizedtextview.h +++ b/ui/tokenizedtextview.h @@ -102,6 +102,8 @@ class BINARYNINJAUIAPI TokenizedTextView: public QAbstractScrollArea, public Vie void displayAsUnsignedHexadecimal(); void displayAsCharacterConstant(); void displayAsPointer(); + void displayAsFloat(); + void displayAsDouble(); void setInstructionHighlight(BNHighlightColor color); void setBlockHighlight(BNHighlightColor color); |
