Re: [PATCH] libdwelf: New function dwelf_elf_begin.

2018-11-04 Thread Mark Wielaard
On Mon, 2018-10-22 at 01:47 +0200, Mark Wielaard wrote: > It currently wraps __libdw_open_file which makes error handling > slight tricky and needs duplicating the file handle. Which introduced some confusion that could cause the file descriptor to leak. The attached updated patch adds a variant t

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

2018-11-04 Thread Mark Wielaard
Linux kernel 4.13 introduced 4 more jump class variants. commit 92b31a9af73b3a3fc801899335d6c47966351830 Author: Daniel Borkmann 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

Re: [PATCH] Also find CFI in sections of type SHT_X86_64_UNWIND

2018-11-04 Thread Mark Wielaard
On Mon, 2018-10-29 at 16:21 +0100, Milian Wolff wrote: > On my system with g++ (GCC) 8.2.1 20180831 with GNU gold (GNU > Binutils > 2.31.1) 1.16, the .eh_frame section does not have type PROGBITS > but rather is using X86_64_UNWIND nowadays: Urgh, who thought it would be a good idea to have a arch