diff options
| author | Rusty Wagner <rusty@vector35.com> | 2018-04-05 17:34:55 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2018-04-05 17:37:58 -0400 |
| commit | b15ea74b0b5e0afab9c935894eb39610408b6678 (patch) | |
| tree | c5a2ade13917be17f31f121ea746350f759295a6 /mediumlevelil.cpp | |
| parent | fa716fe2da53a4f136380b1f60197bd197b2793a (diff) | |
Add SSA variable liveness API for MLIL
Diffstat (limited to 'mediumlevelil.cpp')
| -rw-r--r-- | mediumlevelil.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mediumlevelil.cpp b/mediumlevelil.cpp index 0a28bd49..1795a54d 100644 --- a/mediumlevelil.cpp +++ b/mediumlevelil.cpp @@ -486,6 +486,12 @@ set<size_t> MediumLevelILFunction::GetSSAMemoryUses(size_t version) const } +bool MediumLevelILFunction::IsSSAVarLive(const SSAVariable& var) const +{ + return BNIsMediumLevelILSSAVarLive(m_object, &var.var, var.version); +} + + set<size_t> MediumLevelILFunction::GetVariableDefinitions(const Variable& var) const { size_t count; |
