feat: revamp libraries to use ELF shared objects
This commit is contained in:
@@ -10,13 +10,8 @@
|
||||
// Library handle - opaque to users
|
||||
struct LibHandle {
|
||||
int handle; // syscall handle (slot + 1)
|
||||
uint64_t base; // base virtual address
|
||||
uint64_t base; // relocation base / load bias for symbol values
|
||||
char path[256];
|
||||
int symbolCount;
|
||||
struct SymbolEntry {
|
||||
char name[64];
|
||||
uint64_t offset;
|
||||
}* symbols;
|
||||
};
|
||||
|
||||
namespace libloader {
|
||||
|
||||
Reference in New Issue
Block a user