From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87C6B194A6C for ; Wed, 10 Dec 2025 08:56:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765357005; cv=none; b=bhBFI/ltFK1jOoHvTW9dlct7BiRgU6NxfPqj+7YLZmWntOjelEu91vw8SGdKBt/DGumNA+8iIIlMOD3kTF1BRDK89GeFGmUTKRNI/GsZkBDSis2pY4kosRwAyRfZsIzFh6zw/xTTm0nnOrz32iMLEcTwbGBiVRvzheBfaI16gYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765357005; c=relaxed/simple; bh=9PuBO1+8WUeukLho1isLVDoGKpqC9w2pb3Xd41M3Kh8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RtqKKU10Cx2r/bTysKDY/sbG8a41D7NDegZ4dnQlm2wbI4rczia3SbNE57/YdQo3LYpU3XpY0VTInoxLNBWxYOKEbaERd6U4t9PTdA0ocFei2MaR8k+vfZlCnWEQCw0rLjnuENLCszL0y5Nh7QK3dYTs4jIpJcwLrv8JxC/Th5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=ZWUtExa/; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ZWUtExa/" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=IRwPKs/4o7PD9GoTq+HbwlDy3oP4kVPTuxopMUEqstI=; b=ZWUtExa/zTYp9w+0YBTsJCNVFq BH+yRNWvhNkHCvznR9ridr7D3n6dVe6aBrHTCgJrDngEmvnPmlVw72xiKSTnZ7Dn4YDovQVL9dgSB /rBsQ+X19AAGWiyMkceKraR4CNh27iu9x749/iGP8zkZGekdN5G3bMf7GEUgsl/canlvjVR1mDum4 F+5vuIAZ2zyplLj8g/kz7sCjUD7Dq3nKrwOmTFU3NIIWho0p8mnuVsIkX/gYtki0MLSBHp566g7mV KG4sAP7R3JeMwdZchvBY+QUL02jbte7LJLnSbyQK0ftUsWJegYnwNSiFVLyG+92M/Gs3NwJoK9IC3 ZNYolyPA==; Received: from 2001-1c00-8d85-5700-266e-96ff-fe07-7dcc.cable.dynamic.v6.ziggo.nl ([2001:1c00:8d85:5700:266e:96ff:fe07:7dcc] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vTFzz-0000000CcV5-1Udz; Wed, 10 Dec 2025 08:56:39 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id C624B30301A; Wed, 10 Dec 2025 09:56:38 +0100 (CET) Date: Wed, 10 Dec 2025 09:56:38 +0100 From: Peter Zijlstra To: Alexandre Chartre Cc: "Maciej W. Rozycki" , Guenter Roeck , linux-kernel@vger.kernel.org, Ingo Molnar , jpoimboe@kernel.org, david.laight.linux@gmail.com Subject: Re: [PATCH v6 03/30] objtool: Disassemble code with libopcodes instead of running objdump Message-ID: <20251210085638.GI3707837@noisy.programming.kicks-ass.net> References: <20251121095340.464045-1-alexandre.chartre@oracle.com> <20251121095340.464045-4-alexandre.chartre@oracle.com> <26a97504-36ac-4005-a146-09895ae76645@roeck-us.net> <28034b3c-b3f9-4ca6-a735-5f53da887391@oracle.com> <49230c95-290e-4d14-bc4b-b63a1a07fc98@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49230c95-290e-4d14-bc4b-b63a1a07fc98@oracle.com> 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.