Crate pelite

Source
Expand description

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.
strings
Analyzing strings in binary data.
util
Utilities and other tidbits.

Macros§

pattern
Compile time pattern parser.

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
Types whose values can be safely transmuted between byte arrays of the same size.

Type Aliases§

PeFile
Format agnostic PE file.
PeView
Format agnostic PE view.
Result
Specialized Result type for PE errors.

Derive Macros§

Pod
Derive macro for the Pod trait.