Searched refs:elf_file (Results 1 – 2 of 2) sorted by relevance
/external/minijail/ |
D | elfparse.c | 17 ElfType parseElf ## bit(FILE *elf_file, uint8_t *pHead, int little_endian) \ 24 if (!elf_file || !pHead) \ 40 if (fseek(elf_file, pHeader->e_phoff, SEEK_SET) != 0) \ 44 if (fread(&pheader, sizeof(pheader), 1, elf_file) == 1) { \ 63 FILE *elf_file = NULL; in get_elf_linkage() local 66 elf_file = fopen(path, "r"); in get_elf_linkage() 67 if (elf_file) { in get_elf_linkage() 68 if (fread(pHeader, 1, HEADERSIZE, elf_file) == HEADERSIZE) { in get_elf_linkage() 73 ret = parseElf64(elf_file, pHeader, 1); in get_elf_linkage() 77 ret = parseElf64(elf_file, pHeader, 0); in get_elf_linkage() [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | android_profiling_helper.py | 33 def _ElfMachineId(elf_file): argument 34 headers = subprocess.check_output(['readelf', '-h', elf_file]) 38 def _ElfSectionAsString(elf_file, section): argument 39 return subprocess.check_output(['readelf', '-p', section, elf_file]) 42 def _ElfSectionMd5Sum(elf_file, section): argument 44 'readelf -p%s "%s" | md5sum' % (section, elf_file), shell=True)
|