summaryrefslogtreecommitdiffstats
path: root/tests/run-readelf-mixed-corenote.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-readelf-mixed-corenote.sh')
-rwxr-xr-xtests/run-readelf-mixed-corenote.sh201
1 files changed, 0 insertions, 201 deletions
diff --git a/tests/run-readelf-mixed-corenote.sh b/tests/run-readelf-mixed-corenote.sh
index 07cfc39c..382ea143 100755
--- a/tests/run-readelf-mixed-corenote.sh
+++ b/tests/run-readelf-mixed-corenote.sh
@@ -18,73 +18,6 @@
. $srcdir/test-subr.sh
-testfiles testfile63
-
-testrun_compare ${abs_top_builddir}/src/readelf -n testfile63 <<\EOF
-
-Note segment of 892 bytes at offset 0x274:
- Owner Data size Type
- CORE 148 PRSTATUS
- info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
- sigpend: <>
- sighold: <>
- pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063
- utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
- orig_r0: -1, fpvalid: 1
- r0: 1 r1: -1091672508 r2: -1091672500
- r3: 0 r4: 0 r5: 0
- r6: 33728 r7: 0 r8: 0
- r9: 0 r10: -1225703496 r11: -1091672844
- r12: 0 sp: 0xbeee64f4 lr: 0xb6dc3f48
- pc: 0x00008500 spsr: 0x60000010
- CORE 124 PRPSINFO
- state: 0, sname: R, zomb: 0, nice: 0, flag: 0x00400500
- uid: 0, gid: 0, pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063
- fname: a.out, psargs: ./a.out
- CORE 144 AUXV
- HWCAP: 0xe8d7 <swp half thumb fast-mult vfp edsp>
- PAGESZ: 4096
- CLKTCK: 100
- PHDR: 0x8034
- PHENT: 32
- PHNUM: 8
- BASE: 0xb6eee000
- FLAGS: 0
- ENTRY: 0x83c0
- UID: 0
- EUID: 0
- GID: 0
- EGID: 0
- SECURE: 0
- RANDOM: 0xbeee674e
- EXECFN: 0xbeee6ff4
- PLATFORM: 0xbeee675e
- NULL
- CORE 116 FPREGSET
- f0: 0x000000000000000000000000 f1: 0x000000000000000000000000
- f2: 0x000000000000000000000000 f3: 0x000000000000000000000000
- f4: 0x000000000000000000000000 f5: 0x000000000000000000000000
- f6: 0x000000000000000000000000 f7: 0x000000000000000000000000
- LINUX 260 ARM_VFP
- fpscr: 0x00000000
- d0: 0x0000000000000000 d1: 0x0000000000000000
- d2: 0x0000000000000000 d3: 0x0000000000000000
- d4: 0x0000000000000000 d5: 0x0000000000000000
- d6: 0x0000000000000000 d7: 0x0000000000000000
- d8: 0x0000000000000000 d9: 0x0000000000000000
- d10: 0x0000000000000000 d11: 0x0000000000000000
- d12: 0x0000000000000000 d13: 0x0000000000000000
- d14: 0x0000000000000000 d15: 0x0000000000000000
- d16: 0x0000000000000000 d17: 0x0000000000000000
- d18: 0x0000000000000000 d19: 0x0000000000000000
- d20: 0x0000000000000000 d21: 0x0000000000000000
- d22: 0x0000000000000000 d23: 0x0000000000000000
- d24: 0x0000000000000000 d25: 0x0000000000000000
- d26: 0x0000000000000000 d27: 0x0000000000000000
- d28: 0x0000000000000000 d29: 0x0000000000000000
- d30: 0x0000000000000000 d31: 0x0000000000000000
-EOF
-
testfiles testfile67
testrun_compare ${abs_top_builddir}/src/readelf -n testfile67 <<\EOF
@@ -582,138 +515,4 @@ Note segment of 2548 bytes at offset 0x234:
LINUX 832 X86_XSTATE
EOF
-# To reproduce this core dump, do this on an m68k machine:
-# $ gcc -x c <(echo 'int main () { return *(int *)0x12345678; }')
-# $ ./a.out
-testfiles testfile-m68k-core
-testrun_compare ${abs_top_builddir}/src/readelf -n testfile-m68k-core <<\EOF
-
-Note segment of 1056 bytes at offset 0x1f4:
- Owner Data size Type
- CORE 154 PRSTATUS
- info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
- sigpend: <>
- sighold: <>
- pid: 1963, ppid: 1084, pgrp: 1963, sid: 1084
- utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
- fpvalid: 1
- d1: 1 d2: 0 d3: -2146476616 d4: -2146476616
- d5: 0 d6: -2147393212 d7: -2144827216 a0: 0x12345678
- a1: 0xefe71460 a2: 0x00000000 a3: 0x80288df8 a4: 0x80000340
- a5: 0xc017a000 a6: 0xefe71434 d0: -1073595312 a7: 0xefe71434
- pc: 0x800003fe
- CORE 124 PRPSINFO
- state: 0, sname: R, zomb: 0, nice: 0, flag: 0x00400600
- uid: 1000, gid: 501, pid: 1963, ppid: 1084, pgrp: 1963, sid: 1084
- fname: a.out, psargs: ./a.out
- CORE 128 SIGINFO
- si_signo: 11, si_errno: 0, si_code: 1
- fault address: 0x12345678
- CORE 136 AUXV
- HWCAP: 0
- PAGESZ: 4096
- CLKTCK: 100
- PHDR: 0x80000034
- PHENT: 32
- PHNUM: 9
- BASE: 0xc0000000
- FLAGS: 0
- ENTRY: 0x80000340
- UID: 1000
- EUID: 1000
- GID: 501
- EGID: 501
- SECURE: 0
- RANDOM: 0xefe716d9
- EXECFN: 0xefe71ff4
- NULL
- CORE 281 FILE
- 10 files:
- 80000000-80001000 00000000 4096 /tmp/a.out
- 80003000-80004000 00001000 4096 /tmp/a.out
- 80004000-80005000 00002000 4096 /tmp/a.out
- c0000000-c001c000 00000000 114688 /lib/ld-2.23.so
- c001f000-c0020000 0001d000 4096 /lib/ld-2.23.so
- c0020000-c0021000 0001e000 4096 /lib/ld-2.23.so
- c0032000-c0177000 00000000 1331200 /lib/libc-2.23.so
- c0177000-c0178000 00145000 4096 /lib/libc-2.23.so
- c0178000-c017a000 00144000 8192 /lib/libc-2.23.so
- c017a000-c017e000 00146000 16384 /lib/libc-2.23.so
- CORE 108 FPREGSET
- fp0: 0x7fff0000ffffffffffffffff fp1: 0x7fff0000ffffffffffffffff
- fp2: 0x7fff0000ffffffffffffffff fp3: 0x7fff0000ffffffffffffffff
- fp4: 0x7fff0000ffffffffffffffff fp5: 0x7fff0000ffffffffffffffff
- fp6: 0x7fff0000ffffffffffffffff fp7: 0x7fff0000ffffffffffffffff
-EOF
-
-# To reproduce this core dump, do this on a riscv64 machine:
-# $ gcc -x c <(echo 'int main () { return *(int *)0x12345678; }')
-# $ ./a.out
-testfiles testfile-riscv64-core
-testrun_compare ${abs_top_builddir}/src/readelf -n testfile-riscv64-core <<\EOF
-
-Note segment of 1408 bytes at offset 0x388:
- Owner Data size Type
- CORE 376 PRSTATUS
- info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
- sigpend: <>
- sighold: <>
- pid: 6801, ppid: 1155, pgrp: 6801, sid: 1155
- utime: 0.000000, stime: 0.110000, cutime: 0.000000, cstime: 0.000000
- fpvalid: 0
- ra: 0x9a00000000000104 sp: 0x400000002000051c
- gp: 0x280000003fff9812 tp: 0xd000000000000128
- t0: 5764607523571106577 t1: -432345563690696255
- t2: -5764607522497362661 s0: 5764607523034235171
- s1: -6629298650415654894 a0: 72057594037928196
- a1: -6341068275337658368 a2: -5188146769657096173
- a3: 1073715219 a4: 8646911284551352320
- a5: 8646911285625067538 a6: 1729382256911463510
- a7: 536876397 s2: -1152921504606846976
- s3: 1152921505322686797 s4: 536871337
- s5: -3458764513820540928 s6: -9223372036138925403
- s7: 715843991 s8: -2594073385365405696
- s9: 4611686019143218592 s10: 715850259
- s11: 715850393 t3: -432345564227567616
- t4: 144115188075856379 t5: 216172782113783808
- t6: 1152921504606846976
- CORE 136 PRPSINFO
- state: 0, sname: R, zomb: 0, nice: 0, flag: 0x0000000000400600
- uid: 0, gid: 0, pid: 6801, ppid: 1155, pgrp: 6801, sid: 1155
- fname: a.out, psargs: /tmp/a.out
- CORE 128 SIGINFO
- si_signo: 11, si_errno: 0, si_code: 1
- fault address: 0x12345678
- CORE 288 AUXV
- SYSINFO_EHDR: 0x200001d000
- HWCAP: 0x1105
- PAGESZ: 4096
- CLKTCK: 100
- PHDR: 0x10040
- PHENT: 56
- PHNUM: 9
- BASE: 0x2000000000
- FLAGS: 0
- ENTRY: 0x103e0
- UID: 0
- EUID: 0
- GID: 0
- EGID: 0
- SECURE: 0
- RANDOM: 0x3fff9816d6
- EXECFN: 0x3fff981fed
- NULL
- CORE 379 FILE
- 9 files:
- 00010000-00011000 00000000 4096 /tmp/a.out
- 00011000-00012000 00000000 4096 /tmp/a.out
- 00012000-00013000 00001000 4096 /tmp/a.out
- 2000000000-200001a000 00000000 106496 /lib64/ld-2.27.so
- 200001a000-200001b000 00019000 4096 /lib64/ld-2.27.so
- 200001b000-200001c000 0001a000 4096 /lib64/ld-2.27.so
- 2000032000-2000151000 00000000 1175552 /lib64/libc-2.27.so
- 2000151000-2000155000 0011e000 16384 /lib64/libc-2.27.so
- 2000155000-2000157000 00122000 8192 /lib64/libc-2.27.so
-EOF
-
exit 0