diff options
Diffstat (limited to 'sysdeps/linux-gnu/x86_64/ffcheck.c')
-rw-r--r-- | sysdeps/linux-gnu/x86_64/ffcheck.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sysdeps/linux-gnu/x86_64/ffcheck.c b/sysdeps/linux-gnu/x86_64/ffcheck.c index 91dc855..e69de29 100644 --- a/sysdeps/linux-gnu/x86_64/ffcheck.c +++ b/sysdeps/linux-gnu/x86_64/ffcheck.c @@ -1,18 +0,0 @@ -#include <elf.h> - -int -ffcheck (void *maddr) -{ - Elf64_Ehdr *ehdr=maddr; - - if (! ehdr) - return 0; - if ( - ehdr->e_type == 2 && - ehdr->e_machine == 0x3e && - ehdr->e_version == 1 - ) - return 1; - - return 0; -} |