Dokumentation
Elf Class Reference
Parser and loader for a basic subset of the Executable and Linkable Formats. More...
#include <utils/elf.h>
Public Member Functions | |
Elf (void *data, size_t len) | |
Constructor. More... | |
bool | isValid () const |
Validate file. More... | |
Detailed Description
Parser and loader for a basic subset of the Executable and Linkable Formats.
- Note
- Relocation is not supported (yet).
Constructor & Destructor Documentation
|
inline |
Constructor.
- Parameters
-
data Buffer with the (full) contents of the ELF file len size of buffer
Member Function Documentation
bool Elf::isValid | ( | ) | const |
Validate file.
Checks magic header and internal references
- Returns
- 'true' if contents look sane
The documentation for this class was generated from the following files:
- utils/elf.h
- utils/elf.cc