(&self)
| 611 | } |
| 612 | |
| 613 | pub(crate) fn raw_struct(&self) -> &BNLowLevelILInstruction { |
| 614 | use self::LowLevelILExpressionKind::*; |
| 615 | |
| 616 | match *self { |
| 617 | Undef(ref op) => &op.op, |
| 618 | |
| 619 | Unimpl(ref op) => &op.op, |
| 620 | |
| 621 | FlagCond(ref op) => &op.op, |
| 622 | FlagGroup(ref op) => &op.op, |
| 623 | |
| 624 | CmpE(ref op) | CmpNe(ref op) | CmpSlt(ref op) | CmpUlt(ref op) | CmpSle(ref op) |
| 625 | | CmpUle(ref op) | CmpSge(ref op) | CmpUge(ref op) | CmpSgt(ref op) |
| 626 | | CmpUgt(ref op) | FcmpE(ref op) | FcmpNE(ref op) | FcmpLT(ref op) | FcmpLE(ref op) |
| 627 | | FcmpGE(ref op) | FcmpGT(ref op) | FcmpO(ref op) | FcmpUO(ref op) => &op.op, |
| 628 | |
| 629 | Load(ref op) => &op.op, |
| 630 | |
| 631 | Pop(ref op) => &op.op, |
| 632 | |
| 633 | Reg(ref op) => &op.op, |
| 634 | |
| 635 | RegSplit(ref op) => &op.op, |
| 636 | |
| 637 | Flag(ref op) => &op.op, |
| 638 | |
| 639 | FlagBit(ref op) => &op.op, |
| 640 | |
| 641 | Const(ref op) | ConstPtr(ref op) => &op.op, |
| 642 | |
| 643 | ExternPtr(ref op) => &op.op, |
| 644 | |
| 645 | RegStackPop(ref op) => &op.op, |
| 646 | |
| 647 | Adc(ref op) | Sbb(ref op) | Rlc(ref op) | Rrc(ref op) => &op.op, |
| 648 | |
| 649 | Add(ref op) | Sub(ref op) | And(ref op) | Or(ref op) | Xor(ref op) | Lsl(ref op) |
| 650 | | Lsr(ref op) | Asr(ref op) | Rol(ref op) | Ror(ref op) | Mul(ref op) |
| 651 | | MulsDp(ref op) | MuluDp(ref op) | Divu(ref op) | Divs(ref op) | Modu(ref op) |
| 652 | | Mods(ref op) | Fadd(ref op) | Fsub(ref op) | Fmul(ref op) | Fdiv(ref op) => &op.op, |
| 653 | |
| 654 | DivuDp(ref op) | DivsDp(ref op) | ModuDp(ref op) | ModsDp(ref op) => &op.op, |
| 655 | |
| 656 | Neg(ref op) | Not(ref op) | Sx(ref op) | Zx(ref op) | LowPart(ref op) |
| 657 | | BoolToInt(ref op) | Fsqrt(ref op) | Fneg(ref op) | Fabs(ref op) |
| 658 | | FloatToInt(ref op) | IntToFloat(ref op) | FloatConv(ref op) | RoundToInt(ref op) |
| 659 | | Floor(ref op) | Ceil(ref op) | Ftrunc(ref op) => &op.op, |
| 660 | |
| 661 | UnimplMem(ref op) => &op.op, |
| 662 | //TestBit(Operation<'func, A, M, F, operation::TestBit>), // TODO |
| 663 | } |
| 664 | } |
| 665 | } |
| 666 | |
| 667 | impl<'func, A> LowLevelILExpressionKind<'func, A, Mutable, NonSSA<LiftedNonSSA>> |
no outgoing calls
no test coverage detected