• Home
  • Raw
  • Download

Lines Matching refs:elf32

245       elf->state.elf32.scns.cnt = elf->state.elf32.scns.max = scncnt;  in file_read_elf()
257 elf->state.elf32.ehdr = in file_read_elf()
259 elf->state.elf32.shdr = in file_read_elf()
261 + elf->state.elf32.ehdr->e_shoff); in file_read_elf()
262 if (elf->state.elf32.ehdr->e_phnum) in file_read_elf()
265 elf->state.elf32.phdr in file_read_elf()
267 + elf->state.elf32.ehdr->e_phoff); in file_read_elf()
271 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf()
272 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf()
273 elf->state.elf32.scns.data[cnt].shdr.e32 = in file_read_elf()
274 &elf->state.elf32.shdr[cnt]; in file_read_elf()
275 elf->state.elf32.scns.data[cnt].rawdata_base = in file_read_elf()
276 elf->state.elf32.scns.data[cnt].data_base = in file_read_elf()
278 + elf->state.elf32.shdr[cnt].sh_offset); in file_read_elf()
279 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf()
285 if (pread (elf->fildes, &elf->state.elf32.ehdr_mem, in file_read_elf()
295 CONVERT (elf->state.elf32.ehdr_mem.e_type); in file_read_elf()
296 CONVERT (elf->state.elf32.ehdr_mem.e_machine); in file_read_elf()
297 CONVERT (elf->state.elf32.ehdr_mem.e_version); in file_read_elf()
298 CONVERT (elf->state.elf32.ehdr_mem.e_entry); in file_read_elf()
299 CONVERT (elf->state.elf32.ehdr_mem.e_phoff); in file_read_elf()
300 CONVERT (elf->state.elf32.ehdr_mem.e_shoff); in file_read_elf()
301 CONVERT (elf->state.elf32.ehdr_mem.e_flags); in file_read_elf()
302 CONVERT (elf->state.elf32.ehdr_mem.e_ehsize); in file_read_elf()
303 CONVERT (elf->state.elf32.ehdr_mem.e_phentsize); in file_read_elf()
304 CONVERT (elf->state.elf32.ehdr_mem.e_phnum); in file_read_elf()
305 CONVERT (elf->state.elf32.ehdr_mem.e_shentsize); in file_read_elf()
306 CONVERT (elf->state.elf32.ehdr_mem.e_shnum); in file_read_elf()
307 CONVERT (elf->state.elf32.ehdr_mem.e_shstrndx); in file_read_elf()
310 elf->state.elf32.ehdr = &elf->state.elf32.ehdr_mem; in file_read_elf()
314 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf()
315 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf()
316 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf()
321 elf->state.elf32.scns_last = &elf->state.elf32.scns; in file_read_elf()
967 assert (offsetof (struct Elf, state.elf32.scns) in write_file()
969 result->state.elf.scns_last = &result->state.elf32.scns; in write_file()
970 result->state.elf32.scns.max = NSCNSALLOC; in write_file()