diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-05-30 22:40:24 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-05-30 22:40:24 -0400 |
| commit | 4dc7c3041e7c95e373b55dbb27b1861e82976fc0 (patch) | |
| tree | 84c56f913999eef22384a65c8343d07f29df17d4 /lowlevelil.cpp | |
| parent | eb2ba156a6dc7654e143d46f79384066a2e5e4a3 (diff) | |
Add IL instruction to promote bool to int, used for MIPS jump tables
Diffstat (limited to 'lowlevelil.cpp')
| -rw-r--r-- | lowlevelil.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lowlevelil.cpp b/lowlevelil.cpp index d86bb523..550accc2 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -428,6 +428,12 @@ ExprId LowLevelILFunction::TestBit(size_t size, ExprId a, ExprId b) } +ExprId LowLevelILFunction::BoolToInt(size_t size, ExprId a) +{ + return AddExpr(LLIL_BOOL_TO_INT, size, 0, a); +} + + ExprId LowLevelILFunction::SystemCall() { return AddExpr(LLIL_SYSCALL, 0, 0); |
