This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE
- From: Mark Wielaard <mark at klomp dot org>
- To: elfutils-devel at sourceware dot org
- Date: Fri, 9 Nov 2018 18:37:58 +0100
- Subject: Re: [PATCH] libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE
- References: <1541364032-5640-1-git-send-email-mark@klomp.org>
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.