[−][src]Struct pdb::ImageSectionHeader
A PE IMAGE_SECTION_HEADER
, as described in the Microsoft documentation.
Fields
name: [u8; 8]
An 8-byte, null-padded UTF-8 string. There is no terminating null character if the string is
exactly eight characters long. For longer names, this member contains a forward slash (/
)
followed by an ASCII representation of a decimal number that is an offset into the string
table. Executable images do not use a string table and do not support section names longer
than eight characters.
physical_address: u32
The file address.
virtual_address: u32
The address of the first byte of the section when loaded into memory, relative to the image base. For object files, this is the address of the first byte before relocation is applied.
size_of_raw_data: u32
The size of the initialized data on disk, in bytes. This value must be a multiple of the
FileAlignment
member of the IMAGE_OPTIONAL_HEADER
structure. If this value is less than
the VirtualSize
member, the remainder of the section is filled with zeroes. If the section
contains only uninitialized data, the member is zero.
pointer_to_raw_data: u32
A file pointer to the first page within the COFF file. This value must be a multiple of the
FileAlignment
member of the IMAGE_OPTIONAL_HEADER
structure. If a section contains only
uninitialized data, set this member is zero.
pointer_to_relocations: u32
A file pointer to the beginning of the relocation entries for the section. If there are no relocations, this value is zero.
pointer_to_line_numbers: u32
A file pointer to the beginning of the line-number entries for the section. If there are no COFF line numbers, this value is zero.
number_of_relocations: u16
The number of relocation entries for the section. This value is zero for executable images.
number_of_line_numbers: u16
The number of line-number entries for the section.
characteristics: u32
The characteristics of the image.
Methods
impl ImageSectionHeader
[src]
Trait Implementations
impl Eq for ImageSectionHeader
[src]
impl Copy for ImageSectionHeader
[src]
impl PartialEq<ImageSectionHeader> for ImageSectionHeader
[src]
fn eq(&self, other: &ImageSectionHeader) -> bool
[src]
fn ne(&self, other: &ImageSectionHeader) -> bool
[src]
impl Clone for ImageSectionHeader
[src]
fn clone(&self) -> ImageSectionHeader
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ImageSectionHeader
[src]
Auto Trait Implementations
impl Send for ImageSectionHeader
impl Sync for ImageSectionHeader
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,