@@ -100,15 +100,15 @@ ProgramHeaders:
100
100
# BAD-STRING-LLVM-NEXT: 0x0000000000000005 STRTAB 0x1000
101
101
# BAD-STRING-LLVM-NEXT: 0x000000000000000A STRSZ 1 (bytes)
102
102
# BAD-STRING-LLVM-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb2: it goes past the end of the table (0xb1)
103
- # BAD-STRING-LLVM-NEXT: 0x0000000000000001 NEEDED Shared library: <?>
103
+ # BAD-STRING-LLVM-NEXT: 0x0000000000000001 NEEDED Shared library: [ <?>]
104
104
# BAD-STRING-LLVM-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb3: it goes past the end of the table (0xb1)
105
- # BAD-STRING-LLVM-NEXT: 0x000000007FFFFFFF FILTER Filter library: <?>
105
+ # BAD-STRING-LLVM-NEXT: 0x000000007FFFFFFF FILTER Filter library: [ <?>]
106
106
# BAD-STRING-LLVM-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb4: it goes past the end of the table (0xb1)
107
- # BAD-STRING-LLVM-NEXT: 0x000000007FFFFFFD AUXILIARY Auxiliary library: <?>
107
+ # BAD-STRING-LLVM-NEXT: 0x000000007FFFFFFD AUXILIARY Auxiliary library: [ <?>]
108
108
# BAD-STRING-LLVM-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb5: it goes past the end of the table (0xb1)
109
- # BAD-STRING-LLVM-NEXT: 0x000000007FFFFFFE USED Not needed object: <?>
109
+ # BAD-STRING-LLVM-NEXT: 0x000000007FFFFFFE USED Not needed object: [ <?>]
110
110
## Note: there is no "string table at offset 0xb0..." warning here, because it was printed earlier.
111
- # BAD-STRING-LLVM-NEXT: 0x000000000000000E SONAME Library soname: <?>
111
+ # BAD-STRING-LLVM-NEXT: 0x000000000000000E SONAME Library soname: [ <?>]
112
112
# BAD-STRING-LLVM-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb7: it goes past the end of the table (0xb1)
113
113
# BAD-STRING-LLVM-NEXT: 0x000000000000000F RPATH Library rpath: [<?>]
114
114
# BAD-STRING-LLVM-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb8: it goes past the end of the table (0xb1)
@@ -121,15 +121,15 @@ ProgramHeaders:
121
121
# BAD-STRING-GNU-NEXT: 0x0000000000000005 (STRTAB) 0x1000
122
122
# BAD-STRING-GNU-NEXT: 0x000000000000000a (STRSZ) 1 (bytes)
123
123
# BAD-STRING-GNU-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb2: it goes past the end of the table (0xb1)
124
- # BAD-STRING-GNU-NEXT: 0x0000000000000001 (NEEDED) Shared library: <?>
124
+ # BAD-STRING-GNU-NEXT: 0x0000000000000001 (NEEDED) Shared library: [ <?>]
125
125
# BAD-STRING-GNU-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb3: it goes past the end of the table (0xb1)
126
- # BAD-STRING-GNU-NEXT: 0x000000007fffffff (FILTER) Filter library: <?>
126
+ # BAD-STRING-GNU-NEXT: 0x000000007fffffff (FILTER) Filter library: [ <?>]
127
127
# BAD-STRING-GNU-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb4: it goes past the end of the table (0xb1)
128
- # BAD-STRING-GNU-NEXT: 0x000000007ffffffd (AUXILIARY) Auxiliary library: <?>
128
+ # BAD-STRING-GNU-NEXT: 0x000000007ffffffd (AUXILIARY) Auxiliary library: [ <?>]
129
129
# BAD-STRING-GNU-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb5: it goes past the end of the table (0xb1)
130
- # BAD-STRING-GNU-NEXT: 0x000000007ffffffe (USED) Not needed object: <?>
130
+ # BAD-STRING-GNU-NEXT: 0x000000007ffffffe (USED) Not needed object: [ <?>]
131
131
# BAD-STRING-GNU-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb6: it goes past the end of the table (0xb1)
132
- # BAD-STRING-GNU-NEXT: 0x000000000000000e (SONAME) Library soname: <?>
132
+ # BAD-STRING-GNU-NEXT: 0x000000000000000e (SONAME) Library soname: [ <?>]
133
133
# BAD-STRING-GNU-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb7: it goes past the end of the table (0xb1)
134
134
# BAD-STRING-GNU-NEXT: 0x000000000000000f (RPATH) Library rpath: [<?>]
135
135
# BAD-STRING-GNU-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb8: it goes past the end of the table (0xb1)
@@ -199,8 +199,8 @@ ProgramHeaders:
199
199
# BAD-STRTAB-ERR2: warning: '[[FILE]]': unable to parse DT_STRTAB: virtual address is not in any segment: 0x2000000
200
200
# BAD-STRTAB-LLVM: LoadName: <Not found>
201
201
# BAD-STRTAB: warning: '[[FILE]]': string table was not found
202
- # BAD-STRTAB-LLVM-NEXT: 0x0000000000000001 NEEDED Shared library: <?>
203
- # BAD-STRTAB-GNU-NEXT: 0x0000000000000001 (NEEDED) Shared library: <?>
202
+ # BAD-STRTAB-LLVM-NEXT: 0x0000000000000001 NEEDED Shared library: [ <?>]
203
+ # BAD-STRTAB-GNU-NEXT: 0x0000000000000001 (NEEDED) Shared library: [ <?>]
204
204
# BAD-STRTAB: NeededLibraries [
205
205
# BAD-STRTAB: <?>
206
206
# BAD-STRTAB: ]
@@ -313,15 +313,15 @@ ProgramHeaders:
313
313
314
314
# NOT-TERMINATED-LLVM: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb4: the string table is not null-terminated
315
315
# NOT-TERMINATED: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb0: the string table is not null-terminated
316
- # NOT-TERMINATED-NEXT: {{[(]?}}NEEDED{{[)]?}} Shared library: <?>
316
+ # NOT-TERMINATED-NEXT: {{[(]?}}NEEDED{{[)]?}} Shared library: [ <?>]
317
317
# NOT-TERMINATED-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb1: the string table is not null-terminated
318
- # NOT-TERMINATED-NEXT: {{[(]?}}FILTER{{[)]?}} Filter library: <?>
318
+ # NOT-TERMINATED-NEXT: {{[(]?}}FILTER{{[)]?}} Filter library: [ <?>]
319
319
# NOT-TERMINATED-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb2: the string table is not null-terminated
320
- # NOT-TERMINATED-NEXT: {{[(]?}}AUXILIARY{{[)]?}} Auxiliary library: <?>
320
+ # NOT-TERMINATED-NEXT: {{[(]?}}AUXILIARY{{[)]?}} Auxiliary library: [ <?>]
321
321
# NOT-TERMINATED-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb3: the string table is not null-terminated
322
- # NOT-TERMINATED-NEXT: {{[(]?}}USED{{[)]?}} Not needed object: <?>
322
+ # NOT-TERMINATED-NEXT: {{[(]?}}USED{{[)]?}} Not needed object: [ <?>]
323
323
# NOT-TERMINATED-GNU-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb4: the string table is not null-terminated
324
- # NOT-TERMINATED-NEXT: {{[(]?}}SONAME{{[)]?}} Library soname: <?>
324
+ # NOT-TERMINATED-NEXT: {{[(]?}}SONAME{{[)]?}} Library soname: [ <?>]
325
325
# NOT-TERMINATED-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb5: the string table is not null-terminated
326
326
# NOT-TERMINATED-NEXT: {{[(]?}}RPATH{{[)]?}} Library rpath: [<?>]
327
327
# NOT-TERMINATED-GREQ-NEXT: warning: '[[FILE]]': string table at offset 0xb0: unable to read the string at 0xb6: the string table is not null-terminated
@@ -390,11 +390,11 @@ ProgramHeaders:
390
390
## as normal. Since the file ends with a zero byte, strings are dumped, but if it didn't,
391
391
## we'd get <?> printed instead. The important bit is that we don't get the past the end warning.
392
392
393
- # BEFORE-THE-EOF: {{[(]?}}NEEDED{{[)]?}} Shared library: test.soabc
394
- # BEFORE-THE-EOF-NEXT: {{[(]?}}FILTER{{[)]?}} Filter library: est.soabc
395
- # BEFORE-THE-EOF-NEXT: {{[(]?}}AUXILIARY{{[)]?}} Auxiliary library: st.soabc
396
- # BEFORE-THE-EOF-NEXT: {{[(]?}}USED{{[)]?}} Not needed object: t.soabc
397
- # BEFORE-THE-EOF-NEXT: {{[(]?}}SONAME{{[)]?}} Library soname: .soabc
393
+ # BEFORE-THE-EOF: {{[(]?}}NEEDED{{[)]?}} Shared library: [ test.soabc]
394
+ # BEFORE-THE-EOF-NEXT: {{[(]?}}FILTER{{[)]?}} Filter library: [ est.soabc]
395
+ # BEFORE-THE-EOF-NEXT: {{[(]?}}AUXILIARY{{[)]?}} Auxiliary library: [ st.soabc]
396
+ # BEFORE-THE-EOF-NEXT: {{[(]?}}USED{{[)]?}} Not needed object: [ t.soabc]
397
+ # BEFORE-THE-EOF-NEXT: {{[(]?}}SONAME{{[)]?}} Library soname: [ .soabc]
398
398
# BEFORE-THE-EOF-NEXT: {{[(]?}}RPATH{{[)]?}} Library rpath: [soabc]
399
399
# BEFORE-THE-EOF-NEXT: {{[(]?}}RUNPATH{{[)]?}} Library runpath: [oabc]
400
400
# BEFORE-THE-EOF-NEXT: {{[(]?}}NULL{{[)]?}} 0x0
@@ -406,11 +406,11 @@ ProgramHeaders:
406
406
407
407
# PAST-THE-EOF: warning: '[[FILE]]': the dynamic string table at 0xb0 goes past the end of the file (0x2c0) with DT_STRSZ = 0x211
408
408
# PAST-THE-EOF: warning: '[[FILE]]': string table was not found
409
- # PAST-THE-EOF: {{[(]?}}NEEDED{{[)]?}} Shared library: <?>
410
- # PAST-THE-EOF-NEXT: {{[(]?}}FILTER{{[)]?}} Filter library: <?>
411
- # PAST-THE-EOF-NEXT: {{[(]?}}AUXILIARY{{[)]?}} Auxiliary library: <?>
412
- # PAST-THE-EOF-NEXT: {{[(]?}}USED{{[)]?}} Not needed object: <?>
413
- # PAST-THE-EOF-NEXT: {{[(]?}}SONAME{{[)]?}} Library soname: <?>
409
+ # PAST-THE-EOF: {{[(]?}}NEEDED{{[)]?}} Shared library: [ <?>]
410
+ # PAST-THE-EOF-NEXT: {{[(]?}}FILTER{{[)]?}} Filter library: [ <?>]
411
+ # PAST-THE-EOF-NEXT: {{[(]?}}AUXILIARY{{[)]?}} Auxiliary library: [ <?>]
412
+ # PAST-THE-EOF-NEXT: {{[(]?}}USED{{[)]?}} Not needed object: [ <?>]
413
+ # PAST-THE-EOF-NEXT: {{[(]?}}SONAME{{[)]?}} Library soname: [ <?>]
414
414
# PAST-THE-EOF-NEXT: {{[(]?}}RPATH{{[)]?}} Library rpath: [<?>]
415
415
# PAST-THE-EOF-NEXT: {{[(]?}}RUNPATH{{[)]?}} Library runpath: [<?>]
416
416
# PAST-THE-EOF-NEXT: {{[(]?}}NULL{{[)]?}} 0x0
0 commit comments