File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def CheckSegments(vdso_path):
65
65
Args:
66
66
vdso_path: Path to VDSO binary.
67
67
"""
68
- output = subprocess .check_output (["readelf" , "-lW" , vdso_path ])
68
+ output = subprocess .check_output (["readelf" , "-lW" , vdso_path ]). decode ()
69
69
lines = output .split ("\n " )
70
70
71
71
segments = []
@@ -143,7 +143,7 @@ def CheckData(vdso_path):
143
143
Args:
144
144
vdso_path: Path to VDSO binary.
145
145
"""
146
- output = subprocess .check_output (["readelf" , "-SW" , vdso_path ])
146
+ output = subprocess .check_output (["readelf" , "-SW" , vdso_path ]). decode ()
147
147
lines = output .split ("\n " )
148
148
149
149
found_text = False
@@ -179,7 +179,7 @@ def CheckRelocs(vdso_path):
179
179
Args:
180
180
vdso_path: Path to VDSO binary.
181
181
"""
182
- output = subprocess .check_output (["readelf" , "-r" , vdso_path ])
182
+ output = subprocess .check_output (["readelf" , "-r" , vdso_path ]). decode ()
183
183
if output .strip () != "There are no relocations in this file." :
184
184
Fatal ("VDSO contains relocations: %s" , output )
185
185
You can’t perform that action at this time.
0 commit comments