Thread (42 messages) flat view 42 messages, 7 authors, 16d ago

Re: [PATCH v2 0/7] trace2: stop allowing die()

From: Jeff King <hidden>
Date: 2026-09-01 05:03:13

On Tue, Sep 01, 2026 at 01:01:30AM -0400, Jeff King wrote:
quoted
I don't have much knowledge of CodeQL, but the following vibe-coded
.ql script is able to detect these transitive calls and demonstrate
the issue:
Yeah, I think the whack-a-mole can be solved with static analysis that
actually understands the complete (possible) call tree. And then you
wouldn't even really need your banned-die.h, because you'd have the real
thing.
Just to be clear, I am not opposed to banned-die.h in the meantime if it
is helpful to your goals. The whack-a-mole is not something I would
choose to spend time on, but you are welcome to. ;)

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help