Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgen: fix instructions count for double instructions
Some BPF instructions are composed of 2 bpf_insn structures. The bytecode dump logic count those as a single instructions, messing up the index displayed next to the instruction. Fix this bug by incrementing the instruction index twice in case of double instruction.
- Loading branch information