diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-01-19 21:15:32 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-01-19 21:15:32 -0500 |
| commit | c6ed1dd374515d0e23a9d627a7dfb659c7981d16 (patch) | |
| tree | 0d5046cbf1ff9c5ced5920fab95e395102fb344f /binaryninjacore.h | |
| parent | ded271158000d7fa509f513b425d95390a7f2058 (diff) | |
Add API to find virtual address from file offset
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 02f753cf..7d3bc14c 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -1420,6 +1420,7 @@ extern "C" BINARYNINJACOREAPI BNSegment* BNGetSegments(BNBinaryView* view, size_t* count); BINARYNINJACOREAPI void BNFreeSegmentList(BNSegment* segments); BINARYNINJACOREAPI bool BNGetSegmentAt(BNBinaryView* view, uint64_t addr, BNSegment* result); + BINARYNINJACOREAPI bool BNGetAddressForDataOffset(BNBinaryView* view, uint64_t offset, uint64_t* addr); BINARYNINJACOREAPI void BNAddAutoSection(BNBinaryView* view, const char* name, uint64_t start, uint64_t length, const char* type, uint64_t align, uint64_t entrySize, const char* linkedSection, const char* infoSection, |
