1# RUN: yaml2obj %s | obj2yaml - | FileCheck %s 2 3--- !minidump 4Streams: 5 - Type: SystemInfo 6 Processor Arch: BP_ARM64 7 Platform ID: Linux 8 CSD Version: Linux 3.13.0-91-generic 9 CPU: 10 CPUID: 0x05060708 11 - Type: LinuxAuxv 12 Content: DEADBEEFBAADF00D 13 - Type: LinuxMaps 14 Text: | 15 400d9000-400db000 r-xp 00000000 b3:04 227 /system/bin/app_process 16 400db000-400dc000 r--p 00001000 b3:04 227 /system/bin/app_process 17 18 - Type: ModuleList 19 Modules: 20 - Base of Image: 0x0001020304050607 21 Size of Image: 0x08090A0B 22 Checksum: 0x0C0D0E0F 23 Time Date Stamp: 47 24 Module Name: a.out 25 Version Info: 26 Signature: 0x10111213 27 Struct Version: 0x14151617 28 File Version High: 0x18191A1B 29 File Version Low: 0x1C1D1E1F 30 Product Version High: 0x20212223 31 Product Version Low: 0x24252627 32 File Flags Mask: 0x28292A2B 33 File Flags: 0x2C2D2E2F 34 File OS: 0x30313233 35 File Type: 0x34353637 36 File Subtype: 0x38393A3B 37 File Date High: 0x3C3D3E3F 38 File Date Low: 0x40414243 39 CodeView Record: '44454647' 40 Misc Record: '48494A4B' 41 - Base of Image: 0x4C4D4E4F50515253 42 Size of Image: 0x54555657 43 Module Name: libb.so 44 CodeView Record: '58595A5B' 45 - Type: ThreadList 46 Threads: 47 - Thread Id: 0x5C5D5E5F 48 Priority Class: 0x60616263 49 Environment Block: 0x6465666768696A6B 50 Context: '7C7D7E7F80818283' 51 Stack: 52 Start of Memory Range: 0x6C6D6E6F70717273 53 Content: '7475767778797A7B' 54 - Type: Exception 55 Thread ID: 0x7 56 Exception Record: 57 Exception Code: 0x10 58 Exception Flags: 0x5 59 Exception Record: 0x0102030405060708 60 Exception Address: 0x0A0B0C0D0E0F1011 61 Number of Parameters: 2 62 Parameter 0: 0x22 63 Parameter 1: 0x24 64 Thread Context: '8182838485868788' 65 - Type: MemoryList 66 Memory Ranges: 67 - Start of Memory Range: 0x7C7D7E7F80818283 68 Content: '8485868788' 69 - Type: MemoryInfoList 70 Memory Ranges: 71 - Base Address: 0x0000000000000000 72 Allocation Protect: [ ] 73 Region Size: 0x0000000000010000 74 State: [ MEM_FREE ] 75 Protect: [ PAGE_NO_ACCESS ] 76 Type: [ ] 77 - Base Address: 0x0000000000010000 78 Allocation Protect: [ PAGE_READ_WRITE ] 79 Region Size: 0x0000000000010000 80 State: [ MEM_COMMIT ] 81 Type: [ MEM_MAPPED ] 82 - Base Address: 0x0000000000020000 83 Allocation Base: 0x0000000000000000 84 Allocation Protect: [ PAGE_READ_WRITE, PAGE_WRITECOMBINE ] 85 Reserved0: 0xDEADBEEF 86 Region Size: 0x0000000000010000 87 State: [ MEM_COMMIT, MEM_FREE ] 88 Type: [ MEM_PRIVATE, MEM_MAPPED ] 89 Reserved1: 0xBAADF00D 90... 91 92# CHECK: --- !minidump 93# CHECK-NEXT: Streams: 94# CHECK-NEXT: - Type: SystemInfo 95# CHECK-NEXT: Processor Arch: BP_ARM64 96# CHECK-NEXT: Platform ID: Linux 97# CHECK-NEXT: CSD Version: Linux 3.13.0-91-generic 98# CHECK-NEXT: CPU: 99# CHECK-NEXT: CPUID: 0x5060708 100# CHECK-NEXT: - Type: LinuxAuxv 101# CHECK-NEXT: Content: DEADBEEFBAADF00D 102# CHECK-NEXT: - Type: LinuxMaps 103# CHECK-NEXT: Text: | 104# CHECK-NEXT: 400d9000-400db000 r-xp 00000000 b3:04 227 /system/bin/app_process 105# CHECK-NEXT: 400db000-400dc000 r--p 00001000 b3:04 227 /system/bin/app_process 106# CHECK-EMPTY: 107# CHECK-NEXT: - Type: ModuleList 108# CHECK-NEXT: Modules: 109# CHECK-NEXT: - Base of Image: 0x1020304050607 110# CHECK-NEXT: Size of Image: 0x8090A0B 111# CHECK-NEXT: Checksum: 0xC0D0E0F 112# CHECK-NEXT: Time Date Stamp: 47 113# CHECK-NEXT: Module Name: a.out 114# CHECK-NEXT: Version Info: 115# CHECK-NEXT: Signature: 0x10111213 116# CHECK-NEXT: Struct Version: 0x14151617 117# CHECK-NEXT: File Version High: 0x18191A1B 118# CHECK-NEXT: File Version Low: 0x1C1D1E1F 119# CHECK-NEXT: Product Version High: 0x20212223 120# CHECK-NEXT: Product Version Low: 0x24252627 121# CHECK-NEXT: File Flags Mask: 0x28292A2B 122# CHECK-NEXT: File Flags: 0x2C2D2E2F 123# CHECK-NEXT: File OS: 0x30313233 124# CHECK-NEXT: File Type: 0x34353637 125# CHECK-NEXT: File Subtype: 0x38393A3B 126# CHECK-NEXT: File Date High: 0x3C3D3E3F 127# CHECK-NEXT: File Date Low: 0x40414243 128# CHECK-NEXT: CodeView Record: '44454647' 129# CHECK-NEXT: Misc Record: 48494A4B 130# CHECK-NEXT: - Base of Image: 0x4C4D4E4F50515253 131# CHECK-NEXT: Size of Image: 0x54555657 132# CHECK-NEXT: Module Name: libb.so 133# CHECK-NEXT: CodeView Record: 58595A5B 134# CHECK-NEXT: - Type: ThreadList 135# CHECK-NEXT: Threads: 136# CHECK-NEXT: - Thread Id: 0x5C5D5E5F 137# CHECK-NEXT: Priority Class: 0x60616263 138# CHECK-NEXT: Environment Block: 0x6465666768696A6B 139# CHECK-NEXT: Context: 7C7D7E7F80818283 140# CHECK-NEXT: Stack: 141# CHECK-NEXT: Start of Memory Range: 0x6C6D6E6F70717273 142# CHECK-NEXT: Content: 7475767778797A7B 143# CHECK-NEXT: - Type: Exception 144# CHECK-NEXT: Thread ID: 0x7 145# CHECK-NEXT: Exception Record: 146# CHECK-NEXT: Exception Code: 0x10 147# CHECK-NEXT: Exception Flags: 0x5 148# CHECK-NEXT: Exception Record: 0x102030405060708 149# CHECK-NEXT: Exception Address: 0xA0B0C0D0E0F1011 150# CHECK-NEXT: Number of Parameters: 2 151# CHECK-NEXT: Parameter 0: 0x22 152# CHECK-NEXT: Parameter 1: 0x24 153# CHECK-NEXT: Thread Context: '8182838485868788' 154# CHECK-NEXT: - Type: MemoryList 155# CHECK-NEXT: Memory Ranges: 156# CHECK-NEXT: - Start of Memory Range: 0x7C7D7E7F80818283 157# CHECK-NEXT: Content: '8485868788' 158# CHECK-NEXT: - Type: MemoryInfoList 159# CHECK-NEXT: Memory Ranges: 160# CHECK-NEXT: - Base Address: 0x0 161# CHECK-NEXT: Allocation Protect: [ ] 162# CHECK-NEXT: Region Size: 0x10000 163# CHECK-NEXT: State: [ MEM_FREE ] 164# CHECK-NEXT: Protect: [ PAGE_NO_ACCESS ] 165# CHECK-NEXT: Type: [ ] 166# CHECK-NEXT: - Base Address: 0x10000 167# CHECK-NEXT: Allocation Protect: [ PAGE_READ_WRITE ] 168# CHECK-NEXT: Region Size: 0x10000 169# CHECK-NEXT: State: [ MEM_COMMIT ] 170# CHECK-NEXT: Type: [ MEM_MAPPED ] 171# CHECK-NEXT: - Base Address: 0x20000 172# CHECK-NEXT: Allocation Base: 0x0 173# CHECK-NEXT: Allocation Protect: [ PAGE_READ_WRITE, PAGE_WRITECOMBINE ] 174# CHECK-NEXT: Reserved0: 0xDEADBEEF 175# CHECK-NEXT: Region Size: 0x10000 176# CHECK-NEXT: State: [ MEM_COMMIT, MEM_FREE ] 177# CHECK-NEXT: Type: [ MEM_PRIVATE, MEM_MAPPED ] 178# CHECK-NEXT: Reserved1: 0xBAADF00D 179# CHECK-NEXT: ... 180