From fdada2c752ab21cce2f6971e3270a4a3eb4faada Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 28 Jul 2016 00:06:34 -0400 Subject: Add API to remove user function --- binaryview.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index de0870b6..d97051c7 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -791,6 +791,12 @@ void BinaryView::CreateUserFunction(Platform* platform, uint64_t start) } +void BinaryView::RemoveUserFunction(Function* func) +{ + BNRemoveUserFunction(m_object, func->GetObject()); +} + + void BinaryView::UpdateAnalysis() { BNUpdateAnalysis(m_object); -- cgit v1.3.1