woody-woodpacker/srcs/woody.c

12 lines
284 B
C
Raw Normal View History

2024-02-14 10:37:05 +00:00
#include "../includes/woody.h"
int woody(t_efl_content *file_content)
{
Elf64_Ehdr *Ehdr = (Elf64_Ehdr *)secure_access(file_content->file, file_content->file_size, 0, sizeof(Elf64_Ehdr));
if (!Ehdr)
return EXIT_FAILURE;
// if (Ehdr->e_ident[EI_CLASS])
return EXIT_SUCCESS;
}