Searched refs:magic_bytes (Results 1 – 5 of 5) sorted by relevance
26 magic_bytes = f.read(_num_magic_bytes)28 return magic_bytes in [37 return magic_bytes == b'MZ'39 return magic_bytes == b'\x7FELF'
75 magic_bytes = f.read(4)76 return magic_bytes == b'\x7fELF'81 magic_bytes = f.read(4)82 return magic_bytes in [
49 magic_bytes = f.read(8)50 magic_words = struct.unpack('II', magic_bytes);
238 const char *magic_bytes; member326 if (memcmp(buf, itr->magic_bytes, itr->magic_size) == 0) in kmod_file_open()