lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=wgb-rq67WdzzK+=tiL1_vGn46KU77KdEHLhNKMPyD4gww@mail.gmail.com>
Date: Thu, 6 Nov 2025 16:05:09 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: dsterba@...e.cz
Cc: Josh Poimboeuf <jpoimboe@...nel.org>, Peter Zijlstra <peterz@...radead.org>, 
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, 
	Alexandre Chartre <alexandre.chartre@...cle.com>
Subject: Re: odd objtool 'unreachable instruction' warning

On Wed, 5 Nov 2025 at 11:51, David Sterba <dsterba@...e.cz> wrote:
>
> FWIW, 'objdump --visualize-jumps' shows the arrows, with
> '--visualize-jumps=extended-color' they're colored and it's readable.

Hey, hey, hey - when did that happen? I've clearly not read the
man-page in ages.

Because that's _almost_ lovely. If objdump just handled relocations
more sanely, it would be really nice.

[ Looking around in the binutil sources, it's been there for five
years, and was in the 2.34 release ]

Because of the insanity of relocation handling, it shows regular
"call" and "jmp" instructions out of the function as branches to the
next instruction (because that's the non-relocated info).

And because it puts the visualized things in front of the
instructions, the end result has strange random indentation depending
on complexity of the function.

But it's tantalizingly close to great, and it's certainly an
improvement over not having that at all.

Added to my "disassemble" alias.

          Linus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ