mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-06 17:49:47 +00:00
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>
24 lines
647 B
C
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;
|
|
}
|