Files
codebase-memory-mcp/tests/fixtures/profile_text/fixture.c
T
Martin Vogel a245618a64 wip(ci): checkpoint hybrid test-impact implementation
Preserve the current selector, frozen-input inventory, result codec,
coverage collection, runner filtering, and isolated Windows venue work.
Component-level regression proofs are recorded in the PR handover.

The live classified provider, public execution integration, artifact
admission, fresh oracle/shadow evidence, and full platform gates remain
incomplete. This checkpoint does not enable or claim verified narrowing.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-10-03 23:55:18 +02:00

24 lines
647 B
C

#include <string.h>
/* External names and a live volatile pointer keep the cold record retained. */
__attribute__((noinline, used)) int cbm_profile_probe_hit(void) {
return 42;
}
__attribute__((noinline, used)) int cbm_profile_probe_never(void) {
return 37;
}
__attribute__((used)) int (*volatile cbm_profile_probe_keep_never)(void) =
cbm_profile_probe_never;
int main(int argc, char **argv) {
if (argc != 2 || !cbm_profile_probe_keep_never)
return 2;
if (strcmp(argv[1], "--list") == 0)
return 0;
if (strcmp(argv[1], "--hit") == 0)
return cbm_profile_probe_hit() == 42 ? 0 : 3;
return 2;
}