Repository navigation
[AUTOMATED] campaign(decbench): round-2 triage — 9 tracks, verify-first, adversarially refuted - #247
Merged
Merged
Conversation
…st, adversarially refuted Round 2 of the decbench improvement loop. Nine investigation tracks, one agent each, every finding re-derived on today's build before it was allowed to count, then handed to a second agent briefed to refute it. Tracks: the three un-shipped round-1 items (rodata-phantom-store, paramcopyhoist, the $$undef placeholder leak), three NOVEL wart clusters ((code *) casts, CONCAT/SUBPIECE soup, raw registers), fresh angr- and ida-pool cases, and an audit of options registered but absent from `kuna catalog`. Outcome: 8 live candidates, 1 confirmed already-fixed (the PTRSUB spacebase render, PR #226 — all 267 corpus instances now print a stack location). The refuters earned their keep again: they overturned the filed diagnosis on three of eight while leaving the symptom standing, and two of them rebuilt kuna with the proposed fix to prove the mechanism was not a no-op. Round 1's filed-mechanism record is now 2-for-5; treat every "root cause" line in these records as a starting point to disprove, not a conclusion. Two findings are much larger than the cases that surfaced them: - RuleSubRight::apply_op is a stub, so every nonzero-offset SUBPIECE prints as a raw `SUBnn` p-code operator: 5,919 occurrences in 2,394 functions (3.1%) against ghidra's 18 in 13 (0.017%) — a 329x ratio, and `SUBnn` is an undeclared identifier, so those panes are not C. - The funcptr_align seam is stubbed, so every ARM/Thumb indirect call emits an invented ISA-mode bit-clear and loses the function-pointer type: 4,027 sites in 2,496 functions across 9 ARM projects, plus every AARCH64, MIPS, Loongarch and 8051 cspec that carries <funcptr>. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_017dPFaKJanfLSf7mWGhkzkL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Round 2 of the decbench improvement loop (
docs/decbench-loop.md). Nine investigation tracks, one agent each, every finding re-derived on today's build before it was allowed to count, then handed to a second agent briefed to refute it.No code changes — triage records only.
Outcome
8 live candidates, 1 confirmed already-fixed.
subright(code *)castsfuncptralign$$undefleakundefname-leakparamcopyhoistreturncopysplitpeimportcallitecondlistcatalog-upstream-optionsThe refuters earned their keep again
They overturned the filed diagnosis on three of eight while leaving the symptom standing, and two rebuilt kuna with the proposed fix to prove the mechanism was not a no-op. Round 1's filed-mechanism record is now 2-for-5.
Overturned:
returncopysplit(the proposedRuleSplitCopyseam is scheduled afterfullloop, soHeritage::refine_writeprovably cannot produce the write-backs),peimportcall(the named P2 seam cannot see the shape — at that point the CALLIND target is a free unique and raw flow IR carries no def-use links at all),itecondlist(right defect, wrong case and wrong reach).Two findings are much larger than the cases that surfaced them
RuleSubRight::apply_opis a stub. Every nonzero-offset SUBPIECE prints as a raw p-code operator (SUB81(a1,7)) instead of upstream's(char)(a1 >> 0x38). 5,919 occurrences in 2,394 functions vs ghidra's 18 in 13 — a 329x ratio, andSUBnnis an undeclared identifier, so those panes are not valid C. The refuter transcribed upstreamruleaction.cc:7291-7340into the stub and rebuilt to confirm.funcptr_alignseam is stubbed. Every ARM/Thumb indirect call emits an invented ISA-mode bit-clear ((*(code *)(ptr & 0xfffffffe))()) and loses the function-pointer type on the loaded field. Not ARM-only: every AARCH64 (align=4, so it strips an address-alignment mask), MIPS, Loongarch and 8051 cspec carrying<funcptr>is affected.Verify-first mattered
The mined pools were built from kuna output that is stale — O2/O2-noinline by a day, O0 by ~100 commits (older than the 2026-07-27 date the docs cite). One track resolved to
already-fixedpurely because today's build closed it. A kuna-only O0 refresh is running separately.🤖 Generated with Claude Code
https://claude.ai/code/session_017dPFaKJanfLSf7mWGhkzkL