File: dump-all.test

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (126 lines) | stat: -rw-r--r-- 6,703 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# RUN: yaml2obj %s -o %t
# RUN: %lldb -c %t -o 'process plugin dump --all' | \
# RUN: FileCheck --check-prefix=CHECKDIR --check-prefix=CHECKCPU \
# RUN: --check-prefix=CHECKSTATUS --check-prefix=CHECKLSB \
# RUN: --check-prefix=CHECKCMD --check-prefix=CHECKENV \
# RUN: --check-prefix=CHECKAUX --check-prefix=CHECKMAP \
# RUN: --check-prefix=CHECKSTAT --check-prefix=CHECKUP --check-prefix=CHECKFD %s
# RUN: %lldb -c %t -o 'process plugin dump -a' | \
# RUN: FileCheck --check-prefix=CHECKDIR --check-prefix=CHECKCPU \
# RUN: --check-prefix=CHECKSTATUS --check-prefix=CHECKLSB \
# RUN: --check-prefix=CHECKCMD --check-prefix=CHECKENV \
# RUN: --check-prefix=CHECKAUX --check-prefix=CHECKMAP \
# RUN: --check-prefix=CHECKSTAT --check-prefix=CHECKUP --check-prefix=CHECKFD %s
# RUN: %lldb -c %t -o 'process plugin dump --directory' | FileCheck --check-prefix=CHECKDIR %s
# RUN: %lldb -c %t -o 'process plugin dump -d' | FileCheck --check-prefix=CHECKDIR %s
# RUN: %lldb -c %t -o 'process plugin dump --linux' | \
# RUN: FileCheck --check-prefix=CHECKCPU --check-prefix=CHECKSTATUS \
# RUN: --check-prefix=CHECKLSB --check-prefix=CHECKCMD --check-prefix=CHECKENV \
# RUN: --check-prefix=CHECKAUX --check-prefix=CHECKMAP --check-prefix=CHECKSTAT \
# RUN: --check-prefix=CHECKUP --check-prefix=CHECKFD %s
# RUN: %lldb -c %t -o 'process plugin dump --cpuinfo'     | FileCheck --check-prefix=CHECKCPU %s
# RUN: %lldb -c %t -o 'process plugin dump -C'            | FileCheck --check-prefix=CHECKCPU %s
# RUN: %lldb -c %t -o 'process plugin dump --status'      | FileCheck --check-prefix=CHECKSTATUS %s
# RUN: %lldb -c %t -o 'process plugin dump -s'            | FileCheck --check-prefix=CHECKSTATUS %s
# RUN: %lldb -c %t -o 'process plugin dump --lsb-release' | FileCheck --check-prefix=CHECKLSB %s
# RUN: %lldb -c %t -o 'process plugin dump -r'            | FileCheck --check-prefix=CHECKLSB %s
# RUN: %lldb -c %t -o 'process plugin dump --cmdline'     | FileCheck --check-prefix=CHECKCMD %s
# RUN: %lldb -c %t -o 'process plugin dump -c'            | FileCheck --check-prefix=CHECKCMD %s
# RUN: %lldb -c %t -o 'process plugin dump --environ'     | FileCheck --check-prefix=CHECKENV %s
# RUN: %lldb -c %t -o 'process plugin dump -e'            | FileCheck --check-prefix=CHECKENV %s
# RUN: %lldb -c %t -o 'process plugin dump --auxv'        | FileCheck --check-prefix=CHECKAUX %s
# RUN: %lldb -c %t -o 'process plugin dump -x'            | FileCheck --check-prefix=CHECKAUX %s
# RUN: %lldb -c %t -o 'process plugin dump --maps'        | FileCheck --check-prefix=CHECKMAP %s
# RUN: %lldb -c %t -o 'process plugin dump -m'            | FileCheck --check-prefix=CHECKMAP %s
# RUN: %lldb -c %t -o 'process plugin dump --stat'        | FileCheck --check-prefix=CHECKSTAT %s
# RUN: %lldb -c %t -o 'process plugin dump -S'            | FileCheck --check-prefix=CHECKSTAT %s
# RUN: %lldb -c %t -o 'process plugin dump --uptime'      | FileCheck --check-prefix=CHECKUP %s
# RUN: %lldb -c %t -o 'process plugin dump -u'            | FileCheck --check-prefix=CHECKUP %s
# RUN: %lldb -c %t -o 'process plugin dump --fd'          | FileCheck --check-prefix=CHECKFD %s
# RUN: %lldb -c %t -o 'process plugin dump -f'            | FileCheck --check-prefix=CHECKFD %s

# CHECKDIR:      RVA        SIZE       TYPE       StreamType
# CHECKDIR-NEXT: ---------- ---------- ---------- --------------------------
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000038 0x00000007 SystemInfo
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000018 0x0000000f MiscInfo
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000010 0x47670003 LinuxCPUInfo
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x0000001a 0x47670004 LinuxProcStatus
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000018 0x47670005 LinuxLSBRelease
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x0000001b 0x47670006 LinuxCMDLine
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x0000001b 0x47670007 LinuxEnviron
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000018 0x47670008 LinuxAuxv
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x000000bb 0x47670009 LinuxMaps
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000018 0x4767000b LinuxProcStat
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x0000000e 0x4767000c LinuxProcUptime
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000016 0x4767000d LinuxProcFD

--- !minidump
Streams:         
  - Type:            SystemInfo
    Processor Arch:  BP_ARM64
    Platform ID:     Linux
    CSD Version:     '15E216'
    CPU:             
      CPUID:           0x00000000
  - Type:            MiscInfo
    Content:         00000000010000007B000000000000000000000000000000
  - Type:            LinuxCPUInfo
    Text:             |
      cpu info output

# CHECKCPU:      /proc/cpuinfo:
# CHECKCPU-NEXT: cpu info output
  - Type:            LinuxProcStatus
    Text:             |
      /proc/<pid>/status output

# CHECKSTATUS:      /proc/PID/status:
# CHECKSTATUS-NEXT: /proc/<pid>/status output
  - Type:            LinuxLSBRelease
    Text:             |
      /etc/lsb-release output

# CHECKLSB:      /etc/lsb-release:
# CHECKLSB-NEXT: /etc/lsb-release output
  - Type:            LinuxCMDLine
    Text:             |
      /proc/<pid>/cmdline output

# CHECKCMD:      /proc/PID/cmdline:
# CHECKCMD-NEXT: /proc/<pid>/cmdline output
  - Type:            LinuxEnviron
    Content:         2F70726F632F3C7069643E2F656E7669726F6E206F757470757400
# CHECKENV:      /proc/PID/environ:
# CHECKENV-NEXT: /proc/<pid>/environ output
  - Type:            LinuxAuxv
    Content:         2F70726F632F3C7069643E2F61757876206F757470757400
# CHECKAUX:      /proc/PID/auxv:
# CHECKAUX-NEXT: 0x00000000: 2f 70 72 6f 63 2f 3c 70 69 64 3e 2f 61 75 78 76  /proc/<pid>/auxv
# CHECKAUX-NEXT: 0x00000010: 20 6f 75 74 70 75 74 00                           output.
  - Type:            LinuxMaps
    Text:             |
      400d9000-400db000 r-xp 00000000 b3:04 227        /system/bin/app_process
      400db000-400dc000 r--p 00001000 b3:04 227        /system/bin/app_process
      400dc000-400dd000 rw-p 00000000 00:00 0 

# CHECKMAP:      /proc/PID/maps:
# CHECKMAP-NEXT: 400d9000-400db000 r-xp 00000000 b3:04 227        /system/bin/app_process
# CHECKMAP-NEXT: 400db000-400dc000 r--p 00001000 b3:04 227        /system/bin/app_process
# CHECKMAP-NEXT: 400dc000-400dd000 rw-p 00000000 00:00 0 
  - Type:            LinuxProcStat
    Text:             |
      /proc/<pid>/stat output

# CHECKSTAT:      /proc/PID/stat:
# CHECKSTAT-NEXT: /proc/<pid>/stat output
  - Type:            LinuxProcUptime
    Text:             |
      uptime output

# CHECKUP:      uptime:
# CHECKUP-NEXT: uptime output
  - Type:            LinuxProcFD
    Content:         2F70726F632F3C7069643E2F6664206F757470757400
# CHECKFD:      /proc/PID/fd:
# CHECKFD-NEXT: /proc/<pid>/fd output
...