bpf: disasm "fake" jump conditions
JumpNotEqual, JumpLessThan and JumpLessOrEqual are "fake" jump conditions that don't appear in the machine code. Nevertheless these instructions (jneq/jne, jlt, jle) are listed in the specification and therefore they should be reconstructed from the machine code. Fixes golang/go#18470 Specification: https://www.kernel.org/doc/Documentation/networking/filter.txt Change-Id: I9116b99056e379d89e71adc90516c6747d388e5d Reviewed-on: https://go-review.googlesource.com/34772 Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
Showing
Please
register
or
sign in
to comment