Struct pelite::pe32::imports::Desc [−][src]
pub struct Desc<'a, P> { /* fields omitted */ }
Import library descriptor.
Methods
impl<'a, P: Pe<'a> + Copy> Desc<'a, P>
[src]
impl<'a, P: Pe<'a> + Copy> Desc<'a, P>
pub fn pe(&self) -> P
[src]
pub fn pe(&self) -> P
Gets the PE instance.
pub fn image(&self) -> &'a IMAGE_IMPORT_DESCRIPTOR
[src]
pub fn image(&self) -> &'a IMAGE_IMPORT_DESCRIPTOR
Returns the underlying import descriptor image.
pub fn dll_name(&self) -> Result<&'a CStr>
[src]
pub fn dll_name(&self) -> Result<&'a CStr>
Gets the name of the DLL imported from.
pub fn iat(&self) -> Result<Iter<'a, Va>>
[src]
pub fn iat(&self) -> Result<Iter<'a, Va>>
Gets the import address table.
After being loaded as a library their values are resolved to the addresses of the imported functions.
Otherwise these contain references to the imported functions.
See import_from_va
to get their names.
pub fn int(
&self
) -> Result<Map<Iter<'a, Va>, impl Clone + FnMut(&'a Va) -> Result<Import<'a>>>>
[src]
pub fn int(
&self
) -> Result<Map<Iter<'a, Va>, impl Clone + FnMut(&'a Va) -> Result<Import<'a>>>>
Gets the import name table.
Trait Implementations
impl<'a, P: Pe<'a> + Copy> Serialize for Desc<'a, P>
[src]
impl<'a, P: Pe<'a> + Copy> Serialize for Desc<'a, P>
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>
[src]
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>
Serialize this value into the given Serde serializer. Read more
impl<'a, P: Copy> Copy for Desc<'a, P>
[src]
impl<'a, P: Copy> Copy for Desc<'a, P>
impl<'a, P: Clone> Clone for Desc<'a, P>
[src]
impl<'a, P: Clone> Clone for Desc<'a, P>
fn clone(&self) -> Desc<'a, P>
[src]
fn clone(&self) -> Desc<'a, P>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, P: Pe<'a> + Copy> Debug for Desc<'a, P>
[src]
impl<'a, P: Pe<'a> + Copy> Debug for Desc<'a, P>