/external/elfutils/libelf/ |
gelf_update_ehdr.c | 1 /* Update ELF header. 29 gelf_update_ehdr (Elf *elf, GElf_Ehdr *src) 33 if (elf == NULL) 36 if (unlikely (elf->kind != ELF_K_ELF)) 42 rwlock_wrlock (elf->lock); 44 if (elf->class == ELFCLASS32) 46 Elf32_Ehdr *ehdr = elf->state.elf32.ehdr; 85 Elf64_Ehdr *ehdr = elf->state.elf64.ehdr; 100 rwlock_unlock (elf->lock) [all...] |
gelf_getmove.c | 36 Elf *elf; local 59 elf = ((Elf_Data_Scn *) data)->s->elf; 60 rwlock_rdlock (elf->lock); 64 rwlock_unlock (elf->lock);
|
elf_strptr.c | 29 elf_strptr (elf, idx, offset) 30 Elf *elf; 34 if (elf == NULL) 37 if (elf->kind != ELF_K_ELF) 43 rwlock_rdlock (elf->lock); 49 Elf_ScnList *runp = (elf->class == ELFCLASS32 50 || (offsetof (struct Elf, state.elf32.scns) 51 == offsetof (struct Elf, state.elf64.scns)) 52 ? &elf->state.elf32.scns : &elf->state.elf64.scns) [all...] |
elf32_updatenull.c | 30 #include "elf-knowledge.h" 39 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr, 46 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; 51 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); 58 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; 71 /* Unconditionally overwrite the ELF version. * [all...] |
elf32_checksum.c | 1 /* Compute simple checksum from permanent parts of the ELF file. 29 #include "elf-knowledge.h" 46 elfw2(LIBELFBITS,checksum) (elf) 47 Elf *elf; 55 if (elf == NULL) 59 if (INTUSE(elf_getshstrndx) (elf, &shstrndx) < 0) 61 /* This can only happen if the ELF handle is not for real. */ 68 ident = elf->state.ELFW(elf,LIBELFBITS).ehdr->e_ident [all...] |
/external/elfutils/tests/ |
scnnames.c | 26 Elf *elf; local 41 elf = elf_begin (fd, ELF_C_READ, NULL); 42 if (elf == NULL) 44 printf ("cannot open ELF file: %s\n", elf_errmsg (-1)); 48 if (elf_kind (elf) != ELF_K_ELF) 50 printf ("\"%s\" is not an ELF file\n", argv[1]); 54 if (gelf_getehdr (elf, &ehdr) == NULL) 56 printf ("cannot get the ELF header: %s\n", elf_errmsg (-1)); 63 while ((scn = elf_nextscn (elf, scn)) != NULL [all...] |
update2.c | 32 Elf *elf; local 46 elf = elf_begin (fd, ELF_C_WRITE, NULL); 47 if (elf == NULL) 49 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 53 /* Create an ELF header. */ 54 ehdr = elf32_newehdr (elf); 57 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); 61 /* Print the ELF header values. */ 83 elf_flagehdr (elf, ELF_C_SET, ELF_F_DIRTY) [all...] |
arsymtest.c | 28 Elf *elf; local 51 /* Set the ELF version. */ 54 /* Create an ELF descriptor. */ 55 elf = elf_begin (fd, ELF_C_READ, NULL); 56 if (elf == NULL) 58 printf ("Cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 63 if (elf_kind (elf) != ELF_K_AR) 70 arsym = elf_getarsym (elf, &narsym); 83 Elf *subelf [all...] |
/external/elfutils/libdw/ |
dwarf_begin.c | 31 Elf *elf; local 54 would break libdwarf since we are using the ELF data structures 58 /* Get an ELF descriptor. */ 59 elf = elf_begin (fd, elfcmd, NULL); 60 if (elf == NULL) 74 /* Do the real work now that we have an ELF descriptor. */ 75 result = dwarf_begin_elf (elf, cmd, NULL); 79 elf_end (elf);
|
dwarf_getelf.c | 1 /* Retrieve ELF descriptor used for DWARF access. 24 Elf * 32 return dwarf->elf;
|
/build/tools/apriori/ |
hash.h | 8 int hash_lookup(Elf *elf,
|
/build/tools/lsd/ |
hash.h | 8 int hash_lookup(Elf *elf,
|
/external/elfutils/libasm/ |
asm_getelf.c | 1 /* Return ELF descriptor associated with the assembler context. 24 Elf * 28 return ctx != NULL ? ctx->out.elf : NULL;
|
/external/elfutils/libebl/ |
eblgotpcreloccheck.c | 28 return ebl != NULL ? ebl->gotpc_reloc_check (ebl->elf, reloc) : false;
|
eblrelocvaliduse.c | 27 return ebl != NULL ? ebl->reloc_valid_use (ebl->elf, reloc) : false;
|
i386_init.c | 23 i386_init (elf, machine, eh, ehlen) 24 Elf *elf;
|
ia64_init.c | 23 ia64_init (elf, machine, eh, ehlen) 24 Elf *elf;
|
libebl_ppc.h | 21 extern int ppc_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen); 34 extern bool ppc_reloc_valid_use (Elf *elf, int type);
|
libebl_ppc64.h | 21 extern int ppc64_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen); 34 extern bool ppc64_reloc_valid_use (Elf *elf, int type);
|
libebl_x86_64.h | 21 extern int x86_64_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen); 34 extern bool x86_64_reloc_valid_use (Elf *elf, int type);
|
ppc64_init.c | 23 ppc64_init (elf, machine, eh, ehlen) 24 Elf *elf;
|
ppc_init.c | 23 ppc_init (elf, machine, eh, ehlen) 24 Elf *elf;
|
sparc_init.c | 22 sparc_init (elf, machine, eh, ehlen) 23 Elf *elf;
|
x86_64_init.c | 23 x86_64_init (elf, machine, eh, ehlen) 24 Elf *elf;
|
/sdk/emulator/qtools/tests/gtrace/ |
Makefile | 7 all: test.elf test.bin test.dis 9 trace: test.elf test.bin 12 $(QTOOLS)/read_trace foo test.elf > t1 15 $(QTOOLS)/q2g -r $(P4ROOT)/device/out/linux-arm-release/symbols foo test.elf foo.gtrace
|