Trait pydis::opcode::Opcode [−][src]
pub trait Opcode {
fn has_arg(&self) -> bool;
fn has_extended_arg(&self) -> bool;
fn has_const(&self) -> bool;
fn has_comp(&self) -> bool;
fn is_other_conditional_jump(&self) -> bool;
fn is_relative_jump(&self) -> bool;
fn is_absolute_jump(&self) -> bool;
fn is_conditional_jump(&self) -> bool;
fn has_name(&self) -> bool;
fn has_local(&self) -> bool;
fn has_free(&self) -> bool;
fn is_jump(&self) -> bool { ... }
}Expand description
Trait that provides convenience routines for opcode properties such as whether or not it has an argument, is a jump, etc.
Required methods
fn has_extended_arg(&self) -> bool
fn has_extended_arg(&self) -> bool
Whether or not this opcode has an extended argument
fn is_other_conditional_jump(&self) -> bool
fn is_relative_jump(&self) -> bool
fn is_relative_jump(&self) -> bool
Whether or not this opcode has a relative jump target
fn is_absolute_jump(&self) -> bool
fn is_absolute_jump(&self) -> bool
Whether or not this opcode has an absolute jump target
fn is_conditional_jump(&self) -> bool
fn is_conditional_jump(&self) -> bool
Whether or not this opcode is a conditional jump