diff options
| author | Rusty Wagner <dontpanic@binaryninja.com> | 2015-03-21 03:51:23 -0400 |
|---|---|---|
| committer | Rusty Wagner <dontpanic@binaryninja.com> | 2015-03-21 03:51:23 -0400 |
| commit | c85cae0d74c2c32b23f5e1422f230bebd61f1b1e (patch) | |
| tree | db86059ab0816bc57c469fa72d144768711f9077 /databuffer.cpp | |
| parent | e044ab55ef7204237507465074b54a113c8aae4d (diff) | |
Add assemble dialog and use nasm for x86/x86_64
Diffstat (limited to 'databuffer.cpp')
| -rw-r--r-- | databuffer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/databuffer.cpp b/databuffer.cpp index 0e11de8e..4bcd930b 100644 --- a/databuffer.cpp +++ b/databuffer.cpp @@ -66,6 +66,12 @@ void* DataBuffer::GetDataAt(size_t offset) } +const void* DataBuffer::GetDataAt(size_t offset) const +{ + return BNGetDataBufferContentsAt(m_buffer, offset); +} + + size_t DataBuffer::GetLength() const { return BNGetDataBufferLength(m_buffer); |
