12 lines
284 B
C
12 lines
284 B
C
|
#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;
|
||
|
}
|