Searched refs:ehdr_buf (Results 1 – 1 of 1) sorted by relevance
82 is_elf_file(const unsigned char* ehdr_buf, int size);92 is_valid_header(const unsigned char* ehdr_buf, off_t bufsize,295 Elf_recognizer::is_elf_file(const unsigned char* ehdr_buf, int size) in is_elf_file() argument305 return memcmp(ehdr_buf, elfmagic, 4) == 0; in is_elf_file()327 const unsigned char* ehdr_buf, in is_valid_header() argument339 int v = ehdr_buf[elfcpp::EI_VERSION]; in is_valid_header()349 int c = ehdr_buf[elfcpp::EI_CLASS]; in is_valid_header()362 int d = ehdr_buf[elfcpp::EI_DATA]; in is_valid_header()