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... | |
Parser and loader for a basic subset of the Executable and Linkable Formats.
|
inline |
Constructor.
| data | Buffer with the (full) contents of the ELF file |
| len | size of buffer |
| bool Elf::isValid | ( | ) | const |
Validate file.
Checks magic header and internal references