Skip to content

Commit cb51f8e

Browse files
authored
[ci] Fix check-symbols failing on ubuntu-latest (#9)
1 parent 2f6ee56 commit cb51f8e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-latest
88

99
strategy:
1010
matrix:

tools/check_symbols.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ def __str__(self):
2121

2222
@staticmethod
2323
def parse(line):
24-
return Symbol(line[:8].strip(), line[9], line[11:].strip())
24+
# Format: " U abort@GLIBC_2.4" (addr can be empty)
25+
return Symbol(line[:8].strip(), line[9], line[11:].strip().split('@')[0])
2526

2627

2728
def check_symbol(sofile, allowlist):

0 commit comments

Comments
 (0)