diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-02-28 20:23:20 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-02-28 20:23:20 -0500 |
| commit | dc0f16fa9bbac0388bb844af8d9f6c3b72ec31e8 (patch) | |
| tree | 86b0cdf490ae31ec8b1f4a1887b22e33c9157230 /binaryninjacore.h | |
| parent | afe6a3c1d97c1ac2fd3be04f710caa1424216edd (diff) | |
Map expressions to SSA form and add API to query expression value
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 8536d56e..89302c64 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2022,6 +2022,8 @@ extern "C" BINARYNINJACOREAPI BNLowLevelILFunction* BNGetLowLevelILNonSSAForm(BNLowLevelILFunction* func); BINARYNINJACOREAPI size_t BNGetLowLevelILSSAInstructionIndex(BNLowLevelILFunction* func, size_t instr); BINARYNINJACOREAPI size_t BNGetLowLevelILNonSSAInstructionIndex(BNLowLevelILFunction* func, size_t instr); + BINARYNINJACOREAPI size_t BNGetLowLevelILSSAExprIndex(BNLowLevelILFunction* func, size_t expr); + BINARYNINJACOREAPI size_t BNGetLowLevelILNonSSAExprIndex(BNLowLevelILFunction* func, size_t expr); BINARYNINJACOREAPI size_t BNGetLowLevelILSSARegisterDefinition(BNLowLevelILFunction* func, uint32_t reg, size_t idx); BINARYNINJACOREAPI size_t BNGetLowLevelILSSAFlagDefinition(BNLowLevelILFunction* func, uint32_t reg, size_t idx); @@ -2039,6 +2041,8 @@ extern "C" BINARYNINJACOREAPI BNRegisterValue BNGetLowLevelILSSAStackContents(BNLowLevelILFunction* func, size_t memoryIndex, int64_t offset, size_t size); + BINARYNINJACOREAPI BNRegisterValue BNGetLowLevelILExprValue(BNLowLevelILFunction* func, size_t expr); + // Types BINARYNINJACOREAPI BNType* BNCreateVoidType(void); BINARYNINJACOREAPI BNType* BNCreateBoolType(void); |
