[][src]Struct libipt_sys::pt_insn

#[repr(C)]
pub struct pt_insn {
    pub ip: u64,
    pub isid: c_int,
    pub mode: pt_exec_mode,
    pub iclass: pt_insn_class,
    pub raw: [u8; 15],
    pub size: u8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 3],
}

A single traced instruction.

Fields

ip: u64

The virtual address in its process.

isid: c_int

The image section identifier for the section containing this instruction.

A value of zero means that the section did not have an identifier. The section was not added via an image section cache or the memory was read via the read memory callback.

mode: pt_exec_mode

The execution mode.

iclass: pt_insn_class

A coarse classification.

raw: [u8; 15]

The raw bytes.

size: u8

The size in bytes.

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 3]

Methods

impl pt_insn[src]

pub fn speculative(&self) -> u32[src]

pub fn set_speculative(&mut self, val: u32)[src]

pub fn truncated(&self) -> u32[src]

pub fn set_truncated(&mut self, val: u32)[src]

pub fn new_bitfield_1(
    speculative: u32,
    truncated: u32
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for pt_insn[src]

impl Copy for pt_insn[src]

impl Debug for pt_insn[src]

Auto Trait Implementations

impl Send for pt_insn

impl Sync for pt_insn

impl Unpin for pt_insn

impl UnwindSafe for pt_insn

impl RefUnwindSafe for pt_insn

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]