diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-04-28 02:31:19 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-04-28 02:31:19 -0400 |
| commit | 4baa6fc4add2b1d9ff32d8eba67621dfdb1cbfd4 (patch) | |
| tree | 716b9ddf505558b779c26d3ed35bacacc63d1f0c /binaryview.cpp | |
| parent | 26093c952f60de3c0510e76f28ccfc0290824eec (diff) | |
Implement renaming of functions with persistence and undo
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index d5776bc7..173e3e06 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -130,6 +130,18 @@ uint64_t Symbol::GetAddress() const } +bool Symbol::IsAutoDefined() const +{ + return BNIsSymbolAutoDefined(m_sym); +} + + +void Symbol::SetAutoDefined(bool val) +{ + BNSetSymbolAutoDefined(m_sym, val); +} + + BinaryView::BinaryView(const std::string& typeName, FileMetadata* file) { BNCustomBinaryView view; |
