Refactor ELFObject class and remove unused functions

This commit is contained in:
EnderIce2
2024-02-01 16:25:32 +02:00
parent 96daa43d38
commit a0b98e8c57
2 changed files with 73 additions and 59 deletions

View File

@ -64,19 +64,8 @@ namespace Execute
const char **ELFenvp;
std::vector<AuxiliaryVector> Elfauxv;
Tasking::IP ip;
void *ELFProgramHeaders;
void LoadPhdrs_x86_32(int fd,
Elf64_Ehdr ELFHeader,
Memory::VirtualMemoryArea *vma,
Tasking::PCB *TargetProcess);
void LoadPhdrs_x86_64(int fd,
Elf64_Ehdr ELFHeader,
Memory::VirtualMemoryArea *vma,
Tasking::PCB *TargetProcess);
void GenerateAuxiliaryVector_x86_32(Memory::VirtualMemoryArea *vma,
int fd,
Elf32_Ehdr ELFHeader,