summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-07-18 00:20:01 -0400
committerRusty Wagner <rusty@vector35.com>2017-07-18 00:20:01 -0400
commitbf9d72bbae638a42f0b93a9053dffcb1f5e79ff3 (patch)
treed51024630f854d32782a2e24e584fb43557b542c /binaryninjacore.h
parent18083837fe452a91e457f02ed8be2abf5fc66877 (diff)
Add instruction for indirect structure access
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index e601cd1c..2b758a94 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -726,7 +726,9 @@ extern "C"
MLIL_SET_VAR_FIELD, // Not valid in SSA form (see MLIL_SET_VAR_FIELD)
MLIL_SET_VAR_SPLIT, // Not valid in SSA form (see MLIL_SET_VAR_SPLIT_SSA)
MLIL_LOAD, // Not valid in SSA form (see MLIL_LOAD_SSA)
+ MLIL_LOAD_STRUCT, // Not valid in SSA form (see MLIL_LOAD_STRUCT_SSA)
MLIL_STORE, // Not valid in SSA form (see MLIL_STORE_SSA)
+ MLIL_STORE_STRUCT, // Not valid in SSA form (see MLIL_STORE_STRUCT_SSA)
MLIL_VAR, // Not valid in SSA form (see MLIL_VAR_SSA)
MLIL_VAR_FIELD, // Not valid in SSA form (see MLIL_VAR_SSA_FIELD)
MLIL_ADDRESS_OF,
@@ -811,7 +813,9 @@ extern "C"
MLIL_CALL_PARAM_SSA, // Only valid within the MLIL_CALL_SSA, MLIL_SYSCALL_SSA family instructions
MLIL_CALL_OUTPUT_SSA, // Only valid within the MLIL_CALL_SSA or MLIL_SYSCALL_SSA family instructions
MLIL_LOAD_SSA,
+ MLIL_LOAD_STRUCT_SSA,
MLIL_STORE_SSA,
+ MLIL_STORE_STRUCT_SSA,
MLIL_VAR_PHI,
MLIL_MEM_PHI
};
@@ -2534,6 +2538,7 @@ extern "C"
BINARYNINJACOREAPI BNEnumeration* BNGetTypeEnumeration(BNType* type);
BINARYNINJACOREAPI BNNamedTypeReference* BNGetTypeNamedTypeReference(BNType* type);
BINARYNINJACOREAPI uint64_t BNGetTypeElementCount(BNType* type);
+ BINARYNINJACOREAPI uint64_t BNGetTypeOffset(BNType* type);
BINARYNINJACOREAPI void BNSetFunctionCanReturn(BNType* type, BNBoolWithConfidence* canReturn);
BINARYNINJACOREAPI BNMemberScopeWithConfidence BNTypeGetMemberScope(BNType* type);
BINARYNINJACOREAPI void BNTypeSetMemberScope(BNType* type, BNMemberScopeWithConfidence* scope);