pub struct PeSection<'data, 'file, Pe, R = &'data [u8]> where
    'data: 'file,
    Pe: ImageNtHeaders,
    R: ReadRef<'data>, 
{ /* private fields */ }
Expand description

A section of a PeFile.

Trait Implementations

Formats the value using the given formatter. Read more

An iterator over the relocations for a section. Read more

Returns the section index.

Returns the address of the section.

Returns the size of the section in memory.

Returns the alignment of the section in memory.

Returns offset and size of on-disk segment (if any).

Returns the raw contents of the section. Read more

Return the raw contents of the section data in the given range. Read more

Returns the potentially compressed file range of the section, along with information about the compression. Read more

Returns the potentially compressed contents of the section, along with information about the compression. Read more

Returns the name of the section.

Returns the name of the section. Read more

Returns the name of the segment for this section.

Returns the name of the segment for this section. Read more

Return the kind of this section.

Get the relocations for this section.

Section flags that are specific to each file format.

Returns the uncompressed contents of the section. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.