diff options
| author | Xusheng <xusheng@vector35.com> | 2023-08-11 17:01:07 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2023-08-11 17:01:07 +0800 |
| commit | 656a95f0f810bf666b2894359fb7f24dc5f7bbf5 (patch) | |
| tree | 86c953758b7daa485cd40bc47638d1b8b3a262f9 /ui/viewframe.h | |
| parent | a693c795f73686eb8901eeb70e252b9ca796049d (diff) | |
Add current_il_instructions magic variable in the Python console. Fix https://github.com/Vector35/binaryninja-api/issues/4327.
Diffstat (limited to 'ui/viewframe.h')
| -rw-r--r-- | ui/viewframe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/viewframe.h b/ui/viewframe.h index 4bf704e1..b835170d 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -228,6 +228,8 @@ class BINARYNINJAUIAPI View virtual BNFunctionGraphType getILViewType() { return InvalidILViewType; } virtual void setILViewType(BNFunctionGraphType ilViewType) {} virtual size_t getCurrentILInstructionIndex() { return BN_INVALID_EXPR; } + virtual size_t getSelectionStartILInstructionIndex() { return BN_INVALID_EXPR; } + virtual BNILIndexRange getILIndexRange() { return {BN_INVALID_EXPR, BN_INVALID_EXPR}; } virtual QFont getFont() = 0; virtual DisassemblySettingsRef getDisassemblySettings(); |
