From 3d5a45d8bcc7f11f89b9da6cf63be95f6d8a2a52 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Fri, 17 Jan 2020 19:45:31 -0500 Subject: Add member index for structure field HLIL instructions --- binaryninjaapi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binaryninjaapi.h') 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& 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()); -- cgit v1.3.1