diff options
| author | Rusty Wagner <dontpanic@binaryninja.com> | 2015-03-19 00:32:56 -0400 |
|---|---|---|
| committer | Rusty Wagner <dontpanic@binaryninja.com> | 2015-03-19 00:32:56 -0400 |
| commit | c4508b572c4e6b17bae49953bb6a6cceac043a95 (patch) | |
| tree | 8bd00f0964eda35a9e0626dac17f88304e94581f /binaryview.cpp | |
| parent | 8788b2a15003aba8040e27d73a33760b0b8da06b (diff) | |
Add parsing of ELF symbol tables
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 c091a6b1..e99038f4 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -43,6 +43,12 @@ Symbol::Symbol(BNSymbolType type, const string& shortName, const string& fullNam } +Symbol::Symbol(BNSymbolType type, const std::string& name, uint64_t addr) +{ + m_sym = BNCreateSymbol(type, name.c_str(), name.c_str(), name.c_str(), addr); +} + + Symbol::Symbol(BNSymbol* sym) { m_sym = sym; |
