diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-07-28 00:06:34 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-07-28 00:07:55 -0400 |
| commit | fdada2c752ab21cce2f6971e3270a4a3eb4faada (patch) | |
| tree | 22a0a8d5e7947ffaa7cf84c30123d6a9ec020692 /binaryview.cpp | |
| parent | aa1804a3b5a1a3514d2c0f0fe5973ab22a7507df (diff) | |
Add API to remove user function
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 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); |
