diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-07-18 00:20:01 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-07-18 00:20:01 -0400 |
| commit | bf9d72bbae638a42f0b93a9053dffcb1f5e79ff3 (patch) | |
| tree | d51024630f854d32782a2e24e584fb43557b542c /type.cpp | |
| parent | 18083837fe452a91e457f02ed8be2abf5fc66877 (diff) | |
Add instruction for indirect structure access
Diffstat (limited to 'type.cpp')
| -rw-r--r-- | type.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -414,6 +414,12 @@ uint64_t Type::GetElementCount() const } +uint64_t Type::GetOffset() const +{ + return BNGetTypeOffset(m_object); +} + + string Type::GetString() const { char* str = BNGetTypeString(m_object); |
