diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-05-01 22:02:25 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-05-01 22:03:44 -0400 |
| commit | 2fd16f7a4606d3a597528bff8124ab7b0654d902 (patch) | |
| tree | 4e88cab155d6e372dda9e36d2667eb166d3a23e2 | |
| parent | 65db7bd0488c0a56c53446e87b14bf0cd95a8d9c (diff) | |
Add additional context on integer tokens
| -rw-r--r-- | binaryninjacore.h | 4 | ||||
| -rw-r--r-- | ui/flowgraphwidget.h | 2 | ||||
| -rw-r--r-- | ui/linearview.h | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 97cdf853..a78e5b3b 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -271,7 +271,9 @@ extern "C" NoTokenContext = 0, LocalVariableTokenContext = 1, DataVariableTokenContext = 2, - FunctionReturnTokenContext = 3 + FunctionReturnTokenContext = 3, + InstructionAddressTokenContext = 4, + ILInstructionIndexTokenContext = 5 }; enum BNLinearDisassemblyLineType diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index e90bcdc5..036d042c 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -176,6 +176,8 @@ protected: void selectNone(); void navigateToHighlightedToken(); + uint64_t getTokenAddress(); + public: FlowGraphWidget(QWidget* parent, BinaryViewRef view, FlowGraphRef graph = FlowGraphRef()); ~FlowGraphWidget(); diff --git a/ui/linearview.h b/ui/linearview.h index 2c9c5fcc..3e089732 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -181,6 +181,7 @@ class BINARYNINJAUIAPI LinearView: public QAbstractScrollArea, public View, publ void updateAnalysisRequestorsForCache(); ArchitectureRef getArchitecture(const LinearViewLine& line); + uint64_t getTokenAddress(); BNAnalysisWarningActionType getAnalysisWarningActionAtPos(const LinearViewLine& line, int x); |
