Jan Trencansky
1156672942
rdna2spirv: --address-guard checks every heap_base access against the runtime's page table
...
Every Gen.host_addr access (buffer, global_, scalar and BVH loads, stores and atomics) calls one
%guard_fn with its sign-extended 48-bit heap offset, kind and span. Below the arena's size it passes
after a compare; elsewhere the 4 KiB pages of its first and last byte are looked up in a two-level
page table (level 1 by offset bits 47..32, level 2 one bit per page). A refused load reads the zero
area, a refused store or atomic the dump area (an atomic returns 0), and the refusal is counted in
the guard header. Without the header's magic every access passes; without the flag the module is
unchanged byte for byte.
tools/address_guard.py is the Python reference of the table and the check. cs_address_guard is the
fixture of the translator test and of scripts/run_address_guard_gpu_test.py, which runs it on a heap
where every address it touches is real memory, so no run can fault.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-26 09:07:52 -05:00
..
2026-11-25 14:30:51 -06:00
2026-11-25 16:37:28 -05:00
2026-11-23 01:44:40 +01:00
2026-11-26 09:07:52 -05:00
2026-11-23 10:58:55 -06:00
2026-11-23 01:44:40 +01:00
2026-11-22 12:02:47 -06:00
2026-11-22 12:02:47 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 01:44:40 +01:00
2026-11-22 20:40:54 -07:00
2026-11-22 21:54:38 +01:00
2026-11-24 21:19:30 +08:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-24 11:41:59 +03:00
2026-11-24 11:41:59 +03:00
2026-11-22 09:51:36 +00:00
2026-11-24 23:41:08 +08:00
2026-11-22 09:16:19 +00:00
2026-11-22 13:53:56 -03:00
2026-11-22 11:25:37 +01:00
2026-11-23 10:58:55 -06:00
2026-11-22 19:33:56 +01:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-22 12:30:54 +01:00
2026-11-23 10:58:55 -06:00
2026-11-22 19:56:18 +00:00
2026-11-24 21:19:30 +08:00
2026-11-24 01:47:48 -06:00
2026-11-22 05:49:32 -05:00
2026-11-24 11:42:12 -06:00
2026-11-22 11:23:18 +01:00
2026-11-24 21:19:30 +08:00
2026-11-24 11:42:12 -06:00
2026-11-24 01:47:49 -06:00
2026-11-23 13:14:04 -08:00
2026-11-22 14:24:28 +00:00
2026-11-23 14:09:15 -08:00
2026-11-23 01:44:40 +01:00
2026-11-23 01:44:40 +01:00
2026-11-22 16:33:52 +00:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-22 17:39:10 +01:00
2026-11-22 12:29:49 +01:00
2026-11-22 15:38:11 +00:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-24 21:59:18 +08:00
2026-11-22 11:58:01 +01:00
2026-11-23 10:58:55 -06:00
2026-11-24 21:19:30 +08:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-24 10:41:43 -06:00
2026-11-23 19:46:26 -05:00
2026-11-23 20:45:50 +01:00
2026-11-23 22:43:28 -08:00
2026-11-24 11:32:48 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 23:44:45 -05:00
2026-11-23 22:34:02 -08:00
2026-11-24 16:39:41 -05:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 22:32:20 +01:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-24 11:15:37 -06:00
2026-11-23 10:58:55 -06:00
2026-11-24 12:40:29 -06:00
2026-11-24 10:15:23 +01:00
2026-11-22 08:34:03 -05:00
2026-11-25 08:53:57 +07:00
2026-11-25 08:53:57 +07:00
2026-11-23 19:46:26 -05:00
2026-11-23 20:45:50 +01:00
2026-11-22 20:01:58 +00:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-24 11:47:35 -06:00
2026-11-23 10:58:55 -06:00
2026-11-24 09:18:49 -05:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-22 19:03:34 +03:00
2026-11-22 19:03:34 +03:00
2026-11-22 19:34:41 -05:00
2026-11-22 19:34:41 -05:00
2026-11-22 20:55:15 +01:00
2026-11-22 13:33:58 +01:00
2026-11-23 10:58:55 -06:00
2026-11-24 05:22:56 +08:00
2026-11-22 12:48:59 +02:00
2026-11-23 10:58:55 -06:00
2026-11-23 00:45:02 +01:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-22 21:17:31 +02:00
2026-11-22 18:54:57 +01:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:38:36 -06:00
2026-11-22 18:35:23 +03:00
2026-11-22 05:49:32 -05:00
2026-11-22 05:49:32 -05:00
2026-11-22 04:22:04 -08:00
2026-11-24 21:19:30 +08:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-22 19:38:57 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-25 11:07:54 +01:00
2026-11-24 11:42:12 -06:00
2026-11-22 15:30:42 +01:00
2026-11-22 15:03:13 -05:00
2026-11-22 15:03:13 -05:00
2026-11-23 01:03:29 +03:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-22 16:37:21 -06:00
2026-11-24 05:10:19 -05:00
2026-11-22 19:57:23 +01:00
2026-11-22 19:57:23 +01:00
2026-11-22 13:47:51 +01:00
2026-11-23 08:08:11 -06:00
2026-11-22 15:00:17 +01:00
2026-11-22 15:00:17 +01:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 09:48:21 -06:00
2026-11-22 17:56:02 +01:00
2026-11-22 20:14:03 +01:00
2026-11-22 20:14:03 +01:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-23 10:58:55 -06:00
2026-11-22 10:51:49 -05:00
2026-11-22 15:03:30 -05:00
2026-11-22 13:03:37 +01:00
2026-11-22 10:51:49 -05:00
2026-11-22 13:03:37 +01:00
2026-11-22 10:51:49 -05:00
2026-11-23 00:33:30 +01:00
2026-11-24 11:47:35 -06:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-23 00:02:50 -03:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:03:37 +01:00
2026-11-22 13:05:42 +01:00
2026-11-22 11:59:04 +01:00
2026-11-22 09:41:50 +00:00
2026-11-22 12:34:41 +01:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-22 16:37:21 -06:00
2026-11-24 05:10:19 -05:00
2026-11-22 17:36:08 +03:00
2026-11-22 17:36:08 +03:00
2026-11-22 17:36:08 +03:00
2026-11-22 17:36:08 +03:00
2026-11-22 17:36:08 +03:00
2026-11-22 17:36:08 +03:00
2026-11-22 17:36:08 +03:00
2026-11-24 18:36:18 -05:00