diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-07-29 23:35:48 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-07-29 23:35:48 -0400 |
| commit | 40192fa7adbf7b53e9d45343b0ae1b47cc5fef86 (patch) | |
| tree | 13d7072fc95b3a594020fe81d1420c97354fe308 /binaryview.cpp | |
| parent | a1000948164a38f12a3348490ac13446ace196b7 (diff) | |
Show basic register data flow information on hover
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 0e24f65e..12fa6548 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -829,6 +829,12 @@ bool BinaryView::SkipAndReturnValue(Architecture* arch, uint64_t addr, uint64_t } +size_t BinaryView::GetInstructionLength(Architecture* arch, uint64_t addr) +{ + return BNGetInstructionLength(m_view, arch->GetArchitectureObject(), addr); +} + + BinaryData::BinaryData(FileMetadata* file): BinaryView(BNCreateBinaryDataView(file->GetFileObject())) { } |
