HomeSort by relevance Sort by last modified time
    Searched refs:elf (Results 51 - 75 of 1291) sorted by null

1 23 4 5 6 7 8 91011>>

  /development/vndk/tools/definition-tool/tests/
test_elf.py 13 from vndk_definition_tool import Elf_Sym, ELF
44 self.assertEqual(ELF.ELFCLASS32, ELF.get_ei_class_from_name('32'))
45 self.assertEqual(ELF.ELFCLASS64, ELF.get_ei_class_from_name('64'))
48 self.assertEqual(ELF.ELFDATA2LSB,
49 ELF.get_ei_data_from_name('Little-Endian'))
50 self.assertEqual(ELF.ELFDATA2MSB,
51 ELF.get_ei_data_from_name('Big-Endian'))
54 self.assertEqual(0, ELF.get_e_machine_from_name('EM_NONE')
    [all...]
  /external/elfutils/libelf/
gelf_update_ehdr.c 1 /* Update ELF header.
41 gelf_update_ehdr (Elf *elf, GElf_Ehdr *src)
45 if (elf == NULL)
48 if (unlikely (elf->kind != ELF_K_ELF))
54 rwlock_wrlock (elf->lock);
56 if (elf->class == ELFCLASS32)
58 Elf32_Ehdr *ehdr = elf->state.elf32.ehdr;
97 Elf64_Ehdr *ehdr = elf->state.elf64.ehdr;
109 /* Mark the ELF header as modified. *
    [all...]
elf_begin.c 52 static inline Elf *
54 Elf_Cmd cmd, Elf *parent)
56 Elf *elf; local
59 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent,
61 if (elf != NULL)
65 elf->state.ar.offset = offset + SARMAG;
67 elf->state.ar.elf_ar_hdr.ar_rawname = elf->state.ar.raw_name;
70 return elf;
282 Elf *elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, local
    [all...]
elf32_getshdr.c 54 Elf *elf = scn->elf; local
55 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
63 if (__elf_getshdrnum_rdlock (elf, &shnum) != 0
69 of entries from the ELF header. */
70 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
72 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL
    [all...]
gelf_getehdr.c 1 /* Get ELF header.
44 __gelf_getehdr_rdlock (Elf *elf, GElf_Ehdr *dest)
48 if (elf == NULL)
51 if (unlikely (elf->kind != ELF_K_ELF))
59 if (offsetof (struct Elf, state.elf32.ehdr)
60 != offsetof (struct Elf, state.elf64.ehdr))
63 if (unlikely (elf->state.elf64.ehdr == NULL))
64 /* Maybe no ELF header was created yet. */
66 else if (elf->class == ELFCLASS32
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/internal/objfile/
elf.go 5 // Parsing of ELF executables (Linux, FreeBSD, and so on).
11 "debug/elf"
18 elf *elf.File
22 f, err := elf.NewFile(r)
30 elfSyms, err := f.elf.Symbols()
39 case elf.SHN_UNDEF:
41 case elf.SHN_COMMON:
45 if i < 0 || i >= len(f.elf.Sections) {
48 sect := f.elf.Sections[i
    [all...]
  /prebuilts/go/linux-x86/src/cmd/internal/objfile/
elf.go 5 // Parsing of ELF executables (Linux, FreeBSD, and so on).
11 "debug/elf"
18 elf *elf.File
22 f, err := elf.NewFile(r)
30 elfSyms, err := f.elf.Symbols()
39 case elf.SHN_UNDEF:
41 case elf.SHN_COMMON:
45 if i < 0 || i >= len(f.elf.Sections) {
48 sect := f.elf.Sections[i
    [all...]
  /external/elfutils/libdwfl/
dwfl_module_getelf.c 31 Elf *
42 /* Before letting them get at the Elf handle,
48 (void) __libdwfl_relocate (mod, mod->main.elf, false);
50 if (mod->debug.elf == mod->main.elf)
52 else if (mod->debug.elf != NULL && ! mod->debug.relocated)
55 (void) __libdwfl_relocate (mod, mod->debug.elf, false);
61 return mod->main.elf;
  /external/elfutils/tests/
newscn.c 32 Elf *elf; local
51 elf = elf_begin (fd, ELF_C_WRITE, NULL);
52 if (elf == NULL)
58 section = elf_newscn (elf);
59 section = elf_nextscn (elf, section);
62 elf_end (elf);
early-offscn.c 34 /* Set the ELF version. */
42 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); local
43 if (elf == NULL)
46 Elf_Scn *scn = gelf_offscn (elf, strtoull (argv[2], NULL, 0));
50 elf_end (elf);
rdwrmmap.c 38 Elf *elf = elf_begin (fd, ELF_C_RDWR_MMAP, NULL); local
39 if (elf == NULL)
42 if (elf_update (elf, ELF_C_WRITE) < 0)
45 elf_end (elf);
system-elf-libelf-test.c 1 /* Explicit test compiling with system elf.h header plus libelf header.
19 #include <elf.h>
  /system/core/libunwindstack/tests/
MapInfoGetElfTest.cpp 17 #include <elf.h>
35 #include <unwindstack/Elf.h>
74 // The map is empty, but this should still create an invalid elf object.
75 Elf* elf = info.GetElf(process_memory_, false); local
76 ASSERT_TRUE(elf != nullptr);
77 ASSERT_FALSE(elf->valid());
87 Elf* elf = info.GetElf(process_memory_, false); local
88 ASSERT_TRUE(elf != nullptr)
101 Elf* elf = info.GetElf(process_memory_, false); local
116 Elf* elf = info.GetElf(process_memory_, false); local
132 Elf* elf = info.GetElf(process_memory_, false); local
148 Elf* elf = info.GetElf(process_memory_, true); local
164 Elf* elf = info.GetElf(process_memory_, true); local
179 Elf* elf = info.GetElf(process_memory_, false); local
209 Elf* elf = info.GetElf(process_memory_, false); local
238 Elf* elf = info.GetElf(process_memory_, false); local
271 Elf* elf = info.GetElf(process_memory_, false); local
299 Elf* elf = info.GetElf(process_memory_, false); local
325 Elf* elf = info.GetElf(process_memory_, false); local
347 Elf* elf = info.GetElf(process_memory_, false); local
401 Elf* elf = info.elf.get(); local
    [all...]
  /toolchain/binutils/binutils-2.27/ld/emulparams/
elf32_tic6x_le.sh 1 SCRIPT_NAME=elf
11 *-elf)
53 *-elf)
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-mips-elf/
comm-data.exp 49 { ../ld-elf/comm-data1.s } \
51 { readelf -s ../ld-elf/comm-data1.sd } \
68 "$LDFLAGS $ZFLAG -T ../ld-elf/comm-data2.ld -Ltmpdir -lmips-$abi-$reloc-comm-data" "" \
70 { ../ld-elf/comm-data2.s } \
72 { readelf -s ../ld-elf/comm-data2.sd } \
73 { readelf -r ../ld-elf/comm-data2.rd } \
74 { readelf "-x .debug_foo" ../ld-elf/comm-data2.xd } \
  /bionic/libc/private/
bionic_auxv.h 31 #include <elf.h>
  /external/elfutils/libdw/
dwarf_getelf.c 1 /* Retrieve ELF descriptor used for DWARF access.
39 Elf *
46 return dwarf->elf;
  /toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/
common-1c.d 2 #as: --elf-stt-common=yes
4 #objcopy: --elf-stt-common=no
common-1d.d 2 #as: --elf-stt-common=yes
4 #objcopy: --elf-stt-common=yes
common-1e.d 2 #as: --elf-stt-common=no
4 #objcopy: --elf-stt-common=yes
common-1f.d 2 #as: --elf-stt-common=no
4 #objcopy: --elf-stt-common=no
common-2c.d 2 #as: --elf-stt-common=yes
4 #objcopy: --elf-stt-common=yes
common-2d.d 2 #as: --elf-stt-common=yes
4 #objcopy: --elf-stt-common=no
common-2e.d 2 #as: --elf-stt-common=no
4 #objcopy: --elf-stt-common=yes
common-2f.d 2 #as: --elf-stt-common=no
4 #objcopy: --elf-stt-common=no

Completed in 885 milliseconds

1 23 4 5 6 7 8 91011>>