Drew T
f574f3c80e
feat(match_one): derive the opt level from the target — the -O0 oracle was never wired up
...
--o0 has existed since P29 and NOTHING ever passed it: api_draft.match_one(), the
oracle every wave agent iterates against, builds a fixed argv without it. Every agent
handed an -O0 target was shown an -O2 compile of its own C and a mismatch on every
instruction — feedback that cannot converge, for a reason invisible in the diff, and
it hit even the 51 functions already sitting in -O0 objects.
match_one now decides from the target (R33), with two oracles because neither alone
is sufficient (R34): the -O0 frame-pointer prologue in the target's own bytes, OR the
subseg being an object the Makefile compiles -O0. boot/start.s is built -O0 with no
ordinary prologue; an -O0 function stranded in an -O2 subseg has the prologue but
cannot bank — and match_one now says so instead of letting an agent chase it.
The prologue scan is anchored at glabel, not the top of the file: two md_MAIN_011
.s files open with a migrated jump table / .asciz blob and a naive scan read table
words as the prologue.
tools/test_o0_detect.py: 14,400 .s scanned, 167/167 signature files covered, 0 false
positives outside -O0 objects, both rodata-first files detected.
Census correction in the design doc: the handoff's refutation of md_MAIN_003/011 is
itself wrong (16 and 21 -O0 functions, byte-verified), and the 311 '$fp mentions'
figure over-counts because $fp is $s8, allocatable at -O2. True population: 167
files, of which 116 / 14,148 ins are -O0 functions the build compiles -O2 — double
the atlas estimate, with x2/x3/x4 sibling replication.
2026-08-24 11:15:33 -06:00
..
2026-06-14 03:56:07 -06:00
2026-06-14 03:19:23 -06:00
2026-06-15 17:15:31 -06:00
2026-06-13 19:47:42 -06:00
2026-06-14 03:56:07 -06:00
2026-08-06 13:34:50 -06:00
2026-08-24 11:09:38 -06:00
2026-06-14 03:56:07 -06:00
2026-06-14 03:56:07 -06:00
2026-07-28 14:53:47 -06:00
2026-07-02 23:32:38 -06:00
2026-08-13 17:44:20 -06:00
2026-07-26 23:37:35 -06:00
2026-06-29 12:52:39 -06:00
2026-08-24 00:24:11 -06:00
2026-08-23 00:12:07 -06:00
2026-08-23 12:59:59 -06:00
2026-08-14 11:23:26 -06:00
2026-08-15 01:32:34 -06:00
2026-08-14 18:06:46 -06:00
2026-08-23 12:59:59 -06:00
2026-08-06 10:55:38 -06:00
2026-08-04 21:48:57 -06:00
2026-08-06 10:57:17 -06:00
2026-07-29 00:42:40 -06:00
2026-07-31 14:18:11 -06:00
2026-06-19 10:05:58 -06:00
2026-06-21 13:12:04 -06:00
2026-06-18 23:15:31 -06:00
2026-06-21 13:06:34 -06:00
2026-07-28 19:34:00 -06:00
2026-08-06 10:57:17 -06:00
2026-07-14 21:25:19 -06:00
2026-08-16 17:21:10 -06:00
2026-07-26 23:08:07 -06:00
2026-07-24 14:11:58 -06:00
2026-07-23 19:54:19 -06:00
2026-07-14 09:22:31 -06:00
2026-07-23 11:43:28 -06:00
2026-08-24 00:24:11 -06:00
2026-08-14 23:44:03 -06:00
2026-08-07 18:57:10 -06:00
2026-07-22 15:24:59 -06:00
2026-06-17 00:30:45 -06:00
2026-06-20 17:12:00 -06:00
2026-07-14 19:59:56 -06:00
2026-08-05 11:05:35 -06:00
2026-08-14 12:08:50 -06:00
2026-08-06 13:34:50 -06:00
2026-08-07 20:36:04 -06:00
2026-08-10 16:01:49 -06:00
2026-07-31 01:12:02 -06:00
2026-08-14 17:48:51 -06:00
2026-08-18 15:44:55 -06:00
2026-06-14 14:47:01 -06:00
2026-08-10 10:43:44 -06:00
2026-07-14 02:50:28 -06:00
2026-08-07 23:14:15 -06:00
2026-07-24 14:25:28 -06:00
2026-07-16 12:07:37 -06:00
2026-07-15 18:20:55 -06:00
2026-08-06 09:51:39 -06:00
2026-08-14 07:42:19 -06:00
2026-08-07 15:07:55 -06:00
2026-06-29 16:49:11 -06:00
2026-07-15 18:20:55 -06:00
2026-06-30 01:46:54 -06:00
2026-08-14 19:54:57 -06:00
2026-08-14 19:59:21 -06:00
2026-08-11 13:42:40 -06:00
2026-07-14 09:40:38 -06:00
2026-08-23 00:12:07 -06:00
2026-08-18 15:32:32 -06:00
2026-08-07 22:09:05 -06:00
2026-08-07 18:57:10 -06:00
2026-07-23 12:42:43 -06:00
2026-06-30 01:46:54 -06:00
2026-08-16 21:07:03 -06:00
2026-08-18 11:08:29 -06:00
2026-08-15 09:31:10 -06:00
2026-08-24 10:27:34 -06:00
2026-08-12 18:14:21 -06:00
2026-06-19 10:05:58 -06:00
2026-07-14 00:08:59 -06:00
2026-06-15 20:55:28 -06:00
2026-06-15 23:25:00 -06:00
2026-06-14 03:19:23 -06:00
2026-06-14 03:19:23 -06:00
2026-06-14 02:04:28 -06:00
2026-06-14 02:04:28 -06:00
2026-07-02 16:56:56 -06:00
2026-07-01 21:03:08 -06:00
2026-07-31 12:26:03 -06:00
2026-08-14 16:40:43 -06:00
2026-08-23 12:59:59 -06:00
2026-07-01 23:13:29 -06:00
2026-06-25 13:09:02 -06:00
2026-08-23 12:59:59 -06:00
2026-08-07 22:09:05 -06:00
2026-06-30 11:15:11 -06:00
2026-08-24 10:57:19 -06:00
2026-07-12 22:06:17 -06:00
2026-08-24 10:45:01 -06:00
2026-08-04 19:31:33 -06:00
2026-07-18 02:03:48 -06:00
2026-07-12 21:51:27 -06:00
2026-08-14 19:54:57 -06:00
2026-08-14 19:54:57 -06:00
2026-07-23 19:54:19 -06:00
2026-08-05 00:37:59 -06:00
2026-06-30 15:32:56 -06:00
2026-08-10 16:01:49 -06:00
2026-06-15 20:55:28 -06:00
2026-06-15 13:44:32 -06:00
2026-06-15 20:55:28 -06:00
2026-08-17 21:37:23 -06:00
2026-07-02 23:10:54 -06:00
2026-08-24 11:15:33 -06:00
2026-06-14 03:19:23 -06:00
2026-08-06 12:36:49 -06:00
2026-08-06 10:59:03 -06:00
2026-07-18 20:30:43 -06:00
2026-07-31 08:41:54 -06:00
2026-08-17 09:55:46 -06:00
2026-06-22 21:22:35 -06:00
2026-08-11 15:58:25 -06:00
2026-08-24 10:27:34 -06:00
2026-06-18 23:40:17 -06:00
2026-06-18 23:15:31 -06:00
2026-08-05 15:59:27 -06:00
2026-07-07 20:20:43 -06:00
2026-07-21 15:05:56 -06:00
2026-08-14 19:42:55 -06:00
2026-08-06 10:57:17 -06:00
2026-08-18 15:32:32 -06:00
2026-08-07 15:07:55 -06:00
2026-06-14 21:24:10 -06:00
2026-06-15 21:00:36 -06:00
2026-06-15 21:00:36 -06:00
2026-06-14 21:24:10 -06:00
2026-06-15 21:00:36 -06:00
2026-06-15 21:00:36 -06:00
2026-06-15 21:00:36 -06:00
2026-06-19 13:03:14 -06:00
2026-08-16 22:49:05 -06:00
2026-08-04 21:48:57 -06:00
2026-08-11 21:12:44 -06:00
2026-06-26 03:06:54 -06:00
2026-08-14 19:42:55 -06:00
2026-08-15 09:50:48 -06:00
2026-07-27 00:06:01 -06:00
2026-07-28 19:34:00 -06:00
2026-07-30 17:05:50 -06:00
2026-07-30 16:32:37 -06:00
2026-08-16 18:11:32 -06:00
2026-08-11 19:07:07 -06:00
2026-07-28 20:15:11 -06:00
2026-06-30 01:46:54 -06:00
2026-08-07 18:57:10 -06:00
2026-08-14 17:48:51 -06:00
2026-07-14 15:39:07 -06:00
2026-06-15 20:55:28 -06:00
2026-07-28 13:20:27 -06:00
2026-08-23 12:59:59 -06:00
2026-07-24 21:30:08 -06:00
2026-07-10 00:02:55 -06:00
2026-08-24 10:42:11 -06:00
2026-08-24 11:15:33 -06:00
2026-08-07 18:50:29 -06:00
2026-07-21 15:05:56 -06:00
2026-06-29 20:07:48 -06:00
2026-07-30 22:00:32 -06:00
2026-07-23 20:51:42 -06:00
2026-08-23 12:59:59 -06:00
2026-07-28 13:20:27 -06:00
2026-08-23 12:59:59 -06:00
2026-06-19 12:13:38 -06:00
2026-08-14 19:59:21 -06:00
2026-08-18 15:25:49 -06:00
2026-07-14 09:22:31 -06:00
2026-07-16 02:01:15 -06:00