Struct elfkit::relocation::Relocation
[−]
[src]
pub struct Relocation { pub addr: u64, pub sym: u32, pub rtype: RelocationType, pub addend: i64, }
Fields
addr: u64
sym: u32
rtype: RelocationType
addend: i64
Methods
impl Relocation
[src]
fn entsize(eh: &Header) -> usize
[src]
fn from_reader<R>(
io: R,
_: Option<&SectionContent>,
eh: &Header
) -> Result<SectionContent, Error> where
R: Read,
[src]
io: R,
_: Option<&SectionContent>,
eh: &Header
) -> Result<SectionContent, Error> where
R: Read,
fn to_writer<W>(
&self,
io: W,
_: Option<&mut SectionContent>,
eh: &Header
) -> Result<(), Error> where
W: Write,
[src]
&self,
io: W,
_: Option<&mut SectionContent>,
eh: &Header
) -> Result<(), Error> where
W: Write,
Trait Implementations
impl Debug for Relocation
[src]
impl Clone for Relocation
[src]
fn clone(&self) -> Relocation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more