]> git.ipfire.org Git - thirdparty/elfutils.git/commit
elflint: process_file both prefix and suffix are NULL or both are non-NULL
authorMark Wielaard <mark@klomp.org>
Tue, 11 Feb 2025 13:46:44 +0000 (14:46 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 11 Feb 2025 13:46:44 +0000 (14:46 +0100)
commit316077dd4b34c90f7e4c4228395a580e99239347
tree1a869f71d04e180749f7299b412ff226e9d3f76a
parent9127ef13eb51cc57f848cb185ee1e56a55c6dad2
elflint: process_file both prefix and suffix are NULL or both are non-NULL

Add an assert of this property to help static analyzers (or humans)
reading this code.

* src/elflint.c (process_file): Add assert.

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/elflint.c