sim: bpf: fix mainloop extract call

The extract function takes the argbuf, not the scache.
This commit is contained in:
Mike Frysinger 2021-01-31 17:17:10 -05:00
parent ba2f0de216
commit bccec180ce
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2021-01-31 Mike Frysinger <vapier@gentoo.org>
* mloop.in (xextract-scache): Call SEM_ARGBUF.
2021-01-31 Mike Frysinger <vapier@gentoo.org>
* decode-be.c (bpfbf_ebpfbe_decode): Change TRACE_EXTRACT to

View File

@ -137,7 +137,7 @@ cat <<EOF
insn = (((UDI) imm32) << 32) | (((UDI) off16) << 16) | (insn & 0xffff);
}
extract (current_cpu, vpc, insn, sc, FAST_P);
extract (current_cpu, vpc, insn, SEM_ARGBUF (sc), FAST_P);
//XXX SEM_SKIP_COMPILE (current_cpu, sc, 1);
}