Lines Matching defs:core
1 /* Get Dwarf Frame state for target core file.
41 Elf *core;
59 Elf *core = core_arg->core;
60 assert (core != NULL);
62 if (elf_getphdrnum (core, &phnum) < 0)
69 GElf_Phdr phdr_mem, *phdr = gelf_getphdr (core, cnt, &phdr_mem);
72 /* Bias is zero here, a core file itself has no bias. */
80 data = elf_getdata_rawchunk (core, phdr->p_offset + addr - start,
103 Elf *core = core_arg->core;
155 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB
172 Elf *core = core_arg->core;
209 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB
222 switch (gelf_getclass (core) == ELFCLASS32 ? 32 : 64)
226 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB
233 val64 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB
257 FIXME: It depends now on their order in core notes.
268 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB
276 val64 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB
314 dwfl_core_file_attach (Dwfl *dwfl, Elf *core)
317 Ebl *ebl = ebl_openbackend (core);
335 GElf_Ehdr ehdr_mem, *ehdr = gelf_getehdr (core, &ehdr_mem);
347 if (elf_getphdrnum (core, &phnum) < 0)
356 GElf_Phdr phdr_mem, *phdr = gelf_getphdr (core, cnt, &phdr_mem);
359 note_data = elf_getdata_rawchunk (core, phdr->p_offset,
403 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB
421 core_arg->core = core;
425 if (! INTUSE(dwfl_attach_state) (dwfl, core, pid, &core_thread_callbacks,