Skip to content

Commit

Permalink
Fix disassembly output for calls with pairs
Browse files Browse the repository at this point in the history
Bug was that no argument after a pair would be shown because the
register for the 2nd half of the pair wasn't being found.

Affected all calls that actually had one or more arguments after a pair,
such as bpf_skb_store_bytes, bpf_csum_diff, bpf_skb_set_tunnel_key, etc.

Signed-off-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler authored and elazarg committed Aug 30, 2021
1 parent 812eba7 commit e1616f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/asm_ostream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ struct InstructionPrinterVisitor {
if (r > 1)
os_ << ", ";
os_ << *pair;
r++;
continue;
}

Expand Down

0 comments on commit e1616f4

Please sign in to comment.