is_executable
rv = is_executable(*argv, fd, &is_shlib, &type);
static int is_executable(const char *fname, int fd, int *is_shlib,