diff options
| author | Xusheng <xusheng@vector35.com> | 2020-11-16 17:51:46 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2021-02-17 12:05:47 +0800 |
| commit | d9b1df165f9daad6a5229718ecd0ee50a5ef6bf1 (patch) | |
| tree | 6307b8c16c80f8203bdb96ebc3d54a8d9f10b3bf /ui/linearview.h | |
| parent | b651141704a555cf0b6c53152ab0f70d011ec8af (diff) | |
add support for type xref and variable xref
Diffstat (limited to 'ui/linearview.h')
| -rw-r--r-- | ui/linearview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/linearview.h b/ui/linearview.h index 2d03248c..5c1d51bd 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -217,7 +217,7 @@ private Q_SLOTS: void adjustSize(int width, int height); void viewInHexEditor(); void viewInGraph(); - void viewInTypesView(std::string typeName = ""); + void viewInTypesView(std::string typeName = "", uint64_t offset = 0); void cycleILView(bool forward); void copyAddressSlot(); void goToAddress(); @@ -295,7 +295,7 @@ public: virtual uint64_t getCurrentOffset() override; virtual UIActionContext actionContext() override; virtual BNAddressRange getSelectionOffsets() override; - virtual BNAddressRange getSelectionForInfo() override; + virtual SelectionInfoForXref getSelectionForXref() override; virtual void setSelectionOffsets(BNAddressRange range) override; virtual FunctionRef getCurrentFunction() override; virtual BasicBlockRef getCurrentBasicBlock() override; |
