diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-07-10 21:58:04 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-07-10 21:58:04 -0400 |
| commit | 4c161e6d4ca3ec23fb1e3fadded579f065312b38 (patch) | |
| tree | ca55e5ab686f2119543d21b43a593be0919c4d08 | |
| parent | 680179d22dee90938666b9e5b2033bcb6c48c7d2 (diff) | |
Additional instructions for x86 -> IL
| -rw-r--r-- | binaryninjaapi.h | 1 | ||||
| -rw-r--r-- | lowlevelil.cpp | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 971c900e..a27ac261 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -1090,6 +1090,7 @@ namespace BinaryNinja size_t CompareSignedGreaterThan(size_t size, uint64_t a, uint64_t b); size_t CompareUnsignedGreaterThan(size_t size, uint64_t a, uint64_t b); size_t SystemCall(); + size_t Breakpoint(); size_t Undefined(); size_t Unimplemented(); size_t UnimplementedMemoryRef(size_t size, uint64_t addr); diff --git a/lowlevelil.cpp b/lowlevelil.cpp index 23988004..421de897 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -381,6 +381,12 @@ size_t LowLevelILFunction::SystemCall() } +size_t LowLevelILFunction::Breakpoint() +{ + return AddExpr(LLIL_BP, 0, 0); +} + + size_t LowLevelILFunction::Undefined() { return AddExpr(LLIL_UNDEF, 0, 0); |
