diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-07-31 02:54:02 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-07-31 02:54:02 -0400 |
| commit | ddca2fbb272ae8bbce6e421f07845d3439d08f5b (patch) | |
| tree | a671494d5a59473bd5d22f04c72d0e1528b885e1 /lowlevelil.cpp | |
| parent | 40192fa7adbf7b53e9d45343b0ae1b47cc5fef86 (diff) | |
Find functions that don't return based on control flow, and use that in parent functions
Diffstat (limited to 'lowlevelil.cpp')
| -rw-r--r-- | lowlevelil.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lowlevelil.cpp b/lowlevelil.cpp index 421de897..97abb8af 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -309,6 +309,12 @@ size_t LowLevelILFunction::Return(size_t dest) } +size_t LowLevelILFunction::NoReturn() +{ + return AddExpr(LLIL_NORET, 0, 0); +} + + size_t LowLevelILFunction::FlagCondition(BNLowLevelILFlagCondition cond) { return AddExpr(LLIL_FLAG_COND, 0, 0, (uint64_t)cond); @@ -387,6 +393,12 @@ size_t LowLevelILFunction::Breakpoint() } +size_t LowLevelILFunction::Trap(uint32_t num) +{ + return AddExpr(LLIL_TRAP, 0, 0, num); +} + + size_t LowLevelILFunction::Undefined() { return AddExpr(LLIL_UNDEF, 0, 0); |
