From cbe3ded641a0ce4b50ae447a4426b71f3e0f0119 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Fri, 18 Sep 2020 18:35:27 +0800 Subject: edit current line in linear view add CanAssemble() to architectures --- binaryview.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index 11a6c032..8e3f115a 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -2284,6 +2284,11 @@ Ref BinaryView::CreateUserDataTag(uint64_t addr, Ref tagType, cons return tag; } +bool BinaryView::CanAssemble(Architecture* arch) +{ + return BNCanAssemble(m_object, arch->GetObject()); + +} bool BinaryView::IsNeverBranchPatchAvailable(Architecture* arch, uint64_t addr) { -- cgit v1.3.1