Home
last modified time | relevance | path

Searched refs:readelf (Results 1 – 25 of 594) sorted by relevance

12345678910>>...24

/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dstring-dump.test23 # Run readelf flag tests with an additional flag, --file-header, so we can test
25 # RUN: llvm-readelf --file-header --string-dump=.strings \
26 # RUN: --string-dump=.not_null_terminated %t > %t.readelf.out
27 # RUN: FileCheck %s --input-file=%t.readelf.out
29 # RUN: llvm-readelf -h -p=.strings -p=.not_null_terminated %t > %t.readelf.1
30 # RUN: llvm-readelf -p.strings -hp.not_null_terminated %t > %t.readelf.2
31 # RUN: llvm-readelf -h --string-dump=1 --string-dump=2 %t > %t.readelf.3
32 # RUN: llvm-readelf -hp1 -p2 %t > %t.readelf.4
33 # RUN: llvm-readelf -hp 1 -p.not_null_terminated %t > %t.readelf.5
34 # RUN: llvm-readelf -p=1 -hp=2 %t > %t.readelf.6
[all …]
Dfile-header-machine-types.test4 # RUN: llvm-readelf --file-headers %t.none.o | FileCheck %s -DMACHINE="None"
7 # RUN: llvm-readelf --file-headers %t.m32.o | FileCheck %s -DMACHINE="WE32100"
10 # RUN: llvm-readelf --file-headers %t.sparc.o | FileCheck %s -DMACHINE="Sparc"
13 # RUN: llvm-readelf --file-headers %t.386.o | FileCheck %s -DMACHINE="Intel 80386"
16 # RUN: llvm-readelf --file-headers %t.68k.o | FileCheck %s -DMACHINE="MC68000"
19 # RUN: llvm-readelf --file-headers %t.88k.o | FileCheck %s -DMACHINE="MC88000"
22 # RUN: llvm-readelf --file-headers %t.iamcu.o | FileCheck %s -DMACHINE="EM_IAMCU"
25 # RUN: llvm-readelf --file-headers %t.860.o | FileCheck %s -DMACHINE="Intel 80860"
28 # RUN: llvm-readelf --file-headers %t.mips.o | FileCheck %s -DMACHINE="MIPS R3000"
31 # RUN: llvm-readelf --file-headers %t.s370.o | FileCheck %s -DMACHINE="IBM System/370"
[all …]
Dhex-dump.test4 # RUN: llvm-readelf --file-header --hex-dump=.shstrtab %t > %t.hexdump.out
5 # RUN: llvm-readelf -h --hex-dump .shstrtab %t > %t.hexdump.1
6 # RUN: llvm-readelf -h -x .shstrtab %t > %t.hexdump.2
7 # RUN: llvm-readelf -h -x=.shstrtab %t > %t.hexdump.3
8 # RUN: llvm-readelf -h -x.shstrtab %t > %t.hexdump.4
9 # RUN: llvm-readelf -hx .shstrtab %t > %t.hexdump.5
10 # RUN: llvm-readelf -hx=.shstrtab %t > %t.hexdump.6
11 # RUN: llvm-readelf -hx.shstrtab %t > %t.hexdump.7
22 # RUN: llvm-readelf -S %t | FileCheck %s --check-prefix=ELF-SEC
40 # RUN: llvm-readelf -x 10 %t 2>&1 | FileCheck --check-prefix=WARN %s -DTOOL=readelf
[all …]
Dnote-core.test5 # RUN: llvm-readelf --notes %t1.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_PRSTATUS (prs…
10 # RUN: llvm-readelf --notes %t2.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_FPREGSET (flo…
15 # RUN: llvm-readelf --notes %t3.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_PRPSINFO (prp…
20 # RUN: llvm-readelf --notes %t4.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_TASKSTRUCT (t…
25 # RUN: llvm-readelf --notes %t5.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_AUXV (auxilia…
30 # RUN: llvm-readelf --notes %t6.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_PSTATUS (psta…
35 # RUN: llvm-readelf --notes %t7.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_FPREGS (float…
40 # RUN: llvm-readelf --notes %t8.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_PSINFO (psinf…
45 # RUN: llvm-readelf --notes %t9.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_LWPSTATUS (lw…
50 # RUN: llvm-readelf --notes %t10.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_LWPSINFO (lw…
[all …]
Dmips-abiflags.test5 # RUN: llvm-readelf -A %t.le32 | \
8 # RUN: llvm-readelf -A %t.be32 | \
11 # RUN: llvm-readelf -A %t.le64 | \
14 # RUN: llvm-readelf -A %t.be64 | \
77 # RUN: llvm-readelf -A %t.version.a | \
88 # RUN: llvm-readelf -A %t.version.b | \
101 # RUN: llvm-readelf -A %t.isa1 | FileCheck %s --check-prefix=CHECK-ISA -DVAL=MIPS1
107 # RUN: llvm-readelf -A %t.isa2 | FileCheck %s --check-prefix=CHECK-ISA -DVAL=MIPS2
111 # RUN: llvm-readelf -A %t.isa3 | FileCheck %s --check-prefix=CHECK-ISA -DVAL=MIPS3
115 # RUN: llvm-readelf -A %t.isa4 | FileCheck %s --check-prefix=CHECK-ISA -DVAL=MIPS4
[all …]
Dfile-header-os-abi.test6 # RUN: llvm-readelf --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
22 # RUN: llvm-readelf --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
30 # RUN: llvm-readelf --file-headers %t.osabi.netbsd | FileCheck %s --match-full-lines --check-prefix…
38 # RUN: llvm-readelf --file-headers %t.osabi.linux | FileCheck %s --match-full-lines --check-prefix=…
46 # RUN: llvm-readelf --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O…
54 # RUN: llvm-readelf --file-headers %t.osabi.solaris | FileCheck %s --match-full-lines --check-prefi…
62 # RUN: llvm-readelf --file-headers %t.osabi.aix | FileCheck %s --match-full-lines --check-prefix=OS…
70 # RUN: llvm-readelf --file-headers %t.osabi.irix | FileCheck %s --match-full-lines --check-prefix=O…
78 # RUN: llvm-readelf --file-headers %t.osabi.freebsd | FileCheck %s --match-full-lines --check-prefi…
86 # RUN: llvm-readelf --file-headers %t.osabi.tru64 | FileCheck %s --match-full-lines --check-prefix=…
[all …]
/external/elfutils/tests/
Drun-strip-g.sh25 tempfiles a.out strip.out debug.out readelf.out
35 testrun ${abs_top_builddir}/src/readelf -S strip.out > readelf.out
36 grep SYMTAB readelf.out || status=$?
44 testrun ${abs_top_builddir}/src/readelf -S debug.out > readelf.out
45 grep SYMTAB readelf.out || status=$?
60 testrun ${abs_top_builddir}/src/readelf -S strip.out > readelf.out
61 grep SYMTAB readelf.out || status=$?
69 testrun ${abs_top_builddir}/src/readelf -S debug.out > readelf.out
70 grep SYMTAB readelf.out || status=$?
85 testrun ${abs_top_builddir}/src/readelf -S strip.out > readelf.out
[all …]
Drun-readelf-compressed-zstd.sh28 tempfiles hello_i386.ko.zst readelf.out.1 readelf.out.2
30 testrun ${abs_top_builddir}/src/readelf -a hello_i386.ko > readelf.out.1
32 testrun ${abs_top_builddir}/src/readelf -a hello_i386.ko.zst > readelf.out.2
34 diff -u readelf.out.1 readelf.out.2
Drun-readelf-compressed.sh28 tempfiles hello_i386.ko.bz2 readelf.out.1 readelf.out.2
30 testrun ${abs_top_builddir}/src/readelf -a hello_i386.ko > readelf.out.1
32 testrun ${abs_top_builddir}/src/readelf -a hello_i386.ko.bz2 > readelf.out.2
34 diff -u readelf.out.1 readelf.out.2
Drun-copyadd-sections.sh27 tempfiles ${out_file} ${out_file_mmap} readelf.out
35 testrun ${abs_top_builddir}/src/readelf -S ${out_file} > readelf.out
36 nr=$(grep '.extra' readelf.out | wc -l)
39 testrun ${abs_top_builddir}/src/readelf -S ${out_file}
51 testrun ${abs_top_builddir}/src/readelf -S ${out_file_mmap} > readelf.out
52 nr=$(grep '.extra' readelf.out | wc -l)
55 testrun ${abs_top_builddir}/src/readelf -S ${out_file_mmap}
Drun-strip-reloc.sh23 tempfiles readelf.out readelf.out1 readelf.out2
47 testrun ${abs_top_builddir}/src/readelf -a $outfile1 > readelf.out ||
50 testrun_compare ${abs_top_builddir}/src/readelf -a $outfile2 < readelf.out ||
62 testrun ${abs_top_builddir}/src/readelf -w $debugfile1 \
63 | grep -v ^DWARF\ section > readelf.out1 ||
66 testrun ${abs_top_builddir}/src/readelf -w $debugfile2 \
67 | grep -v ^DWARF\ section > readelf.out2 ||
70 testrun_compare cat readelf.out1 < readelf.out2 ||
Drun-macro-test.sh34 tempfiles readelf.macros.out
38 testrun ${abs_top_builddir}/src/readelf --debug-dump=info testfile-macinfo \
39 | grep macro_info > readelf.macros.out ||
41 testrun_compare cat readelf.macros.out <<\EOF
45 testrun ${abs_top_builddir}/src/readelf --debug-dump=info testfile-macros \
46 | grep GNU_macros > readelf.macros.out ||
48 testrun_compare cat readelf.macros.out <<\EOF
DMakefile.am118 run-nm-self.sh run-readelf-self.sh run-readelf-info-plus.sh \
119 run-readelf-compressed.sh \
120 run-readelf-const-values.sh \
122 run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \
123 run-readelf-test4.sh run-readelf-twofiles.sh \
124 run-readelf-macro.sh run-readelf-loc.sh run-readelf-ranges.sh \
125 run-readelf-aranges.sh run-readelf-line.sh run-readelf-z.sh \
126 run-readelf-frames.sh \
127 run-readelf-n.sh \
138 run-readelf-d.sh run-readelf-gdb_index.sh run-unstrip-n.sh \
[all …]
Drun-readelf-zdebug.sh43 tempfiles readelf.out
62 cat loc.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=loc testfile-debug
64 …zdebug_loc' at offset 0x1a27/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=l…
81 cat aranges.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=aranges testfile-…
83 …ug_aranges' at offset 0x1a5f/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=a…
93 cat ranges.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=ranges testfile-de…
95 …bug_ranges' at offset 0x1a87/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=r…
354 cat macro.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=macro testfile-debug
356 …ebug_macro' at offset 0x1aa7/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=m…
410 cat line.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=line testfile-debug
[all …]
Drun-readelf-zdebug-rel.sh45 tempfiles readelf.out
121 cat info.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=info testfile-debug-…
123 …'.debug_info'/'.zdebug_info'/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=i…
125 cat info.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=info testfile-debug-…
143 cat loc.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=loc testfile-debug-re…
145 ….zdebug_loc' at offset 0x138/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=l…
147 …offset 0x185/at offset 0x150/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=l…
225 cat info.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=info testfile-debug-…
227 …'.debug_info'/'.zdebug_info'/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=i…
229 cat info.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=info testfile-debug-…
[all …]
Drun-copymany-sections.sh31 tempfiles ${out_file} ${out_file_mmap} readelf.out
39 testrun ${abs_top_builddir}/src/readelf -S ${out_file} > readelf.out
40 nr=$(grep '.extra' readelf.out | wc -l)
44 testrun ${abs_top_builddir}/src/readelf -S ${out_file}
/external/llvm-project/llvm/test/CodeGen/Mips/
Dcpus.ll4 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=GENERIC
8 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS2
11 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS3
14 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS4
18 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32
21 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32R2
24 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32R3
27 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32R5
30 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32R6
34 ; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS64
[all …]
/external/elfutils/po/
Dja.po53 #: lib/xmalloc.c:48 lib/xmalloc.c:61 lib/xmalloc.c:73 src/readelf.c:3453
54 #: src/readelf.c:11501 src/unstrip.c:312 src/unstrip.c:2398 src/unstrip.c:2603
631 #: libelf/elf_error.c:87 src/readelf.c:6209
718 #: libelf/elf_error.c:191 src/readelf.c:10012 src/readelf.c:10612
719 #: src/readelf.c:10713 src/readelf.c:10895
1475 #: src/elfcompress.c:1336 src/elflint.c:77 src/readelf.c:158
1507 #: src/elflint.c:154 src/readelf.c:368
1526 #: src/elflint.c:219 src/readelf.c:577
3575 #: src/nm.c:746 src/nm.c:1239 src/objdump.c:782 src/readelf.c:637
3576 #: src/readelf.c:1451 src/readelf.c:1602 src/readelf.c:1803 src/readelf.c:2009
[all …]
Dde.po57 #: lib/xmalloc.c:48 lib/xmalloc.c:61 lib/xmalloc.c:73 src/readelf.c:3453
58 #: src/readelf.c:11501 src/unstrip.c:312 src/unstrip.c:2398 src/unstrip.c:2603
634 #: libelf/elf_error.c:87 src/readelf.c:6209
722 #: libelf/elf_error.c:191 src/readelf.c:10012 src/readelf.c:10612
723 #: src/readelf.c:10713 src/readelf.c:10895
1475 #: src/elfcompress.c:1336 src/elflint.c:77 src/readelf.c:158
1506 #: src/elflint.c:154 src/readelf.c:368
1525 #: src/elflint.c:219 src/readelf.c:577
3496 #: src/nm.c:746 src/nm.c:1239 src/objdump.c:782 src/readelf.c:637
3497 #: src/readelf.c:1451 src/readelf.c:1602 src/readelf.c:1803 src/readelf.c:2009
[all …]
Duk.po61 #: lib/xmalloc.c:48 lib/xmalloc.c:61 lib/xmalloc.c:73 src/readelf.c:3453
62 #: src/readelf.c:11501 src/unstrip.c:312 src/unstrip.c:2398 src/unstrip.c:2603
619 #: libelf/elf_error.c:87 src/readelf.c:6209
704 #: libelf/elf_error.c:191 src/readelf.c:10012 src/readelf.c:10612
705 #: src/readelf.c:10713 src/readelf.c:10895
1469 #: src/elfcompress.c:1336 src/elflint.c:77 src/readelf.c:158
1503 #: src/elflint.c:154 src/readelf.c:368
1522 #: src/elflint.c:219 src/readelf.c:577
3764 #: src/nm.c:746 src/nm.c:1239 src/objdump.c:782 src/readelf.c:637
3765 #: src/readelf.c:1451 src/readelf.c:1602 src/readelf.c:1803 src/readelf.c:2009
[all …]
Dpl.po62 #: lib/xmalloc.c:48 lib/xmalloc.c:61 lib/xmalloc.c:73 src/readelf.c:3453
63 #: src/readelf.c:11501 src/unstrip.c:312 src/unstrip.c:2398 src/unstrip.c:2603
628 #: libelf/elf_error.c:87 src/readelf.c:6209
714 #: libelf/elf_error.c:191 src/readelf.c:10012 src/readelf.c:10612
715 #: src/readelf.c:10713 src/readelf.c:10895
1472 #: src/elfcompress.c:1336 src/elflint.c:77 src/readelf.c:158
1506 #: src/elflint.c:154 src/readelf.c:368
1525 #: src/elflint.c:219 src/readelf.c:577
3715 #: src/nm.c:746 src/nm.c:1239 src/objdump.c:782 src/readelf.c:637
3716 #: src/readelf.c:1451 src/readelf.c:1602 src/readelf.c:1803 src/readelf.c:2009
[all …]
Des.po60 #: lib/xmalloc.c:48 lib/xmalloc.c:61 lib/xmalloc.c:73 src/readelf.c:3453
61 #: src/readelf.c:11501 src/unstrip.c:312 src/unstrip.c:2398 src/unstrip.c:2603
633 #: libelf/elf_error.c:87 src/readelf.c:6209
719 #: libelf/elf_error.c:191 src/readelf.c:10012 src/readelf.c:10612
720 #: src/readelf.c:10713 src/readelf.c:10895
1485 #: src/elfcompress.c:1336 src/elflint.c:77 src/readelf.c:158
1518 #: src/elflint.c:154 src/readelf.c:368
1537 #: src/elflint.c:219 src/readelf.c:577
3799 #: src/nm.c:746 src/nm.c:1239 src/objdump.c:782 src/readelf.c:637
3800 #: src/readelf.c:1451 src/readelf.c:1602 src/readelf.c:1803 src/readelf.c:2009
[all …]
/external/elfutils/src/
DChangeLog10 * readelf.c (print_debug_line_section): Remove unnecessary
15 * readelf.c (print_cfa_program): Lift regname function to...
21 * readelf.c (print_attributes): Lift left function to...
27 * readelf.c (handle_core_registers): Lift same_set function to...
33 * readelf.c (parse_opt): Lift add_dump_section function to...
94 * readelf.c (qsort_r): Use qsort for improved portability.
103 * readelf.c (print_shdr): Likewise.
122 * readelf.c (print_phdr, handle_gnu_hash,
128 * readelf.c (print_debug_addr_section): Fix spelling typo in error
152 * readelf.c (next_listptr_offset): Take idx as pointer, to be updated
[all …]
/external/llvm-project/lld/test/ELF/
Dweak-undef-shared.s12 # RUN: llvm-readelf --dyn-syms %t | FileCheck --check-prefix=WEAK %s
14 # RUN: llvm-readelf --dyn-syms %t | FileCheck --check-prefix=WEAK %s
18 # RUN: llvm-readelf --dyn-syms %t | FileCheck --check-prefix=WEAK %s
20 # RUN: llvm-readelf --dyn-syms %t | FileCheck --check-prefix=WEAK %s
24 # RUN: llvm-readelf --dyn-syms %t | FileCheck --check-prefix=GLOBAL %s
26 # RUN: llvm-readelf --dyn-syms %t | FileCheck --check-prefix=GLOBAL %s
31 # RUN: llvm-readelf --dyn-syms %t | FileCheck --check-prefix=WEAK %s
34 # RUN: llvm-readelf --dyn-syms %t | FileCheck --check-prefix=WEAK %s
/external/llvm-project/llvm/test/MC/ARM/
Dmappingsymbols.s3 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s
7 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s
11 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s
15 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s -check-prefix=MAPPINGSYMBOLS
19 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s -check-prefix=MAPPINGSYMBOLS
23 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s -check-prefix=MAPPINGSYMBOLS
27 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s -check-prefix=MAPPINGSYMBOLS
32 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s -check-prefix=MIX
37 @ RUN: llvm-readelf -symbols %t.o | FileCheck %s

12345678910>>...24