1 // Check that cvtres properly handles merging multiple .res files.
2 // The inputs were generated with the following commands, using the original Windows
4 // > rc /fo test_resource.res /nologo test_resource.rc
5 // > rc /fo languages.res /nologo languages.rc
6 // The object file we are comparing against was generated with this command using
7 // the original Windows cvtres.exe.
8 // > cvtres /machine:X86 /readonly /nologo /out:combined.obj.coff \
9 // languages.res test_resource.res
11 RUN: llvm-cvtres /verbose /out:%t %p/Inputs/languages.res %p/Inputs/test_resource.res
12 RUN: llvm-readobj -coff-resources -section-data %t | FileCheck %s
15 CHECK-NEXT: Total Number of Resources: 12
16 CHECK-DAG: Number of String Entries: 1
17 CHECK-NEXT: Number of ID Entries: 5
18 CHECK-NEXT: Type: STRINGARRAY [
19 CHECK-NEXT: Table Offset: 0x40
20 CHECK-NEXT: Number of String Entries: 1
21 CHECK-NEXT: Number of ID Entries: 0
22 CHECK-NEXT: Name: MYRESOURCE [
23 CHECK-NEXT: Table Offset: 0xE8
24 CHECK-NEXT: Number of String Entries: 0
25 CHECK-NEXT: Number of ID Entries: 1
26 CHECK-NEXT: Language: (ID 1033) [
27 CHECK-NEXT: Entry Offset: 0x1D8
28 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
29 CHECK-NEXT: Major Version: 0
30 CHECK-NEXT: Minor Version: 0
31 CHECK-NEXT: Characteristics: 0
35 CHECK-NEXT: Type: BITMAP (ID 2) [
36 CHECK-NEXT: Table Offset: 0x58
37 CHECK-NEXT: Number of String Entries: 2
38 CHECK-NEXT: Number of ID Entries: 0
39 CHECK-NEXT: Name: CURSOR [
40 CHECK-NEXT: Table Offset: 0x100
41 CHECK-NEXT: Number of String Entries: 0
42 CHECK-NEXT: Number of ID Entries: 1
43 CHECK-NEXT: Language: (ID 1033) [
44 CHECK-NEXT: Entry Offset: 0x1E8
45 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
46 CHECK-NEXT: Major Version: 0
47 CHECK-NEXT: Minor Version: 0
48 CHECK-NEXT: Characteristics: 0
51 CHECK-NEXT: Name: OKAY [
52 CHECK-NEXT: Table Offset: 0x118
53 CHECK-NEXT: Number of String Entries: 0
54 CHECK-NEXT: Number of ID Entries: 1
55 CHECK-NEXT: Language: (ID 1033) [
56 CHECK-NEXT: Entry Offset: 0x1F8
57 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
58 CHECK-NEXT: Major Version: 0
59 CHECK-NEXT: Minor Version: 0
60 CHECK-NEXT: Characteristics: 0
64 CHECK-NEXT: Type: MENU (ID 4) [
65 CHECK-NEXT: Table Offset: 0x78
66 CHECK-NEXT: Number of String Entries: 1
67 CHECK-NEXT: Number of ID Entries: 1
68 CHECK-NEXT: Name: "EAT" [
69 CHECK-NEXT: Table Offset: 0x130
70 CHECK-NEXT: Number of String Entries: 0
71 CHECK-NEXT: Number of ID Entries: 1
72 CHECK-NEXT: Language: (ID 3081) [
73 CHECK-NEXT: Entry Offset: 0x208
74 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
75 CHECK-NEXT: Major Version: 0
76 CHECK-NEXT: Minor Version: 0
77 CHECK-NEXT: Characteristics: 0
80 CHECK-NEXT: Name: (ID 14432) [
81 CHECK-NEXT: Table Offset: 0x148
82 CHECK-NEXT: Number of String Entries: 0
83 CHECK-NEXT: Number of ID Entries: 1
84 CHECK-NEXT: Language: (ID 2052) [
85 CHECK-NEXT: Entry Offset: 0x218
86 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
87 CHECK-NEXT: Major Version: 0
88 CHECK-NEXT: Minor Version: 0
89 CHECK-NEXT: Characteristics: 0
93 CHECK-NEXT: Type: DIALOG (ID 5) [
94 CHECK-NEXT: Table Offset: 0x98
95 CHECK-NEXT: Number of String Entries: 1
96 CHECK-NEXT: Number of ID Entries: 0
97 CHECK-NEXT: Name: TESTDIALOG [
98 CHECK-NEXT: Table Offset: 0x160
99 CHECK-NEXT: Number of String Entries: 0
100 CHECK-NEXT: Number of ID Entries: 1
101 CHECK-NEXT: Language: (ID 1033) [
102 CHECK-NEXT: Entry Offset: 0x228
103 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
104 CHECK-NEXT: Major Version: 0
105 CHECK-NEXT: Minor Version: 0
106 CHECK-NEXT: Characteristics: 0
110 CHECK-NEXT: Type: ACCELERATOR (ID 9) [
111 CHECK-NEXT: Table Offset: 0xB0
112 CHECK-NEXT: Number of String Entries: 1
113 CHECK-NEXT: Number of ID Entries: 1
114 CHECK-NEXT: Name: MYACCELERATORS [
115 CHECK-NEXT: Table Offset: 0x178
116 CHECK-NEXT: Number of String Entries: 0
117 CHECK-NEXT: Number of ID Entries: 2
118 CHECK-NEXT: Language: (ID 1033) [
119 CHECK-NEXT: Entry Offset: 0x238
120 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
121 CHECK-NEXT: Major Version: 0
122 CHECK-NEXT: Minor Version: 0
123 CHECK-NEXT: Characteristics: 0
125 CHECK-NEXT: Language: (ID 2052) [
126 CHECK-NEXT: Entry Offset: 0x248
127 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
128 CHECK-NEXT: Major Version: 0
129 CHECK-NEXT: Minor Version: 0
130 CHECK-NEXT: Characteristics: 0
133 CHECK-NEXT: Name: (ID 12) [
134 CHECK-NEXT: Table Offset: 0x198
135 CHECK-NEXT: Number of String Entries: 0
136 CHECK-NEXT: Number of ID Entries: 1
137 CHECK-NEXT: Language: (ID 1033) [
138 CHECK-NEXT: Entry Offset: 0x258
139 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
140 CHECK-NEXT: Major Version: 0
141 CHECK-NEXT: Minor Version: 0
142 CHECK-NEXT: Characteristics: 0
146 CHECK-NEXT: Type: RCDATA (ID 10) [
147 CHECK-NEXT: Table Offset: 0xD0
148 CHECK-NEXT: Number of String Entries: 1
149 CHECK-NEXT: Number of ID Entries: 0
150 CHECK-NEXT: Name: RANDOMDAT [
151 CHECK-NEXT: Table Offset: 0x1B0
152 CHECK-NEXT: Number of String Entries: 0
153 CHECK-NEXT: Number of ID Entries: 3
154 CHECK-NEXT: Language: (ID 1033) [
155 CHECK-NEXT: Entry Offset: 0x268
156 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
157 CHECK-NEXT: Major Version: 0
158 CHECK-NEXT: Minor Version: 0
159 CHECK-NEXT: Characteristics: 0
161 CHECK-NEXT: Language: (ID 2052) [
162 CHECK-NEXT: Entry Offset: 0x278
163 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
164 CHECK-NEXT: Major Version: 0
165 CHECK-NEXT: Minor Version: 0
166 CHECK-NEXT: Characteristics: 0
168 CHECK-NEXT: Language: (ID 4103) [
169 CHECK-NEXT: Entry Offset: 0x288
170 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
171 CHECK-NEXT: Major Version: 0
172 CHECK-NEXT: Minor Version: 0
173 CHECK-NEXT: Characteristics: 0
177 CHECK-DAG: .rsrc$02 Data (
178 CHECK-NEXT: 0000: 74686973 20697320 61207261 6E646F6D |this is a random|
179 CHECK-NEXT: 0010: 20626974 206F6620 64617461 20746861 | bit of data tha|
180 CHECK-NEXT: 0020: 74206D65 616E7320 6E6F7468 696E6700 |t means nothing.|
181 CHECK-NEXT: 0030: A9230E14 F4F60000 7A686534 20736869 |.#......zhe4 shi|
182 CHECK-NEXT: 0040: 34207969 31676534 20737569 326A6931 |4 yi1ge4 sui2ji1|
183 CHECK-NEXT: 0050: 20646520 73687534 6A75342C 207A6865 | de shu4ju4, zhe|
184 CHECK-NEXT: 0060: 34207969 34776569 347A6865 20736865 |4 yi4wei4zhe she|
185 CHECK-NEXT: 0070: 6E326D65 00A9230E 14F4F600 00000000 |n2me..#.........|
186 CHECK-NEXT: 0080: 44696573 20697374 2065696E 207A7566 |Dies ist ein zuf|
187 CHECK-NEXT: 0090: C3A46C6C 69676573 20426974 20766F6E |..lliges Bit von|
188 CHECK-NEXT: 00A0: 20446174 656E2C20 64696520 6E696368 | Daten, die nich|
189 CHECK-NEXT: 00B0: 74732062 65646575 74657400 A9230E14 |ts bedeutet..#..|
190 CHECK-NEXT: 00C0: F4F60000 00000000 11000300 E7030000 |................|
191 CHECK-NEXT: 00D0: 0D004400 4C040000 82001200 BC010000 |..D.L...........|
192 CHECK-NEXT: 00E0: 11000300 E7030000 0D004400 4C040000 |..........D.L...|
193 CHECK-NEXT: 00F0: 82001200 BC010000 28000000 10000000 |........(.......|
194 CHECK-NEXT: 0100: 10000000 01001800 00000000 00030000 |................|
195 CHECK-NEXT: 0110: C40E0000 C40E0000 00000000 00000000 |................|
196 CHECK-NEXT: 0120: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
197 CHECK-NEXT: 0130: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
198 CHECK-NEXT: 0140: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
199 CHECK-NEXT: 0150: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
200 CHECK-NEXT: 0160: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
201 CHECK-NEXT: 0170: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
202 CHECK-NEXT: 0180: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
203 CHECK-NEXT: 0190: FFFFFFFF FF7F7F7F 7C7C7C78 78787575 |........|||xxxuu|
204 CHECK-NEXT: 01A0: 75FFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |u...............|
205 CHECK-NEXT: 01B0: FFFFFFFF FFFFFFFF FFFFFFFF 979797FF |................|
206 CHECK-NEXT: 01C0: FFFFFFFF FF838383 AAAAAADB DBDB7979 |..............yy|
207 CHECK-NEXT: 01D0: 79757575 FFFFFFFF FFFFFFFF FFFFFFFF |yuuu............|
208 CHECK-NEXT: 01E0: FFFFFFFF FFFFFFFF FFFFFFFF 9C9C9C98 |................|
209 CHECK-NEXT: 01F0: 9898FFFF FF888888 DBDBDBB7 B7B77D7D |..............}}|
210 CHECK-NEXT: 0200: 7DFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |}...............|
211 CHECK-NEXT: 0210: FFFFFFFF FFFFFFFF FFFFFFFF A0A0A09C |................|
212 CHECK-NEXT: 0220: 9C9C9393 93ADADAD F2F2F284 84848181 |................|
213 CHECK-NEXT: 0230: 81FFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
214 CHECK-NEXT: 0240: FFFFFFFF FFFFFFFF FFFFFFFF A4A4A4D7 |................|
215 CHECK-NEXT: 0250: D7D79D9D 9DD0D0D0 EEEEEE91 91918D8D |................|
216 CHECK-NEXT: 0260: 8DFFFFFF FFFFFF81 81817E7E 7EFFFFFF |..........~~~...|
217 CHECK-NEXT: 0270: FFFFFFFF FFFFFFFF FFFFFFFF A9A9A9F2 |................|
218 CHECK-NEXT: 0280: F2F2E5E5 E5E2E2E2 95959591 91918D8D |................|
219 CHECK-NEXT: 0290: 8D898989 868686FF FFFFFFFF FFFFFFFF |................|
220 CHECK-NEXT: 02A0: FFFFFFFF FFFFFFFF FFFFFFFF ADADADF2 |................|
221 CHECK-NEXT: 02B0: F2F2E1E1 E1DFDFDF E7E7E7E4 E4E4BBBB |................|
222 CHECK-NEXT: 02C0: BB8E8E8E FFFFFFFF FFFFFFFF FFFFFFFF |................|
223 CHECK-NEXT: 02D0: FFFFFFFF FFFFFFFF FFFFFFFF B5B5B5F2 |................|
224 CHECK-NEXT: 02E0: F2F2E8E8 E8E7E7E7 EAEAEAC6 C6C69E9E |................|
225 CHECK-NEXT: 02F0: 9EFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
226 CHECK-NEXT: 0300: FFFFFFFF FFFFFFFF FFFFFFFF B9B9B9F4 |................|
227 CHECK-NEXT: 0310: F4F4ECEC ECEDEDED CBCBCBA7 A7A7FFFF |................|
228 CHECK-NEXT: 0320: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
229 CHECK-NEXT: 0330: FFFFFFFF FFFFFFFF FFFFFFFF BDBDBDF7 |................|
230 CHECK-NEXT: 0340: F7F7EFEF EFD0D0D0 AFAFAFFF FFFFFFFF |................|
231 CHECK-NEXT: 0350: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
232 CHECK-NEXT: 0360: FFFFFFFF FFFFFFFF FFFFFFFF C1C1C1F7 |................|
233 CHECK-NEXT: 0370: F7F7D5D5 D5B6B6B6 FFFFFFFF FFFFFFFF |................|
234 CHECK-NEXT: 0380: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
235 CHECK-NEXT: 0390: FFFFFFFF FFFFFFFF FFFFFFFF C4C4C4D9 |................|
236 CHECK-NEXT: 03A0: D9D9BEBE BEFFFFFF FFFFFFFF FFFFFFFF |................|
237 CHECK-NEXT: 03B0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
238 CHECK-NEXT: 03C0: FFFFFFFF FFFFFFFF FFFFFFFF C8C8C8C5 |................|
239 CHECK-NEXT: 03D0: C5C5FFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
240 CHECK-NEXT: 03E0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
241 CHECK-NEXT: 03F0: FFFFFFFF FFFFFFFF FFFFFFFF CBCBCBFF |................|
242 CHECK-NEXT: 0400: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
243 CHECK-NEXT: 0410: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
244 CHECK-NEXT: 0420: 28000000 10000000 10000000 01001800 |(...............|
245 CHECK-NEXT: 0430: 00000000 00030000 C40E0000 C40E0000 |................|
246 CHECK-NEXT: 0440: 00000000 00000000 FFFFFFFF FFFFFFFF |................|
247 CHECK-NEXT: 0450: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
248 CHECK-NEXT: 0460: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
249 CHECK-NEXT: 0470: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
250 CHECK-NEXT: 0480: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
251 CHECK-NEXT: 0490: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
252 CHECK-NEXT: 04A0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
253 CHECK-NEXT: 04B0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
254 CHECK-NEXT: 04C0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
255 CHECK-NEXT: 04D0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
256 CHECK-NEXT: 04E0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
257 CHECK-NEXT: 04F0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
258 CHECK-NEXT: 0500: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
259 CHECK-NEXT: 0510: FFFFFFFF A0E3A901 B31801B3 1801B318 |................|
260 CHECK-NEXT: 0520: 01B31801 B31801B3 1861D06F FFFFFFFF |.........a.o....|
261 CHECK-NEXT: 0530: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
262 CHECK-NEXT: 0540: FFFFFFFF 01B31800 D7331CDB 49DBF9E2 |.........3..I...|
263 CHECK-NEXT: 0550: 9BEFAF00 D73300D7 3301B318 FFFFFFFF |.....3..3.......|
264 CHECK-NEXT: 0560: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
265 CHECK-NEXT: 0570: FFFFFFFF 01B31800 DE55F6FE F9DBFAE7 |.........U......|
266 CHECK-NEXT: 0580: FEFFFE86 EFAE00DE 5501B318 FFFFFFFF |........U.......|
267 CHECK-NEXT: 0590: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
268 CHECK-NEXT: 05A0: FFFFFFFF 01B31800 E676DBFB EC00E676 |.........v.....v|
269 CHECK-NEXT: 05B0: 57EFA5FB FFFD55EE A401B318 FFFFFFFF |W.....U.........|
270 CHECK-NEXT: 05C0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
271 CHECK-NEXT: 05D0: FFFFFFFF 01B31800 ED9800ED 9800ED98 |................|
272 CHECK-NEXT: 05E0: 00ED9887 F7CFFEFF FF01B318 FFFFFFFF |................|
273 CHECK-NEXT: 05F0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
274 CHECK-NEXT: 0600: FFFFFFFF 01B31800 F4BA00F4 BA00F4BA |................|
275 CHECK-NEXT: 0610: 00F4BA00 F4BA9CFB E401B318 FFFFFFFF |................|
276 CHECK-NEXT: 0620: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
277 CHECK-NEXT: 0630: FFFFFFFF 01B31800 FBDB00FB DB00FBDB |................|
278 CHECK-NEXT: 0640: 00FBDB00 FBDB00FB DB01B318 FFFFFFFF |................|
279 CHECK-NEXT: 0650: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
280 CHECK-NEXT: 0660: FFFFFFFF 9FE2A801 B31801B3 1801B318 |................|
281 CHECK-NEXT: 0670: 01B31801 B31801B3 1861D06F FFFFFFFF |.........a.o....|
282 CHECK-NEXT: 0680: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
283 CHECK-NEXT: 0690: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
284 CHECK-NEXT: 06A0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
285 CHECK-NEXT: 06B0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
286 CHECK-NEXT: 06C0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
287 CHECK-NEXT: 06D0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
288 CHECK-NEXT: 06E0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
289 CHECK-NEXT: 06F0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
290 CHECK-NEXT: 0700: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
291 CHECK-NEXT: 0710: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
292 CHECK-NEXT: 0720: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
293 CHECK-NEXT: 0730: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF |................|
294 CHECK-NEXT: 0740: FFFFFFFF FFFFFFFF 00000000 00006400 |..............d.|
295 CHECK-NEXT: 0750: 79007500 00000000 65007300 68006100 |y.u.....e.s.h.a.|
296 CHECK-NEXT: 0760: 6C006100 00008000 66006B00 61006F00 |l.a.....f.k.a.o.|
297 CHECK-NEXT: 0770: 79006100 00000000 0000C080 00000000 |y.a.............|
298 CHECK-NEXT: 0780: 02000A00 0A00C800 2C010000 00005400 |........,.....T.|
299 CHECK-NEXT: 0790: 65007300 74000000 01000250 00000000 |e.s.t......P....|
300 CHECK-NEXT: 07A0: 0A000A00 E6000E00 0100FFFF 82004300 |..............C.|
301 CHECK-NEXT: 07B0: 6F006E00 74006900 6E007500 65003A00 |o.n.t.i.n.u.e.:.|
302 CHECK-NEXT: 07C0: 00000000 00000150 00000000 42008600 |.......P....B...|
303 CHECK-NEXT: 07D0: A1000D00 0200FFFF 80002600 4F004B00 |..........&.O.K.|
304 CHECK-NEXT: 07E0: 00000000 00000000 11005800 A4000000 |..........X.....|
305 CHECK-NEXT: 07F0: 0D004800 2E160000 82001200 BC010000 |..H.............|
306 CHECK-NEXT: 0800: 00000000 00006400 66006900 73006800 |......d.f.i.s.h.|
307 CHECK-NEXT: 0810: 00000000 65007300 61006C00 61006400 |....e.s.a.l.a.d.|
308 CHECK-NEXT: 0820: 00008000 66006400 75006300 6B000000 |....f.d.u.c.k...|
309 CHECK-NEXT: 0830: 74686973 20697320 61207573 65722064 |this is a user d|
310 CHECK-NEXT: 0840: 6566696E 65642072 65736F75 72636500 |efined resource.|
311 CHECK-NEXT: 0850: 69742063 6F6E7461 696E7320 6D616E79 |it contains many|
312 CHECK-NEXT: 0860: 20737472 696E6773 00000000 00000000 | strings........|