We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc76c1b commit 5dad4f4Copy full SHA for 5dad4f4
kernel/bpf/disasm.c
@@ -358,6 +358,9 @@ void print_bpf_insn(const struct bpf_insn_cbs *cbs,
358
} else if (insn->code == (BPF_JMP | BPF_JA)) {
359
verbose(cbs->private_data, "(%02x) goto pc%+d\n",
360
insn->code, insn->off);
361
+ } else if (insn->code == (BPF_JMP | BPF_JA | BPF_X)) {
362
+ verbose(cbs->private_data, "(%02x) gotox r%d\n",
363
+ insn->code, insn->dst_reg);
364
} else if (insn->code == (BPF_JMP | BPF_JCOND) &&
365
insn->src_reg == BPF_MAY_GOTO) {
366
verbose(cbs->private_data, "(%02x) may_goto pc%+d\n",
0 commit comments