diff options
| author | Xusheng <xusheng@vector35.com> | 2020-09-18 18:35:27 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2020-10-15 12:50:02 +0800 |
| commit | cbe3ded641a0ce4b50ae447a4426b71f3e0f0119 (patch) | |
| tree | 339cff6f061f89a49a78f82626dd5601c448bf05 /binaryview.cpp | |
| parent | d77c63efc16070868bf6eb87d274bf846f4440f7 (diff) | |
edit current line in linear view
add CanAssemble() to architectures
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 11a6c032..8e3f115a 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -2284,6 +2284,11 @@ Ref<Tag> BinaryView::CreateUserDataTag(uint64_t addr, Ref<TagType> tagType, cons return tag; } +bool BinaryView::CanAssemble(Architecture* arch) +{ + return BNCanAssemble(m_object, arch->GetObject()); + +} bool BinaryView::IsNeverBranchPatchAvailable(Architecture* arch, uint64_t addr) { |
