diff options
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index 304a59e2..e4e8af17 100644 --- a/function.cpp +++ b/function.cpp @@ -1718,6 +1718,21 @@ void Function::RequestDebugReport(const string& name) } +string Function::GetGotoLabelName(uint64_t labelId) +{ + char* name = BNGetGotoLabelName(m_object, labelId); + string result = name; + BNFreeString(name); + return result; +} + + +void Function::SetGotoLabelName(uint64_t labelId, const std::string& name) +{ + BNSetUserGotoLabelName(m_object, labelId, name.c_str()); +} + + AdvancedFunctionAnalysisDataRequestor::AdvancedFunctionAnalysisDataRequestor(Function* func): m_func(func) { if (m_func) |
