summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index dd03910b..a5e2605b 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2519,6 +2519,8 @@ extern "C"
uint8_t typeConfidence;
BNMemberAccess access;
BNMemberScope scope;
+ uint8_t bitPosition;
+ uint8_t bitWidth;
} BNStructureMember;
typedef struct BNInheritedStructureMember
@@ -7069,7 +7071,7 @@ extern "C"
const char* name, BNMemberAccess access, BNMemberScope scope);
BINARYNINJACOREAPI void BNAddStructureBuilderMemberAtOffset(BNStructureBuilder* s,
const BNTypeWithConfidence* const type, const char* name, uint64_t offset, bool overwriteExisting,
- BNMemberAccess access, BNMemberScope scope);
+ BNMemberAccess access, BNMemberScope scope, uint8_t bitPosition, uint8_t bitWidth);
BINARYNINJACOREAPI void BNRemoveStructureBuilderMember(BNStructureBuilder* s, size_t idx);
BINARYNINJACOREAPI void BNReplaceStructureBuilderMember(BNStructureBuilder* s, size_t idx,
const BNTypeWithConfidence* const type, const char* name, bool overwriteExisting);