Struct cwe_checker_lib::pcode::Jmp
source · pub struct Jmp {
pub mnemonic: JmpType,
pub goto: Option<Label>,
pub call: Option<Call>,
pub condition: Option<Variable>,
pub target_hints: Option<Vec<String>>,
}
Expand description
A jump instruction.
Fields§
§mnemonic: JmpType
The mnemonic of the jump.
goto: Option<Label>
The target label for intraprocedural jumps.
call: Option<Call>
The call struct for interprocedural jumps.
condition: Option<Variable>
If the jump is a conditional jump,
the varnode that has to evaluate to true
for the jump to be taken.
target_hints: Option<Vec<String>>
A list of potential jump targets for indirect jumps.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Jmp
impl<'de> Deserialize<'de> for Jmp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Jmp
impl StructuralEq for Jmp
impl StructuralPartialEq for Jmp
Auto Trait Implementations§
impl RefUnwindSafe for Jmp
impl Send for Jmp
impl Sync for Jmp
impl Unpin for Jmp
impl UnwindSafe for Jmp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.