diff options
| author | Brandon Miller <brandon@vector35.com> | 2024-04-17 13:55:59 -0400 |
|---|---|---|
| committer | Brandon Miller <bkmiller89@icloud.com> | 2024-04-25 10:56:18 -0400 |
| commit | 37f394946c75a6e0e4114a27db2f6ea8d03b143c (patch) | |
| tree | f2f00c202475145a0f89b803f216926e9214c962 /binaryninjacore.h | |
| parent | 2aa2be5c713a76c86118a225c5cae6ef3585412d (diff) | |
Moved TryReadPointer to core BinaryReader class
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 08353373..d0f7a5e2 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -44,7 +44,7 @@ // will require rebuilding. The minimum version is increased when there are // incompatible changes that break binary compatibility, such as changes to // existing types or functions. -#define BN_MINIMUM_CORE_ABI_VERSION 59 +#define BN_MINIMUM_CORE_ABI_VERSION 60 #ifdef __GNUC__ #ifdef BINARYNINJACORE_LIBRARY @@ -3918,6 +3918,7 @@ extern "C" BINARYNINJACOREAPI bool BNReadBE16(BNBinaryReader* stream, uint16_t* result); BINARYNINJACOREAPI bool BNReadBE32(BNBinaryReader* stream, uint32_t* result); BINARYNINJACOREAPI bool BNReadBE64(BNBinaryReader* stream, uint64_t* result); + BINARYNINJACOREAPI bool BNReadPointer(BNBinaryView* view, BNBinaryReader* stream, uint64_t* result); BINARYNINJACOREAPI uint64_t BNGetReaderPosition(BNBinaryReader* stream); BINARYNINJACOREAPI void BNSeekBinaryReader(BNBinaryReader* stream, uint64_t offset); |
