apio
261fc73146
Instead of just allocating one big redundant blob of memory and reading into it, then having to free it...
11 lines
261 B
C++
11 lines
261 B
C++
#pragma once
|
|
#include "fs/VFS.h"
|
|
#include "sys/elf/Image.h"
|
|
#include <stdint.h>
|
|
|
|
namespace ELFLoader
|
|
{
|
|
ELFImage* load_elf_from_vfs(VFS::Node* node);
|
|
ELFImage* load_elf_from_filesystem(const char* filename);
|
|
void release_elf_image(ELFImage* image);
|
|
} |