Crate elfcore

Source
Expand description

A Rust library for creating ELF core dump files.

Structs§

ArchComponentState
Contains SSE registers on amd64, NEON on arm64, XSAVE state on amd64, etc
ArchState
Describes CPU state
CoreDumpBuilder
A builder for generating a core dump of a process optionally with custom notes with content from files This also supports generating core dumps with information from a custom source.
Elf64_Auxv
ELF auxiliary vector note
MappedFile
Type that describes a mapped file
ProcessView
View of a Linux light-weight process
ThreadView
Linux Light-weight Process
VaProtection
Struct that describes a region’s access permissions
VaRegion
Struct that describes a memory region

Enums§

CoreError
Error encountered during creating a core dump file
LinuxProcessMemoryReader
The memory reader for the process This concrete type is used for easier generic trait implementation in the coredump module.

Traits§

ProcessInfoSource
This trait provides abstraction for the CoreDumpBuilder source information
ReadProcessMemory
Trait for those able to read the process virtual memory.

Functions§

write_core_dump
Writes an ELF core dump file