summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2020-01-17 19:45:31 -0500
committerRusty Wagner <rusty@vector35.com>2020-04-17 14:20:39 -0400
commit3d5a45d8bcc7f11f89b9da6cf63be95f6d8a2a52 (patch)
tree6177e1a64b96dc744605d02e01e45c9716689ecb /binaryninjaapi.h
parent0e8987bb46b8aa33c5898d5effed25f1124e03dd (diff)
Add member index for structure field HLIL instructions
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 19143c13..ea74a466 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -4079,18 +4079,18 @@ __attribute__ ((format (printf, 1, 2)))
const ILSourceLocation& loc = ILSourceLocation());
ExprId MemPhi(size_t dest, const std::vector<size_t>& sources,
const ILSourceLocation& loc = ILSourceLocation());
- ExprId StructField(size_t size, ExprId src, uint64_t offset,
+ ExprId StructField(size_t size, ExprId src, uint64_t offset, size_t memberIndex,
const ILSourceLocation& loc = ILSourceLocation());
ExprId ArrayIndex(size_t size, ExprId src, ExprId idx, const ILSourceLocation& loc = ILSourceLocation());
ExprId ArrayIndexSSA(size_t size, ExprId src, size_t srcMemVersion, ExprId idx,
const ILSourceLocation& loc = ILSourceLocation());
ExprId Split(size_t size, ExprId high, ExprId low, const ILSourceLocation& loc = ILSourceLocation());
ExprId Deref(size_t size, ExprId src, const ILSourceLocation& loc = ILSourceLocation());
- ExprId DerefField(size_t size, ExprId src, uint64_t offset,
+ ExprId DerefField(size_t size, ExprId src, uint64_t offset, size_t memberIndex,
const ILSourceLocation& loc = ILSourceLocation());
ExprId DerefSSA(size_t size, ExprId src, size_t srcMemVersion,
const ILSourceLocation& loc = ILSourceLocation());
- ExprId DerefFieldSSA(size_t size, ExprId src, size_t srcMemVersion, uint64_t offset,
+ ExprId DerefFieldSSA(size_t size, ExprId src, size_t srcMemVersion, uint64_t offset, size_t memberIndex,
const ILSourceLocation& loc = ILSourceLocation());
ExprId AddressOf(ExprId src, const ILSourceLocation& loc = ILSourceLocation());
ExprId Const(size_t size, uint64_t val, const ILSourceLocation& loc = ILSourceLocation());