[−][src]Struct xori::arch::x86::analyzex86::Analysisx86
pub struct Analysisx86 { pub xi: Xori, pub header: Header, pub base: usize, pub address_tracker: BTreeMap<u64, usize>, pub instr_info: BTreeMap<u64, InstructionInfo>, pub functions: Vec<FuncInfo>, pub symbols: Option<Vec<Symbol>>, pub sig_analyzer: SigAnalyzer, }
Fields
xi: Xori
header: Header
base: usize
address_tracker: BTreeMap<u64, usize>
instr_info: BTreeMap<u64, InstructionInfo>
functions: Vec<FuncInfo>
symbols: Option<Vec<Symbol>>
sig_analyzer: SigAnalyzer
Methods
impl Analysisx86
[src]
impl Analysisx86
pub fn add_jump(&mut self, address: &u64, offset: u64, left: i64, right: i64)
[src]
pub fn add_jump(&mut self, address: &u64, offset: u64, left: i64, right: i64)
Add the jump address to the state's current function jump table.
pub fn add_return(&mut self, address: &u64, offset: u64)
[src]
pub fn add_return(&mut self, address: &u64, offset: u64)
Add the address of the return to the state's current function return list.
pub fn add_return_value(
&mut self,
value: u64,
address: &u64,
offset: u64
) -> (bool, u64)
[src]
pub fn add_return_value(
&mut self,
value: u64,
address: &u64,
offset: u64
) -> (bool, u64)
Check if the return value is valid
pub fn add_func(
&mut self,
calling_function: u64,
offset: u64,
return_offset: u64,
memory_address: u64,
destination_offset: u64,
memory_type: MemoryType,
import_only: bool
) -> Option<String>
[src]
pub fn add_func(
&mut self,
calling_function: u64,
offset: u64,
return_offset: u64,
memory_address: u64,
destination_offset: u64,
memory_type: MemoryType,
import_only: bool
) -> Option<String>
Add the dest address of the call to the function tracker if the dest address already exists add the xref address to the list Check if the dest address points to an import apicall
Auto Trait Implementations
impl Send for Analysisx86
impl Send for Analysisx86
impl Sync for Analysisx86
impl Sync for Analysisx86
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more