15 lines
195 B
C
15 lines
195 B
C
|
#pragma once
|
||
|
#include <stdint.h>
|
||
|
|
||
|
struct ELFSection
|
||
|
{
|
||
|
uintptr_t base;
|
||
|
uint64_t pages;
|
||
|
};
|
||
|
|
||
|
struct ELFImage
|
||
|
{
|
||
|
uintptr_t entry;
|
||
|
uint64_t section_count;
|
||
|
ELFSection sections[1];
|
||
|
};
|