Skip to content

Commit 3560416

Browse files
authored
Ignore empty columns in objdump output (#590)
* Ignore empty columns in `objdump` output * Update instruction_set.jl
1 parent 784f6ca commit 3560416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auditor/instruction_set.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ function instruction_mnemonics(path::AbstractString, platform::Platform)
11381138

11391139
for line in eachline(output)
11401140
# First, ensure that this line of output is 3 fields long at least
1141-
fields = split(line, '\t')
1141+
fields = filter(x -> !isempty(strip(x)), split(line, '\t'))
11421142
if length(fields) < 3
11431143
continue
11441144
end

0 commit comments

Comments
 (0)