[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170501.235158.89801140704756675.davem@davemloft.net>
Date: Mon, 01 May 2017 23:51:58 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ast@...com
Cc: daniel@...earbox.net, netdev@...r.kernel.org,
xdp-newbies@...r.kernel.org
Subject: Re: [PATCH v4 binutils] Add BPF support to binutils...
From: Alexei Starovoitov <ast@...com>
Date: Mon, 1 May 2017 20:49:21 -0700
> (gdb) x/10i bpf_prog1
> 0x0 <bpf_prog1>: ldimm64 r0, 590618314553
> 0x10 <bpf_prog1+16>: stdw [r1+-8], r10
> 0x18 <bpf_prog1+24>: lddw r10, [r1+-8]
> 0x20 <bpf_prog1+32>: add r0, -1879113726
> 0x28 <bpf_prog1+40>: lddw r1, [r0+0]
> 0x30 <bpf_prog1+48>: exit
> 0x38: Cannot access memory at address 0x38
>
> the last line also seems wrong. Off by 1 error?
Maybe, I'll look into it tomorrow. I'll also post my fix for the
branch destination disassembler output tomorrow as well.
Powered by blists - more mailing lists