[PATCH] libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE

Mark Wielaard mark@klomp.org
Fri Nov 9 17:38:00 GMT 2018


On Sun, Nov 04, 2018 at 09:40:32PM +0100, Mark Wielaard wrote:
> Linux kernel 4.13 introduced 4 more jump class variants.
> 
>   commit 92b31a9af73b3a3fc801899335d6c47966351830
>   Author: Daniel Borkmann <daniel@iogearbox.net>
>   Date:   Thu Aug 10 01:39:55 2017 +0200
> 
>     bpf: add BPF_J{LT,LE,SLT,SLE} instructions
> 
> For conditional jumping on unsigned and signed < and <= between a register
> and another register or immediate.
> 
> Add these new constants to bpf.h, recognize them in bpf_disasm and update
> the testfile-bpf-dis1.expect file.

Pushed to master.



More information about the Elfutils-devel mailing list