diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-10-31 22:51:44 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-10-31 22:51:44 -0400 |
| commit | eef9d1eff05975c31862db4157ac2f1b2bb30502 (patch) | |
| tree | 48001392e6311609f2ff4d81aec26b00d268a05d /binaryview.cpp | |
| parent | fd626094e77d384a4bc8f5d5fde06d552600b879 (diff) | |
Added APIs for dealing with Thumb more easily
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index ff19de18..cc6667c5 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1156,6 +1156,13 @@ void BinaryView::DefineAutoSymbol(Ref<Symbol> sym) } +void BinaryView::DefineAutoSymbolAndVariableOrFunction(Ref<Platform> platform, Ref<Symbol> sym, Ref<Type> type) +{ + BNDefineAutoSymbolAndVariableOrFunction(m_object, platform ? platform->GetObject() : nullptr, sym->GetObject(), + type ? type->GetObject() : nullptr); +} + + void BinaryView::UndefineAutoSymbol(Ref<Symbol> sym) { BNUndefineAutoSymbol(m_object, sym->GetObject()); |
