| 12 | #define BITMASK(N,O) (((1LL << N) - 1) << O) |
| 13 | |
| 14 | static inline ExprId DirectJump(Architecture* arch, LowLevelILFunction& il, uint64_t target, size_t addrSize) |
| 15 | { |
| 16 | BNLowLevelILLabel* label = il.GetLabelForAddress(arch, target); |
| 17 | if (label) |
| 18 | return il.Goto(*label); |
| 19 | else |
| 20 | return il.Jump(il.ConstPointer(addrSize, target)); |
| 21 | |
| 22 | return 0; |
| 23 | } |
| 24 | |
| 25 | |
| 26 | static inline ExprId SetRegisterOrBranch(LowLevelILFunction& il, enum Register reg, ExprId expr, uint32_t flags=0) |
no test coverage detected