Re: [PATCH v6 03/30] objtool: Disassemble code with libopcodes instead of running objdump

From: Peter Zijlstra
Date: Wed Dec 10 2025 - 03:56:49 EST


On Wed, Dec 10, 2025 at 08:06:51AM +0100, Alexandre Chartre wrote:

> > As attractive as it may seem how is this stuff supposed to fly given that
> > binutils internal libraries promise no stable API to out-of-tree software.
> > The interfaces can change anytime, just as it is with our internals.
>
> Note that bpf (tools/bpf) is also using libbfd and libopcodes.

OTOH tools/perf opted to use libcapstone instead.