pub enum HighLevelILInstruction {
Show 122 variants Adc(BinaryOpCarry), Sbb(BinaryOpCarry), Rlc(BinaryOpCarry), Rrc(BinaryOpCarry), Add(BinaryOp), Sub(BinaryOp), And(BinaryOp), Or(BinaryOp), Xor(BinaryOp), Lsl(BinaryOp), Lsr(BinaryOp), Asr(BinaryOp), Rol(BinaryOp), Ror(BinaryOp), Mul(BinaryOp), MuluDp(BinaryOp), MulsDp(BinaryOp), Divu(BinaryOp), DivuDp(BinaryOp), Divs(BinaryOp), DivsDp(BinaryOp), Modu(BinaryOp), ModuDp(BinaryOp), Mods(BinaryOp), ModsDp(BinaryOp), CmpE(BinaryOp), CmpNe(BinaryOp), CmpSlt(BinaryOp), CmpUlt(BinaryOp), CmpSle(BinaryOp), CmpUle(BinaryOp), CmpSge(BinaryOp), CmpUge(BinaryOp), CmpSgt(BinaryOp), CmpUgt(BinaryOp), TestBit(BinaryOp), AddOverflow(BinaryOp), Fadd(BinaryOp), Fsub(BinaryOp), Fmul(BinaryOp), Fdiv(BinaryOp), FcmpE(BinaryOp), FcmpNe(BinaryOp), FcmpLt(BinaryOp), FcmpLe(BinaryOp), FcmpGe(BinaryOp), FcmpGt(BinaryOp), FcmpO(BinaryOp), FcmpUo(BinaryOp), ArrayIndex(ArrayIndex), ArrayIndexSsa(ArrayIndexSsa), Assign(Assign), AssignMemSsa(AssignMemSsa), AssignUnpack(AssignUnpack), AssignUnpackMemSsa(AssignUnpackMemSsa), Block(Block), Call(Call), Tailcall(Call), CallSsa(CallSsa), Case(Case), Const(Const), ConstPtr(Const), Import(Const), ConstData(ConstData), Deref(UnaryOp), AddressOf(UnaryOp), Neg(UnaryOp), Not(UnaryOp), Sx(UnaryOp), Zx(UnaryOp), LowPart(UnaryOp), BoolToInt(UnaryOp), UnimplMem(UnaryOp), Fsqrt(UnaryOp), Fneg(UnaryOp), Fabs(UnaryOp), FloatToInt(UnaryOp), IntToFloat(UnaryOp), FloatConv(UnaryOp), RoundToInt(UnaryOp), Floor(UnaryOp), Ceil(UnaryOp), Ftrunc(UnaryOp), DerefFieldSsa(DerefFieldSsa), DerefSsa(DerefSsa), ExternPtr(ExternPtr), FloatConst(FloatConst), For(ForLoop), ForSsa(ForLoopSsa), Goto(Label), Label(Label), If(If), Intrinsic(Intrinsic), IntrinsicSsa(IntrinsicSsa), Jump(Jump), MemPhi(MemPhi), Nop(NoArgs), Break(NoArgs), Continue(NoArgs), Noret(NoArgs), Unreachable(NoArgs), Bp(NoArgs), Undef(NoArgs), Unimpl(NoArgs), Ret(Ret), Split(Split), StructField(StructField), DerefField(StructField), Switch(Switch), Syscall(Syscall), SyscallSsa(SyscallSsa), Trap(Trap), VarDeclare(Var), Var(Var), VarInit(VarInit), VarInitSsa(VarInitSsa), VarPhi(VarPhi), VarSsa(VarSsa), While(While), DoWhile(While), WhileSsa(WhileSsa), DoWhileSsa(WhileSsa),
}

Variants§

§

Adc(BinaryOpCarry)

§

Sbb(BinaryOpCarry)

§

Rlc(BinaryOpCarry)

§

Rrc(BinaryOpCarry)

§

Add(BinaryOp)

§

Sub(BinaryOp)

§

And(BinaryOp)

§

Or(BinaryOp)

§

Xor(BinaryOp)

§

Lsl(BinaryOp)

§

Lsr(BinaryOp)

§

Asr(BinaryOp)

§

Rol(BinaryOp)

§

Ror(BinaryOp)

§

Mul(BinaryOp)

§

MuluDp(BinaryOp)

§

MulsDp(BinaryOp)

§

Divu(BinaryOp)

§

DivuDp(BinaryOp)

§

Divs(BinaryOp)

§

DivsDp(BinaryOp)

§

Modu(BinaryOp)

§

ModuDp(BinaryOp)

§

Mods(BinaryOp)

§

ModsDp(BinaryOp)

§

CmpE(BinaryOp)

§

CmpNe(BinaryOp)

§

CmpSlt(BinaryOp)

§

CmpUlt(BinaryOp)

§

CmpSle(BinaryOp)

§

CmpUle(BinaryOp)

§

CmpSge(BinaryOp)

§

CmpUge(BinaryOp)

§

CmpSgt(BinaryOp)

§

CmpUgt(BinaryOp)

§

TestBit(BinaryOp)

§

AddOverflow(BinaryOp)

§

Fadd(BinaryOp)

§

Fsub(BinaryOp)

§

Fmul(BinaryOp)

§

Fdiv(BinaryOp)

§

FcmpE(BinaryOp)

§

FcmpNe(BinaryOp)

§

FcmpLt(BinaryOp)

§

FcmpLe(BinaryOp)

§

FcmpGe(BinaryOp)

§

FcmpGt(BinaryOp)

§

FcmpO(BinaryOp)

§

FcmpUo(BinaryOp)

§

ArrayIndex(ArrayIndex)

§

ArrayIndexSsa(ArrayIndexSsa)

§

Assign(Assign)

§

AssignMemSsa(AssignMemSsa)

§

AssignUnpack(AssignUnpack)

§

AssignUnpackMemSsa(AssignUnpackMemSsa)

§

Block(Block)

§

Call(Call)

§

Tailcall(Call)

§

CallSsa(CallSsa)

§

Case(Case)

§

Const(Const)

§

ConstPtr(Const)

§

Import(Const)

§

ConstData(ConstData)

§

Deref(UnaryOp)

§

AddressOf(UnaryOp)

§

Neg(UnaryOp)

§

Not(UnaryOp)

§

Sx(UnaryOp)

§

Zx(UnaryOp)

§

LowPart(UnaryOp)

§

BoolToInt(UnaryOp)

§

UnimplMem(UnaryOp)

§

Fsqrt(UnaryOp)

§

Fneg(UnaryOp)

§

Fabs(UnaryOp)

§

FloatToInt(UnaryOp)

§

IntToFloat(UnaryOp)

§

FloatConv(UnaryOp)

§

RoundToInt(UnaryOp)

§

Floor(UnaryOp)

§

Ceil(UnaryOp)

§

Ftrunc(UnaryOp)

§

DerefFieldSsa(DerefFieldSsa)

§

DerefSsa(DerefSsa)

§

ExternPtr(ExternPtr)

§

FloatConst(FloatConst)

§

For(ForLoop)

§

ForSsa(ForLoopSsa)

§

Goto(Label)

§

Label(Label)

§

If(If)

§

Intrinsic(Intrinsic)

§

IntrinsicSsa(IntrinsicSsa)

§

Jump(Jump)

§

MemPhi(MemPhi)

§

Nop(NoArgs)

§

Break(NoArgs)

§

Continue(NoArgs)

§

Noret(NoArgs)

§

Unreachable(NoArgs)

§

Bp(NoArgs)

§

Undef(NoArgs)

§

Unimpl(NoArgs)

§

Ret(Ret)

§

Split(Split)

§

StructField(StructField)

§

DerefField(StructField)

§

Switch(Switch)

§

Syscall(Syscall)

§

SyscallSsa(SyscallSsa)

§

Trap(Trap)

§

VarDeclare(Var)

§

Var(Var)

§

VarInit(VarInit)

§

VarInitSsa(VarInitSsa)

§

VarPhi(VarPhi)

§

VarSsa(VarSsa)

§

While(While)

§

DoWhile(While)

§

WhileSsa(WhileSsa)

§

DoWhileSsa(WhileSsa)

Implementations§

source§

impl HighLevelILInstruction

source

pub fn function(&self) -> &HighLevelILFunction

source

pub fn address(&self) -> u64

source

pub fn lift(&self) -> HighLevelILLiftedInstruction

source

pub fn operands<'a>( &'a self ) -> Box<dyn Iterator<Item = (&'static str, HighLevelILOperand)> + 'a>

Trait Implementations§

source§

impl Clone for HighLevelILInstruction

source§

fn clone(&self) -> HighLevelILInstruction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HighLevelILInstruction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.