[][src]Crate pelite

Your adventure starts with a choice:

Do you wish to inspect 64-bit PE binares? ⟶ continue

Do you wish to inspect 32-bit PE binaries? ⟶ continue

The pelite::pe module is aliased to the target of the compiled crate. Use it if you want to work with modules in your own process. Evidently this is only available on Windows targets.

Due to small but incompatible differences the two formats are not unified.

Re-exports

pub use self::pe64 as pe;

Modules

base_relocs

Base Relocations Directory.

image

Image structures as defined by Windows.

pattern

Scanner Patterns.

pe32

PE32 binary files.

pe64

PE32+ binary files.

resources

Resources.

rich_structure

Rich Structure.

security

Security Directory.

stringify

Stringify image constants.

util

Utilities and other tidbits.

Macros

pattern

Structs

FileMap

Memory mapped file.

ImageMap

Memory mapped image.

Pir

Typed relative virtual address.

Enums

Align

The specific alignment used by the view.

Error

Errors while parsing the PE binary.

Wrap

Wraps 32-bit and 64-bit variants.

Traits

Pod

Defines types which can be safely transmuted from any bit pattern.

Type Definitions

PeFile

Format agnostic PE file.

PeView

Format agnostic PE view.

Result

Specialized Result type for PE errors.

Derive Macros

Pod

Auto derive the Pod trait for structs.