Re: [PATCH v2 40/53] objtool: Consolidate file decoding into decode_file()
From: Miroslav Benes
Date: Tue May 05 2026 - 07:44:12 EST
On Thu, 30 Apr 2026 21:08:28 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> decode_sections() relies on CFI and cfi_hash initialization done
> separately in check(), making it unusable outside of check().
>
> Consolidate the initialization into decode_sections() and rename it to
> decode_file(), and make it global along with free_insns() and
> insn_reloc() for use by other objtool components -- namely, the checksum
> code which will be moving to another file.
>
> [...]
Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
--
Miroslav