diff --git a/.crumb b/.crumb index 3204fd9ca..39a2131d9 100644 --- a/.crumb +++ b/.crumb @@ -47,8 +47,8 @@ "purpose": "Directory calibration. Purpose not yet described by a human." }, { - "digest": "97cea09c64062a83e88ed0ef689bad3f86216860886800a9aaa96d1525dc561b", - "last_commit": "613765d2b", + "digest": "00a168ce33f2d6478487effe177276c7013627b49d077fd8c111905f68f32b1b", + "last_commit": "d3763c7f2", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -60,19 +60,19 @@ }, { "digest": "c0668c8969cceab0f03ac6ab352ae579c8b473a9ec743d80c89fc187b769c12c", - "last_commit": "6d7b88384", + "last_commit": "22011cbc9", "name": "mk", "purpose": "Directory mk. Purpose not yet described by a human." }, { - "digest": "968629f559041774f86d45d87d153c0094ee23b46a67d63959de9c5d2fd7cd0a", - "last_commit": "f5c9bd89a", + "digest": "622d98bd2dfcae7f3a0caab34e583cb63659a500afb4eb31264e839ce2529dc3", + "last_commit": "e1968fe5e", "name": "native", "purpose": "Handwritten .om units of omega-mv that are not part of the seed ladder: the ORIG-4 shadow adviso" }, { - "digest": "1973c1d57f6cf961b5c11cd84b0ceebd3bbe5250a7abd40e05988a138e248185", - "last_commit": "f56a372ae", + "digest": "ef71e3b8758de407b6644ae4d069c6eecea07849c57b7de1ce67ce03386ff2e8", + "last_commit": "e1968fe5e", "name": "neuralese", "purpose": "Bounded untrusted representation envelopes and explicit checked Omega decoding; learned extensio" }, @@ -89,33 +89,33 @@ "purpose": "Directory spec. Purpose not yet described by a human." }, { - "digest": "cd8f78e6b6ca22288d7f77a7e6438a1f085c5fbf5ad7cc3bf0254627d2e71015", - "last_commit": "5a8bb29a2", + "digest": "7d8a7c8029dba378d0c59047ad32885348baf084b3ad9dbc06921b6bb490659e", + "last_commit": "e1968fe5e", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, { "digest": "4e7251847298392c2e24591e45747e2b214c48f66a636063fbd7b3ab32a55a6d", - "last_commit": "6d7b88384", + "last_commit": "a370a673e", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, { "digest": "c9c0eb6fcb03f5be2576714a9b49e2ead49190277059fcbbd253f49db07c047d", - "last_commit": "6d7b88384", + "last_commit": "22011cbc9", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:1d1aa55dc6d8ef9da740009a2b96f7b386eefe27999cebe9b3a364489b06df4d", - "compiled_at": "2026-10-31T04:21:57Z", + "children_root": "sha256:4b14d5958f47b6630055cf4a2246a89549620f97b64495ebf50844cac8cae2f9", + "compiled_at": "2026-10-31T04:29:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:fdd2cb63a9d37b205328cfc066ab949415a91adf03c7194c2bfe7be8a4de7dd2", - "evidence_files": 14606, - "evidence_root": "sha256:28233834368ddb7bbc564ab04c645c15958342765d5d3455dec54131f161a4f8", - "files": 22760, - "generated_at_commit": "5a8bb29a2c1be2c004377e386dcc4000c24b938d", - "source_tree": "sha256:e198912b14f03eed4290e2ecd19fcab8e6034edf3fea9e808ab6ee33986c74e4" + "digest": "sha256:dc10325615480d6d9d4f190dd04139cdf3b7d9e4feb0c756998ea7f7469a9e33", + "evidence_files": 14989, + "evidence_root": "sha256:324e080e7c8c3f9118b579e9a9045a3dc4c1f4e774c128d577635bda41dbd059", + "files": 23182, + "generated_at_commit": "6aadea5b1b2d91ae91d6db636e96bc2b6df6c393", + "source_tree": "sha256:d5f0a03955477b0190f5982d62aac726c0e6df2e3b560f0f6b573b6066408c8b" }, "owner_lane": "", "provenance": { diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 7dfa6f7a7..522977f8d 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -88,3 +88,4 @@ Update this table in the same commit as the work it credits. | Grok 4.7 | AES-GCM-SIV (RFC 8452) in `om/tls/gcmsiv.om`, the #639 keystream-reuse detector (27 checks, six mutants including a one-line AES-GCM mode swap), and the `seed/host/check.sh` hook whose no-op tamper exits nonzero. Host exercised; not hardware qualified. | | Claude Opus 5.5 | Ported the #671 packed-list hostile-ingress campaign (from 9a2b6a5) to main as an OM-2 conductor gate in `seed/host/check.sh`: 60 runtime packet, boundary and truncation cases, with size, count and exact-length mutant compilers each detected, and the record-length mutant documented as undetectable by exit status | | Claude Opus 5.5 | Added the host CPU words `cpufence` (DSB SY / MFENCE) and `cpurelax` (YIELD / PAUSE) to omc (#939) as keyword ids 199/200 (first 178/179, renumbered because open PRs #878/#890 claimed 178..180 first), with the `seed/host/cpufence.sh` fixture, refusal checks and a nop-fence mutant; reseeded the compiler and regenerated the pinned units, moved every gate and parity `OMC_PIN`, and re-pinned GEN-1 (revision 2) for the new OMEGESE section. | +| Claude Opus 5.5 | Merged #946 (cpufence 199/200) into the #970 execpure branch: reseeded omc to 7a8b84fc at 512 functions with execpure 198, moved every active pin, regenerated the pinned units, took main's packed-list ingress and #608 trace segment over the PR copies (dropping the superseded segment-gate.om from gate669), and ported the #856 getppid check from the deleted seed/host/gate.sh into seed/host/gate.om with a getpid negative control. Made the #671 hostile source campaign (gate669 mode 3) pass again: tok_num and ir_lead scan words and leading blanks in nested 999999-pass loops instead of trapping 4, the function-count fixture avoids the f32/f64 type keywords and follows the 4096-function cap. | diff --git a/MIGRATION.md b/MIGRATION.md new file mode 100644 index 000000000..0b2ad9da6 --- /dev/null +++ b/MIGRATION.md @@ -0,0 +1,95 @@ +# Replace legacy first-party code with seeded `.om` + +Directive: the final state is seeded `.om` throughout the project's first-party implementations, +including runtime, compiler, services, build/release tools, automation and project-owned tests. +There is no permanent legacy, wrapper or dual production path. For each component: implement and +qualify its `.om` replacement, cut consumers over, then delete the superseded implementation and its +obsolete dependencies. Consult old source in Git history; do not keep an active legacy directory. + +Independent third-party oracles may stay outside the delivered source/build/runtime closure with +their identities disclosed. Project-authored oracles are migrated too. + +## Current inventory + +This checkout, counted at the cutover commit: + +| Area | Legacy now | Notes | +| --- | ---: | --- | +| `src/` | 272 C, 254 headers | runtime, OSH, authority, compiler C path, numeric kernels, services | +| `tests/` | 238 C, 35 headers, 3 Rust | project test harnesses and differential twins | +| `tools/` | 51 C, 10 headers | emitters, acceptance helpers, build tools | +| `bench/` | 6 C | benchmark drivers | +| `seed/` | 3 C | reference runner, sm121 listing, remaining seed oracles | +| `seed/omc/omc.om` | 1 `.om` production compiler | builds all other first-party `.om` | +| Cross-repo | Rust/C | `spark-rsi-mv`, `open-humanity`, `aienux`, `aien-sovereign-core-mv` | + +The count is large enough that this is a phased replacement, not one change. Every phase ends with +deleted legacy code and qualified consumers; a plan or a passing unit test is not a cutover. + +## Order + +0. **Stop new legacy.** New first-party implementation, runners and tests are seeded `.om`. Missing + facilities go to the existing compiler owner, not a new C/Rust/Python helper. +1. **Seed test and tooling surface** (pilot complete): remove gcc-built C twins; use committed + expected outputs and data fixtures; then replace `seed/check/runner.c`, `seed/sm121/sm121list.c` + and the remaining seed shell coordinators with `.om` coordinators. +2. **Authority and effect runtime**: `src/runtime/rx_capq`, `rx_caproot`, `rx_semantic`, + `src/osh/host/osh_exec.c` and their consumers. The `.om` replacement must carry grant identity, + generation, revocation, durable state and dispatch; the strict `execpure` launcher is the first + effect boundary. Delete the C authority path only after every consumer is cut over. + Status: the action, delegation and reuse transition contracts are promoted to + `seed/authority/` and pass 219/074/074 checks; the durable 32-word record store with fsync, + atomic rename and torn-file refusal passes 77 checks. The dispatcher persists in-flight, runs a + synthetic effect, records performed/unknown, and marks unknown when the generation changes during + the effect (37 checks, including /bin/true and a static strict-profile exec). Real-effect dispatch, a cross-process lock and consumer cutover are next; + the C owner remains active. +3. **Trace and privacy (#607)**: `rx_argus`, trace producers and the Open Humanity consent lane. + Status: the local `.om` segment writer (`seed/trace/segment.om`, #608) is qualified by + `seed/trace/gate.sh` (71 checks and four source mutants: CRC, torn tail, alignment, exclusive + create; quarantine and recovery). A one-shot `.om` SHA-256 (`seed/trace/sha256.om`) passes five + standard vectors and runs in the security673 qualification gate. + Exact-byte consent/export and the receiver contract remain `NOT_RUN`: the Open Humanity receiver + contract is not in this repository, and no second wire contract is invented here. +4. **Evaluation and promotion (spark-rsi #67)**: replace the Rust promotion/evaluator gate with the + `.om` owner; keep sealed tasks outside the proposer's writable surface. +5. **Device and DMA (#672)**: `.om` device contracts and queues. Firmware and hardware are outside + the delivered source closure; physical qualification stays `NOT_RUN` until reserved hardware is + exercised. +6. **Build, release and automation**: Makefile targets and shell gates become `.om` coordinators; + remove shell/Python orchestration from the delivered path. + Status: native `chdir` (code 138) landed with `seed/host/tests/chdir.om`; the `.om` host-gate + coordinator `seed/host/gate.om` replaced `seed/host/gate.sh` and runs all 39 native host + fixtures plus generated identity programs, with an optional candidate-compiler argument. + Remaining shell release/packaging targets are still open. +7. **Compiler trust**: the C reference path is replaced or demoted to an external oracle outside the + closure; add the independent route required for diverse double compilation. +8. **Cross-repo services**: migrate the named repositories under their own owners and ledgers. + +## Cutover rules + +- One owner and exact paths per component; no second compiler, runtime, authority or store. +- Freeze source/seed/compiler/binary/config identities and record raw commands and exits. +- Qualify the replacement, cut every consumer over, then delete the superseded implementation. +- Preserve Git history and immutable evidence; do not rewrite history or keep dead source active. +- Missing hardware, an independent compiler route or an authority owner is `NOT_RUN`/`BLOCKED`, + never `PASS`. + +## Pilot completed + +`seed/rung4/tests/{fib,sort,bytecopy}.c` were gcc-built twins of the `.om` programs. They are +deleted. `fib.want`, `sort.want` and a deterministic `in.bin`/`bytecopy.want` are committed; +`gate4.sh` now compares the `.om` output with those fixtures and does not invoke gcc for the +program tests. `gate4` passes with 217 cases, including the expected-output checks. The C reference +runner remains for a later phase because it links the legacy C path and is an oracle, not a +production component. + +## Known `.om` capability gaps for later phases + +- Multiple source files/imports for service-sized programs. +- Structured records and bounded maps for policy, grants and receipts. +- Durable atomic state primitives beyond single-file create/rename. +- Process supervision/process-tree budgets for the authority dispatcher. +- Threads or event loops for long-running services (the current host words are synchronous). + +These are dependencies for the existing compiler/runtime owners. They are not exemptions for +keeping C or Rust. diff --git a/docs/.crumb b/docs/.crumb index 71db7460e..4c959c25d 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -124,14 +124,14 @@ } ], "children_root": "sha256:c81d43c0c392dfec2b6ed5b38ba95ea7c592782b283950e32b777e7b9cfd9d61", - "compiled_at": "2026-10-31T02:49:10Z", + "compiled_at": "2026-10-31T03:15:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:97cea09c64062a83e88ed0ef689bad3f86216860886800a9aaa96d1525dc561b", + "digest": "sha256:00a168ce33f2d6478487effe177276c7013627b49d077fd8c111905f68f32b1b", "evidence_files": 34, "evidence_root": "sha256:589d8b3706e6d7a202ab20b278dac5fc5bafc973f1c2a867b2668aa7210b65cc", "files": 147, - "generated_at_commit": "7fd7e5f7f3e02a24887d47223185a6fd3ed36243", - "source_tree": "sha256:af5c6d15838e7c2fe90f9a2932c908cadc26f743b1cc5f370d83f9d64d43ca9b" + "generated_at_commit": "bce3daa8f5b2975f01ffe2d57d9946fc16bf0a92", + "source_tree": "sha256:2e8f0df29d4a4f0c48ae1619df665fd365c55d6bdec9ecd738d92ec687906c12" }, "owner_lane": "", "provenance": { diff --git a/docs/X86-LINUX.md b/docs/X86-LINUX.md index 247b533b1..af8e05ac2 100644 --- a/docs/X86-LINUX.md +++ b/docs/X86-LINUX.md @@ -160,6 +160,11 @@ including socket, polling and device/mapping routes; wiring and coverage are still being integrated. Their presence alone does not establish support for every existing host fixture. Reusing AArch64 emitters is not an implementation. +`execprog` (word 124) in `xhpack` calls `close_range(3, ~0U, CLOSE_RANGE_UNSHARE)` (syscall 436) +before `execve`, and a nonzero result skips the exec and returns that kernel error, matching the +AArch64 descriptor boundary. `execpure` (word 198) has no x86 strict-profile lowering (Landlock, +seccomp and limits are AArch64-only); `xhost` refuses it with error 25. + A complete host lowering needs a per-word x86 Linux syscall-number and argument-order mapping, checked against the x86 UAPI rather than `asm-generic/unistd.h`. Record layouts need a separate audit: `stat` fields and diff --git a/docs/one_layer/OMEGESE.md b/docs/one_layer/OMEGESE.md index 5ee61401f..b24683e9a 100644 --- a/docs/one_layer/OMEGESE.md +++ b/docs/one_layer/OMEGESE.md @@ -411,6 +411,10 @@ gate that tests it (`seed/rung4/gate4.sh`, section numbers of that script). Deci main's value modulo 256 (Linux keeps the low 8 bits), 0 for a void main. (s.6 t_exit, s.7) - A trap in program mode ends the program with exit status 100 + the trap code; in function mode it calls OscRt.trap as the C path does. (s.6 t_*, s.4-5) +- A conditional branch (B.cond, CBZ, CBNZ) carries a signed 19-bit word displacement. A block layout + that needs more than 2^18 - 1 words forward or 2^18 words back (1,048,572 or 1,048,576 bytes) is + refused with error 24 before any output is accepted; it is never silently truncated. Unconditional + B uses a 26-bit field, which the 8 MiB output capacity cannot exceed. (gate 669) An initial line `target x86linux` selects the candidate FR-9 native x86-64 Linux backend. Without it, the existing AArch64 output remains unchanged. Whole-program output is a @@ -526,6 +530,8 @@ The candidate `target x86linux` backend has a 16 MiB output pool because native x86 instruction sequences can require more bytes than their AArch64 counterparts. The AArch64 output ceiling remains 8 MiB; input and frontend limits are unchanged. An exhausted target output pool still refuses with error 14. +A single AArch64 conditional branch span is limited to 2^18 - 1 words forward or 2^18 words back +(section 9.1); a larger span is error 24, even when the input and output pools still fit. ### 9.7 Structs (omc only, rung 6) @@ -883,6 +889,7 @@ Non-byte arrays and mismatched scalar types are error 7. | `pipefds A off n flags` | Create a pipe with `pipe2`; write two little-endian 32-bit descriptors. Capacity at least eight. | | `dupfd fd target flags` | Duplicate onto a chosen descriptor using `dup3`. | | `execprog A off n` | Replace the process using a packed argument list. Only returns on failure. | +| `execpure A off n` | Keyword id 198, AArch64 only (x86 emission refuses with error 25). As `execprog`, then pin the executable as descriptor 3 and apply the fixed strict stdio profile below before `execveat(AT_EMPTY_PATH)`. Only returns on failure, with the first failing step's negative errno. | | `argcnt` | Return argument count, including the executable name. | | `argread index A off capacity` | Copy argument bytes without a terminator; return byte length. An invalid index traps 3. Insufficient capacity returns -105 without changing the slice. | | `envcnt` | Return the number of entries in the process environment (the `envp` the kernel supplied). | @@ -940,11 +947,36 @@ may be empty. `renames` requires exactly two nonempty path records. The compiler constructs private, bounded pointer lists for the kernel. They are never exposed as language values. `execprog` supplies an empty environment, -preserves the working directory and ordinary inherited descriptors, and does -not search PATH or invoke a shell. Programs should explicitly request -close-on-exec descriptors where needed. Forked children are independent +preserves the working directory and standard streams (descriptors 0, 1 and 2), and does +not search PATH or invoke a shell. Before execution it closes every descriptor +at or above 3 using Linux `close_range(3, UINT_MAX, CLOSE_RANGE_UNSHARE)` +(AArch64 and x86-64 emission alike). +If that kernel operation fails or is unavailable, execution is refused with +the kernel's negative error result; no descriptor-loop fallback is used. +After a successful close, an executable-path failure still leaves those descriptors +closed. Malformed packets trap before descriptor closure. Callers must explicitly +bind intended streams before invoking `execprog`; higher-numbered descriptor +inheritance is unsupported. This prevents accidental descriptor inheritance; +it does not restrict filesystem paths, network creation, current-directory access, +subprocesses or arbitrary native code. Existing authority/launcher integration is +still required for those effects. Forked children are independent processes and must be reaped; this extension does not add shared-memory threads. +`execpure` (word 198) decodes and closes descriptors exactly as `execprog`, then applies a fixed +strict stdio profile before entering the program: it opens the executable path `O_PATH|O_CLOEXEC` +as descriptor 3; creates a Landlock ruleset that handles every ABI-3 filesystem right and allows +only execute and read-file beneath that inode; sets `PR_SET_NO_NEW_PRIVS`; restricts itself to the +ruleset; sets seven `prlimit64` ceilings (CPU 1/2 s, file size 1 MiB, stack 8 MiB, core 0, processes +0, descriptors 4, address space 128 MiB); installs a seccomp filter that kills the process on a +non-AArch64 audit architecture and allows only `read` on descriptor 0, `write` on descriptors 1 and +2, `exit`, `exit_group` and `execveat` on descriptor 3 with flags `AT_EMPTY_PATH`, returning EPERM for +everything else; and finally calls `execveat(3, "", argv, empty envp, AT_EMPTY_PATH)`. The first step that returns a +negative value restores the private stack and returns that negative errno without executing. +There is no weaker fallback. This is a fixed profile, not a general sandbox; output and wall-clock +budgets still need a trusted supervisor. Qualification is `seed/qualification/security673/gate669.om` +(`pure-*.om` fixtures). The x86-64 emitter has no strict-profile lowering and refuses the word with +error 25. + Clock results require nonnegative seconds and a signed nanosecond total; values outside that range trap 1. `argread` bounds its internal string scan at 1 MiB; reaching that bound traps 3. Linux ARM64 is diff --git a/docs/one_layer/OM_COMPLETION.md b/docs/one_layer/OM_COMPLETION.md index 2b5debe13..caa8f5bf2 100644 --- a/docs/one_layer/OM_COMPLETION.md +++ b/docs/one_layer/OM_COMPLETION.md @@ -65,7 +65,7 @@ cannot emit them, so there is no reference unit to verify against. | FR-2 packed structs | structs are 8-byte cells; packed u8/u16/u32/u64 fields are not expressible | needs a layout syntax and alignment rule (decision) | | FR-3 imports by digest | no `import`; units concatenate | requires the OSC content-addressed unit store (external) | | FR-4 floats | implemented end to end for AArch64 (types, literals, arithmetic, arrays, pools, structs) | IR floats are spec-blocked: OSC-1 scalar tags are integer-only | -| FR-5 mmap/ioctl | implemented for AArch64 program mode as handle-checked words `devctl devcall uvmctl mapnew mapdrop mapread mapwrite mapaddr mapget mapset maphold mapbind` (ids 166..177, `seed/omc/genkw.awk`; contracts in [`seed/host/MAPPING.md`](../../seed/host/MAPPING.md), tests `seed/host/tests/{mapio,devcall,memcheck,reserve}.om` run by `seed/host/gate.sh`) | access through a raw integer address stays refused: `mapaddr` exports a ulong but access requires the live owned handle; no GPU launcher or model execution (MAPPING.md) | +| FR-5 mmap/ioctl | implemented for AArch64 program mode as handle-checked words `devctl devcall uvmctl mapnew mapdrop mapread mapwrite mapaddr mapget mapset maphold mapbind` (ids 166..177, `seed/omc/genkw.awk`; contracts in [`seed/host/MAPPING.md`](../../seed/host/MAPPING.md), tests `seed/host/tests/{mapio,devcall,memcheck,reserve}.om` run by `seed/host/gate.om`) | access through a raw integer address stays refused: `mapaddr` exports a ulong but access requires the live owned handle; no GPU launcher or model execution (MAPPING.md) | | FR-6 threads/atomics | absent | decision 37 (disjoint threads) has no chosen design | | FR-7 shared objects/C ABI | absent | needs an ABI contract (calling convention, symbols, relocation) | | FR-8 kernel words | absent | needs a target kernel interface, not a compiler change | diff --git a/evidence/SECURITY-673/669-report.md b/evidence/SECURITY-673/669-report.md new file mode 100644 index 000000000..2081b8a1b --- /dev/null +++ b/evidence/SECURITY-673/669-report.md @@ -0,0 +1,125 @@ +# Omega #669 qualification: AArch64 conditional branch displacement + +Date: 2026-10-23. Parent tracker: #673. Branch: `fix/security673-branch-range`. +Base commit: `f0499f415571bdd7496b6de391096915e78f7556`. +Status: **PASS for the bounded forward property; parent #673 remains open.** No formal proof and no claim of an unhackable system. + +## Threat model and protected asset + +The compiler emits executable machine code from untrusted `.om` source. The protected asset is the +correspondence between the source's structured control flow and the branch targets in the accepted +artifact. A silently truncated `B.cond`, `CBZ` or `CBNZ` displacement can send execution to a different +instruction than the source required. The baseline showed that this is reachable and produces a program +that Linux kills with SIGSEGV, so the immediate impact is loss of integrity and availability of the +compiled program, not a proof of privilege escalation. + +Out of scope for this slice: physical attacks, malicious firmware, a compromised compiler binary, and +source that is already trusted to be correct. Those remain #673 assumptions. + +## Authoritative source and artifact identities + +| Item | Identity | +|---|---| +| Compiler source before fix | `seed/omc/omc.om` sha256 `74620988c967f18f9757807fc1d6f713c3120513c2a4a4aaba671e3019e8865e` | +| Compiler source after fix | `seed/omc/omc.om` sha256 `35cab5e41fc2c020903f1318c1ff8d83f8701255b41b5ca8ef5395f706c015a4` | +| Baseline compiler binary | sha256 `e5d60db892c8f21cc8c9128af26d8bded0e96d7f92946f5a549397c43a872649` (om4-built, self-stable) | +| Fixed compiler binary | sha256 `2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9` | +| Fixed stage 1 = stage 2 = stage 3 | yes, all three 109,048 bytes | +| Independent decoder | GNU objdump (GNU Binutils for Ubuntu) 2.42, outside the seed compiler closure | +| Fixture generator | `seed/qualification/security673/branch-corpus.om` sha256 `1cb80b66340e0deb2fbb04c49389884217b828677e745abf16f763464b6405ba` | +| Platform | AArch64 Linux (arm64 workstation), native execution, not emulation | + +The branch base revision was reconciled from the issue: the concern exists at +`57f5f425` (seed/omega-in-omega) and at `f0499f41` (feat/seed-native-host). The security branch was cut +from `f0499f41`; public main `cd5897e3` has no `seed/` tree. + +## Inventory of relocation encoders + +| Encoder | Field | Instruction | Source-controlled distance | Control | +|---|---|---|---|---| +| `disp19` / `patch19` | signed imm19 words | B.cond, CBZ, CBNZ | yes: `s_else`, `s_end` (if/else/while/for exit) | checked range and alignment, error 24 | +| `patch19` via `finish` | signed imm19 words | B.cond at each trap site | yes: size of the function body before the handler | same check | +| `blo` | signed imm19 words | B.LO in the local-array fill loop | no: fixed loop body, a few words | routed through `disp19` | +| `patch26` / `back` | signed imm26 words | B | output pool is 8 MiB = 2^21 bytes, below the 2^25-word reach | structural invariant documented at `patch26` | +| `patch19` callers in host wrappers | signed imm19 words | B.cond | fixed wrapper code, at most hundreds of bytes | same check | +| `bl` (calls) | signed imm26 words | BL | output pool bound as above | not changed | + +## Reachability and reproduction + +`patch19` computed `d = (target - at) >> 2` and masked it with `524287`, with no local range test. For a +forward displacement in `262144 .. 524287` words the mask is an identity and bit 18 is then interpreted +as the sign bit by the CPU. The displacement is silently sign-extended. + +The baseline reproduction is `evidence/SECURITY-673/baseline669.log`: + +- `if` body of 300,000 `x = add x 1` statements, 3,600,083 source bytes, 1,200,256-byte artifact; +- compile exit 0, no diagnostic; +- intended target `0x124f94`, decoded target `0xfffffffffff24f94`, intended displacement 300,001 words; +- the encoded branch jumps 224,283 words backward into the body; running it exits 139 (SIGSEGV). + +A generator error in the abandoned session (`omc: line 14: error 16`) was a broken fixture, not a +compiler result; it was replaced before any conclusion was drawn. + +## Enforcing code + +`seed/omc/omc.om` now has one checked encoder: + +``` +fn disp19 at ulong target ulong to ulong +diff = sub target at +if ne and diff 3 0 +fail 24 +end +if and gt diff 1048572 lt diff 18446744073709550592 +fail 24 +end +ret and shr diff 2 524287 +end +``` + +- `1048572` = `(2^18 - 1) * 4` bytes, the largest forward displacement. +- `18446744073709550592` = `2^64 - 1048576`, the smallest backward displacement. +- `and diff 3` rejects an unaligned target (structurally impossible in current lowering, checked anyway). +- `patch19` and `blo` both call `disp19`. Error 24 is a stable diagnostic and the compiler exits before + `writeout`, so no accepted artifact is produced. Error codes 1..23 keep their existing meanings. + +## Properties, oracles and results + +Raw results: `evidence/SECURITY-673/gate669.log`. Driver: +`seed/qualification/security673/gate669.sh`; fixture generator: seeded `.om`. + +| Property | Test | Independent oracle | Result | +|---|---|---|---| +| Small layout still correct | N=16, run exit 0 | objdump: branch target = `mov x1,#12345` marker at `0x54` | PASS | +| Exact forward maximum | N=262,142, displacement 262,143 words = 1,048,572 bytes | run exit 0 and objdump target = marker | PASS | +| One word beyond | N=262,143, displacement 262,144 words | compile exit 24, empty stdout, `omc: line 262148: error 24` | PASS | +| Signed wrap inside 19 raw bits | N=524,287 | compile exit 24, empty stdout | PASS | +| Nested if | N=300,000 | error 24 before artifact | PASS | +| While exit | N=300,000 | error 24 before artifact | PASS | +| Trap-site branch | N=300,000 | error 24 before artifact | PASS | +| Negative control | bound moved by one word to `1048580`, N=262,144 | mutant compiles; objdump target `0xfffffffffff00014` != marker `0x100014`; run exit 139 | PASS (decoder catches it) | +| Existing regressions | `sh seed/omc/gate5.sh` | 177 cases, 0 FAIL, GATE5 PASS | PASS | + +The mutant matters because the fixed compiler refuses that input but the mutant's program exits through +a wrong path; the decoder, not the exit status, is the oracle. + +## Reproduce + +``` +sh seed/omc/gate5.sh # exit 0, GATE5 PASS (177 cases) +sh seed/qualification/security673/gate669.sh # exit 0, GATE669 PASS (9 cases) +``` + +Both scripts were run at source hash `35cab5e4...`; the gate log records the compiler and decoder +identities. The bootstrap is stage1 = om4(omc.om), stage2 = stage1(omc.om), stage3 = stage2(omc.om). + +## Backward direction and remaining limits + +The check accepts backward displacements down to -1,048,576 bytes. No source construct currently emits +a long backward conditional branch: `blo` is the only negative imm19 encoder and its target is the head +of a fixed-size array-fill loop. Its small-distance path is replayed by gate5's local-array cases, but the +backward extremum itself is inspection-only, not a bounded dynamic test. The 26-bit unconditional B +range is structurally unreachable because the output pool is 8 MiB; that invariant is stated in the +compiler source and would need review if the pool size changed. + +No formal proof. The evidence is bounded synthetic testing plus an independent decoder on this platform. diff --git a/evidence/SECURITY-673/STATUS.md b/evidence/SECURITY-673/STATUS.md new file mode 100644 index 000000000..e46c10440 --- /dev/null +++ b/evidence/SECURITY-673/STATUS.md @@ -0,0 +1,61 @@ +# Omega #673 security status matrix + +Date: 2026-10-23. Branch: `fix/security673-qualified`, tip `05df9e5`. +This file records what is qualified, what is not run, and what is blocked. A source-only result is +never a PASS for an integration, hardware or release claim. + +## Qualified slices + +| Area | Status | Evidence | +| --- | --- | --- | +| #669 signed branch limits, forward/backward extrema, refusal 24 | PASS, bounded native AArch64 | `correction1`, `independent669`, `branchforms1` | +| #669 branch-form semantics (B.cond, CBZ, loops, else, function boundary, trap sites) | PASS for 15 compiled/executed cases | `branchforms1` | +| #670 inherited-descriptor closure before exec | PASS, old compiler fails the same assertion | `exec1`, `independent670` | +| #670 strict pinned-executable profile (Landlock, seccomp, rlimits, one pinned fd) | PASS for hostile child and four raw fixtures | `pure2` | +| #670 bypass/fail-closed controls | PASS: seccomp bypass 71, Landlock bypass 77, close_range unavailable 38, CPU 152, file limit 1 MiB | `pure3`, author run `pure1` | +| #671 compiler source families | PASS, 18 deterministic cases | `hostile1`, `independent671` | +| #671 `execprog` packed-list ingress | PASS, 9 cases | `packet1` | +| #671 `renames` packed-list ingress | PASS, 7 cases | `renames1` | +| #671 native path and `argread` boundaries | PASS, 7 cases | `paths1` | +| Reproducibility of the seed compiler | PASS: `om4 -> stage1 -> stage2` fixed point | `pure2`, gate logs | +| Supporting `.om` SHA-256 digest | PASS: five standard vectors, also in gate669 | `sha256-gate`, gate669 | +| Supporting `.om` cross-process lock | PASS: exclusive/busy/release/waiter/stale, also in gate669; dispatcher holds it | `lock-gate`, dispatch gate | + +## Not run, with the exact reason + +| Area | Status | Reason / prerequisite | +| --- | --- | --- | +| #669 long backward source reachability | NOT_RUN | The current backward B.LO caller is a short array-fill loop; direct encoder extrema do not prove a source-level long backward branch is reachable. | +| #669 release integration and consumer audit | BLOCKED | Needs the compiler/release owners' integrated review and a real consumer outside the qualification corpus. | +| #670 grant identity, generation, revocation, durable budgets, atomic check/dispatch | BLOCKED | Seeded `.om` action/store/dispatch hold a cross-process pid lock across check/persist; no production consumer is cut over and broader budget/revocation behaviour is absent. | +| #671 manifests, receipts, RPC/tool arguments, model metadata, trace bundles, device descriptions | BLOCKED | No seeded `.om` implementation exists; these are migration dependencies, not PASS. | +| #649/#659 control lifecycle and authority integration | BLOCKED | The control contracts exist as `.om` artifacts (`control659`) but are not wired to a durable authoritative store and real dispatch. | +| #651 capability-aware reuse | BLOCKED | Needs the `.om` successor of the existing semantic reuse/store owner; no second cache is authorized. | +| #607 private-data confinement and exact-byte export consent | BLOCKED | A seeded `.om` SHA-256 passes five standard vectors, but the Open Humanity receiver contract is absent; no second wire contract is invented. | +| spark-rsi #67 poisoned-benchmark defenses | BLOCKED | Needs the `.om` successor of the existing promotion/evaluator gate; the current owner is Rust. | +| #672 device/DMA isolation and reset | NOT_RUN | Requires reserved physical hardware and driver work. Emulation is not hardware qualification. | +| #650 diverse double compilation | NOT_RUN | The C reference path cannot express `omc.om`; no sufficiently independent route exists for the final compiler. Same-lineage fixpoint is reproducibility, not DDC. | +| #623/#625 semantic validation and conformance | NOT_RUN | Requires the semantic checker owners and a broader consumer corpus. | +| #639 cryptographic replay/rollback/nonce campaign | NOT_RUN | Cross-repository adapter work with the Open Humanity, Aienux and Sovereign Core owners. | +| #624 aggregate conformance and teaching evidence | PARTIAL | This matrix aggregates the current evidence; independent negative controls and the teaching example are still incomplete. | + +## Assurance-contract checklist + +| Requirement | Status | +| --- | --- | +| Trusted-component and deployment-profile inventory | PARTIAL: seed compiler, strict launcher, host tools identified; devices/updater/boot not qualified | +| Per-property threat, asset, enforcing path, evidence | PARTIAL: recorded for #669/#670/#671 slices in the evidence reports | +| Separate compromised-agent, hostile-document, dependency, compiler, revocation, crash, device models | PARTIAL: agent/document and compiler-input models covered; revocation/device models NOT_RUN | +| Finite versioned supported-scope matrix | THIS DOCUMENT | +| Automatic claim invalidation on source/dependency change | NOT_RUN | +| Release/recovery exercise, old-artifact rollback, key compromise | NOT_RUN | +| Security response/requalification procedure | NOT_RUN | +| Independent final-source review and clean-checkout replay | PARTIAL: independent reviews exist for 669/670/671; final assembled-system review NOT_RUN | +| Residual risk and actionable blockers recorded | THIS DOCUMENT | + +## Release position + +The branch is not merged to `main`; `main` has no `seed/` tree. No deployment, hardware +qualification, key-compromise exercise or issue closure follows from these source and native-host +results. Missing hardware, independent compiler route or authority integration is `NOT_RUN` or +`BLOCKED`, never `PASS`. diff --git a/evidence/SECURITY-673/authority1/REPORT.md b/evidence/SECURITY-673/authority1/REPORT.md new file mode 100644 index 000000000..b28bc9d5e --- /dev/null +++ b/evidence/SECURITY-673/authority1/REPORT.md @@ -0,0 +1,45 @@ +# Authority and reuse transitions promoted to `.om` + +Date: 2026-10-23. Branch: `fix/security673-qualified`. Platform: Linux AArch64, native execution. + +## Scope + +The transition logic previously held only in the control artifact is now first-party seeded `.om` +under `seed/authority/`: + +| Contract | Responsibility | Test result | +| --- | --- | --- | +| `action.om` | operation state ready/in-flight/unknown/performed, attempt and limit, generation, expiry, identity binding | `action checks=219 000`, exit 0 | +| `delegate.om` | child capability derivation and subset checks, including all small right subsets | `delegate checks=074 000`, exit 0 | +| `reuse.om` | exact-key reuse and whole-token prefix identity | `reuse checks=074 000`, exit 0 | +| `store.om` | 32-word durable record and generation file: temp write, fsync, atomic rename, exact read, torn refusal | `store checks=077 000`, exit 0 | +| `dispatch.om` | persist in-flight, /bin/true and static execpure effects, performed/unknown receipt, generation-change fence, duplicate/limit/stale refusal | `dispatch checks=037 000`, exit 0 | + +The five `*-gate.om` files are committed source-plus-test concatenations because the current +compiler reads one file. That is a compiler capability gap (modules/imports), not a permanent +design. + +## What is not claimed + +- The transition contracts are pure. `store.om` adds a durable record/generation file and + `dispatch.om` adds the state/effect/fence loop and runs a real `/bin/true` effect, but there is no + process-tree budget, cross-process lock or consumer cutover yet. +- `store.om` uses a same-directory temp plus rename for atomic replacement; it does not implement a + cross-process lock. A short or torn file is refused on read. Generation equality is a caller check + (`storevalid`), not enforcement by the store. +- `dispatch.om` runs `/bin/true` for the performed path and synthetic fork children for the revocation + and nonzero modes. It does not yet apply process-tree budgets or check a provider receipt after a + crash. Revocation is detected after the + effect returns; a change that lands after the read is outside this bounded test. +- The legacy C authority/reuse owners are still active. No consumer has been cut over. +- The tests run against the same seed compiler lineage; this is not an independent implementation + proof. + +## Evidence + +- `action.out`, `delegate.out`, `reuse.out`: check counts. +- `exits.txt`: compile and run exits. +- `gate-authority.log`: the same three programs compiled/executed inside `gate669`. +- `identities.txt`: source, combined gate, compiler and gate hashes. + +The gate result is `GATE669 PASS` with the authority programs at exit 0. diff --git a/evidence/SECURITY-673/authority1/action-build.err b/evidence/SECURITY-673/authority1/action-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/action.err b/evidence/SECURITY-673/authority1/action.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/action.out b/evidence/SECURITY-673/authority1/action.out new file mode 100644 index 000000000..a7c83c175 --- /dev/null +++ b/evidence/SECURITY-673/authority1/action.out @@ -0,0 +1 @@ +action checks=219 000 diff --git a/evidence/SECURITY-673/authority1/delegate-build.err b/evidence/SECURITY-673/authority1/delegate-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/delegate.err b/evidence/SECURITY-673/authority1/delegate.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/delegate.out b/evidence/SECURITY-673/authority1/delegate.out new file mode 100644 index 000000000..6c9960c39 --- /dev/null +++ b/evidence/SECURITY-673/authority1/delegate.out @@ -0,0 +1 @@ +delegate checks=074 000 diff --git a/evidence/SECURITY-673/authority1/dispatch.err b/evidence/SECURITY-673/authority1/dispatch.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/dispatch.out b/evidence/SECURITY-673/authority1/dispatch.out new file mode 100644 index 000000000..7b72caabe --- /dev/null +++ b/evidence/SECURITY-673/authority1/dispatch.out @@ -0,0 +1 @@ +dispatch checks=037 000 diff --git a/evidence/SECURITY-673/authority1/exits.txt b/evidence/SECURITY-673/authority1/exits.txt new file mode 100644 index 000000000..f90b4f265 --- /dev/null +++ b/evidence/SECURITY-673/authority1/exits.txt @@ -0,0 +1,3 @@ +action run=0 +delegate run=0 +reuse run=0 diff --git a/evidence/SECURITY-673/authority1/gate-authority.err b/evidence/SECURITY-673/authority1/gate-authority.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/gate-authority.log b/evidence/SECURITY-673/authority1/gate-authority.log new file mode 100644 index 000000000..be7232df0 --- /dev/null +++ b/evidence/SECURITY-673/authority1/gate-authority.log @@ -0,0 +1,481 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2114564 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4209431 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1056426 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +elapsed_ns=1055850 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1055929 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1056186 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=5245808 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1055050 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +elapsed_ns=1055706 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=1055258 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1055337 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1055690 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1055353 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1055866 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1056297 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1055658 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1057354 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1055450 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1057338 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +elapsed_ns=1055786 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1055306 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1055786 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1056154 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1055433 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1055642 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1056842 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +elapsed_ns=1059130 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1055113 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1055210 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1092395 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1082954 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1074010 +exit=62 expected=62 +build/security673-native/1002 < seed/qualification/security673/branch-forms.om > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1069642 +exit=0 expected=0 +build/security673-native/1048 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1065434 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1068698 +exit=0 expected=0 +build/security673-native/1051 < /dev/null > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1066874 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1069802 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1066682 +exit=0 expected=0 +build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1036666 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1067114 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +elapsed_ns=1066890 +exit=0 expected=0 +build/security673-native/1059 < /dev/null > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1065482 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1169627 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1062 > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1060074 +exit=0 expected=0 +build/security673-native/1063 < /dev/null > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=1060681 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1060057 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1057178 +exit=0 expected=0 +build/security673-native/1067 < /dev/null > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1059546 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1058474 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1028698 +exit=0 expected=0 +build/security673-native/1071 < /dev/null > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1057386 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +elapsed_ns=1058010 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +elapsed_ns=1057993 +exit=0 expected=0 +build/security673-native/1075 < /dev/null > build/security673-native/1076 2> build/security673-native/501076 +elapsed_ns=1057898 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +elapsed_ns=1058490 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +elapsed_ns=1058474 +exit=0 expected=0 +build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +elapsed_ns=1058554 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1081 > build/security673-native/1082 2> build/security673-native/501082 +elapsed_ns=1057849 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1082 > build/security673-native/1083 2> build/security673-native/501083 +elapsed_ns=1058362 +exit=0 expected=0 +build/security673-native/1083 < /dev/null > build/security673-native/1084 2> build/security673-native/501084 +elapsed_ns=1058058 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1085 > build/security673-native/1086 2> build/security673-native/501086 +elapsed_ns=1058234 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1086 > build/security673-native/1087 2> build/security673-native/501087 +elapsed_ns=1061882 +exit=0 expected=0 +build/security673-native/1087 < /dev/null > build/security673-native/1088 2> build/security673-native/501088 +elapsed_ns=1058314 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1089 > build/security673-native/1090 2> build/security673-native/501090 +elapsed_ns=1057594 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1090 > build/security673-native/1091 2> build/security673-native/501091 +elapsed_ns=1058378 +exit=0 expected=0 +build/security673-native/1091 < /dev/null > build/security673-native/1092 2> build/security673-native/501092 +elapsed_ns=1058345 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1093 > build/security673-native/1094 2> build/security673-native/501094 +elapsed_ns=1058058 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1094 > build/security673-native/1095 2> build/security673-native/501095 +elapsed_ns=1058154 +exit=0 expected=0 +build/security673-native/1095 < /dev/null > build/security673-native/1096 2> build/security673-native/501096 +elapsed_ns=1057433 +exit=21 expected=21 +build/security673-native/1048 < build/security673-native/1097 > build/security673-native/1098 2> build/security673-native/501098 +elapsed_ns=1057514 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1098 > build/security673-native/1099 2> build/security673-native/501099 +elapsed_ns=1058442 +exit=0 expected=0 +build/security673-native/1099 < /dev/null > build/security673-native/1100 2> build/security673-native/501100 +elapsed_ns=1058362 +exit=30 expected=30 +build/security673-native/1048 < build/security673-native/1101 > build/security673-native/1102 2> build/security673-native/501102 +elapsed_ns=1058938 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1102 > build/security673-native/1103 2> build/security673-native/501103 +elapsed_ns=1058426 +exit=0 expected=0 +build/security673-native/1103 < /dev/null > build/security673-native/1104 2> build/security673-native/501104 +elapsed_ns=1087386 +exit=107 expected=107 +build/security673-native/1048 < build/security673-native/1105 > build/security673-native/1106 2> build/security673-native/501106 +elapsed_ns=1098091 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1106 > build/security673-native/1107 2> build/security673-native/501107 +elapsed_ns=1076762 +exit=0 expected=0 +build/security673-native/1107 < /dev/null > build/security673-native/1108 2> build/security673-native/501108 +elapsed_ns=1089370 +exit=102 expected=102 +build/security673-native/1002 < seed/qualification/security673/packet-corpus.om > build/security673-native/1109 2> build/security673-native/501109 +elapsed_ns=1078058 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/pkt-consumer.om > build/security673-native/1110 2> build/security673-native/501110 +elapsed_ns=1072346 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1111 > build/security673-native/1112 2> build/security673-native/501112 +elapsed_ns=1073258 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1112 > build/security673-native/1113 2> build/security673-native/501113 +elapsed_ns=1072490 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1114 > build/security673-native/1115 2> build/security673-native/501115 +elapsed_ns=1072554 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1115 > build/security673-native/1116 2> build/security673-native/501116 +elapsed_ns=1073642 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1117 > build/security673-native/1118 2> build/security673-native/501118 +elapsed_ns=1073610 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1118 > build/security673-native/1119 2> build/security673-native/501119 +elapsed_ns=1074186 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1120 > build/security673-native/1121 2> build/security673-native/501121 +elapsed_ns=1074442 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1121 > build/security673-native/1122 2> build/security673-native/501122 +elapsed_ns=1079098 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1123 > build/security673-native/1124 2> build/security673-native/501124 +elapsed_ns=1063530 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1124 > build/security673-native/1125 2> build/security673-native/501125 +elapsed_ns=1063386 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1126 > build/security673-native/1127 2> build/security673-native/501127 +elapsed_ns=1059993 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1127 > build/security673-native/1128 2> build/security673-native/501128 +elapsed_ns=1065082 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1129 > build/security673-native/1130 2> build/security673-native/501130 +elapsed_ns=1058074 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1130 > build/security673-native/1131 2> build/security673-native/501131 +elapsed_ns=1093690 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1132 > build/security673-native/1133 2> build/security673-native/501133 +elapsed_ns=1071738 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1133 > build/security673-native/1134 2> build/security673-native/501134 +elapsed_ns=1061034 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1135 > build/security673-native/1136 2> build/security673-native/501136 +elapsed_ns=1060746 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1136 > build/security673-native/1137 2> build/security673-native/501137 +elapsed_ns=1060842 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-corpus.om > build/security673-native/1138 2> build/security673-native/501138 +elapsed_ns=1062857 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-consumer.om > build/security673-native/1139 2> build/security673-native/501139 +elapsed_ns=1060650 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1140 > build/security673-native/1141 2> build/security673-native/501141 +elapsed_ns=1059674 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1141 > build/security673-native/1142 2> build/security673-native/501142 +elapsed_ns=1058074 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1143 > build/security673-native/1144 2> build/security673-native/501144 +elapsed_ns=1059850 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1144 > build/security673-native/1145 2> build/security673-native/501145 +elapsed_ns=1061642 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1146 > build/security673-native/1147 2> build/security673-native/501147 +elapsed_ns=1058730 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1147 > build/security673-native/1148 2> build/security673-native/501148 +elapsed_ns=1059001 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1149 > build/security673-native/1150 2> build/security673-native/501150 +elapsed_ns=1016122 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1150 > build/security673-native/1151 2> build/security673-native/501151 +elapsed_ns=1057993 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1152 > build/security673-native/1153 2> build/security673-native/501153 +elapsed_ns=1062410 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1153 > build/security673-native/1154 2> build/security673-native/501154 +elapsed_ns=1059914 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1155 > build/security673-native/1156 2> build/security673-native/501156 +elapsed_ns=1058665 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1156 > build/security673-native/1157 2> build/security673-native/501157 +elapsed_ns=1058890 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1158 > build/security673-native/1159 2> build/security673-native/501159 +elapsed_ns=1058042 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1159 > build/security673-native/1160 2> build/security673-native/501160 +elapsed_ns=1088955 +exit=103 expected=103 +build/security673-native/1002 < seed/qualification/security673/path-consumer.om > build/security673-native/1161 2> build/security673-native/501161 +elapsed_ns=1069258 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1162 > build/security673-native/1163 2> build/security673-native/501163 +elapsed_ns=1059001 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1164 > build/security673-native/1165 2> build/security673-native/501165 +elapsed_ns=1060138 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1166 > build/security673-native/1167 2> build/security673-native/501167 +elapsed_ns=1060010 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1168 > build/security673-native/1169 2> build/security673-native/501169 +elapsed_ns=1061450 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1170 > build/security673-native/1171 2> build/security673-native/501171 +elapsed_ns=1060922 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1172 > build/security673-native/1173 2> build/security673-native/501173 +elapsed_ns=1059497 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1174 > build/security673-native/1175 2> build/security673-native/501175 +elapsed_ns=1057850 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/action-gate.om > build/security673-native/1176 2> build/security673-native/501176 +elapsed_ns=1086154 +exit=0 expected=0 +build/security673-native/1176 < /dev/null > build/security673-native/1177 2> build/security673-native/501177 +elapsed_ns=1080442 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/delegate-gate.om > build/security673-native/1178 2> build/security673-native/501178 +elapsed_ns=1083098 +exit=0 expected=0 +build/security673-native/1178 < /dev/null > build/security673-native/1179 2> build/security673-native/501179 +elapsed_ns=1059721 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/reuse-gate.om > build/security673-native/1180 2> build/security673-native/501180 +elapsed_ns=1059322 +exit=0 expected=0 +build/security673-native/1180 < /dev/null > build/security673-native/1181 2> build/security673-native/501181 +elapsed_ns=1058298 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/store-gate.om > build/security673-native/1182 2> build/security673-native/501182 +elapsed_ns=1058634 +exit=0 expected=0 +build/security673-native/1182 < /dev/null > build/security673-native/1183 2> build/security673-native/501183 +elapsed_ns=28537594 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/dispatch-gate.om > build/security673-native/1184 2> build/security673-native/501184 +elapsed_ns=1068602 +exit=0 expected=0 +build/security673-native/1184 < /dev/null > build/security673-native/1185 2> build/security673-native/501185 +elapsed_ns=83267495 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1186 > build/security673-native/1187 2> build/security673-native/501187 +elapsed_ns=1071978 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1187 > build/security673-native/1188 2> build/security673-native/501188 +elapsed_ns=1068458 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1188 < /dev/null > build/security673-native/1189 2> build/security673-native/501189 +elapsed_ns=2230149 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1189 > build/security673-native/1190 2> build/security673-native/501190 +elapsed_ns=1069818 +exit=0 expected=0 +build/security673-native/1188 < /dev/null > build/security673-native/1191 2> build/security673-native/501191 +elapsed_ns=1070730 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1192 > build/security673-native/1193 2> build/security673-native/501193 +elapsed_ns=74736776 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1193 > build/security673-native/1194 2> build/security673-native/501194 +elapsed_ns=55771495 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1194 < /dev/null > build/security673-native/1195 2> build/security673-native/501195 +elapsed_ns=206733237 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1195 > build/security673-native/1196 2> build/security673-native/501196 +elapsed_ns=36981305 +exit=0 expected=0 +build/security673-native/1194 < /dev/null > build/security673-native/1197 2> build/security673-native/501197 +elapsed_ns=1070570 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1198 > build/security673-native/1199 2> build/security673-native/501199 +elapsed_ns=75011563 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1199 > build/security673-native/1200 2> build/security673-native/501200 +elapsed_ns=54941616 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1201 > build/security673-native/1202 2> build/security673-native/501202 +elapsed_ns=149466400 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1202 > build/security673-native/1203 2> build/security673-native/501203 +elapsed_ns=109556028 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1204 > build/security673-native/1205 2> build/security673-native/501205 +elapsed_ns=85535533 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1205 > build/security673-native/1206 2> build/security673-native/501206 +elapsed_ns=81316821 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1207 > build/security673-native/1208 2> build/security673-native/501208 +elapsed_ns=85608430 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1208 > build/security673-native/1209 2> build/security673-native/501209 +elapsed_ns=62406421 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1210 > build/security673-native/1211 2> build/security673-native/501211 +elapsed_ns=85447531 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1211 > build/security673-native/1212 2> build/security673-native/501212 +elapsed_ns=83433625 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1213 2> build/security673-native/501213 +elapsed_ns=1076970 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1213 > build/security673-native/1214 2> build/security673-native/501214 +elapsed_ns=2126212 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1215 > build/security673-native/1216 2> build/security673-native/501216 +elapsed_ns=74803801 +exit=0 expected=0 +build/security673-native/1214 < build/security673-native/1216 > build/security673-native/1217 2> build/security673-native/501217 +elapsed_ns=54929215 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1217 < /dev/null > build/security673-native/1218 2> build/security673-native/501218 +elapsed_ns=227816537 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1218 > build/security673-native/1219 2> build/security673-native/501219 +elapsed_ns=37059833 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1216 > build/security673-native/1220 2> build/security673-native/501220 +elapsed_ns=77352577 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1221 2> build/security673-native/501221 +elapsed_ns=1076426 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/authority1/identities.txt b/evidence/SECURITY-673/authority1/identities.txt new file mode 100644 index 000000000..d014c3bb8 --- /dev/null +++ b/evidence/SECURITY-673/authority1/identities.txt @@ -0,0 +1,35 @@ +698aa7d6232837be9c4ba85ebb57d6c656aacb60ae9e703b0e4f11967562e5de seed/authority/action.om +501c3c8a760724ae56d836dbbe650205b55a4b9371d18609caccdb0c312cc981 seed/authority/delegate.om +dd35c5d4216958bf2f7676067c4d6aeee349d01cdca5b619f56f9765df623a9a seed/authority/reuse.om +0ab62ba91d3599d6db89dc429afc1f3821f1dea3b2d8f225cbaa7c2eb01d7e81 seed/authority/action-gate.om +e2e5661459ff55e62ed25eaa32936feba67c847245a779db171e0aebee80086f seed/authority/delegate-gate.om +37de7562021caf6439daea12f8039f882dfdb1caf18d74043a3f7d443ade40dd seed/authority/reuse-gate.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +240fa69ae3add7afa63cfef0bb3cf8899e9e9b0afd71a935621b1c4b1422c5c6 build/gate669-auth +13309a134c3acd657175c470460039c7db5a26bfbcce6c3df663860e9cdc6749 evidence/SECURITY-673/authority1/gate-authority.log +0f3d2f4c2fc07125cfb6a6fad2f19d2be89a6ef51f344ae84d5cef87e08fb61b seed/authority/store.om +8f557b107180a0e72c1d9084a8aafa38f075d21afc9ad13461521c31dec95630 seed/authority/store-test.om +cbbf1025c8e509e2b4b4d60751799d3a4fb63be629e5fecad4b092428b6a2189 seed/authority/store-gate.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +6bc7b47bf50228c870dd2334c415b49f9a0e31ca979756bf03ee583614770b22 build/gate669-store +0c58eaca48eddf27b8463f942bb3bc0f79941399aadba7cee94193e20d6eb216 evidence/SECURITY-673/authority1/gate-authority.log +97c968b2edc869627cdd94e38280f059520bd8ca4a331737373e8a64a78414e4 seed/authority/dispatch.om +c397a5bdb5edaebbc98f7979f0038178cdda64bc96f531adbb4d0931cd8f4f3a seed/authority/dispatch-test.om +385508534e9df73b663f121909cfcec2123143092c3c5aad9620a249a0cb4f92 seed/authority/dispatch-gate.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +e1b7c24f8f8ed9ead568cd9ed41d492273abd0dcd733272b9c0d4e5c6519cba5 build/gate669-dispatch +8ef6be7505c41f1bfa3739c3da9de7b13677a2e1573b1b101321947392284862 evidence/SECURITY-673/authority1/gate-authority.log +a36fedd82d786212fe7431b9b8b741439aff0a84b7e69f785de312e4341326f8 seed/authority/dispatch.om +7fe59fb10e246006e93baa8b9714f3bdd63f9e76bf0386da37acef13528c2293 seed/authority/dispatch-test.om +056e28d481252691dab5e284702775f3dd31c06db7b9d7043d150463ea87086b seed/authority/dispatch-gate.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +e1b7c24f8f8ed9ead568cd9ed41d492273abd0dcd733272b9c0d4e5c6519cba5 build/gate669-dispatch2 +c63f02d17f7f288b82e7af91eb8c66758f14c145043c725f5a3cbe40327974fd evidence/SECURITY-673/authority1/gate-authority.log +dc47a8ea2eaf4f2b7b969d812cd23025f6d06d3c1bab10069ff2108d3283e627 seed/authority/effect-ok.om +4caebbb143d76413098649f9569eadc495aad8ca744a91ba7b29fe1bad4c7471 seed/authority/effect-ok +83b437a03adf41bc0b95d92024632bc75e6f1ec312236c3263568b6db847293a seed/authority/dispatch.om +f6d39f808b71c5f863926a24753fb483158ed9c424fef52eb662436903c36dbf seed/authority/dispatch-test.om +921c9328896bdbb639ebc21da4f872b49491855b3b7b0874f85ee14b01c01529 seed/authority/dispatch-gate.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +e1b7c24f8f8ed9ead568cd9ed41d492273abd0dcd733272b9c0d4e5c6519cba5 build/gate669-strict +c3b106da2d3b54a67f04139f419c4a883b56dc4feabc9d01ae5e713a35b3b035 evidence/SECURITY-673/authority1/gate-authority.log diff --git a/evidence/SECURITY-673/authority1/reuse-build.err b/evidence/SECURITY-673/authority1/reuse-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/reuse.err b/evidence/SECURITY-673/authority1/reuse.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/reuse.out b/evidence/SECURITY-673/authority1/reuse.out new file mode 100644 index 000000000..1c95bca96 --- /dev/null +++ b/evidence/SECURITY-673/authority1/reuse.out @@ -0,0 +1 @@ +reuse checks=074 000 diff --git a/evidence/SECURITY-673/authority1/store.err b/evidence/SECURITY-673/authority1/store.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/authority1/store.out b/evidence/SECURITY-673/authority1/store.out new file mode 100644 index 000000000..b560de39f --- /dev/null +++ b/evidence/SECURITY-673/authority1/store.out @@ -0,0 +1 @@ +store checks=077 000 diff --git a/evidence/SECURITY-673/baseline-bootstrap.log b/evidence/SECURITY-673/baseline-bootstrap.log new file mode 100644 index 000000000..e9c098444 --- /dev/null +++ b/evidence/SECURITY-673/baseline-bootstrap.log @@ -0,0 +1,12 @@ +PASS seed0 408 bytes, rebuilds itself +PASS hex1 776 bytes, born from seed0 +PASS asm2 2464 bytes, born from hex1 +PASS om4 om4.bin 14224 bytes +PASS omc fixpoint e5d60db892c8f21cc8c9128af26d8bded0e96d7f92946f5a549397c43a872649 +PASS fwd exit 0 +PASS fwd runs, exit 7 +PASS mut exit 0 +PASS mut runs, exit 0 +PASS cycle exit 9 +PASS assign exit 7 +RC=0 diff --git a/evidence/SECURITY-673/baseline-bootstrap.rc b/evidence/SECURITY-673/baseline-bootstrap.rc new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/evidence/SECURITY-673/baseline-bootstrap.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SECURITY-673/baseline669.log b/evidence/SECURITY-673/baseline669.log new file mode 100644 index 000000000..25d20ecc6 --- /dev/null +++ b/evidence/SECURITY-673/baseline669.log @@ -0,0 +1,14 @@ +issue669 baseline reproduction 2026-10-23T22:59:53Z +baseline_compiler sha256 e5d60db892c8f21cc8c9128af26d8bded0e96d7f92946f5a549397c43a872649 +omc_source_at_baseline sha256 74620988c967f18f9757807fc1d6f713c3120513c2a4a4aaba671e3019e8865e +generator sha256 1cb80b66340e0deb2fbb04c49389884217b828677e745abf16f763464b6405ba +fixture mode0 N=300000 +generated_source_bytes 3600083 +generator_build_rc 0 +compile_rc 0 +artifact_bytes 1200256 +run_rc 139 +intended_branch_target 0x124f94 +decoded_branch_target 0xfffffffffff24f94 +displacement_words 300001 +observed: the branch is sign-extended from 19 bits and jumps 224283 words backward into the body; Linux kills the process with SIGSEGV. No compiler diagnostic was produced. diff --git a/evidence/SECURITY-673/benchmark653/artifacts.tar.gz b/evidence/SECURITY-673/benchmark653/artifacts.tar.gz new file mode 100644 index 000000000..8766124ed Binary files /dev/null and b/evidence/SECURITY-673/benchmark653/artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/benchmark653/build.err b/evidence/SECURITY-673/benchmark653/build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/benchmark653/exits.txt b/evidence/SECURITY-673/benchmark653/exits.txt new file mode 100644 index 000000000..edfd97ed6 --- /dev/null +++ b/evidence/SECURITY-673/benchmark653/exits.txt @@ -0,0 +1 @@ +build=0 execute=0 diff --git a/evidence/SECURITY-673/benchmark653/identities.txt b/evidence/SECURITY-673/benchmark653/identities.txt new file mode 100644 index 000000000..b5aa04de9 --- /dev/null +++ b/evidence/SECURITY-673/benchmark653/identities.txt @@ -0,0 +1,3 @@ +4215adf4e308fe8e796d61d060420c2f446ea0bedbed66ae8341273eeb5865c6 build/security673-benchmark/core.om +e9f0335f45ee5e7644da795b07cd1e71a595cc918e8fb6ad11a13aa3aa48bf09 build/security673-benchmark/core +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 build/security673-exec/stage2 diff --git a/evidence/SECURITY-673/benchmark653/result.err b/evidence/SECURITY-673/benchmark653/result.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/benchmark653/result.log b/evidence/SECURITY-673/benchmark653/result.log new file mode 100644 index 000000000..bd3413e4b --- /dev/null +++ b/evidence/SECURITY-673/benchmark653/result.log @@ -0,0 +1,2 @@ +BENCHMARK_CORE_PASS +185 diff --git a/evidence/SECURITY-673/branchforms1/REPORT.md b/evidence/SECURITY-673/branchforms1/REPORT.md new file mode 100644 index 000000000..9e716d497 --- /dev/null +++ b/evidence/SECURITY-673/branchforms1/REPORT.md @@ -0,0 +1,82 @@ +# Branch-form semantic qualification for Omega #669 + +Date: 2026-10-23. Parent tracker: #673. Branch: `fix/security673-qualified`. +Base: `540e8bcd` plus the changes in this directory. Platform: Linux AArch64, native execution only. + +## Threat and protected property + +Source can place a conditional or loop edge at or beyond the AArch64 imm19 range, or at a function +boundary where an encoder could patch the wrong place. The protected asset is correspondence between +the source control flow and the emitted branch target. The failure mode under test is silent +truncation or a branch to a different instruction, not host compromise. + +Enforcement remains the single checked path in `seed/omc/omc.om`: `disp19` (line 935) derives and +checks the signed word displacement, and `patch19` (line 947) is the only imm19 writer. `patch26` +(line 952) writes unconditional B and relies on the inspected 8 MiB output-pool capacity, which is +below the signed 26-bit reach. + +## Encoder inventory + +| Source form | Enforcing emitter | Branch instruction | Patching path | +| --- | --- | --- | --- | +| `if`/`while` condition on a value | `cond` (line 2999) | CBZ Xr; B.cond for a constant condition | `patch19` in `s_end` | +| `if`/`while` condition with relational operands | `binop`/`conds` | B.cond with the inverted condition | `patch19` in `s_end` | +| `else` | `s_else` | B (unconditional) over the else part | `patch26` | +| `while`/`for` back edge | `s_end`, `blo` (line 3055) | B / B.LO to the loop head | `patch19` | +| Local array fill | `sa_arr` | B.LO back to the fill loop | `patch19` via `blo` | +| Trap sites, including shift/width checks | `trapsite` (line 1813) | CBNZ/B.HS to the trap stub | `patch19` in `finish` | +| Boolean branch materialization | `bbr` paths | B.cond | `patch19` | +| Host-word packet/error branches | `hpack`, `hpath`, `hargs`, `hwaitio` | B.cond/CBZ to a return/error path | `patch19` | + +All imm19 users flow through `disp19`; there is no second relocation encoder. The compiler does not +expand a branch or relax layout. A displacement outside `-1048576..+1048572` bytes, or an unaligned +target, is refused with error 24 before an artifact is accepted. The declared refusal bound is +therefore 2^18-1 words forward and 2^18 words back, matching the ISA field. + +## Added semantic cases + +`branch-forms.om` generates fifteen fixed programs. Each is compiled by the rebuilt compiler and +executed natively; the coordinator compares the actual exit: + +| Mode | Form | Expected exit | +| --- | --- | --- | +| 0 | `if eq` register, taken | 11 | +| 1 | `if ne` register, not taken | 12 | +| 2 | `if lt` taken | 11 | +| 3 | `if le` taken | 11 | +| 4 | `if gt` taken | 11 | +| 5 | `if ge` taken | 11 | +| 6 | `if eq` against zero (CBZ path) | 11 | +| 7 | `if ne` against zero, false | 12 | +| 8 | `if eq` false | 12 | +| 9 | `while` back edge | 3 | +| 10 | `for` back edge | 3 | +| 11 | `if`/`else` unconditional B | 21 | +| 12 | branch inside a called function | 30 | +| 13 | shift-width trap site | 107 | +| 14 | divide-by-zero trap site | 102 | + +These complement, rather than replace, the existing range cases: `boundaries` checks the encoder +extrema directly, `positive`/`negative` check source-level range refusal, `array-fill` exercises the +real backward B.LO caller, and `mutant` proves a weakened guard is caught by independent decoding. + +## Executed results + +| Command | Result | +| --- | --- | +| `build/gate669-new` (normal) | exit 0, `GATE669 PASS` | +| `build/gate669-new 3` (source campaign) | exit 0, `GATE671 SOURCE PASS` | +| `sh seed/host/gate.sh` | exit 0, all nine host groups pass | + +Raw stdout is `gate-branch.log`, `gate-hostile.log` and `host-gate.log`; stderr for the gate runs is +empty. `identities.txt` binds the compiler source, gate, corpus, rebuilt compiler and logs by SHA256. + +## Residual limits + +- Long backward source reachability is still not established. The backward B.LO caller is a short + array-fill loop; the direct encoder extrema are synthetic. This is a bounded test obligation, not + a reachability proof. +- The gate, corpus and compiler share the seed lineage. GNU objdump supplies independent decoding for + the range probe; no diverse-double-compilation claim is made. +- This does not close #669, #671 or #673. Release integration, the remaining #670 authority contract, + and independent final-source review remain with their existing owners. diff --git a/evidence/SECURITY-673/branchforms1/gate-branch.err b/evidence/SECURITY-673/branchforms1/gate-branch.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/branchforms1/gate-branch.log b/evidence/SECURITY-673/branchforms1/gate-branch.log new file mode 100644 index 000000000..be2517586 --- /dev/null +++ b/evidence/SECURITY-673/branchforms1/gate-branch.log @@ -0,0 +1,379 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2170721 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4260371 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1079545 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +elapsed_ns=2151394 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=2166913 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1098376 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=4219218 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1103769 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +elapsed_ns=1093913 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=1090553 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1501709 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=2162706 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1086760 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=2198018 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=2118385 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=2145137 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1094345 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1079960 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1960992 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +elapsed_ns=1090489 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1096201 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1079289 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1776110 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=2167890 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1084760 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1087928 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +elapsed_ns=2169777 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1087353 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1221194 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1103321 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1075928 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1076376 +exit=62 expected=62 +build/security673-native/1002 < seed/qualification/security673/branch-forms.om > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1087432 +exit=0 expected=0 +build/security673-native/1048 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1071513 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1107257 +exit=0 expected=0 +build/security673-native/1051 < /dev/null > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1079001 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1072344 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1103673 +exit=0 expected=0 +build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1079881 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1041065 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +elapsed_ns=1099337 +exit=0 expected=0 +build/security673-native/1059 < /dev/null > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1122809 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1097145 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1062 > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1079593 +exit=0 expected=0 +build/security673-native/1063 < /dev/null > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=1074505 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1071033 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1079049 +exit=0 expected=0 +build/security673-native/1067 < /dev/null > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1084297 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1071960 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1083321 +exit=0 expected=0 +build/security673-native/1071 < /dev/null > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1070889 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +elapsed_ns=1071800 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +elapsed_ns=1078280 +exit=0 expected=0 +build/security673-native/1075 < /dev/null > build/security673-native/1076 2> build/security673-native/501076 +elapsed_ns=1084409 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +elapsed_ns=1069880 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +elapsed_ns=1070793 +exit=0 expected=0 +build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +elapsed_ns=1066553 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1081 > build/security673-native/1082 2> build/security673-native/501082 +elapsed_ns=1078905 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1082 > build/security673-native/1083 2> build/security673-native/501083 +elapsed_ns=1070680 +exit=0 expected=0 +build/security673-native/1083 < /dev/null > build/security673-native/1084 2> build/security673-native/501084 +elapsed_ns=1066793 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1085 > build/security673-native/1086 2> build/security673-native/501086 +elapsed_ns=1173657 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1086 > build/security673-native/1087 2> build/security673-native/501087 +elapsed_ns=1077033 +exit=0 expected=0 +build/security673-native/1087 < /dev/null > build/security673-native/1088 2> build/security673-native/501088 +elapsed_ns=1067592 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1089 > build/security673-native/1090 2> build/security673-native/501090 +elapsed_ns=1072472 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1090 > build/security673-native/1091 2> build/security673-native/501091 +elapsed_ns=1097208 +exit=0 expected=0 +build/security673-native/1091 < /dev/null > build/security673-native/1092 2> build/security673-native/501092 +elapsed_ns=1073385 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1093 > build/security673-native/1094 2> build/security673-native/501094 +elapsed_ns=1087401 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1094 > build/security673-native/1095 2> build/security673-native/501095 +elapsed_ns=1093849 +exit=0 expected=0 +build/security673-native/1095 < /dev/null > build/security673-native/1096 2> build/security673-native/501096 +elapsed_ns=1077529 +exit=21 expected=21 +build/security673-native/1048 < build/security673-native/1097 > build/security673-native/1098 2> build/security673-native/501098 +elapsed_ns=1067129 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1098 > build/security673-native/1099 2> build/security673-native/501099 +elapsed_ns=1082233 +exit=0 expected=0 +build/security673-native/1099 < /dev/null > build/security673-native/1100 2> build/security673-native/501100 +elapsed_ns=1078489 +exit=30 expected=30 +build/security673-native/1048 < build/security673-native/1101 > build/security673-native/1102 2> build/security673-native/501102 +elapsed_ns=1084425 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1102 > build/security673-native/1103 2> build/security673-native/501103 +elapsed_ns=1075113 +exit=0 expected=0 +build/security673-native/1103 < /dev/null > build/security673-native/1104 2> build/security673-native/501104 +elapsed_ns=1086760 +exit=107 expected=107 +build/security673-native/1048 < build/security673-native/1105 > build/security673-native/1106 2> build/security673-native/501106 +elapsed_ns=1072521 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1106 > build/security673-native/1107 2> build/security673-native/501107 +elapsed_ns=1098313 +exit=0 expected=0 +build/security673-native/1107 < /dev/null > build/security673-native/1108 2> build/security673-native/501108 +elapsed_ns=1080664 +exit=102 expected=102 +build/security673-native/1002 < seed/qualification/security673/packet-corpus.om > build/security673-native/1109 2> build/security673-native/501109 +elapsed_ns=1088185 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/pkt-consumer.om > build/security673-native/1110 2> build/security673-native/501110 +elapsed_ns=1071609 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1111 > build/security673-native/1112 2> build/security673-native/501112 +elapsed_ns=1092712 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1112 > build/security673-native/1113 2> build/security673-native/501113 +elapsed_ns=1079193 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1114 > build/security673-native/1115 2> build/security673-native/501115 +elapsed_ns=1080185 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1115 > build/security673-native/1116 2> build/security673-native/501116 +elapsed_ns=1075145 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1117 > build/security673-native/1118 2> build/security673-native/501118 +elapsed_ns=1096089 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1118 > build/security673-native/1119 2> build/security673-native/501119 +elapsed_ns=1082441 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1120 > build/security673-native/1121 2> build/security673-native/501121 +elapsed_ns=1219338 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1121 > build/security673-native/1122 2> build/security673-native/501122 +elapsed_ns=1072041 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1123 > build/security673-native/1124 2> build/security673-native/501124 +elapsed_ns=1067321 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1124 > build/security673-native/1125 2> build/security673-native/501125 +elapsed_ns=1071625 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1126 > build/security673-native/1127 2> build/security673-native/501127 +elapsed_ns=1070552 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1127 > build/security673-native/1128 2> build/security673-native/501128 +elapsed_ns=1069800 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1129 > build/security673-native/1130 2> build/security673-native/501130 +elapsed_ns=1071337 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1130 > build/security673-native/1131 2> build/security673-native/501131 +elapsed_ns=1086969 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1132 > build/security673-native/1133 2> build/security673-native/501133 +elapsed_ns=1085945 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1133 > build/security673-native/1134 2> build/security673-native/501134 +elapsed_ns=1071336 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1135 > build/security673-native/1136 2> build/security673-native/501136 +elapsed_ns=1068649 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1136 > build/security673-native/1137 2> build/security673-native/501137 +elapsed_ns=1087513 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1138 > build/security673-native/1139 2> build/security673-native/501139 +elapsed_ns=1081449 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1139 > build/security673-native/1140 2> build/security673-native/501140 +elapsed_ns=1080649 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1140 < /dev/null > build/security673-native/1141 2> build/security673-native/501141 +elapsed_ns=3928704 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1141 > build/security673-native/1142 2> build/security673-native/501142 +elapsed_ns=1073961 +exit=0 expected=0 +build/security673-native/1140 < /dev/null > build/security673-native/1143 2> build/security673-native/501143 +elapsed_ns=1056648 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1144 > build/security673-native/1145 2> build/security673-native/501145 +elapsed_ns=75774664 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1145 > build/security673-native/1146 2> build/security673-native/501146 +elapsed_ns=135281436 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1146 < /dev/null > build/security673-native/1147 2> build/security673-native/501147 +elapsed_ns=224424256 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1147 > build/security673-native/1148 2> build/security673-native/501148 +elapsed_ns=68002281 +exit=0 expected=0 +build/security673-native/1146 < /dev/null > build/security673-native/1149 2> build/security673-native/501149 +elapsed_ns=1066089 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1150 > build/security673-native/1151 2> build/security673-native/501151 +elapsed_ns=86292621 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1151 > build/security673-native/1152 2> build/security673-native/501152 +elapsed_ns=116564947 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1153 > build/security673-native/1154 2> build/security673-native/501154 +elapsed_ns=173666435 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1154 > build/security673-native/1155 2> build/security673-native/501155 +elapsed_ns=111093735 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1156 > build/security673-native/1157 2> build/security673-native/501157 +elapsed_ns=100534930 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1157 > build/security673-native/1158 2> build/security673-native/501158 +elapsed_ns=110496178 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1159 > build/security673-native/1160 2> build/security673-native/501160 +elapsed_ns=98202814 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1160 > build/security673-native/1161 2> build/security673-native/501161 +elapsed_ns=109288008 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1162 > build/security673-native/1163 2> build/security673-native/501163 +elapsed_ns=86162844 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1163 > build/security673-native/1164 2> build/security673-native/501164 +elapsed_ns=64222778 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1165 2> build/security673-native/501165 +elapsed_ns=1090089 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1165 > build/security673-native/1166 2> build/security673-native/501166 +elapsed_ns=4285667 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1167 > build/security673-native/1168 2> build/security673-native/501168 +elapsed_ns=81141347 +exit=0 expected=0 +build/security673-native/1166 < build/security673-native/1168 > build/security673-native/1169 2> build/security673-native/501169 +elapsed_ns=136363909 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1169 < /dev/null > build/security673-native/1170 2> build/security673-native/501170 +elapsed_ns=222213566 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1170 > build/security673-native/1171 2> build/security673-native/501171 +elapsed_ns=71980425 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1168 > build/security673-native/1172 2> build/security673-native/501172 +elapsed_ns=85033428 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1173 2> build/security673-native/501173 +elapsed_ns=1077273 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/branchforms1/gate-hostile.err b/evidence/SECURITY-673/branchforms1/gate-hostile.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/branchforms1/gate-hostile.log b/evidence/SECURITY-673/branchforms1/gate-hostile.log new file mode 100644 index 000000000..9244bac08 --- /dev/null +++ b/evidence/SECURITY-673/branchforms1/gate-hostile.log @@ -0,0 +1,161 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2135249 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4350820 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/hostile-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1103817 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1004 > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1074041 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1005 > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1102009 +exit=0 expected=0 +build/security673-native/1006 < /dev/null > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=1069720 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1081816 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1009 > build/security673-native/1010 2> build/security673-native/501010 +elapsed_ns=1111049 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1011 > build/security673-native/1012 2> build/security673-native/501012 +elapsed_ns=1098169 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=8147810 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1086280 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1015 > build/security673-native/1016 2> build/security673-native/501016 +elapsed_ns=1072729 +exit=0 expected=0 +build/security673-native/1016 < /dev/null > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1080473 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1075129 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1019 > build/security673-native/1020 2> build/security673-native/501020 +elapsed_ns=1081817 +exit=0 expected=0 +build/security673-native/1020 < /dev/null > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1082840 +exit=1 expected=1 +build/security673-native/1003 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1094937 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1023 > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1082745 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1093561 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1026 > build/security673-native/1027 2> build/security673-native/501027 +elapsed_ns=1080392 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=2155937 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1029 > build/security673-native/1030 2> build/security673-native/501030 +elapsed_ns=1079929 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1084441 +exit=0 expected=0 +build/security673-native/1031 < /dev/null > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1078441 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1507741 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1086921 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1086841 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=13931826 +exit=0 expected=0 +build/security673-native/1038 < /dev/null > build/security673-native/1039 2> build/security673-native/501039 +elapsed_ns=1058936 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=2115314 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1041 > build/security673-native/1042 2> build/security673-native/501042 +elapsed_ns=1070168 +exit=0 expected=0 +build/security673-native/1042 < /dev/null > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1057241 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1044 > build/security673-native/1045 2> build/security673-native/501045 +elapsed_ns=2148449 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1072265 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1047 > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1085688 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +elapsed_ns=1078137 +exit=16 expected=16 +build/security673-native/1003 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1085801 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1096041 +exit=23 expected=23 +build/security673-native/1003 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1069657 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1064776 +exit=22 expected=22 +build/security673-native/1003 < build/security673-native/1056 > build/security673-native/1057 2> build/security673-native/501057 +elapsed_ns=1060233 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1061064 +exit=3 expected=3 +build/security673-native/1003 < build/security673-native/1059 > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1433420 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +elapsed_ns=10525253 +exit=0 expected=0 +build/security673-native/1061 < /dev/null > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1060168 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=4359940 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1064 > build/security673-native/1065 2> build/security673-native/501065 +elapsed_ns=5334171 +exit=14 expected=14 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1074648 +exit=0 expected=0 +build/security673-native/1066 3 < seed/omc/omc.om > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1095497 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1067 > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=4695414 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1085881 +exit=0 expected=0 +build/security673-native/1068 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1083801 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1085289 +exit=6 expected=6 +NEGATIVE CONTROL: compiled numeric-limit bypass admits21 digits; this violates the20-digit profile. Fixed compiler refuses6. +GATE671 SOURCE PASS bounded synthetic source families only diff --git a/evidence/SECURITY-673/branchforms1/host-gate.log b/evidence/SECURITY-673/branchforms1/host-gate.log new file mode 100644 index 000000000..f721edcbb --- /dev/null +++ b/evidence/SECURITY-673/branchforms1/host-gate.log @@ -0,0 +1,9 @@ +PASS native files, errno, exclusive creation, permissions, seek, sync and monotonic time +PASS native argument access, empty arguments, UTF-8 bytes and short-buffer refusal +PASS native socket exchange, poll timeout, fork, accept and child reaping +PASS native TCP loopback exchange on an OS-assigned port +PASS native exec with exact arguments, exec failure, pipes, descriptor duplication, sleep, kill and wait +PASS native directory enumeration, file metadata and rename without overwriting +PASS native syscall errors and nested expression register preservation +PASS native cwd and readlnk offsets, counts, truncation, errno and private path copy +PASS native socket options with independent bind behavior, readonly input and errno diff --git a/evidence/SECURITY-673/branchforms1/identities.txt b/evidence/SECURITY-673/branchforms1/identities.txt new file mode 100644 index 000000000..15ea536f6 --- /dev/null +++ b/evidence/SECURITY-673/branchforms1/identities.txt @@ -0,0 +1,9 @@ +33ba46ab1fce0e2cab8f027187f55361bb9a949d597029454ca6641a756f65ac seed/omc/omc.om +afcffb8088b8d64388a2754fa290b44d7cc443561097a91e7e25b5b2682b6f11 seed/qualification/security673/branch-forms.om +271ff8db433c426bfe9dcfb8c0f5a72edeaa2768c2bf6d7fc26dbf1656ab69ab seed/qualification/security673/packet-corpus.om +1c427e7fdfecb20e255f33c790fded84fbab28c3cdbcd8ec5da661080812314d seed/qualification/security673/pkt-consumer.om +dba9b7e3bf50099cdb4d78e30ee6bc670cabf2cbbbb35b641967a28080527758 seed/qualification/security673/gate669.om +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 seed/out/omc +2b9bce14a21a10d814b88b83e8c59d86decbe1c2f17ee6f081797a490f3a57ad build/gate669-forms +c8001cba9f008f14eff57ba3df48f8f7ae91bf51769bdd8bff014d3c0471c77a evidence/SECURITY-673/branchforms1/gate-branch.log +c8001cba9f008f14eff57ba3df48f8f7ae91bf51769bdd8bff014d3c0471c77a evidence/SECURITY-673/packet1/gate-packet.log diff --git a/evidence/SECURITY-673/chdir1/REPORT.md b/evidence/SECURITY-673/chdir1/REPORT.md new file mode 100644 index 000000000..113f2c11b --- /dev/null +++ b/evidence/SECURITY-673/chdir1/REPORT.md @@ -0,0 +1,30 @@ +# Native chdir capability for .om automation + +Date: 2026-10-23. Branch: `fix/security673-qualified`. Platform: Linux AArch64. + +## Change + +`chdir A off n` is now a native host word (code 136, Linux syscall 49). It uses the existing +private path copy, moves the copied path pointer from x1 to x0, and returns the kernel result. +`unlink` already existed (code 111). Both are expression-valued: `rc = chdir d 0 len d` and +`rc = unlink d 0 len d`. + +This removes the last missing capability needed by a `.om` replacement for the shell host gate: +compile a test, change into a scratch directory, run it, and remove its file. + +## Qualification + +| Command | Result | +| --- | --- | +| `sh seed/host/gate.sh` | exit 0, including `PASS native chdir, create below it and unlink` | +| `gate669` | exit 0, `GATE669 PASS` | +| `gate4` | exit 0, 217 cases, `GATE4 PASS` | + +`seed/host/tests/chdir.om` creates a directory, changes into it, creates and removes a file, and +returns 0 only if every step succeeds. The shell gate checks the file is gone. + +## Residual + +The host gate itself is still shell. It is the next automation cutover; this word exists so the +replacement can run each test in a scratch directory without a shell `cd`. No other legacy script is +claimed as migrated. diff --git a/evidence/SECURITY-673/chdir1/gate669.log b/evidence/SECURITY-673/chdir1/gate669.log new file mode 100644 index 000000000..f5dc97396 --- /dev/null +++ b/evidence/SECURITY-673/chdir1/gate669.log @@ -0,0 +1,487 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2129234 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4207460 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1071769 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +elapsed_ns=1068841 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1065401 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1078873 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=2125490 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1066649 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +elapsed_ns=1066889 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=1067513 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1066585 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1068809 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1066313 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1067081 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1068345 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1066473 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1080313 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1072185 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1080409 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +elapsed_ns=1070361 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1077337 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1071769 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1071689 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1068233 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1072473 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1070217 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +elapsed_ns=1069561 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1068569 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1068361 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1067465 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1066473 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1071577 +exit=62 expected=62 +build/security673-native/1002 < seed/qualification/security673/branch-forms.om > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1069609 +exit=0 expected=0 +build/security673-native/1048 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1069033 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1068377 +exit=0 expected=0 +build/security673-native/1051 < /dev/null > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1070362 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1070633 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1068521 +exit=0 expected=0 +build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1067481 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1077418 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +elapsed_ns=1072025 +exit=0 expected=0 +build/security673-native/1059 < /dev/null > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1072601 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1070826 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1062 > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1080025 +exit=0 expected=0 +build/security673-native/1063 < /dev/null > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=1083417 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1071545 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1066809 +exit=0 expected=0 +build/security673-native/1067 < /dev/null > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1072457 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1074745 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1072601 +exit=0 expected=0 +build/security673-native/1071 < /dev/null > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1067353 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +elapsed_ns=1071577 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +elapsed_ns=1069561 +exit=0 expected=0 +build/security673-native/1075 < /dev/null > build/security673-native/1076 2> build/security673-native/501076 +elapsed_ns=1070745 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +elapsed_ns=1163290 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +elapsed_ns=1079513 +exit=0 expected=0 +build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +elapsed_ns=1067929 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1081 > build/security673-native/1082 2> build/security673-native/501082 +elapsed_ns=1067529 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1082 > build/security673-native/1083 2> build/security673-native/501083 +elapsed_ns=1076169 +exit=0 expected=0 +build/security673-native/1083 < /dev/null > build/security673-native/1084 2> build/security673-native/501084 +elapsed_ns=1069018 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1085 > build/security673-native/1086 2> build/security673-native/501086 +elapsed_ns=1066825 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1086 > build/security673-native/1087 2> build/security673-native/501087 +elapsed_ns=1065833 +exit=0 expected=0 +build/security673-native/1087 < /dev/null > build/security673-native/1088 2> build/security673-native/501088 +elapsed_ns=1065721 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1089 > build/security673-native/1090 2> build/security673-native/501090 +elapsed_ns=1073529 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1090 > build/security673-native/1091 2> build/security673-native/501091 +elapsed_ns=1068841 +exit=0 expected=0 +build/security673-native/1091 < /dev/null > build/security673-native/1092 2> build/security673-native/501092 +elapsed_ns=1064857 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1093 > build/security673-native/1094 2> build/security673-native/501094 +elapsed_ns=1065049 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1094 > build/security673-native/1095 2> build/security673-native/501095 +elapsed_ns=1065018 +exit=0 expected=0 +build/security673-native/1095 < /dev/null > build/security673-native/1096 2> build/security673-native/501096 +elapsed_ns=1026264 +exit=21 expected=21 +build/security673-native/1048 < build/security673-native/1097 > build/security673-native/1098 2> build/security673-native/501098 +elapsed_ns=1065017 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1098 > build/security673-native/1099 2> build/security673-native/501099 +elapsed_ns=1063145 +exit=0 expected=0 +build/security673-native/1099 < /dev/null > build/security673-native/1100 2> build/security673-native/501100 +elapsed_ns=1073369 +exit=30 expected=30 +build/security673-native/1048 < build/security673-native/1101 > build/security673-native/1102 2> build/security673-native/501102 +elapsed_ns=1068745 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1102 > build/security673-native/1103 2> build/security673-native/501103 +elapsed_ns=1066441 +exit=0 expected=0 +build/security673-native/1103 < /dev/null > build/security673-native/1104 2> build/security673-native/501104 +elapsed_ns=1066937 +exit=107 expected=107 +build/security673-native/1048 < build/security673-native/1105 > build/security673-native/1106 2> build/security673-native/501106 +elapsed_ns=1066761 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1106 > build/security673-native/1107 2> build/security673-native/501107 +elapsed_ns=1068425 +exit=0 expected=0 +build/security673-native/1107 < /dev/null > build/security673-native/1108 2> build/security673-native/501108 +elapsed_ns=1067417 +exit=102 expected=102 +build/security673-native/1002 < seed/qualification/security673/packet-corpus.om > build/security673-native/1109 2> build/security673-native/501109 +elapsed_ns=1065449 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/pkt-consumer.om > build/security673-native/1110 2> build/security673-native/501110 +elapsed_ns=1065817 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1111 > build/security673-native/1112 2> build/security673-native/501112 +elapsed_ns=1078297 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1112 > build/security673-native/1113 2> build/security673-native/501113 +elapsed_ns=1076041 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1114 > build/security673-native/1115 2> build/security673-native/501115 +elapsed_ns=1066745 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1115 > build/security673-native/1116 2> build/security673-native/501116 +elapsed_ns=1072521 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1117 > build/security673-native/1118 2> build/security673-native/501118 +elapsed_ns=1066745 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1118 > build/security673-native/1119 2> build/security673-native/501119 +elapsed_ns=1075129 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1120 > build/security673-native/1121 2> build/security673-native/501121 +elapsed_ns=1076970 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1121 > build/security673-native/1122 2> build/security673-native/501122 +elapsed_ns=1075209 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1123 > build/security673-native/1124 2> build/security673-native/501124 +elapsed_ns=1072665 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1124 > build/security673-native/1125 2> build/security673-native/501125 +elapsed_ns=1068377 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1126 > build/security673-native/1127 2> build/security673-native/501127 +elapsed_ns=1065497 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1127 > build/security673-native/1128 2> build/security673-native/501128 +elapsed_ns=1071017 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1129 > build/security673-native/1130 2> build/security673-native/501130 +elapsed_ns=1067353 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1130 > build/security673-native/1131 2> build/security673-native/501131 +elapsed_ns=1065417 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1132 > build/security673-native/1133 2> build/security673-native/501133 +elapsed_ns=1077050 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1133 > build/security673-native/1134 2> build/security673-native/501134 +elapsed_ns=1073241 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1135 > build/security673-native/1136 2> build/security673-native/501136 +elapsed_ns=1066729 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1136 > build/security673-native/1137 2> build/security673-native/501137 +elapsed_ns=1095817 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-corpus.om > build/security673-native/1138 2> build/security673-native/501138 +elapsed_ns=1088601 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-consumer.om > build/security673-native/1139 2> build/security673-native/501139 +elapsed_ns=1073481 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1140 > build/security673-native/1141 2> build/security673-native/501141 +elapsed_ns=1083705 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1141 > build/security673-native/1142 2> build/security673-native/501142 +elapsed_ns=1071129 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1143 > build/security673-native/1144 2> build/security673-native/501144 +elapsed_ns=1160714 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1144 > build/security673-native/1145 2> build/security673-native/501145 +elapsed_ns=1061737 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1146 > build/security673-native/1147 2> build/security673-native/501147 +elapsed_ns=1056729 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1147 > build/security673-native/1148 2> build/security673-native/501148 +elapsed_ns=1056025 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1149 > build/security673-native/1150 2> build/security673-native/501150 +elapsed_ns=1056265 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1150 > build/security673-native/1151 2> build/security673-native/501151 +elapsed_ns=8424103 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1152 > build/security673-native/1153 2> build/security673-native/501153 +elapsed_ns=1166346 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1153 > build/security673-native/1154 2> build/security673-native/501154 +elapsed_ns=1075145 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1155 > build/security673-native/1156 2> build/security673-native/501156 +elapsed_ns=1070153 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1156 > build/security673-native/1157 2> build/security673-native/501157 +elapsed_ns=1067449 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1158 > build/security673-native/1159 2> build/security673-native/501159 +elapsed_ns=1067225 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1159 > build/security673-native/1160 2> build/security673-native/501160 +elapsed_ns=1065897 +exit=103 expected=103 +build/security673-native/1002 < seed/qualification/security673/path-consumer.om > build/security673-native/1161 2> build/security673-native/501161 +elapsed_ns=1088633 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1162 > build/security673-native/1163 2> build/security673-native/501163 +elapsed_ns=1084457 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1164 > build/security673-native/1165 2> build/security673-native/501165 +elapsed_ns=1072809 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1166 > build/security673-native/1167 2> build/security673-native/501167 +elapsed_ns=1067978 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1168 > build/security673-native/1169 2> build/security673-native/501169 +elapsed_ns=1069481 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1170 > build/security673-native/1171 2> build/security673-native/501171 +elapsed_ns=1085145 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1172 > build/security673-native/1173 2> build/security673-native/501173 +elapsed_ns=1072458 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1174 > build/security673-native/1175 2> build/security673-native/501175 +elapsed_ns=1071193 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/action-gate.om > build/security673-native/1176 2> build/security673-native/501176 +elapsed_ns=1082458 +exit=0 expected=0 +build/security673-native/1176 < /dev/null > build/security673-native/1177 2> build/security673-native/501177 +elapsed_ns=1068825 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/delegate-gate.om > build/security673-native/1178 2> build/security673-native/501178 +elapsed_ns=1081273 +exit=0 expected=0 +build/security673-native/1178 < /dev/null > build/security673-native/1179 2> build/security673-native/501179 +elapsed_ns=1084009 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/reuse-gate.om > build/security673-native/1180 2> build/security673-native/501180 +elapsed_ns=1089305 +exit=0 expected=0 +build/security673-native/1180 < /dev/null > build/security673-native/1181 2> build/security673-native/501181 +elapsed_ns=1068169 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/store-gate.om > build/security673-native/1182 2> build/security673-native/501182 +elapsed_ns=1081273 +exit=0 expected=0 +build/security673-native/1182 < /dev/null > build/security673-native/1183 2> build/security673-native/501183 +elapsed_ns=18997729 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/dispatch-gate.om > build/security673-native/1184 2> build/security673-native/501184 +elapsed_ns=1069434 +exit=0 expected=0 +build/security673-native/1184 < /dev/null > build/security673-native/1185 2> build/security673-native/501185 +elapsed_ns=75231902 +exit=0 expected=0 +build/security673-native/1002 < seed/trace/segment-gate.om > build/security673-native/1186 2> build/security673-native/501186 +elapsed_ns=1092809 +exit=0 expected=0 +build/security673-native/1186 < /dev/null > build/security673-native/1187 2> build/security673-native/501187 +elapsed_ns=337273710 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1188 > build/security673-native/1189 2> build/security673-native/501189 +elapsed_ns=1056649 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1189 > build/security673-native/1190 2> build/security673-native/501190 +elapsed_ns=1061001 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1190 < /dev/null > build/security673-native/1191 2> build/security673-native/501191 +elapsed_ns=3160251 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1191 > build/security673-native/1192 2> build/security673-native/501192 +elapsed_ns=1056201 +exit=0 expected=0 +build/security673-native/1190 < /dev/null > build/security673-native/1193 2> build/security673-native/501193 +elapsed_ns=1054969 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1194 > build/security673-native/1195 2> build/security673-native/501195 +elapsed_ns=83804151 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1195 > build/security673-native/1196 2> build/security673-native/501196 +elapsed_ns=56044939 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1196 < /dev/null > build/security673-native/1197 2> build/security673-native/501197 +elapsed_ns=204048291 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1197 > build/security673-native/1198 2> build/security673-native/501198 +elapsed_ns=37065802 +exit=0 expected=0 +build/security673-native/1196 < /dev/null > build/security673-native/1199 2> build/security673-native/501199 +elapsed_ns=1075129 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1200 > build/security673-native/1201 2> build/security673-native/501201 +elapsed_ns=75165118 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1201 > build/security673-native/1202 2> build/security673-native/501202 +elapsed_ns=55937291 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1203 > build/security673-native/1204 2> build/security673-native/501204 +elapsed_ns=148703262 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1204 > build/security673-native/1205 2> build/security673-native/501205 +elapsed_ns=111052190 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1206 > build/security673-native/1207 2> build/security673-native/501207 +elapsed_ns=85421764 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1207 > build/security673-native/1208 2> build/security673-native/501208 +elapsed_ns=63333945 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1209 > build/security673-native/1210 2> build/security673-native/501210 +elapsed_ns=87678008 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1210 > build/security673-native/1211 2> build/security673-native/501211 +elapsed_ns=63244633 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1212 > build/security673-native/1213 2> build/security673-native/501213 +elapsed_ns=86445678 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1213 > build/security673-native/1214 2> build/security673-native/501214 +elapsed_ns=63294489 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1215 2> build/security673-native/501215 +elapsed_ns=1069513 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1215 > build/security673-native/1216 2> build/security673-native/501216 +elapsed_ns=4243092 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1217 > build/security673-native/1218 2> build/security673-native/501218 +elapsed_ns=87630712 +exit=0 expected=0 +build/security673-native/1216 < build/security673-native/1218 > build/security673-native/1219 2> build/security673-native/501219 +elapsed_ns=55799993 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1219 < /dev/null > build/security673-native/1220 2> build/security673-native/501220 +elapsed_ns=229249240 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1220 > build/security673-native/1221 2> build/security673-native/501221 +elapsed_ns=36906105 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1218 > build/security673-native/1222 2> build/security673-native/501222 +elapsed_ns=56209933 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1223 2> build/security673-native/501223 +elapsed_ns=1070298 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/chdir1/host-gate.log b/evidence/SECURITY-673/chdir1/host-gate.log new file mode 100644 index 000000000..d473c2c5e --- /dev/null +++ b/evidence/SECURITY-673/chdir1/host-gate.log @@ -0,0 +1,10 @@ +PASS native files, errno, exclusive creation, permissions, seek, sync and monotonic time +PASS native argument access, empty arguments, UTF-8 bytes and short-buffer refusal +PASS native socket exchange, poll timeout, fork, accept and child reaping +PASS native TCP loopback exchange on an OS-assigned port +PASS native exec with exact arguments, exec failure, pipes, descriptor duplication, sleep, kill and wait +PASS native directory enumeration, file metadata and rename without overwriting +PASS native syscall errors and nested expression register preservation +PASS native cwd and readlnk offsets, counts, truncation, errno and private path copy +PASS native socket options with independent bind behavior, readonly input and errno +PASS native chdir, create below it and unlink diff --git a/evidence/SECURITY-673/chdir1/identities.txt b/evidence/SECURITY-673/chdir1/identities.txt new file mode 100644 index 000000000..e2377cfb8 --- /dev/null +++ b/evidence/SECURITY-673/chdir1/identities.txt @@ -0,0 +1,6 @@ +c1943f0953b917fb051e9b19f6879e25687c902c94319a2d0dc44faad0666e37 seed/omc/omc.om +66b4cf34e5cd2c8ff003bd142e7309f52178b66c2380f78ac313b6eb8b67471b seed/out/omc +510aa1be9f750c9e0e57207a6988635abefd7c3d36f6683da140e65c25dbc632 seed/host/tests/chdir.om +598edda35db4a4811c62c6ff715e0502238d3a3c938b656931654a254f49e4b3 seed/host/gate.sh +2419ae86c7ff5280c6f55cf9ecacee4432f568bc717f878aaa5124e341e9d83d evidence/SECURITY-673/chdir1/host-gate.log +dbb60607c5dc77cccdb24ef08c038be2fec9fa1989adf09a5bade33a58746165 evidence/SECURITY-673/chdir1/gate669.log diff --git a/evidence/SECURITY-673/control659/action-build.err b/evidence/SECURITY-673/control659/action-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/control659/action.err b/evidence/SECURITY-673/control659/action.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/control659/action.out b/evidence/SECURITY-673/control659/action.out new file mode 100644 index 000000000..a7c83c175 --- /dev/null +++ b/evidence/SECURITY-673/control659/action.out @@ -0,0 +1 @@ +action checks=219 000 diff --git a/evidence/SECURITY-673/control659/artifacts.tar.gz b/evidence/SECURITY-673/control659/artifacts.tar.gz new file mode 100644 index 000000000..f675ad786 Binary files /dev/null and b/evidence/SECURITY-673/control659/artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/control659/delegate-build.err b/evidence/SECURITY-673/control659/delegate-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/control659/delegate.err b/evidence/SECURITY-673/control659/delegate.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/control659/delegate.out b/evidence/SECURITY-673/control659/delegate.out new file mode 100644 index 000000000..6c9960c39 --- /dev/null +++ b/evidence/SECURITY-673/control659/delegate.out @@ -0,0 +1 @@ +delegate checks=074 000 diff --git a/evidence/SECURITY-673/control659/exits.txt b/evidence/SECURITY-673/control659/exits.txt new file mode 100644 index 000000000..be96e460a --- /dev/null +++ b/evidence/SECURITY-673/control659/exits.txt @@ -0,0 +1,3 @@ +action compile=0 execute=0 +delegate compile=0 execute=0 +reuse compile=0 execute=0 diff --git a/evidence/SECURITY-673/control659/identities.txt b/evidence/SECURITY-673/control659/identities.txt new file mode 100644 index 000000000..26bada1ed --- /dev/null +++ b/evidence/SECURITY-673/control659/identities.txt @@ -0,0 +1,13 @@ +f56e5696dfcfc8a16430147db176eb5b6568ec794fd3de9303f9dcd505f246aa build/security673-controls/action +698aa7d6232837be9c4ba85ebb57d6c656aacb60ae9e703b0e4f11967562e5de build/security673-controls/action-source.om +47c6c44e81af5521551927b7125bdca3b7b0b9cf6ca4549801f5067c200feea4 build/security673-controls/action-test.om +0ab62ba91d3599d6db89dc429afc1f3821f1dea3b2d8f225cbaa7c2eb01d7e81 build/security673-controls/action.om +2c00ea7f17b93a1f18b40c6b0215b487ac06dc83a8b79a3793072edb6d6bee50 build/security673-controls/delegate +501c3c8a760724ae56d836dbbe650205b55a4b9371d18609caccdb0c312cc981 build/security673-controls/delegate-source.om +af75da450c98fa7650398041979a4fc7ad4f7e9182928f90998a7c9c85fe1c7d build/security673-controls/delegate-test.om +e2e5661459ff55e62ed25eaa32936feba67c847245a779db171e0aebee80086f build/security673-controls/delegate.om +f4fb1d2c0d9a0c8fd2efa6d6239b968aa5ccc9edc9d8c3a662c4743e9b729105 build/security673-controls/reuse +dd35c5d4216958bf2f7676067c4d6aeee349d01cdca5b619f56f9765df623a9a build/security673-controls/reuse-source.om +28c5d17a301bea4d95bd7c5d3f2c9753df12d236d6246dbd9e914cece4788be9 build/security673-controls/reuse-test.om +37de7562021caf6439daea12f8039f882dfdb1caf18d74043a3f7d443ade40dd build/security673-controls/reuse.om +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 build/security673-exec/stage2 diff --git a/evidence/SECURITY-673/control659/reuse-build.err b/evidence/SECURITY-673/control659/reuse-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/control659/reuse.err b/evidence/SECURITY-673/control659/reuse.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/control659/reuse.out b/evidence/SECURITY-673/control659/reuse.out new file mode 100644 index 000000000..1c95bca96 --- /dev/null +++ b/evidence/SECURITY-673/control659/reuse.out @@ -0,0 +1 @@ +reuse checks=074 000 diff --git a/evidence/SECURITY-673/correction1/REPORT.md b/evidence/SECURITY-673/correction1/REPORT.md new file mode 100644 index 000000000..896e0c053 --- /dev/null +++ b/evidence/SECURITY-673/correction1/REPORT.md @@ -0,0 +1,72 @@ +# Corrective branch qualification + +Scope: #669, with bounded compiler-input and test-verdict checks relevant to #671/#624. +This receipt does not close #673, qualify a sandbox, or approve release. + +Threat model: source input can require a branch beyond its encoding range. The protected asset +is control-flow integrity of the emitted program, and accurate acceptance/refusal by the compiler. +The demonstrated defect was wrong branch encoding, not demonstrated data theft or host compromise. +Enforcement is `seed/omc/omc.om:disp19`, consumed by `patch19` and `blo`, on Linux AArch64. +The corrected backward unsigned boundary is2^64-1048576. Both exact signed extrema are accepted; +both adjacent out-of-range values and both alignment controls refuse24. Current callers either +use that guard or the documented aligned8MiB imm26 capacity invariant. + +`native-gate6.log`, `.err`, `.exit`, `source-identities.txt`, and `native-gate6-identities.txt` +are the final author result for this slice. `native-gate6-artifacts.tar.gz` retains every generated +source, compiler/probe/program binary, parameter fixture, decoder output and child diagnostic. +The numeric filenames are linked to raw commands in the log. Source identities include the gate, +helpers, om4, rebuilt compiler source, runner binary and external decoder. Platform/version files +identify the actual native host and decoder. The archive is synthetic and contains no private data. + +Properties tested: self-rebuild equality; eight exact encoder boundaries; real backward array fill; +small and maximum forward programs decode to the marker and execute0; oversized if, nested if, +while and trap-site programs refuse24 with empty output; a compiled range-bypass mutant emits +the wrong target, which the external decoder plus checker rejects61. That malformed program is +never executed. Seven decoder-text controls cover a valid marker, malformed target, wrong register, +duplicate marker, absent marker, wrong target and mnemonic-prefix confusion. Empty input refuses62. + +Supervisor controls in `control-*.log`, `.err` and `control-exits.txt` exercise ordinary wrong exit, +self-signal and deadline overrun; all returned99. Signals/timeouts are reported INVALID within the +failed run, not PASS. The child wait low byte9 is recorded for signal/deadline controls. There is no +process-tree or kernel resource isolation claim. + +Independent review found an overly permissive marker/target parser. The final source adds token +delimiters and an exact pinned-format x1 marker, with the review reproducers in the native corpus. +The independent final review is recorded separately and must match these source identities. + +Failed author attempts remain in this directory. Initial mutator/checker builds failed16,12,17; +gate builds failed13,3,18,7. These are failed development attempts, not security passes. The first +probe run mistakenly executed empty failed-build outputs through Bash, producing misleading0s. +`probe-results.txt` and initial probe files are INVALID and excluded. Subsequent execution requires +successful compilation and ELF inspection, and the native coordinator independently checks ELF +magic before execution. Gate attempt1 failed105 in fixture-byte narrowing; attempt4 failed99 when +the array fixture did not compile. Both were corrected and rerun. Other earlier passes are +superseded by final-source gate6, not silently substituted for it. + +Historical preservation: the seven `evidence/SEED-0/omc` files replaced by the initial candidate +are restored exactly from f0499f41. DeepSeek's replacement bytes remain separately under +`deepseek-gate5-preserved`. The retired shell669 gate remains as historical text, as well as in +its original Git commit. Its existing report and crash-inclusive log remain historical evidence +and are not the authority for this corrected slice. + +Residual assumptions: trusted Linux kernel, GNU decoder and filesystem; no concurrent source or +artifact modification by another process under the same account; same-lineage checker/runner; +fixed synthetic input families; no complete language proof, diverse compilation, timing-channel, +device-isolation or arbitrary-native-code sandbox claim. Existing seed reconstruction still uses +historical shell tooling. Closure requires the compiler/release owners' integrated review. + +Raw invocation for the final author run: + +```text +build/security673-correction1/stage2 < seed/qualification/security673/gate669.om > build/security673-correction1/gate669 2> evidence/SECURITY-673/correction1/gate-build10.err +exit 0 +readelf -h build/security673-correction1/gate669 +exit 0 +chmod +x build/security673-correction1/gate669 +exit 0 +build/security673-correction1/gate669 > evidence/SECURITY-673/correction1/native-gate6.log 2> evidence/SECURITY-673/correction1/native-gate6.err +exit 0 +``` + +Gate child commands and every actual exit are in the raw log; supervisor-control commands use +the same executable path followed by0,1,2, with fresh scratch and respective logs. They exited99. diff --git a/evidence/SECURITY-673/correction1/branch-check-attempt2.err b/evidence/SECURITY-673/correction1/branch-check-attempt2.err new file mode 100644 index 000000000..3f92af127 --- /dev/null +++ b/evidence/SECURITY-673/correction1/branch-check-attempt2.err @@ -0,0 +1 @@ +omc: line 61: error 12 diff --git a/evidence/SECURITY-673/correction1/branch-check-attempt4.err b/evidence/SECURITY-673/correction1/branch-check-attempt4.err new file mode 100644 index 000000000..3f92af127 --- /dev/null +++ b/evidence/SECURITY-673/correction1/branch-check-attempt4.err @@ -0,0 +1 @@ +omc: line 61: error 12 diff --git a/evidence/SECURITY-673/correction1/branch-check-attempt5.err b/evidence/SECURITY-673/correction1/branch-check-attempt5.err new file mode 100644 index 000000000..2ecf310a3 --- /dev/null +++ b/evidence/SECURITY-673/correction1/branch-check-attempt5.err @@ -0,0 +1 @@ +omc: line 93: error 17 diff --git a/evidence/SECURITY-673/correction1/branch-check-attempt6.err b/evidence/SECURITY-673/correction1/branch-check-attempt6.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/branch-mutate-attempt2.err b/evidence/SECURITY-673/correction1/branch-mutate-attempt2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/branch-mutate-attempt3.err b/evidence/SECURITY-673/correction1/branch-mutate-attempt3.err new file mode 100644 index 000000000..e610c6f9b --- /dev/null +++ b/evidence/SECURITY-673/correction1/branch-mutate-attempt3.err @@ -0,0 +1 @@ +omc: line 68: error 12 diff --git a/evidence/SECURITY-673/correction1/branch-mutate-attempt4.err b/evidence/SECURITY-673/correction1/branch-mutate-attempt4.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/branch-mutate-attempt5.err b/evidence/SECURITY-673/correction1/branch-mutate-attempt5.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/branch-mutate-attempt6.err b/evidence/SECURITY-673/correction1/branch-mutate-attempt6.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/build1.err b/evidence/SECURITY-673/correction1/build1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/build2.err b/evidence/SECURITY-673/correction1/build2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/check-build.err b/evidence/SECURITY-673/correction1/check-build.err new file mode 100644 index 000000000..7b4ee8aac --- /dev/null +++ b/evidence/SECURITY-673/correction1/check-build.err @@ -0,0 +1 @@ +omc: line 4: error 16 diff --git a/evidence/SECURITY-673/correction1/control-0.err b/evidence/SECURITY-673/correction1/control-0.err new file mode 100644 index 000000000..ea8a10d07 --- /dev/null +++ b/evidence/SECURITY-673/correction1/control-0.err @@ -0,0 +1 @@ +GATE669 FAIL; retain all scratch files and command output diff --git a/evidence/SECURITY-673/correction1/control-0.log b/evidence/SECURITY-673/correction1/control-0.log new file mode 100644 index 000000000..15cf0eecb --- /dev/null +++ b/evidence/SECURITY-673/correction1/control-0.log @@ -0,0 +1,8 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/gate-child.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1004 < build/security673-native/1003 > build/security673-native/1005 2> build/security673-native/501005 +exit=7 expected=0 diff --git a/evidence/SECURITY-673/correction1/control-1.err b/evidence/SECURITY-673/correction1/control-1.err new file mode 100644 index 000000000..ea8a10d07 --- /dev/null +++ b/evidence/SECURITY-673/correction1/control-1.err @@ -0,0 +1 @@ +GATE669 FAIL; retain all scratch files and command output diff --git a/evidence/SECURITY-673/correction1/control-1.log b/evidence/SECURITY-673/correction1/control-1.log new file mode 100644 index 000000000..2e74d8152 --- /dev/null +++ b/evidence/SECURITY-673/correction1/control-1.log @@ -0,0 +1,8 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/gate-child.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1004 < build/security673-native/1003 > build/security673-native/1005 2> build/security673-native/501005 +INVALID child wait low-byte=9 diff --git a/evidence/SECURITY-673/correction1/control-2.err b/evidence/SECURITY-673/correction1/control-2.err new file mode 100644 index 000000000..ea8a10d07 --- /dev/null +++ b/evidence/SECURITY-673/correction1/control-2.err @@ -0,0 +1 @@ +GATE669 FAIL; retain all scratch files and command output diff --git a/evidence/SECURITY-673/correction1/control-2.log b/evidence/SECURITY-673/correction1/control-2.log new file mode 100644 index 000000000..665c07c59 --- /dev/null +++ b/evidence/SECURITY-673/correction1/control-2.log @@ -0,0 +1,8 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/gate-child.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1004 < build/security673-native/1003 > build/security673-native/1005 2> build/security673-native/501005 +INVALID child deadline exceeded; sent SIGKILL; wait low-byte=9 diff --git a/evidence/SECURITY-673/correction1/control-exits.txt b/evidence/SECURITY-673/correction1/control-exits.txt new file mode 100644 index 000000000..4e9218a5c --- /dev/null +++ b/evidence/SECURITY-673/correction1/control-exits.txt @@ -0,0 +1,3 @@ +control=0 exit=99 +control=1 exit=99 +control=2 exit=99 diff --git a/evidence/SECURITY-673/correction1/gate-build1.err b/evidence/SECURITY-673/correction1/gate-build1.err new file mode 100644 index 000000000..6543aac1b --- /dev/null +++ b/evidence/SECURITY-673/correction1/gate-build1.err @@ -0,0 +1 @@ +omc: line 119: error 13 diff --git a/evidence/SECURITY-673/correction1/gate-build10.err b/evidence/SECURITY-673/correction1/gate-build10.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/gate-build2.err b/evidence/SECURITY-673/correction1/gate-build2.err new file mode 100644 index 000000000..f85e05466 --- /dev/null +++ b/evidence/SECURITY-673/correction1/gate-build2.err @@ -0,0 +1 @@ +omc: line 11: error 13 diff --git a/evidence/SECURITY-673/correction1/gate-build3.err b/evidence/SECURITY-673/correction1/gate-build3.err new file mode 100644 index 000000000..40d1c370c --- /dev/null +++ b/evidence/SECURITY-673/correction1/gate-build3.err @@ -0,0 +1 @@ +omc: line 33: error 3 diff --git a/evidence/SECURITY-673/correction1/gate-build4.err b/evidence/SECURITY-673/correction1/gate-build4.err new file mode 100644 index 000000000..590aeebbf --- /dev/null +++ b/evidence/SECURITY-673/correction1/gate-build4.err @@ -0,0 +1 @@ +omc: line 170: error 18 diff --git a/evidence/SECURITY-673/correction1/gate-build5.err b/evidence/SECURITY-673/correction1/gate-build5.err new file mode 100644 index 000000000..1eb8423ee --- /dev/null +++ b/evidence/SECURITY-673/correction1/gate-build5.err @@ -0,0 +1 @@ +omc: line 338: error 3 diff --git a/evidence/SECURITY-673/correction1/gate-build6.err b/evidence/SECURITY-673/correction1/gate-build6.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/gate-build7.err b/evidence/SECURITY-673/correction1/gate-build7.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/gate-build8.err b/evidence/SECURITY-673/correction1/gate-build8.err new file mode 100644 index 000000000..620d0671d --- /dev/null +++ b/evidence/SECURITY-673/correction1/gate-build8.err @@ -0,0 +1 @@ +omc: line 347: error 7 diff --git a/evidence/SECURITY-673/correction1/gate-build9.err b/evidence/SECURITY-673/correction1/gate-build9.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/mutate-build.err b/evidence/SECURITY-673/correction1/mutate-build.err new file mode 100644 index 000000000..d4aed6dee --- /dev/null +++ b/evidence/SECURITY-673/correction1/mutate-build.err @@ -0,0 +1 @@ +omc: line 8: error 16 diff --git a/evidence/SECURITY-673/correction1/native-gate1.err b/evidence/SECURITY-673/correction1/native-gate1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/native-gate1.log b/evidence/SECURITY-673/correction1/native-gate1.log new file mode 100644 index 000000000..7eea12545 --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate1.log @@ -0,0 +1,40 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1024 > build/security673-native/1025 2> build/security673-native/501025 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1025 > build/security673-native/1026 2> build/security673-native/501026 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1026 < /dev/null > build/security673-native/1027 2> build/security673-native/501027 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +exit=0 expected=0 +build/security673-native/1026 < /dev/null > build/security673-native/1029 2> build/security673-native/501029 +exit=0 expected=0 diff --git a/evidence/SECURITY-673/correction1/native-gate2-identities.txt b/evidence/SECURITY-673/correction1/native-gate2-identities.txt new file mode 100644 index 000000000..4c5031b93 --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate2-identities.txt @@ -0,0 +1,109 @@ +4c0a57497ac2046304365741b7a0de110056a1ac17ba03fa6127890dd66e3dd9 seed/omc/omc.om +4bc9e252ca68ba185c284b9b9aed09dee83526abae9913db6c6b592700db76e1 seed/qualification/security673/branch-mutate.om +308ccfb405a97c8ac7b1d2bf3c5c7508f9b08a4497d7764389aa28e85a94dcf3 seed/qualification/security673/branch-check.om +587fa24fe01e7b39a5b82195cc64942703a78849040afa600c57b4deacb2f498 seed/qualification/security673/gate669.om +d0da40e45f1fcc45d9a39c9c52c9d745b545e076970729e51c12d76ef519efab seed/rung4/om4.bin +f907ad15d2714f0503e121a07ef48475ab5c70f6c265f746686b6414f48ed194 build/security673-correction1/gate669 +f2e917a5d118ebf5679b24740e20d30338308e7f3f0630527c469de452d5a250 /usr/bin/objdump +7c25129a0a8ec0604f93ec51eb2028ecfc6e04dde936a73aeaa5f24a2b3214b8 build/security673-native/1001 +7c25129a0a8ec0604f93ec51eb2028ecfc6e04dde936a73aeaa5f24a2b3214b8 build/security673-native/1002 +cc57b2528e46cc581252de10a4fd015993a1956415950f9c1a4009bde079c5e2 build/security673-native/1003 +8b25a76bf1ac341b4f1a85cc5d9edc8f1c3db5b78b9bfbfc88c2da251b2a3de8 build/security673-native/1004 +2290709ec0b182f6d0bf1d39bfb788b76087ccbbff9183c128bd997f55e370bd build/security673-native/1005 +0e0abd14b5a0a5e40232c112ccc6b56cb24ecb2601aecc177f03600db494c1f6 build/security673-native/1006 +386aee4065fd84b4da3e922c89792274f21ec49b38814d5da33ab83f718deffe build/security673-native/1007 +6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d build/security673-native/1008 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1009 +4bf5122f344554c53bde2ebb8cd2b7e3d1600ad631c385a5d7cce23c7785459a build/security673-native/1010 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1011 +dbc1b4c900ffe48d575b5da5c638040125f65db0fe3e24494b76ea986457d986 build/security673-native/1012 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1013 +084fed08b978af4d7d196a7446a86b58009e636b611db16211b65a9aadff29c5 build/security673-native/1014 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1015 +e52d9c508c502347344d8c07ad91cbd6068afc75ff6292f062a09ca381c89e71 build/security673-native/1016 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1017 +e77b9a9ae9e30b0dbdb6f510a264ef9de781501d7b6b92ae89eb059c5ab743db build/security673-native/1018 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1019 +67586e98fad27da0b9968bc039a1ef34c939b9b8e523a8bef89d478608c5ecf6 build/security673-native/1020 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1021 +ca358758f6d27e6cf45272937977a748fd88391db679ceda7dc7bf1f005ee879 build/security673-native/1022 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1023 +cbc1554b3e29548a06244ecd51e2f07eaf0df06088190c35a20a94ac1526490d build/security673-native/1024 +14229b81dc02832eef314732c24976b004ef214101fd760c0b669eedd5b327f3 build/security673-native/1025 +c06c90b8e9be749e7717157512de1901404f4e9aebd1cc31a667b22f6a6b64fd build/security673-native/1026 +35cfd73899d58ecb5e945dc796f38192b0e435e13845cc06949eacf98c9f4058 build/security673-native/1027 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1028 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1029 +d7e6c157b49855281a866a48a89aec9ba23931e8f110e232f4e64ec2977add6d build/security673-native/1030 +90bd8059f9148733414dec74aab99e97f8961ac5b2111d2bb9696523ef360bb7 build/security673-native/1031 +546ca3f4776e7a32e4eb2daca0a5e52a9c466c6fbc5baf76f9dbb1fa0b846b33 build/security673-native/1032 +eee7adbf2d4f6a5032e43d47b3796ef4dc63879be993708c4e10e85833ba2f5d build/security673-native/1033 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1034 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1035 +6a66da4e2e46bc094e014038b09866a3a37826dae1fc76fbe44fa7349a18134e build/security673-native/1036 +05d0ee5977dc7991191f0e4fbc35dcc9cc7ec6b7aa321c7703256685884eda65 build/security673-native/1037 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1038 +58206b541585e97e16eaf3d790c029bae3864c816d5749f2cb1fb750236c6ab0 build/security673-native/1039 +982ec370ef18a3a5ce391624e2a93073614fbab58df798585d3af8f21fbaa1ad build/security673-native/1040 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1041 +cb1064b3af67a077a9db16f5b33567773196da28a51cd8a87f126f04bf121441 build/security673-native/1042 +3bacfe18c6a44b1b8909a5119d1ffba1b9b892b3d18c2eeb5673d8d427ca051b build/security673-native/1043 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1044 +4d29398b8c3e440079c3c9e4db4938827c24454e56022f2f04bdf6f068c54cac build/security673-native/1045 +7d7d35a0bc6f8ff99ead211b5253df42114d08e1856bd630576e64cf600b11d9 build/security673-native/1046 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1047 +0d881d40b39e2f9abf709ae59ea85dd474c3104f921c41b96142390b5858ebe5 build/security673-native/1048 +581b5e09b325a89b32ffb704a5719d90333d9dcbd24d891aa2385b43dd6effac build/security673-native/1049 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1050 +3d68ff589a8bff4c48704c577407b0e9e5a00017ede1e31ae5f5d695905c39d9 build/security673-native/1051 +7940e6805f5e820bbe5ba40c9de3f0d196936a607f34b30903898d1b94c5ed02 build/security673-native/1052 +d110457e8900a7bff0e9474ecd94fb6cd001d6928d7e018132678ac22013bdd0 build/security673-native/1053 +89d80a4da80fbc5a2d0086ad391caea8207c666edac860ff71e93d5ca595ddea build/security673-native/1054 +8cbdc67a54eb0a352e04dbd58e7cc1a5d872d19387f54955f6726f468ec3634e build/security673-native/1055 +a8852ef93475266521e67400368eddaa31b360b4414f18330cf035834905b571 build/security673-native/1056 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1057 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1058 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1059 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501001 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501002 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501003 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501004 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501005 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501006 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501007 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501009 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501011 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501013 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501015 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501017 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501019 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501021 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501023 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501025 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501026 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501027 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501028 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501029 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501031 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501032 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501033 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501034 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501035 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501037 +f387a326bd9a2895a89654c41a091725ab9830544929c5c3b106ecf4b6a2d431 build/security673-native/501038 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501040 +9951b4e194b8cab8c7419c30cab38bd5e90c40d918c0ef0a64001a30d2ce1d40 build/security673-native/501041 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501043 +c51928899f48c1253f7d68f6e984b3bdc9053f899fd0f5abfe5f66a8565fdac1 build/security673-native/501044 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501046 +09ae3258fdb306c8b74a2d00fd6d91682502bb0d5bc2813483f5b1537ee18ba5 build/security673-native/501047 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501049 +0b4a160d3737a6f755a7926770522b6f341ba18d60f1b5d4ab8cb657ebea2f1e build/security673-native/501050 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501051 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501052 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501054 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501055 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501056 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501057 +0bf1fd9de05fcd4795f230924a5360759207d7d08ca79cc0db4c1127cf7a6499 build/security673-native/501058 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501059 diff --git a/evidence/SECURITY-673/correction1/native-gate2.err b/evidence/SECURITY-673/correction1/native-gate2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/native-gate2.log b/evidence/SECURITY-673/correction1/native-gate2.log new file mode 100644 index 000000000..00d4bb34c --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate2.log @@ -0,0 +1,87 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1024 > build/security673-native/1025 2> build/security673-native/501025 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1025 > build/security673-native/1026 2> build/security673-native/501026 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1026 < /dev/null > build/security673-native/1027 2> build/security673-native/501027 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +exit=0 expected=0 +build/security673-native/1026 < /dev/null > build/security673-native/1029 2> build/security673-native/501029 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1032 < /dev/null > build/security673-native/1033 2> build/security673-native/501033 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +exit=0 expected=0 +build/security673-native/1032 < /dev/null > build/security673-native/1035 2> build/security673-native/501035 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1051 2> build/security673-native/501051 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +exit=0 expected=0 +build/security673-native/1052 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1056 > build/security673-native/1057 2> build/security673-native/501057 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1058 2> build/security673-native/501058 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1059 2> build/security673-native/501059 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/correction1/native-gate3.err b/evidence/SECURITY-673/correction1/native-gate3.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/native-gate3.log b/evidence/SECURITY-673/correction1/native-gate3.log new file mode 100644 index 000000000..00d4bb34c --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate3.log @@ -0,0 +1,87 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1024 > build/security673-native/1025 2> build/security673-native/501025 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1025 > build/security673-native/1026 2> build/security673-native/501026 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1026 < /dev/null > build/security673-native/1027 2> build/security673-native/501027 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +exit=0 expected=0 +build/security673-native/1026 < /dev/null > build/security673-native/1029 2> build/security673-native/501029 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1032 < /dev/null > build/security673-native/1033 2> build/security673-native/501033 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +exit=0 expected=0 +build/security673-native/1032 < /dev/null > build/security673-native/1035 2> build/security673-native/501035 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1051 2> build/security673-native/501051 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +exit=0 expected=0 +build/security673-native/1052 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1056 > build/security673-native/1057 2> build/security673-native/501057 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1058 2> build/security673-native/501058 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1059 2> build/security673-native/501059 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/correction1/native-gate4.err b/evidence/SECURITY-673/correction1/native-gate4.err new file mode 100644 index 000000000..ea8a10d07 --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate4.err @@ -0,0 +1 @@ +GATE669 FAIL; retain all scratch files and command output diff --git a/evidence/SECURITY-673/correction1/native-gate4.log b/evidence/SECURITY-673/correction1/native-gate4.log new file mode 100644 index 000000000..e17d7c600 --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate4.log @@ -0,0 +1,32 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +exit=7 expected=0 diff --git a/evidence/SECURITY-673/correction1/native-gate5.err b/evidence/SECURITY-673/correction1/native-gate5.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/native-gate5.log b/evidence/SECURITY-673/correction1/native-gate5.log new file mode 100644 index 000000000..02b555069 --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate5.log @@ -0,0 +1,117 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +exit=61 expected=61 +build/security673-native/1003 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1047 < /dev/null > build/security673-native/1048 2> build/security673-native/501048 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +exit=0 expected=0 +build/security673-native/1047 < /dev/null > build/security673-native/1050 2> build/security673-native/501050 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1052 > build/security673-native/1053 2> build/security673-native/501053 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1053 < /dev/null > build/security673-native/1054 2> build/security673-native/501054 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +exit=0 expected=0 +build/security673-native/1053 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1064 > build/security673-native/1065 2> build/security673-native/501065 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1067 > build/security673-native/1068 2> build/security673-native/501068 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1072 2> build/security673-native/501072 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1072 > build/security673-native/1073 2> build/security673-native/501073 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +exit=0 expected=0 +build/security673-native/1073 < build/security673-native/1075 > build/security673-native/1076 2> build/security673-native/501076 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1076 < /dev/null > build/security673-native/1077 2> build/security673-native/501077 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1075 > build/security673-native/1079 2> build/security673-native/501079 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/correction1/native-gate6-artifacts.tar.gz b/evidence/SECURITY-673/correction1/native-gate6-artifacts.tar.gz new file mode 100644 index 000000000..9db40d7e0 Binary files /dev/null and b/evidence/SECURITY-673/correction1/native-gate6-artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/correction1/native-gate6-identities.txt b/evidence/SECURITY-673/correction1/native-gate6-identities.txt new file mode 100644 index 000000000..d25cbc69b --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate6-identities.txt @@ -0,0 +1,143 @@ +7c25129a0a8ec0604f93ec51eb2028ecfc6e04dde936a73aeaa5f24a2b3214b8 build/security673-native/1001 +7c25129a0a8ec0604f93ec51eb2028ecfc6e04dde936a73aeaa5f24a2b3214b8 build/security673-native/1002 +214bfbcb6e039a9890f8932e053fe91368d5ddda9bea54be580cfbc2af3678a0 build/security673-native/1003 +8b25a76bf1ac341b4f1a85cc5d9edc8f1c3db5b78b9bfbfc88c2da251b2a3de8 build/security673-native/1004 +14140f4cb6bea232b6232bcc82b4760079e5e934f5997409ef8ab2a5a3ceb01d build/security673-native/1005 +0e0abd14b5a0a5e40232c112ccc6b56cb24ecb2601aecc177f03600db494c1f6 build/security673-native/1006 +386aee4065fd84b4da3e922c89792274f21ec49b38814d5da33ab83f718deffe build/security673-native/1007 +6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d build/security673-native/1008 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1009 +4bf5122f344554c53bde2ebb8cd2b7e3d1600ad631c385a5d7cce23c7785459a build/security673-native/1010 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1011 +dbc1b4c900ffe48d575b5da5c638040125f65db0fe3e24494b76ea986457d986 build/security673-native/1012 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1013 +084fed08b978af4d7d196a7446a86b58009e636b611db16211b65a9aadff29c5 build/security673-native/1014 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1015 +e52d9c508c502347344d8c07ad91cbd6068afc75ff6292f062a09ca381c89e71 build/security673-native/1016 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1017 +e77b9a9ae9e30b0dbdb6f510a264ef9de781501d7b6b92ae89eb059c5ab743db build/security673-native/1018 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1019 +67586e98fad27da0b9968bc039a1ef34c939b9b8e523a8bef89d478608c5ecf6 build/security673-native/1020 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1021 +ca358758f6d27e6cf45272937977a748fd88391db679ceda7dc7bf1f005ee879 build/security673-native/1022 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1023 +5fb117f43f28746f7090cbafe0e7fdd3ff885c31d23e14c3019916397847a5fa build/security673-native/1024 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1025 +79b0b6e0aa7313d9145e78d8f9ab0eee214f43c1ca21e68682b26a9ebac71f62 build/security673-native/1026 +6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d build/security673-native/1027 +ac77c1acf5ba409dd63aa1b82faeb873877223836c519f0fb48b9500e7fbe339 build/security673-native/1028 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1029 +4bf5122f344554c53bde2ebb8cd2b7e3d1600ad631c385a5d7cce23c7785459a build/security673-native/1030 +0200ef378525d85ae77dc3f5af6c2e5c4cc9ac4b13e0f43429c6a8391d44cc6f build/security673-native/1031 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1032 +dbc1b4c900ffe48d575b5da5c638040125f65db0fe3e24494b76ea986457d986 build/security673-native/1033 +81ead0bf91d0368e9ba89de19e540cb7bbbb89cabd5dd8b8cf2afef99c75e797 build/security673-native/1034 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1035 +084fed08b978af4d7d196a7446a86b58009e636b611db16211b65a9aadff29c5 build/security673-native/1036 +e341ddad8cb9ad2ad9ff652caafb6a4a1dc59dcfee9cab33e02c96ca54b89df8 build/security673-native/1037 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1038 +e52d9c508c502347344d8c07ad91cbd6068afc75ff6292f062a09ca381c89e71 build/security673-native/1039 +e48ae9654414e6e6d6b0c4d967247172975f59b733911acb5649e8e16dd09312 build/security673-native/1040 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1041 +e77b9a9ae9e30b0dbdb6f510a264ef9de781501d7b6b92ae89eb059c5ab743db build/security673-native/1042 +643c75e8713c12a62a7b8d2ff09eef305d9631934f2714161e5f976a3ad3d871 build/security673-native/1043 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1044 +67586e98fad27da0b9968bc039a1ef34c939b9b8e523a8bef89d478608c5ecf6 build/security673-native/1045 +c3b6792cbdaead449ac8fbadf5b932fb080c63c36f03c90078d46a0ec9273e8c build/security673-native/1046 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1047 +cbc1554b3e29548a06244ecd51e2f07eaf0df06088190c35a20a94ac1526490d build/security673-native/1048 +14229b81dc02832eef314732c24976b004ef214101fd760c0b669eedd5b327f3 build/security673-native/1049 +c06c90b8e9be749e7717157512de1901404f4e9aebd1cc31a667b22f6a6b64fd build/security673-native/1050 +55d918f590a18842286fa8ebf6ddac8a3583eb0c669fb33845e300b159682cf7 build/security673-native/1051 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1052 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1053 +d7e6c157b49855281a866a48a89aec9ba23931e8f110e232f4e64ec2977add6d build/security673-native/1054 +90bd8059f9148733414dec74aab99e97f8961ac5b2111d2bb9696523ef360bb7 build/security673-native/1055 +546ca3f4776e7a32e4eb2daca0a5e52a9c466c6fbc5baf76f9dbb1fa0b846b33 build/security673-native/1056 +852d7e0e680c5095b2c4dfe00fb95666354245ae4289b22a92e12773baa30910 build/security673-native/1057 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1058 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1059 +6a66da4e2e46bc094e014038b09866a3a37826dae1fc76fbe44fa7349a18134e build/security673-native/1060 +05d0ee5977dc7991191f0e4fbc35dcc9cc7ec6b7aa321c7703256685884eda65 build/security673-native/1061 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1062 +58206b541585e97e16eaf3d790c029bae3864c816d5749f2cb1fb750236c6ab0 build/security673-native/1063 +982ec370ef18a3a5ce391624e2a93073614fbab58df798585d3af8f21fbaa1ad build/security673-native/1064 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1065 +cb1064b3af67a077a9db16f5b33567773196da28a51cd8a87f126f04bf121441 build/security673-native/1066 +3bacfe18c6a44b1b8909a5119d1ffba1b9b892b3d18c2eeb5673d8d427ca051b build/security673-native/1067 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1068 +4d29398b8c3e440079c3c9e4db4938827c24454e56022f2f04bdf6f068c54cac build/security673-native/1069 +7d7d35a0bc6f8ff99ead211b5253df42114d08e1856bd630576e64cf600b11d9 build/security673-native/1070 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1071 +0d881d40b39e2f9abf709ae59ea85dd474c3104f921c41b96142390b5858ebe5 build/security673-native/1072 +581b5e09b325a89b32ffb704a5719d90333d9dcbd24d891aa2385b43dd6effac build/security673-native/1073 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1074 +3d68ff589a8bff4c48704c577407b0e9e5a00017ede1e31ae5f5d695905c39d9 build/security673-native/1075 +7940e6805f5e820bbe5ba40c9de3f0d196936a607f34b30903898d1b94c5ed02 build/security673-native/1076 +d110457e8900a7bff0e9474ecd94fb6cd001d6928d7e018132678ac22013bdd0 build/security673-native/1077 +89d80a4da80fbc5a2d0086ad391caea8207c666edac860ff71e93d5ca595ddea build/security673-native/1078 +8cbdc67a54eb0a352e04dbd58e7cc1a5d872d19387f54955f6726f468ec3634e build/security673-native/1079 +770ee3cdd4e7f0c25185702c33c4e9c08463454606dc6b61734fe7bc720ef4ef build/security673-native/1080 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1081 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1082 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1083 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501001 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501002 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501003 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501004 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501005 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501006 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501007 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501009 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501011 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501013 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501015 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501017 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501019 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501021 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501023 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501024 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501025 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501026 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501028 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501029 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501031 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501032 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501034 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501035 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501037 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501038 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501040 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501041 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501043 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501044 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501046 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501047 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501049 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501050 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501051 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501052 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501053 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501055 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501056 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501057 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501058 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501059 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501061 +f387a326bd9a2895a89654c41a091725ab9830544929c5c3b106ecf4b6a2d431 build/security673-native/501062 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501064 +9951b4e194b8cab8c7419c30cab38bd5e90c40d918c0ef0a64001a30d2ce1d40 build/security673-native/501065 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501067 +c51928899f48c1253f7d68f6e984b3bdc9053f899fd0f5abfe5f66a8565fdac1 build/security673-native/501068 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501070 +09ae3258fdb306c8b74a2d00fd6d91682502bb0d5bc2813483f5b1537ee18ba5 build/security673-native/501071 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501073 +0b4a160d3737a6f755a7926770522b6f341ba18d60f1b5d4ab8cb657ebea2f1e build/security673-native/501074 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501075 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501076 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501078 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501079 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501080 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501081 +0bf1fd9de05fcd4795f230924a5360759207d7d08ca79cc0db4c1127cf7a6499 build/security673-native/501082 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501083 diff --git a/evidence/SECURITY-673/correction1/native-gate6.err b/evidence/SECURITY-673/correction1/native-gate6.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/native-gate6.exit b/evidence/SECURITY-673/correction1/native-gate6.exit new file mode 100644 index 000000000..4b989b9da --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate6.exit @@ -0,0 +1 @@ +native-gate6 exit=0 diff --git a/evidence/SECURITY-673/correction1/native-gate6.log b/evidence/SECURITY-673/correction1/native-gate6.log new file mode 100644 index 000000000..c43033b89 --- /dev/null +++ b/evidence/SECURITY-673/correction1/native-gate6.log @@ -0,0 +1,121 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +exit=62 expected=62 +build/security673-native/1003 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1050 < /dev/null > build/security673-native/1051 2> build/security673-native/501051 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +exit=0 expected=0 +build/security673-native/1050 < /dev/null > build/security673-native/1053 2> build/security673-native/501053 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1055 > build/security673-native/1056 2> build/security673-native/501056 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1056 < /dev/null > build/security673-native/1057 2> build/security673-native/501057 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +exit=0 expected=0 +build/security673-native/1056 < /dev/null > build/security673-native/1059 2> build/security673-native/501059 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1064 > build/security673-native/1065 2> build/security673-native/501065 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1067 > build/security673-native/1068 2> build/security673-native/501068 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1072 > build/security673-native/1073 2> build/security673-native/501073 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1075 2> build/security673-native/501075 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1075 > build/security673-native/1076 2> build/security673-native/501076 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +exit=0 expected=0 +build/security673-native/1076 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1080 > build/security673-native/1081 2> build/security673-native/501081 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1082 2> build/security673-native/501082 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1083 2> build/security673-native/501083 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/correction1/objdump-version.txt b/evidence/SECURITY-673/correction1/objdump-version.txt new file mode 100644 index 000000000..bf0a20ee2 --- /dev/null +++ b/evidence/SECURITY-673/correction1/objdump-version.txt @@ -0,0 +1,5 @@ +GNU objdump (GNU Binutils for Ubuntu) 2.42 +Copyright (C) 2024 Free Software Foundation, Inc. +This program is free software; you may redistribute it under the terms of +the GNU General Public License version 3 or (at your option) any later version. +This program has absolutely no warranty. diff --git a/evidence/SECURITY-673/correction1/platform.txt b/evidence/SECURITY-673/correction1/platform.txt new file mode 100644 index 000000000..893fc5eec --- /dev/null +++ b/evidence/SECURITY-673/correction1/platform.txt @@ -0,0 +1 @@ +Linux 7.0.0-1019-nvidia aarch64 GNU/Linux diff --git a/evidence/SECURITY-673/correction1/probe-0.err b/evidence/SECURITY-673/correction1/probe-0.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-0.out b/evidence/SECURITY-673/correction1/probe-0.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-1.err b/evidence/SECURITY-673/correction1/probe-1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-1.out b/evidence/SECURITY-673/correction1/probe-1.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-2.err b/evidence/SECURITY-673/correction1/probe-2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-2.out b/evidence/SECURITY-673/correction1/probe-2.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-3.err b/evidence/SECURITY-673/correction1/probe-3.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-3.out b/evidence/SECURITY-673/correction1/probe-3.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-4.err b/evidence/SECURITY-673/correction1/probe-4.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-4.out b/evidence/SECURITY-673/correction1/probe-4.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-5.err b/evidence/SECURITY-673/correction1/probe-5.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-5.out b/evidence/SECURITY-673/correction1/probe-5.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-6.err b/evidence/SECURITY-673/correction1/probe-6.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-6.out b/evidence/SECURITY-673/correction1/probe-6.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-7.err b/evidence/SECURITY-673/correction1/probe-7.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-7.out b/evidence/SECURITY-673/correction1/probe-7.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-0.err b/evidence/SECURITY-673/correction1/probe-attempt6-0.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-0.out b/evidence/SECURITY-673/correction1/probe-attempt6-0.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-1.err b/evidence/SECURITY-673/correction1/probe-attempt6-1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-1.out b/evidence/SECURITY-673/correction1/probe-attempt6-1.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-2.err b/evidence/SECURITY-673/correction1/probe-attempt6-2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-2.out b/evidence/SECURITY-673/correction1/probe-attempt6-2.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-3.err b/evidence/SECURITY-673/correction1/probe-attempt6-3.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-3.out b/evidence/SECURITY-673/correction1/probe-attempt6-3.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-4.err b/evidence/SECURITY-673/correction1/probe-attempt6-4.err new file mode 100644 index 000000000..85eb8c8c3 --- /dev/null +++ b/evidence/SECURITY-673/correction1/probe-attempt6-4.err @@ -0,0 +1 @@ +omc: line 0: error 24 diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-4.out b/evidence/SECURITY-673/correction1/probe-attempt6-4.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-5.err b/evidence/SECURITY-673/correction1/probe-attempt6-5.err new file mode 100644 index 000000000..85eb8c8c3 --- /dev/null +++ b/evidence/SECURITY-673/correction1/probe-attempt6-5.err @@ -0,0 +1 @@ +omc: line 0: error 24 diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-5.out b/evidence/SECURITY-673/correction1/probe-attempt6-5.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-6.err b/evidence/SECURITY-673/correction1/probe-attempt6-6.err new file mode 100644 index 000000000..85eb8c8c3 --- /dev/null +++ b/evidence/SECURITY-673/correction1/probe-attempt6-6.err @@ -0,0 +1 @@ +omc: line 0: error 24 diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-6.out b/evidence/SECURITY-673/correction1/probe-attempt6-6.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-7.err b/evidence/SECURITY-673/correction1/probe-attempt6-7.err new file mode 100644 index 000000000..85eb8c8c3 --- /dev/null +++ b/evidence/SECURITY-673/correction1/probe-attempt6-7.err @@ -0,0 +1 @@ +omc: line 0: error 24 diff --git a/evidence/SECURITY-673/correction1/probe-attempt6-7.out b/evidence/SECURITY-673/correction1/probe-attempt6-7.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-attempt6.err b/evidence/SECURITY-673/correction1/probe-attempt6.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/correction1/probe-build.err b/evidence/SECURITY-673/correction1/probe-build.err new file mode 100644 index 000000000..dfc6810ff --- /dev/null +++ b/evidence/SECURITY-673/correction1/probe-build.err @@ -0,0 +1 @@ +omc: line 1: error 16 diff --git a/evidence/SECURITY-673/correction1/probe-results.txt b/evidence/SECURITY-673/correction1/probe-results.txt new file mode 100644 index 000000000..fbe98baab --- /dev/null +++ b/evidence/SECURITY-673/correction1/probe-results.txt @@ -0,0 +1,8 @@ +mode=0 exit=0 +mode=1 exit=0 +mode=2 exit=0 +mode=3 exit=0 +mode=4 exit=0 +mode=5 exit=0 +mode=6 exit=0 +mode=7 exit=0 diff --git a/evidence/SECURITY-673/correction1/results.txt b/evidence/SECURITY-673/correction1/results.txt new file mode 100644 index 000000000..6ce78d09b --- /dev/null +++ b/evidence/SECURITY-673/correction1/results.txt @@ -0,0 +1,3 @@ +build_stage1=0 +build_stage2=0 +self_rebuild_equal=0 diff --git a/evidence/SECURITY-673/correction1/source-identities.txt b/evidence/SECURITY-673/correction1/source-identities.txt new file mode 100644 index 000000000..fc521a623 --- /dev/null +++ b/evidence/SECURITY-673/correction1/source-identities.txt @@ -0,0 +1,11 @@ +4c0a57497ac2046304365741b7a0de110056a1ac17ba03fa6127890dd66e3dd9 seed/omc/omc.om +bcfb200a48291c27d4a700ea074e02616a881767c8838a52ad2dfd7b83b52d33 seed/qualification/security673/array-fill.om +3165c09cb7ed7523355ccaa1acbdc89be55c2882fbb61fc7f25594bd68deeca3 seed/qualification/security673/branch-check.om +a2672e4d018ca2ded61044af19bcde0ad7f8a3990429067aa2d5086ee681a413 seed/qualification/security673/branch-corpus.om +4bc9e252ca68ba185c284b9b9aed09dee83526abae9913db6c6b592700db76e1 seed/qualification/security673/branch-mutate.om +459a60da8e660ee1f433a9679bb41467074fda45997e5168e23e92ebad0d570b seed/qualification/security673/gate-child.om +07bc11a69f0d629e0c262056061789114d8710505a308e3e2a5ac42ae73dee94 seed/qualification/security673/gate669.om +41118388d232dd6897bebf9b239f4174a2e5054cdd07a4753c4ce60bf7c022fa seed/qualification/security673/oracle-corpus.om +d0da40e45f1fcc45d9a39c9c52c9d745b545e076970729e51c12d76ef519efab seed/rung4/om4.bin +04247ac6436ac176f98fd0b9a205fe8f51e02c6ded7ac81dba3e9e113c5a4fc2 build/security673-correction1/gate669 +f2e917a5d118ebf5679b24740e20d30338308e7f3f0630527c469de452d5a250 /usr/bin/objdump diff --git a/evidence/SECURITY-673/deepseek-gate5-preserved/compile-time.tsv b/evidence/SECURITY-673/deepseek-gate5-preserved/compile-time.tsv new file mode 100644 index 000000000..d0fcb84c6 --- /dev/null +++ b/evidence/SECURITY-673/deepseek-gate5-preserved/compile-time.tsv @@ -0,0 +1,20 @@ +program omc_us c_path_us +fm1 295 4610 +fm2 274 4636 +fm3 261 4591 +fm4 300 4531 +fm5 311 4814 +fm6 313 4606 +fm7 306 4578 +fm8 289 3953 +fm9 234 4784 +dev01 313 4070 +dev02 301 3684 +dev03 290 4748 +dev04 226 4627 +dev05 161 4005 +dev06 194 3949 +dev07 256 4351 +dev08 210 4961 +dev09 258 4357 +dev10 184 4593 diff --git a/evidence/SECURITY-673/deepseek-gate5-preserved/gate5.log b/evidence/SECURITY-673/deepseek-gate5-preserved/gate5.log new file mode 100644 index 000000000..4131b13d1 --- /dev/null +++ b/evidence/SECURITY-673/deepseek-gate5-preserved/gate5.log @@ -0,0 +1,91 @@ +gate5 2026-10-23T23:00:14Z at f0499f415571bdd7496b6de391096915e78f7556 +stage1 = om4(omc.om) 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +stage2 = stage1(omc.om) 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +stage3 = stage2(omc.om) 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +PASS (a) fixpoint: sha256(stage2) = sha256(stage3) +C path on omc.om: REFUSED omegese: line 1: character ':' is not part of Omegese + C path lacks global pools: REFUSED omegese: line 1: 'global' outside a function (start one with fn) + C path lacks a self-call: REFUSED omegese: line 5: f cannot call itself (calls go to earlier functions only) + C path lacks arrays over 64 cells: REFUSED omegese: line 2: array length '100' must be 1..64 + C path lacks text literals: REFUSED omegese: line 1: character '"' is not part of Omegese + C path lacks read: REFUSED omegese: line 3: 'read' is not a name in scope here, nor an op, a type or a function + C path lacks write: REFUSED omegese: line 3: 'write' is not a name in scope here, nor an op, a type or a function + C path lacks exit (it reads exit as a new name): REFUSED omegese: line 4: 'exit' is written but never read (a typo, or a value left unused) + C path lacks a colon in a note: REFUSED omegese: line 1: character ':' is not part of Omegese + (and it writes .oscir for a runner, not a program that reads stdin and writes stdout) +PASS (b) om4 and omc build the same omc from omc.om (stage1 = stage2) +PASS (b) the stage from each parent is bit-identical (om4-built -> stage2, omc-built -> stage3) +PASS corpus: om4 = stage2 on 153 inputs (57 of them refused, same error number and line) +PASS text program built by om4: writes its 9 bytes, exit 204 +PASS text program built by stage2: writes its 9 bytes, exit 204 +PASS text program: om4 and stage2 make the same bytes +PASS error 1 from both: line 0: error 1 +PASS error 2 from both: line 4: error 2 +PASS error 4 from both: line 3: error 4 +PASS error 11 from both: line 2: error 11 +PASS error 12 from both: line 18: error 12 +PASS error 13 from both: line 2: error 13 +PASS error 14 from both: line 0: error 14 +PASS (c) gate4 with stage2 in om4's place: 116 checks, 0 FAIL +(c) table: evidence/SEED-0/omc/corpus-words.tsv +program inputs traps c_path_words omc_words +dev01 8 0 58 17 +dev02 8 0 48 16 +dev03 8 0 80 15 +dev04 8 0 71 20 +dev05 8 3 23 9 +dev06 8 2 21 8 +dev07 8 0 95 29 +dev08 8 0 111 28 +dev09 8 0 73 14 +dev10 8 4 20 8 +fm1 11 5 56 24 +fm2 8 2 44 18 +fm3 10 4 30 15 +fm4 10 4 53 19 +fm5 6 0 59 79 +fm6 7 1 74 20 +fm7 4 0 126 50 +fm8 7 3 47 21 +fm9 6 2 63 21 +PASS (d) A caught by the fixpoint: or -> and in omc.om (a stage failed, or stage2 != stage3) +PASS (d) A caught by the corpus: 9 inputs differ from om4 +PASS (d) B keeps the fixpoint (a fixpoint proves determinism, not correctness) +PASS (d) B caught by the corpus: 8 inputs differ from om4 +PASS (d) C keeps the fixpoint +PASS (d) C keeps om4 = omc on fm2 +PASS (d) C caught only by the C path: FAIL: fm1 differs from the C path FAIL: fm2 differs from the C path +PASS (d) refusal: omc: line 2: error 3, exit 3 +PASS deterministic: same bytes under another environment and a second later +PASS om4 = stage2 in the nextfuzz: 20 programs (20 accepted, 0 out of registers, error 12), 4860 cut or changed inputs, 0 bad; exit codes 0:215 3:107 4:1351 5:64 6:66 7:115 8:48 9:277 10:4 11:37 13:24 15:487 16:2020 17:36 18:3 21:4 23:2 +PASS every error number 1..23 is reached, om4 = stage2 on each +omc: 4001 lines, 148 functions, 109048 bytes = 176-byte header + 27218 words (evidence/SEED-0/omc/size.tsv) +PASS size history: its last row is this omc (R5c) +omc words per function: evidence/SEED-0/omc/omc-words.tsv (148 functions, 27211 words in all, mean 183) +compile time per program (10 dev tasks, 9 fm), microseconds, 200 runs each, process start included (evidence/SEED-0/omc/compile-time.tsv); omc compiling itself: 2092 us +program omc_us c_path_us +fm1 295 4610 +fm2 274 4636 +fm3 261 4591 +fm4 300 4531 +fm5 311 4814 +fm6 313 4606 +fm7 306 4578 +fm8 289 3953 +fm9 234 4784 +dev01 313 4070 +dev02 301 3684 +dev03 290 4748 +dev04 226 4627 +dev05 161 4005 +dev06 194 3949 +dev07 256 4351 +dev08 210 4961 +dev09 258 4357 +dev10 184 4593 +rewrite built_by source_lines functions bytes words sha256 +stage1 om4 4001 148 109048 27218 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +stage2 stage1 4001 148 109048 27218 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +stage3 stage2 4001 148 109048 27218 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +cases run: 177 +GATE5 PASS diff --git a/evidence/SECURITY-673/deepseek-gate5-preserved/omc-words.tsv b/evidence/SECURITY-673/deepseek-gate5-preserved/omc-words.tsv new file mode 100644 index 000000000..8da519c7d --- /dev/null +++ b/evidence/SECURITY-673/deepseek-gate5-preserved/omc-words.tsv @@ -0,0 +1,149 @@ +function words +poolc 9 +mputb 20 +mputn 92 +fail 269 +emitb 38 +emit 99 +tok_num 235 +tok_text 242 +tok2 156 +tok 143 +kw 674 +twid 38 +tlog 26 +regidx 17 +conds 38 +ldop 41 +stop 38 +findname 33 +findfn 82 +newname 72 +addname 79 +alloc 45 +destreg 17 +e3 32 +trapsite 64 +trapc 23 +rdword 40 +wrword 54 +disp19 52 +patch19 56 +patch26 44 +back 36 +matconst 136 +canon 61 +chkext 52 +range 139 +cset 31 +force 92 +matreg 45 +spop 62 +spadd 17 +spsub 17 +stkchk 30 +epi 30 +dead1 6 +pushb 70 +pushnh 21 +elemtype 18 +arrlen 52 +typeword 106 +eol 33 +arrname 125 +topname 94 +bo_w3 65 +bo_fix 39 +bo_schk 56 +bo_add 154 +bo_mul 174 +bo_div 324 +bo_log 35 +bo_lsl 39 +bo_shl 359 +bo_shr 94 +bo_cmp 108 +binop 517 +save 126 +loadarg 71 +basearg 62 +restore 203 +ca_bl 99 +elemaddr 326 +aa_word 57 +arrarg 404 +vdec 10 +vdone 31 +vt_un 321 +vt_conv 248 +vt_get 138 +vs_chk 156 +vs_call 183 +ca_scal 109 +ca_arr 105 +ca_end 182 +vs_fd 46 +vs_arr 36 +vs_off 67 +vs_end 228 +hargc 35 +hsysno 42 +harg -9443 +hload 0 +hsys 0 +hreturn 0 +hscalar 0 +hclock 0 +harray 0 +hpathcp 0 +hcopy 0 +hpath 0 +hbuffer 0 +hsleep 0 +hargs 0 +hwaitio 0 +hpack 0 +hpipe 0 +hcwd 0 +hreadlnk 0 +hsockopt 0 +hostval 0 +rdval 19140 +cond 120 +skipnl 65 +s_long 120 +blo 45 +sa_arr 695 +s_assign 429 +s_name 114 +fn_p 342 +fn_to 187 +s_fn 553 +s_ret 130 +s_exit 95 +stel 56 +s_put 237 +s_global 201 +s_text 261 +s_if 62 +s_else 147 +lpcnt 119 +s_while 416 +sf_br 40 +sf_num 299 +sf_val 442 +s_for 418 +finish 277 +s_end 238 +writeout 118 +elfhdr 173 +eof_prog 287 +resolve 205 +s_eof 128 +stmt 392 +skipbl 55 +skipln 50 +ps_at 119 +prescan 119 +namescan 162 +main 208 diff --git a/evidence/SECURITY-673/deepseek-gate5-preserved/omc.elf b/evidence/SECURITY-673/deepseek-gate5-preserved/omc.elf new file mode 100755 index 000000000..9a7a8d8f4 Binary files /dev/null and b/evidence/SECURITY-673/deepseek-gate5-preserved/omc.elf differ diff --git a/evidence/SECURITY-673/deepseek-gate5-preserved/omc.sha256 b/evidence/SECURITY-673/deepseek-gate5-preserved/omc.sha256 new file mode 100644 index 000000000..30df0f443 --- /dev/null +++ b/evidence/SECURITY-673/deepseek-gate5-preserved/omc.sha256 @@ -0,0 +1 @@ +2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 diff --git a/evidence/SECURITY-673/deepseek-gate5-preserved/size-history.tsv b/evidence/SECURITY-673/deepseek-gate5-preserved/size-history.tsv new file mode 100644 index 000000000..c331a068f --- /dev/null +++ b/evidence/SECURITY-673/deepseek-gate5-preserved/size-history.tsv @@ -0,0 +1,4 @@ +rewrite change source_lines functions words sha256 +R5 first omc, om4 subset only (calls go to earlier functions only, so the value reader is one self-recursive function) 3101 123 18641 10d7565239ca6bd3cca344b65a03c0f3498acd95e82ab3d420bd01408b01398e +R5b names pass: a call may name any function in the unit; mutual recursion in program mode; a call cycle in function mode is error 9; a function name used as a statement is error 7 3212 125 19143 191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9 +R5c native host extension plus checked 19-bit branch displacement (issue 669): disp19 rejects unaligned or out-of-range B.cond/CBZ/CBNZ targets with error 24; B.LO uses the same check 4001 148 27218 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 diff --git a/evidence/SECURITY-673/deepseek-gate5-preserved/size.tsv b/evidence/SECURITY-673/deepseek-gate5-preserved/size.tsv new file mode 100644 index 000000000..29baeef9f --- /dev/null +++ b/evidence/SECURITY-673/deepseek-gate5-preserved/size.tsv @@ -0,0 +1,4 @@ +rewrite built_by source_lines functions bytes words sha256 +stage1 om4 4001 148 109048 27218 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +stage2 stage1 4001 148 109048 27218 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +stage3 stage2 4001 148 109048 27218 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 diff --git a/evidence/SECURITY-673/exec1/REPORT.md b/evidence/SECURITY-673/exec1/REPORT.md new file mode 100644 index 000000000..acd5ddd6c --- /dev/null +++ b/evidence/SECURITY-673/exec1/REPORT.md @@ -0,0 +1,79 @@ +# Native descriptor boundary prerequisite for #670 + +Status: bounded Linux AArch64 descriptor handling QUALIFIED; full #670 remains OPEN. + +Threat: a child executable unintentionally inherits an already-open file/socket/device capability +from its trusted caller. Protected asset: resources accessible through extra inherited descriptors. +The enforcing code is `seed/omc/omc.om:hpack` in the existing `execprog` lowering. After complete +packet validation and before `execve`, generated code invokes Linux syscall436, +`close_range(3, UINT_MAX, CLOSE_RANGE_UNSHARE)`. This preserves only caller-assigned standard +streams and obtains a private descriptor table. On any nonzero result, `execve` is skipped and +the kernel error is returned. There is no finite-descriptor-loop or permissive fallback. +The Linux API contract is documented at https://man7.org/linux/man-pages/man2/close_range.2.html . +Local `asm-generic/unistd.h` and `linux/close_range.h` independently identify syscall436 and flag2. + +Actual integration tests are seeded `exec-parent.om` and `exec-child.om`. Each test creates a +disposable synthetic-secret file, holds it at descriptors3 and65537 without close-on-exec, creates +pipes for public input/output, forks and executes the real compiled child. The child must receive +EBADF for both extra handles and exchange the exact public payload through its assigned streams. +The parent rereads its own synthetic file after the child exits, proving its descriptor table was +preserved. Missing executable mode checks closure even when `execve` returns ENOENT. A high-only +control closes descriptor3 before exec to isolate65537. No private data or device handles are used. + +Author results in `exits.txt`: green0/1/2=0; old-compiler red0=42, red1=55, red2=43. These are +specific failed assertions about low-handle inheritance, error-path inheritance and high-handle +inheritance. They are ordinary exits, not crashes. `unavailable3=0` is a separately declared +test of a compiled source mutant replacing syscall436 with unsupported999; it requires ENOSYS +and no child execution. `injected3=0` separately uses external strace fault injection on the real +close_range call. Neither is physical old-kernel qualification. `traced0/1=0` confirm successful +and missing-path exec ordering with real Linux calls. Every trace contains synthetic data only. + +The independent checker is the external kernel/strace observation plus a separately run review +of exact sources and real child behavior. Independent review/raw artifacts are retained under +`independent670`. It reproduced all three positive cases, all old-compiler failures and the +unavailable-syscall control. All source, compiler, binary and tool hashes are in `identities.txt` +and the independent report. Stage1 and stage2 equal6b5d9403; this is same-lineage reproducibility. + +Existing `sh seed/host/check.sh` exited0 with its retained host suite,41 negative controls and70 +original fixture comparisons. `host-check.*` records the actual run. The complete native669 gate +also exited0 on this compiler; `gate669.*` and its artifact archive retain the raw result. Existing +#659 modules were replayed unchanged natively: action219, delegation74, reuse74 assertions pass. +The existing L775 benchmark core also rebuilt and passed185 checks. Those separate component +replays qualify compatibility only, not durable dispatch, authenticated policy or evaluator custody. + +Raw author build sequence: + +```text +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-exec/stage1 +readelf -h build/security673-exec/stage1 +chmod +x build/security673-exec/stage1 +build/security673-exec/stage1 < seed/omc/omc.om > build/security673-exec/stage2 +cmp build/security673-exec/stage1 build/security673-exec/stage2 +chmod +x build/security673-exec/stage2 +build/security673-exec/stage2 < seed/qualification/security673/exec-parent.om > build/security673-exec/exec-parent +build/security673-exec/stage2 < seed/qualification/security673/exec-child.om > build/security673-exec/exec-child +``` + +Each exited0; both test executables were inspected with readelf and made executable only after +successful builds. Build stderr is retained. Each fresh test directory contains a copy of the child: + +```text +cd build/security673-exec/traced0 +printf '\000' | timeout 10s strace -f -o ../../../evidence/SECURITY-673/exec1/traced0.strace -e trace=close_range,execve,read,write ../exec-parent +exit0 +``` + +`traced1` uses byte1 and checks missing executable. `green2` uses byte2. `red0/1` use the initial +parent compiled by7c25129a; `red2` uses the final parent compiled by that same old compiler. +The exact independent commands for the final sources and every result are in `independent670/REPORT.md`. +The author's initial identity-glob command encountered a directory and exited1; it was an archival +command error, not a passing test. The corrected explicit-file identity command produced the manifest. + +Residual scope: kernel, filesystem and trusted caller are assumed. Stdio must be intentionally +assigned. Higher-descriptor inheritance is unsupported; failure after successful closure leaves +extra handles closed. Ambient working directory, filesystem paths, networking, subprocess creation, +CPU/memory/output limits, grant generations and revocation fencing are not confined by this change. +Arbitrary native code still has ordinary user authority. The existing trusted launcher and capability/ +durable-effect owners must enforce those remaining requirements. No complete sandbox or #670 closure +is claimed. The original DeepSeek C candidate remains preserved on its original branch; this proposal +contains only seeded first-party implementation and tests and does not qualify that C consumer. diff --git a/evidence/SECURITY-673/exec1/artifacts.tar.gz b/evidence/SECURITY-673/exec1/artifacts.tar.gz new file mode 100644 index 000000000..4a8f36312 Binary files /dev/null and b/evidence/SECURITY-673/exec1/artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/exec1/branch-mutate-build2.err b/evidence/SECURITY-673/exec1/branch-mutate-build2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/exec-child-build.err b/evidence/SECURITY-673/exec1/exec-child-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/exec-parent-build.err b/evidence/SECURITY-673/exec1/exec-parent-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/exec-parent-build2.err b/evidence/SECURITY-673/exec1/exec-parent-build2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/exits.txt b/evidence/SECURITY-673/exec1/exits.txt new file mode 100644 index 000000000..9030e40f0 --- /dev/null +++ b/evidence/SECURITY-673/exec1/exits.txt @@ -0,0 +1,10 @@ +green0 exit=0 +green1 exit=0 +red0 exit=42 +red1 exit=55 +green2 exit=0 +red2 exit=43 +unavailable3 exit=0 +injected3 exit=0 +traced0 exit=0 +traced1 exit=0 diff --git a/evidence/SECURITY-673/exec1/gate669-artifacts.tar.gz b/evidence/SECURITY-673/exec1/gate669-artifacts.tar.gz new file mode 100644 index 000000000..94fa4f96d Binary files /dev/null and b/evidence/SECURITY-673/exec1/gate669-artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/exec1/gate669-build.err b/evidence/SECURITY-673/exec1/gate669-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/gate669-identities.txt b/evidence/SECURITY-673/exec1/gate669-identities.txt new file mode 100644 index 000000000..0283f520e --- /dev/null +++ b/evidence/SECURITY-673/exec1/gate669-identities.txt @@ -0,0 +1,143 @@ +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 build/security673-native/1001 +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 build/security673-native/1002 +214bfbcb6e039a9890f8932e053fe91368d5ddda9bea54be580cfbc2af3678a0 build/security673-native/1003 +41d00de1933c894a14b2125c727c33167ea4b6569ab24d9fa72cd94986a69daa build/security673-native/1004 +14140f4cb6bea232b6232bcc82b4760079e5e934f5997409ef8ab2a5a3ceb01d build/security673-native/1005 +dabbe93bd56310a59c75120a1be96406242e2cae33a135990f2f69a960e6066b build/security673-native/1006 +a313ceaa8631dcdb15def0d1645499ef31f31db7b2d9fa93e549001eaaa7d434 build/security673-native/1007 +6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d build/security673-native/1008 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1009 +4bf5122f344554c53bde2ebb8cd2b7e3d1600ad631c385a5d7cce23c7785459a build/security673-native/1010 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1011 +dbc1b4c900ffe48d575b5da5c638040125f65db0fe3e24494b76ea986457d986 build/security673-native/1012 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1013 +084fed08b978af4d7d196a7446a86b58009e636b611db16211b65a9aadff29c5 build/security673-native/1014 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1015 +e52d9c508c502347344d8c07ad91cbd6068afc75ff6292f062a09ca381c89e71 build/security673-native/1016 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1017 +e77b9a9ae9e30b0dbdb6f510a264ef9de781501d7b6b92ae89eb059c5ab743db build/security673-native/1018 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1019 +67586e98fad27da0b9968bc039a1ef34c939b9b8e523a8bef89d478608c5ecf6 build/security673-native/1020 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1021 +ca358758f6d27e6cf45272937977a748fd88391db679ceda7dc7bf1f005ee879 build/security673-native/1022 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1023 +5fb117f43f28746f7090cbafe0e7fdd3ff885c31d23e14c3019916397847a5fa build/security673-native/1024 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1025 +79b0b6e0aa7313d9145e78d8f9ab0eee214f43c1ca21e68682b26a9ebac71f62 build/security673-native/1026 +6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d build/security673-native/1027 +ac77c1acf5ba409dd63aa1b82faeb873877223836c519f0fb48b9500e7fbe339 build/security673-native/1028 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1029 +4bf5122f344554c53bde2ebb8cd2b7e3d1600ad631c385a5d7cce23c7785459a build/security673-native/1030 +0200ef378525d85ae77dc3f5af6c2e5c4cc9ac4b13e0f43429c6a8391d44cc6f build/security673-native/1031 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1032 +dbc1b4c900ffe48d575b5da5c638040125f65db0fe3e24494b76ea986457d986 build/security673-native/1033 +81ead0bf91d0368e9ba89de19e540cb7bbbb89cabd5dd8b8cf2afef99c75e797 build/security673-native/1034 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1035 +084fed08b978af4d7d196a7446a86b58009e636b611db16211b65a9aadff29c5 build/security673-native/1036 +e341ddad8cb9ad2ad9ff652caafb6a4a1dc59dcfee9cab33e02c96ca54b89df8 build/security673-native/1037 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1038 +e52d9c508c502347344d8c07ad91cbd6068afc75ff6292f062a09ca381c89e71 build/security673-native/1039 +e48ae9654414e6e6d6b0c4d967247172975f59b733911acb5649e8e16dd09312 build/security673-native/1040 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1041 +e77b9a9ae9e30b0dbdb6f510a264ef9de781501d7b6b92ae89eb059c5ab743db build/security673-native/1042 +643c75e8713c12a62a7b8d2ff09eef305d9631934f2714161e5f976a3ad3d871 build/security673-native/1043 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1044 +67586e98fad27da0b9968bc039a1ef34c939b9b8e523a8bef89d478608c5ecf6 build/security673-native/1045 +c3b6792cbdaead449ac8fbadf5b932fb080c63c36f03c90078d46a0ec9273e8c build/security673-native/1046 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1047 +cbc1554b3e29548a06244ecd51e2f07eaf0df06088190c35a20a94ac1526490d build/security673-native/1048 +14229b81dc02832eef314732c24976b004ef214101fd760c0b669eedd5b327f3 build/security673-native/1049 +c06c90b8e9be749e7717157512de1901404f4e9aebd1cc31a667b22f6a6b64fd build/security673-native/1050 +55d918f590a18842286fa8ebf6ddac8a3583eb0c669fb33845e300b159682cf7 build/security673-native/1051 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1052 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1053 +d7e6c157b49855281a866a48a89aec9ba23931e8f110e232f4e64ec2977add6d build/security673-native/1054 +90bd8059f9148733414dec74aab99e97f8961ac5b2111d2bb9696523ef360bb7 build/security673-native/1055 +546ca3f4776e7a32e4eb2daca0a5e52a9c466c6fbc5baf76f9dbb1fa0b846b33 build/security673-native/1056 +852d7e0e680c5095b2c4dfe00fb95666354245ae4289b22a92e12773baa30910 build/security673-native/1057 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1058 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1059 +6a66da4e2e46bc094e014038b09866a3a37826dae1fc76fbe44fa7349a18134e build/security673-native/1060 +05d0ee5977dc7991191f0e4fbc35dcc9cc7ec6b7aa321c7703256685884eda65 build/security673-native/1061 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1062 +58206b541585e97e16eaf3d790c029bae3864c816d5749f2cb1fb750236c6ab0 build/security673-native/1063 +982ec370ef18a3a5ce391624e2a93073614fbab58df798585d3af8f21fbaa1ad build/security673-native/1064 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1065 +cb1064b3af67a077a9db16f5b33567773196da28a51cd8a87f126f04bf121441 build/security673-native/1066 +3bacfe18c6a44b1b8909a5119d1ffba1b9b892b3d18c2eeb5673d8d427ca051b build/security673-native/1067 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1068 +4d29398b8c3e440079c3c9e4db4938827c24454e56022f2f04bdf6f068c54cac build/security673-native/1069 +7d7d35a0bc6f8ff99ead211b5253df42114d08e1856bd630576e64cf600b11d9 build/security673-native/1070 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1071 +0d881d40b39e2f9abf709ae59ea85dd474c3104f921c41b96142390b5858ebe5 build/security673-native/1072 +581b5e09b325a89b32ffb704a5719d90333d9dcbd24d891aa2385b43dd6effac build/security673-native/1073 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1074 +19fbc691e889a7ca41b8d123353b81e480ff0b37036c924041778d9524d47c82 build/security673-native/1075 +0af7fcaf78d758ca4f61474cbece29fa6dc7158caf65806326507690e625a571 build/security673-native/1076 +d110457e8900a7bff0e9474ecd94fb6cd001d6928d7e018132678ac22013bdd0 build/security673-native/1077 +89d80a4da80fbc5a2d0086ad391caea8207c666edac860ff71e93d5ca595ddea build/security673-native/1078 +8cbdc67a54eb0a352e04dbd58e7cc1a5d872d19387f54955f6726f468ec3634e build/security673-native/1079 +770ee3cdd4e7f0c25185702c33c4e9c08463454606dc6b61734fe7bc720ef4ef build/security673-native/1080 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1081 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1082 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1083 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501001 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501002 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501003 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501004 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501005 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501006 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501007 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501009 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501011 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501013 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501015 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501017 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501019 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501021 +74cbcd9e10d296da7180f8fb3daa93e36e8321ab895b89a0e1cf16b52f884440 build/security673-native/501023 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501024 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501025 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501026 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501028 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501029 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501031 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501032 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501034 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501035 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501037 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501038 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501040 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501041 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501043 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501044 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501046 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501047 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501049 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501050 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501051 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501052 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501053 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501055 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501056 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501057 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501058 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501059 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501061 +f387a326bd9a2895a89654c41a091725ab9830544929c5c3b106ecf4b6a2d431 build/security673-native/501062 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501064 +9951b4e194b8cab8c7419c30cab38bd5e90c40d918c0ef0a64001a30d2ce1d40 build/security673-native/501065 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501067 +c51928899f48c1253f7d68f6e984b3bdc9053f899fd0f5abfe5f66a8565fdac1 build/security673-native/501068 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501070 +09ae3258fdb306c8b74a2d00fd6d91682502bb0d5bc2813483f5b1537ee18ba5 build/security673-native/501071 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501073 +0b4a160d3737a6f755a7926770522b6f341ba18d60f1b5d4ab8cb657ebea2f1e build/security673-native/501074 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501075 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501076 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501078 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501079 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501080 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501081 +0bf1fd9de05fcd4795f230924a5360759207d7d08ca79cc0db4c1127cf7a6499 build/security673-native/501082 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501083 diff --git a/evidence/SECURITY-673/exec1/gate669.err b/evidence/SECURITY-673/exec1/gate669.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/gate669.exit b/evidence/SECURITY-673/exec1/gate669.exit new file mode 100644 index 000000000..7bf8b1d26 --- /dev/null +++ b/evidence/SECURITY-673/exec1/gate669.exit @@ -0,0 +1 @@ +gate669 exit=0 diff --git a/evidence/SECURITY-673/exec1/gate669.log b/evidence/SECURITY-673/exec1/gate669.log new file mode 100644 index 000000000..c43033b89 --- /dev/null +++ b/evidence/SECURITY-673/exec1/gate669.log @@ -0,0 +1,121 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +exit=62 expected=62 +build/security673-native/1003 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1050 < /dev/null > build/security673-native/1051 2> build/security673-native/501051 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +exit=0 expected=0 +build/security673-native/1050 < /dev/null > build/security673-native/1053 2> build/security673-native/501053 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1055 > build/security673-native/1056 2> build/security673-native/501056 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1056 < /dev/null > build/security673-native/1057 2> build/security673-native/501057 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +exit=0 expected=0 +build/security673-native/1056 < /dev/null > build/security673-native/1059 2> build/security673-native/501059 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1064 > build/security673-native/1065 2> build/security673-native/501065 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1067 > build/security673-native/1068 2> build/security673-native/501068 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1072 > build/security673-native/1073 2> build/security673-native/501073 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1075 2> build/security673-native/501075 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1075 > build/security673-native/1076 2> build/security673-native/501076 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +exit=0 expected=0 +build/security673-native/1076 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1080 > build/security673-native/1081 2> build/security673-native/501081 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1082 2> build/security673-native/501082 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1083 2> build/security673-native/501083 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/exec1/green0.err b/evidence/SECURITY-673/exec1/green0.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/green0.out b/evidence/SECURITY-673/exec1/green0.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/green1.err b/evidence/SECURITY-673/exec1/green1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/green1.out b/evidence/SECURITY-673/exec1/green1.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/green2.err b/evidence/SECURITY-673/exec1/green2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/green2.out b/evidence/SECURITY-673/exec1/green2.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/green2.strace b/evidence/SECURITY-673/exec1/green2.strace new file mode 100644 index 000000000..541cd20d1 --- /dev/null +++ b/evidence/SECURITY-673/exec1/green2.strace @@ -0,0 +1,15 @@ +1176194 execve("../exec-parent", ["../exec-parent"], 0xfffff7784d38 /* 40 vars */) = 0 +1176194 read(0, "\2", 1) = 1 +1176194 write(3, "synthetic-secret", 16) = 16 +1176194 write(5, "public-input", 12) = 12 +1176195 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +1176195 execve("./exec-child", ["./exec-child"], 0x107fef88 /* 0 vars */) = 0 +1176195 read(3, 0x10800000, 1) = -1 EBADF (Bad file descriptor) +1176195 read(65537, 0x10800000, 1) = -1 EBADF (Bad file descriptor) +1176195 read(0, "public-input", 12) = 12 +1176195 write(1, "public-output", 13) = 13 +1176195 +++ exited with 0 +++ +1176194 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1176195, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- +1176194 read(3, "synthetic-secret", 16) = 16 +1176194 read(5, "public-output", 64) = 13 +1176194 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/exec1/host-check.err b/evidence/SECURITY-673/exec1/host-check.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/host-check.exit b/evidence/SECURITY-673/exec1/host-check.exit new file mode 100644 index 000000000..b01eec4b3 --- /dev/null +++ b/evidence/SECURITY-673/exec1/host-check.exit @@ -0,0 +1 @@ +host-check exit=0 diff --git a/evidence/SECURITY-673/exec1/host-check.log b/evidence/SECURITY-673/exec1/host-check.log new file mode 100644 index 000000000..c8d13a461 --- /dev/null +++ b/evidence/SECURITY-673/exec1/host-check.log @@ -0,0 +1,25 @@ +PASS seed0 408 bytes, rebuilds itself +PASS hex1 776 bytes, born from seed0 +PASS asm2 2464 bytes, born from hex1 +PASS om4 om4.bin 14224 bytes +PASS omc fixpoint 6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 +PASS fwd exit 0 +PASS fwd runs, exit 7 +PASS mut exit 0 +PASS mut runs, exit 0 +PASS cycle exit 9 +PASS assign exit 7 +RC=0 +PASS native files, errno, exclusive creation, permissions, seek, sync and monotonic time +PASS native argument access, empty arguments, UTF-8 bytes and short-buffer refusal +PASS native socket exchange, poll timeout, fork, accept and child reaping +PASS native TCP loopback exchange on an OS-assigned port +PASS native exec with exact arguments, exec failure, pipes, descriptor duplication, sleep, kill and wait +PASS native directory enumeration, file metadata and rename without overwriting +PASS native syscall errors and nested expression register preservation +PASS native cwd and readlnk offsets, counts, truncation, errno and private path copy +PASS native socket options with independent bind behavior, readonly input and errno +PASS 18 bounds, packet, mutability, type and function-mode negative controls +PASS 41 total host negative controls, including cwd, readlnk and sockopt +PASS 70 original fixtures retain identical machine code, refusal status and diagnostics +PASS native-host qualification; no C/Rust compiler, assembler or linker used diff --git a/evidence/SECURITY-673/exec1/identities.txt b/evidence/SECURITY-673/exec1/identities.txt new file mode 100644 index 000000000..c4da1a1e7 --- /dev/null +++ b/evidence/SECURITY-673/exec1/identities.txt @@ -0,0 +1,12 @@ +33ba46ab1fce0e2cab8f027187f55361bb9a949d597029454ca6641a756f65ac seed/omc/omc.om +b784dde3b862bfc7784015377447b3fffd4c6f1a37d04680e03960fbabc5a0de seed/qualification/security673/exec-parent.om +f2519f6be7068cf8af826101febd0f490327916322ac92a648dba9f3380324ec seed/qualification/security673/exec-child.om +92b505c0328072322562efbc8c340671e6cd73ffc2356246d2fa110a992f5b38 seed/qualification/security673/branch-mutate.om +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 build/security673-exec/stage1 +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 build/security673-exec/stage2 +6723bdf57467e16a44984ce8d26fe784a4deac0c6f2e209bd96c822ff532025e build/security673-exec/exec-parent +4081e47ac39b4f1dff5f4367fad2f6ee0e45fbd47372f03559b9c559ed0e8014 build/security673-exec/exec-child +8065c74a1342c699d6a0a0c241461a5f3301c3486462f592958e3665d4b1b057 build/security673-exec/unavailable.om +2cbcd769891c3d3365cca73d22d871ae415dc75337116e36b1d8a9a7a15c8b12 build/security673-exec/unavailable-cc +74112ccaf838a53c480d8cc8b0e0c9c20bdce00e1077451e9ea8536b4e98f84f build/security673-exec/unavailable-parent +33b3ea325915f1213dc477d80e0f0b2b09ffeff5e81d98b25a35320fbcbcaf42 /usr/bin/strace diff --git a/evidence/SECURITY-673/exec1/injected3.err b/evidence/SECURITY-673/exec1/injected3.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/injected3.out b/evidence/SECURITY-673/exec1/injected3.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/injected3.strace b/evidence/SECURITY-673/exec1/injected3.strace new file mode 100644 index 000000000..0e3a6ee08 --- /dev/null +++ b/evidence/SECURITY-673/exec1/injected3.strace @@ -0,0 +1,5 @@ +1187747 execve("../exec-parent", ["../exec-parent"], 0xffffdab03a28 /* 40 vars */) = 0 +1187748 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = -1 ENOSYS (Function not implemented) (INJECTED) +1187748 +++ exited with 0 +++ +1187747 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1187748, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- +1187747 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/exec1/old-parent-build.err b/evidence/SECURITY-673/exec1/old-parent-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/old-parent-build2.err b/evidence/SECURITY-673/exec1/old-parent-build2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/red0.err b/evidence/SECURITY-673/exec1/red0.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/red0.out b/evidence/SECURITY-673/exec1/red0.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/red1.err b/evidence/SECURITY-673/exec1/red1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/red1.out b/evidence/SECURITY-673/exec1/red1.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/red2.err b/evidence/SECURITY-673/exec1/red2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/red2.out b/evidence/SECURITY-673/exec1/red2.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/red2.strace b/evidence/SECURITY-673/exec1/red2.strace new file mode 100644 index 000000000..eeeeb3745 --- /dev/null +++ b/evidence/SECURITY-673/exec1/red2.strace @@ -0,0 +1,10 @@ +1176205 execve("../old-parent-v2", ["../old-parent-v2"], 0xfffffcb8ce08 /* 40 vars */) = 0 +1176205 read(0, "\2", 1) = 1 +1176205 write(3, "synthetic-secret", 16) = 16 +1176205 write(5, "public-input", 12) = 12 +1176206 execve("./exec-child", ["./exec-child"], 0x107fef88 /* 0 vars */) = 0 +1176206 read(3, 0x10800000, 1) = -1 EBADF (Bad file descriptor) +1176206 read(65537, "s", 1) = 1 +1176206 +++ exited with 43 +++ +1176205 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1176206, si_uid=1000, si_status=43, si_utime=0, si_stime=0} --- +1176205 +++ exited with 43 +++ diff --git a/evidence/SECURITY-673/exec1/stage1.err b/evidence/SECURITY-673/exec1/stage1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/stage2.err b/evidence/SECURITY-673/exec1/stage2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/traced0.err b/evidence/SECURITY-673/exec1/traced0.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/traced0.out b/evidence/SECURITY-673/exec1/traced0.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/traced0.strace b/evidence/SECURITY-673/exec1/traced0.strace new file mode 100644 index 000000000..499114276 --- /dev/null +++ b/evidence/SECURITY-673/exec1/traced0.strace @@ -0,0 +1,15 @@ +1187755 execve("../exec-parent", ["../exec-parent"], 0xffffd0f8ecc8 /* 40 vars */) = 0 +1187755 read(0, "\0", 1) = 1 +1187755 write(3, "synthetic-secret", 16) = 16 +1187755 write(5, "public-input", 12) = 12 +1187756 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +1187756 execve("./exec-child", ["./exec-child"], 0x107fef88 /* 0 vars */) = 0 +1187756 read(3, 0x10800000, 1) = -1 EBADF (Bad file descriptor) +1187756 read(65537, 0x10800000, 1) = -1 EBADF (Bad file descriptor) +1187756 read(0, "public-input", 12) = 12 +1187756 write(1, "public-output", 13) = 13 +1187756 +++ exited with 0 +++ +1187755 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1187756, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- +1187755 read(3, "synthetic-secret", 16) = 16 +1187755 read(5, "public-output", 64) = 13 +1187755 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/exec1/traced1.err b/evidence/SECURITY-673/exec1/traced1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/traced1.out b/evidence/SECURITY-673/exec1/traced1.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/traced1.strace b/evidence/SECURITY-673/exec1/traced1.strace new file mode 100644 index 000000000..71f98f141 --- /dev/null +++ b/evidence/SECURITY-673/exec1/traced1.strace @@ -0,0 +1,13 @@ +1187763 execve("../exec-parent", ["../exec-parent"], 0xffffdf1fcb88 /* 40 vars */) = 0 +1187763 read(0, "\1", 1) = 1 +1187763 write(3, "synthetic-secret", 16) = 16 +1187763 write(5, "public-input", 12) = 12 +1187764 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +1187764 execve("./no-such-executable", ["./no-such-executable"], 0x107fef88 /* 0 vars */) = -1 ENOENT (No such file or directory) +1187764 read(3, 0x10801000, 1) = -1 EBADF (Bad file descriptor) +1187764 read(65537, 0x10801000, 1) = -1 EBADF (Bad file descriptor) +1187764 +++ exited with 0 +++ +1187763 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1187764, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- +1187763 read(3, "synthetic-secret", 16) = 16 +1187763 read(5, "", 64) = 0 +1187763 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/exec1/unavailable-cc.err b/evidence/SECURITY-673/exec1/unavailable-cc.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/unavailable-parent.err b/evidence/SECURITY-673/exec1/unavailable-parent.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/unavailable3.err b/evidence/SECURITY-673/exec1/unavailable3.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/unavailable3.out b/evidence/SECURITY-673/exec1/unavailable3.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/exec1/unavailable3.strace b/evidence/SECURITY-673/exec1/unavailable3.strace new file mode 100644 index 000000000..d3d805048 --- /dev/null +++ b/evidence/SECURITY-673/exec1/unavailable3.strace @@ -0,0 +1,10 @@ +1176216 execve("../unavailable-parent", ["../unavailable-parent"], 0xffffd8f32448 /* 40 vars */) = 0 +1176216 read(0, "\3", 1) = 1 +1176216 write(3, "synthetic-secret", 16) = 16 +1176216 write(5, "public-input", 12) = 12 +1176217 syscall_0x3e7(0x3, 0xffffffff, 0x2, 0x10, 0x10800010, 0) = -1 ENOSYS (Function not implemented) +1176217 +++ exited with 0 +++ +1176216 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1176217, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- +1176216 read(3, "synthetic-secret", 16) = 16 +1176216 read(5, "", 64) = 0 +1176216 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/gate669.log b/evidence/SECURITY-673/gate669.log new file mode 100644 index 000000000..e0f1ee79d --- /dev/null +++ b/evidence/SECURITY-673/gate669.log @@ -0,0 +1,19 @@ +gate669 2026-10-23T23:01:07Z +source_head f0499f415571bdd7496b6de391096915e78f7556 +omc_source sha256 35cab5e41fc2c020903f1318c1ff8d83f8701255b41b5ca8ef5395f706c015a4 +compiler build/security673/fix/stage2 sha256 2c189f308c78e64e1b51ac86b139e8a662d5e622b764674f068b07e178fab0e9 +decoder GNU objdump (GNU Binutils for Ubuntu) 2.42 +generator sha256 1cb80b66340e0deb2fbb04c49389884217b828677e745abf16f763464b6405ba +built generator with compiler: cc57b2528e46cc581252de10a4fd015993a1956415950f9c1a4009bde079c5e2 +PASS sanity: N=16 exit 0, branch at 0x10 targets 0x54 = marker, displacement 17 words +PASS exact maximum: displacement 262143 words = 1048572 bytes, exit 0, objdump target = marker +PASS one beyond: rc 24, empty stdout, stderr 'omc: line 262148: error 24' +PASS signed range: N=524287 (would wrap inside 19 bits) refused: omc: line 524292: error 24 +PASS nested-if: 300000 statements refused before an artifact: omc: line 300006: error 24 +PASS while-exit: 300000 statements refused before an artifact: omc: line 300005: error 24 +PASS trap-site: 300000 statements refused before an artifact: omc: line 300008: error 24 +mutant compiler sha256 f5472f0a1b943349a712152e720657fc1960e8123b9872092b27db2af619b1da +PASS mutant caught by independent decoder: target 0xfffffffffff00014 != marker 0x100014 (program exit 139; exit status alone is not the oracle) +PASS fixed compiler refuses the mutant case: omc: line 262149: error 24 +cases run: 9 +GATE669 PASS diff --git a/evidence/SECURITY-673/generator-build.err b/evidence/SECURITY-673/generator-build.err new file mode 100644 index 000000000..a7c21ba3e --- /dev/null +++ b/evidence/SECURITY-673/generator-build.err @@ -0,0 +1 @@ +omc: line 14: error 16 diff --git a/evidence/SECURITY-673/historical/gate669.sh.txt b/evidence/SECURITY-673/historical/gate669.sh.txt new file mode 100755 index 000000000..dc47613b3 --- /dev/null +++ b/evidence/SECURITY-673/historical/gate669.sh.txt @@ -0,0 +1,137 @@ +#!/bin/sh +# gate669.sh -- qualification for Omega issue 669: AArch64 19-bit branch displacement. +# Run from the repo root: sh seed/qualification/security673/gate669.sh [compiler] +# The fixture generator is seeded .om (branch-corpus.om). The independent decoder is GNU objdump, +# outside the seed compiler closure. The expected target is the unique mov x1, #12345 marker emitted +# immediately after the conditional block. Results: evidence/SECURITY-673/. +set -eu +C=${1:-build/security673/fix/stage2} +G=seed/qualification/security673/branch-corpus.om +B=${B:-build/security673/gate669} +E=evidence/SECURITY-673 +OBJDUMP=${OBJDUMP:-objdump} +mkdir -p "$B" "$E" +log=$E/gate669.log +: > "$log" +fail=0 +cases=0 +say() { printf '%s\n' "$*" | tee -a "$log"; } +bad() { say "FAIL: $*"; fail=1; } +sha() { sha256sum "$1" | cut -d' ' -f1; } +norm() { h=${1#0x}; while [ "${h#0}" != "$h" ]; do h=${h#0}; done; [ -z "$h" ] && h=0; printf '%s' "$h"; } + +say "gate669 $(date -u +%FT%TZ)" +say "source_head $(git rev-parse HEAD)" +say "omc_source sha256 $(sha seed/omc/omc.om)" +say "compiler $C sha256 $(sha "$C")" +say "decoder $($OBJDUMP --version | head -1)" +say "generator sha256 $(sha "$G")" + +# read count as 4 little-endian bytes without command substitution (NUL bytes would be dropped) +le32() { + a=$(( $1 & 255 )); b=$(( ($1 >> 8) & 255 )); c=$(( ($1 >> 16) & 255 )); d=$(( ($1 >> 24) & 255 )) + printf "\\$(printf '%03o' "$a")\\$(printf '%03o' "$b")\\$(printf '%03o' "$c")\\$(printf '%03o' "$d")" +} +gen() { # mode count file + { printf "\\$(printf '%03o' "$1")"; le32 "$2"; } | ./$B/gen > "$3" +} +compile() { # source output error -> rc + set +e + "$C" < "$1" > "$2" 2> "$3" + rc=$? + set -e + printf '%s' "$rc" +} +expected_target() { # binary -> "branch_addr marker_addr" + tail -c +177 "$1" > "$B/dec.text" + "$OBJDUMP" -D -b binary -m aarch64 "$B/dec.text" > "$B/dec.dis" 2> "$B/dec.err" || return 1 + m=$(awk '/#12345/ { a=$1; sub(":", "", a); print a; exit }' "$B/dec.dis") + b=$(awk '$3 ~ /^b\./ { print $4; exit }' "$B/dec.dis") + a=$(awk '$3 ~ /^b\./ { x=$1; sub(":", "", x); print x; exit }' "$B/dec.dis") + [ -n "$m" ] && [ -n "$b" ] && [ -n "$a" ] || return 1 + printf '%s %s %s' "$(norm "$a")" "$(norm "$b")" "$(norm "$m")" +} + +./"$C" < "$G" > "$B/gen" 2> "$B/gen.err" || { bad "generator did not build: $(cat "$B/gen.err")"; say "GATE669 FAIL"; exit 1; } +chmod +x "$B/gen" +say "built generator with compiler: $(sha "$B/gen")" + +# 1. sanity: the fixture is executable and the branch lands on the marker +gen 0 16 "$B/small.om" +rc=$(compile "$B/small.om" "$B/small.bin" "$B/small.err"); cases=$((cases + 1)) +if [ "$rc" = 0 ] && [ -s "$B/small.bin" ]; then + chmod +x "$B/small.bin"; set +e; ./$B/small.bin; rr=$?; set -e + got=$(expected_target "$B/small.bin" || true) + set -- $got; a=${1:-} t=${2:-} m=${3:-} + if [ "$rr" = 0 ] && [ -n "$t" ] && [ "$t" = "$m" ]; then + d=$(( (0x$m - 0x$a) / 4 )) + say "PASS sanity: N=16 exit 0, branch at 0x$a targets 0x$t = marker, displacement $d words" + else bad "sanity: exit $rr, branch 0x${t:-?} marker 0x${m:-?}"; fi +else bad "sanity fixture did not compile: rc=$rc $(cat "$B/small.err")"; fi + +# 2. exact forward maximum: 2^18 - 1 words = 1,048,572 bytes +gen 0 262142 "$B/max.om" +rc=$(compile "$B/max.om" "$B/max.bin" "$B/max.err"); cases=$((cases + 1)) +if [ "$rc" = 0 ] && [ -s "$B/max.bin" ]; then + chmod +x "$B/max.bin"; set +e; ./$B/max.bin; rr=$?; set -e + got=$(expected_target "$B/max.bin" || true) + set -- $got; a=${1:-} t=${2:-} m=${3:-} + d=$(( (0x$m - 0x$a) / 4 )) + if [ "$rr" = 0 ] && [ "$t" = "$m" ] && [ "$d" = 262143 ]; then + say "PASS exact maximum: displacement $d words = 1048572 bytes, exit 0, objdump target = marker" + else bad "maximum: exit $rr, branch 0x${t:-?} marker 0x${m:-?}, d=$d"; fi +else bad "maximum fixture did not compile: rc=$rc $(cat "$B/max.err")"; fi + +# 3. one word beyond the maximum must be refused with error 24 and no artifact +gen 0 262143 "$B/over.om" +rc=$(compile "$B/over.om" "$B/over.bin" "$B/over.err"); cases=$((cases + 1)) +want="omc: line 262148: error 24" +if [ "$rc" = 24 ] && [ ! -s "$B/over.bin" ] && [ "$(cat "$B/over.err")" = "$want" ]; then + say "PASS one beyond: rc 24, empty stdout, stderr '$want'" +else bad "one beyond: rc=$rc size=$(wc -c < "$B/over.bin") err=$(cat "$B/over.err")"; fi + +# 4. a displacement that fits 19 raw bits but not the signed range is also refused +gen 0 524287 "$B/wrap.om" +rc=$(compile "$B/wrap.om" "$B/wrap.bin" "$B/wrap.err"); cases=$((cases + 1)) +if [ "$rc" = 24 ] && [ ! -s "$B/wrap.bin" ] && grep -q 'error 24$' "$B/wrap.err"; then + say "PASS signed range: N=524287 (would wrap inside 19 bits) refused: $(cat "$B/wrap.err")" +else bad "signed range: rc=$rc size=$(wc -c < "$B/wrap.bin") err=$(cat "$B/wrap.err")"; fi + +# 5. other reachable encoders: nested if (outer and inner), while exit, and a trap-site branch +for spec in "1 nested-if" "2 while-exit" "3 trap-site"; do + set -- $spec; mode=$1; name=$2 + gen "$mode" 300000 "$B/$name.om" + rc=$(compile "$B/$name.om" "$B/$name.bin" "$B/$name.err"); cases=$((cases + 1)) + if [ "$rc" = 24 ] && [ ! -s "$B/$name.bin" ] && grep -q 'error 24$' "$B/$name.err"; then + say "PASS $name: 300000 statements refused before an artifact: $(cat "$B/$name.err")" + else bad "$name: rc=$rc size=$(wc -c < "$B/$name.bin") err=$(cat "$B/$name.err")"; fi +done + +# 6. negative control: a compiler with the bound moved by one word accepts N=262144; the independent +# decoder must see the branch miss the marker. The program itself exits 0, so the decoder is the oracle. +sed 's/gt diff 1048572/gt diff 1048580/' seed/omc/omc.om > "$B/omc-mutant.om" +cmp -s "$B/omc-mutant.om" seed/omc/omc.om && bad "mutant source did not change" +./seed/rung4/om4.bin < "$B/omc-mutant.om" > "$B/mutant" 2> "$B/mutant.build.err" || bad "mutant did not build" +chmod +x "$B/mutant" 2>/dev/null || true +say "mutant compiler sha256 $(sha "$B/mutant")" +gen 0 262144 "$B/mutant-case.om" +rc=$( "$B/mutant" < "$B/mutant-case.om" > "$B/mutant-case.bin" 2> "$B/mutant-case.err"; echo $? ); cases=$((cases + 1)) +if [ "$rc" = 0 ] && [ -s "$B/mutant-case.bin" ]; then + chmod +x "$B/mutant-case.bin" + got=$(expected_target "$B/mutant-case.bin" || true) + set -- $got; a=${1:-} t=${2:-} m=${3:-} + set +e; ./$B/mutant-case.bin; rr=$?; set -e + if [ -n "$t" ] && [ "$t" != "$m" ]; then + say "PASS mutant caught by independent decoder: target 0x$t != marker 0x$m (program exit $rr; exit status alone is not the oracle)" + else bad "mutant escaped: decoder target 0x${t:-?} = marker 0x${m:-?}"; fi +else bad "mutant case did not compile: rc=$rc $(cat "$B/mutant-case.err")"; fi + +# 7. fixed compiler refuses the same mutant case +rc=$(compile "$B/mutant-case.om" "$B/fixed-case.bin" "$B/fixed-case.err"); cases=$((cases + 1)) +if [ "$rc" = 24 ] && [ ! -s "$B/fixed-case.bin" ]; then + say "PASS fixed compiler refuses the mutant case: $(cat "$B/fixed-case.err")" +else bad "fixed compiler on mutant case: rc=$rc size=$(wc -c < "$B/fixed-case.bin")"; fi + +say "cases run: $cases" +if [ "$fail" = 0 ]; then say "GATE669 PASS"; else say "GATE669 FAIL"; fi +exit "$fail" diff --git a/evidence/SECURITY-673/host-gate1/REPORT.md b/evidence/SECURITY-673/host-gate1/REPORT.md new file mode 100644 index 000000000..1d65308fa --- /dev/null +++ b/evidence/SECURITY-673/host-gate1/REPORT.md @@ -0,0 +1,46 @@ +# Host fixture gate as `.om` + +## Change + +`seed/host/gate.sh` is deleted. `seed/host/gate.om` is compiled by +`seed/out/omc` and performs the fixture gate itself: it creates and enters +`build/seed/host/run`, compiles each fixture with the seed compiler, runs it, +enforces a native 10-second deadline with `waitpid`/`killpid`, and rejects every +leftover artifact. `seed/host/check.sh` only builds and launches the gate. + +The gate needs the native `chdir` word from `a897ecc`; no shell command performs +a test operation. + +## Identity + +```text +39d4be6db9c1cbc99158251a8ecbd4eb90220fd84d21cb3d7f0f4185660e776d seed/host/gate.om +66b4cf34e5cd2c8ff003bd142e7309f52178b66c2380f78ac313b6eb8b67471b seed/out/omc +``` + +The compiler is the self-reproducing fixpoint reported by +`seed/omega-from-seed.sh` (`PASS omc fixpoint 66b4cf34...`). + +## Verification + +Command: `sh seed/host/check.sh` + +Result: exit 0. The gate printed all ten fixture lines, including the new +`PASS native chdir, create below it and unlink`, followed by: + +```text +PASS 18 bounds, packet, mutability, type and function-mode negative controls +PASS 41 total host negative controls, including cwd, readlnk and sockopt +PASS 70 original fixtures retain identical machine code, refusal status and diagnostics +PASS native-host qualification; no C/Rust compiler, assembler or linker used +``` + +Raw output: `host-gate.log`. + +## Limits + +`check.sh` remains shell because it is the bootstrap/quotation boundary: it +rebuilds `seed/out/omc` and launches the gate. The gate uses `seed/out/omc` as +the compiler under test and `/proc/self/exe` for the `location` fixture, so that +fixture is emitted as `build/seed/host/run/location` rather than the shared +`fixture` name. diff --git a/evidence/SECURITY-673/host-gate1/host-gate.log b/evidence/SECURITY-673/host-gate1/host-gate.log new file mode 100644 index 000000000..1b4091265 --- /dev/null +++ b/evidence/SECURITY-673/host-gate1/host-gate.log @@ -0,0 +1,26 @@ +PASS seed0 408 bytes, rebuilds itself +PASS hex1 776 bytes, born from seed0 +PASS asm2 2464 bytes, born from hex1 +PASS om4 om4.bin 14224 bytes +PASS omc fixpoint 66b4cf34e5cd2c8ff003bd142e7309f52178b66c2380f78ac313b6eb8b67471b +PASS fwd exit 0 +PASS fwd runs, exit 7 +PASS mut exit 0 +PASS mut runs, exit 0 +PASS cycle exit 9 +PASS assign exit 7 +RC=0 +PASS native files, errno, exclusive creation, permissions, seek, sync and monotonic time +PASS native argument access, empty arguments, UTF-8 bytes and short-buffer refusal +PASS native socket exchange, poll timeout, fork, accept and child reaping +PASS native TCP loopback exchange on an OS-assigned port +PASS native exec with exact arguments, exec failure, pipes, descriptor duplication, sleep, kill and wait +PASS native directory enumeration, file metadata and rename without overwriting +PASS native syscall errors and nested expression register preservation +PASS native cwd and readlnk offsets, counts, truncation, errno and private path copy +PASS native socket options with independent bind behavior, readonly input and errno +PASS native chdir, create below it and unlink +PASS 18 bounds, packet, mutability, type and function-mode negative controls +PASS 41 total host negative controls, including cwd, readlnk and sockopt +PASS 70 original fixtures retain identical machine code, refusal status and diagnostics +PASS native-host qualification; no C/Rust compiler, assembler or linker used diff --git a/evidence/SECURITY-673/host-gate1/identities.txt b/evidence/SECURITY-673/host-gate1/identities.txt new file mode 100644 index 000000000..996265212 --- /dev/null +++ b/evidence/SECURITY-673/host-gate1/identities.txt @@ -0,0 +1,2 @@ +39d4be6db9c1cbc99158251a8ecbd4eb90220fd84d21cb3d7f0f4185660e776d seed/host/gate.om +66b4cf34e5cd2c8ff003bd142e7309f52178b66c2380f78ac313b6eb8b67471b seed/out/omc diff --git a/evidence/SECURITY-673/hostile1/REPORT.md b/evidence/SECURITY-673/hostile1/REPORT.md new file mode 100644 index 000000000..d8b91836c --- /dev/null +++ b/evidence/SECURITY-673/hostile1/REPORT.md @@ -0,0 +1,45 @@ +# Bounded source ingress qualification + +Threat: external source text exceeds supported syntax, numeric or storage limits, or consumes +pathological parsing work. Protected assets are compiler acceptance/refusal accuracy, emitted +program semantics and bounded resources for this finite campaign. Enforcing code is the existing +`seed/omc/omc.om` lexer, `tok_num`, `rdval`, `pushb`, function/name tables, pool limits and input +read bound. No compiler production change was needed for these selected source cases. + +Author final command: `/usr/bin/time -v build/security673-hostile/gate 3`, stdout `gate5.log`, +stderr/resource record `gate5.err`, exit0. The gate was compiled by exact existing seeded compiler +6b5d9403 with successful build and ELF inspection before execution. Source/compiler/runner/tool +and every generated fixture identity are in `identities.txt`; `artifacts.tar.gz` retains them all. +All individual generated commands, exits, expected exits and elapsed nanoseconds are in the log. +The independent eighteen-row result and raw archive are in `../independent671`. + +The oracle is the preexisting language profile, integer bounds and Boolean-negation parity, not +a copy of the parser. Cases include20 accepted versus21/million-digit refused decimals;1000, +1021 and1022 Boolean negations versus1023 refusing value-depth capacity;512/513 nested blocks; +million-byte literal;511/512 auxiliary functions; NUL; oversized global pool; unterminated quote; +unknown name; million spaces; and input exceeding8MiB. Eight accepted fixed-compiler programs +execute with predicted results, including odd/even Boolean outcomes; ten refusals produce empty +output. Expected refusals are6,14,16,23,22 or3 as specified in the raw table. + +Meaningful compiled negative control: an exact-once transform changes only `if gt ndig 20` to21. +That compiler incorrectly admits a21-digit zero literal, emitting an ELF216 bytes long. The +fixed compiler refuses the same bytes with6 and empty output. The violation is the profile's +numeric token limit, independently documented before the experiment. The mutant ELF is retained +and format-inspected but not executed. No build failure, crash or timeout counts as mutant success. + +Observed author wall time was recorded by GNU time, including0.09seconds and8160KiB maximum +resident set in the prior final-profile run; use `gate5.err` for the final exact observation. +Independent final replay similarly observed0.09seconds/8160KiB. These are finite host observations, +not enforced memory/CPU limits or universal complexity guarantees. The existing30-second direct- +child deadline remains in the coordinator. Native Linux AArch64 only, no device execution. + +Failed attempts remain: generator error13 came from an overlong developer identifier; the first +deep-expression fixture incorrectly used two bare literals (11), and its successor attempted an +unsupported bool-to-int conversion (9). Both gate attempts failed99 and are excluded. The final +fixture is a valid Boolean condition, with results derived from parity. No production bug is +inferred from those invalid development fixtures. Initial and superseded log files are historical. + +Residual obligations for #671: other source/import, manifest/receipt/RPC/trace/device parsers; +authentication/canonicalization equivalence; complete systematic truncation/mutation fuzzing; +kernel resource isolation; cross-platform and compiler-independent semantic proofs. This slice +does not close #671 or #624 and does not qualify an untrusted-workload sandbox. diff --git a/evidence/SECURITY-673/hostile1/archives.sha256 b/evidence/SECURITY-673/hostile1/archives.sha256 new file mode 100644 index 000000000..a70135e7f --- /dev/null +++ b/evidence/SECURITY-673/hostile1/archives.sha256 @@ -0,0 +1,2 @@ +edf04667c253ef34630d83c915603ce24a3d69e7b4ec9b72a19db343bf1c5bd2 evidence/SECURITY-673/hostile1/artifacts.tar.gz +474851df12feae732f9777e3559f985b75032546d47072cd9c808688c7329aff evidence/SECURITY-673/independent671/artifacts.tar.gz diff --git a/evidence/SECURITY-673/hostile1/artifacts.tar.gz b/evidence/SECURITY-673/hostile1/artifacts.tar.gz new file mode 100644 index 000000000..beae0d515 Binary files /dev/null and b/evidence/SECURITY-673/hostile1/artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/hostile1/gate-build.err b/evidence/SECURITY-673/hostile1/gate-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/hostile1/gate-build2.err b/evidence/SECURITY-673/hostile1/gate-build2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/hostile1/gate-build3.err b/evidence/SECURITY-673/hostile1/gate-build3.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/hostile1/gate-build4.err b/evidence/SECURITY-673/hostile1/gate-build4.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/hostile1/gate-build5.err b/evidence/SECURITY-673/hostile1/gate-build5.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/hostile1/gate1.err b/evidence/SECURITY-673/hostile1/gate1.err new file mode 100644 index 000000000..15afd9c1b --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate1.err @@ -0,0 +1,25 @@ +GATE669 FAIL; retain all scratch files and command output +Command exited with non-zero status 99 + Command being timed: "build/security673-hostile/gate 3" + User time (seconds): 0.01 + System time (seconds): 0.00 + Percent of CPU this job got: 45% + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.03 + Average shared text size (kbytes): 0 + Average unshared data size (kbytes): 0 + Average stack size (kbytes): 0 + Average total size (kbytes): 0 + Maximum resident set size (kbytes): 960 + Average resident set size (kbytes): 0 + Major (requiring I/O) page faults: 1 + Minor (reclaiming a frame) page faults: 689 + Voluntary context switches: 40 + Involuntary context switches: 9 + Swaps: 0 + File system inputs: 8 + File system outputs: 2520 + Socket messages sent: 0 + Socket messages received: 0 + Signals delivered: 0 + Page size (bytes): 4096 + Exit status: 99 diff --git a/evidence/SECURITY-673/hostile1/gate1.log b/evidence/SECURITY-673/hostile1/gate1.log new file mode 100644 index 000000000..7c01cd2cd --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate1.log @@ -0,0 +1,36 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2113750 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=2117270 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/hostile-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1060843 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1004 > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1183260 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1005 > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1083227 +exit=0 expected=0 +build/security673-native/1006 < /dev/null > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=1090443 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=4480974 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1009 > build/security673-native/1010 2> build/security673-native/501010 +elapsed_ns=2480074 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1011 > build/security673-native/1012 2> build/security673-native/501012 +elapsed_ns=2145254 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=11253509 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=2154278 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1015 > build/security673-native/1016 2> build/security673-native/501016 +elapsed_ns=1079740 +exit=11 expected=0 diff --git a/evidence/SECURITY-673/hostile1/gate2.err b/evidence/SECURITY-673/hostile1/gate2.err new file mode 100644 index 000000000..5d1f860ad --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate2.err @@ -0,0 +1,25 @@ +GATE669 FAIL; retain all scratch files and command output +Command exited with non-zero status 99 + Command being timed: "build/security673-hostile/gate 3" + User time (seconds): 0.01 + System time (seconds): 0.00 + Percent of CPU this job got: 68% + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.02 + Average shared text size (kbytes): 0 + Average unshared data size (kbytes): 0 + Average stack size (kbytes): 0 + Average total size (kbytes): 0 + Maximum resident set size (kbytes): 960 + Average resident set size (kbytes): 0 + Major (requiring I/O) page faults: 0 + Minor (reclaiming a frame) page faults: 686 + Voluntary context switches: 33 + Involuntary context switches: 1 + Swaps: 0 + File system inputs: 0 + File system outputs: 2512 + Socket messages sent: 0 + Socket messages received: 0 + Signals delivered: 0 + Page size (bytes): 4096 + Exit status: 99 diff --git a/evidence/SECURITY-673/hostile1/gate2.log b/evidence/SECURITY-673/hostile1/gate2.log new file mode 100644 index 000000000..ce9c256ac --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate2.log @@ -0,0 +1,36 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2116836 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=2110708 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/hostile-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1071802 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1004 > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1060186 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1005 > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1057866 +exit=0 expected=0 +build/security673-native/1006 < /dev/null > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=1058266 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1056699 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1009 > build/security673-native/1010 2> build/security673-native/501010 +elapsed_ns=1056282 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1011 > build/security673-native/1012 2> build/security673-native/501012 +elapsed_ns=1057066 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=7361062 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1057530 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1015 > build/security673-native/1016 2> build/security673-native/501016 +elapsed_ns=1057914 +exit=9 expected=0 diff --git a/evidence/SECURITY-673/hostile1/gate3.err b/evidence/SECURITY-673/hostile1/gate3.err new file mode 100644 index 000000000..635f1cd45 --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate3.err @@ -0,0 +1,23 @@ + Command being timed: "build/security673-hostile/gate 3" + User time (seconds): 0.03 + System time (seconds): 0.02 + Percent of CPU this job got: 70% + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.09 + Average shared text size (kbytes): 0 + Average unshared data size (kbytes): 0 + Average stack size (kbytes): 0 + Average total size (kbytes): 0 + Maximum resident set size (kbytes): 8160 + Average resident set size (kbytes): 0 + Major (requiring I/O) page faults: 0 + Minor (reclaiming a frame) page faults: 4158 + Voluntary context switches: 125 + Involuntary context switches: 9 + Swaps: 0 + File system inputs: 0 + File system outputs: 25160 + Socket messages sent: 0 + Socket messages received: 0 + Signals delivered: 0 + Page size (bytes): 4096 + Exit status: 0 diff --git a/evidence/SECURITY-673/hostile1/gate3.log b/evidence/SECURITY-673/hostile1/gate3.log new file mode 100644 index 000000000..099e14e09 --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate3.log @@ -0,0 +1,133 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2143555 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=3193662 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/hostile-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1072538 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1004 > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1071546 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1005 > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1072490 +exit=0 expected=0 +build/security673-native/1006 < /dev/null > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=1072650 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1072330 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1009 > build/security673-native/1010 2> build/security673-native/501010 +elapsed_ns=1069418 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1011 > build/security673-native/1012 2> build/security673-native/501012 +elapsed_ns=1069482 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=7431397 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1078122 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1015 > build/security673-native/1016 2> build/security673-native/501016 +elapsed_ns=1076266 +exit=0 expected=0 +build/security673-native/1016 < /dev/null > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1072634 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1072841 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1019 > build/security673-native/1020 2> build/security673-native/501020 +elapsed_ns=1068521 +exit=0 expected=0 +build/security673-native/1020 < /dev/null > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1092058 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1080298 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1023 > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1075354 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1025 > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1078234 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1026 > build/security673-native/1027 2> build/security673-native/501027 +elapsed_ns=1072634 +exit=0 expected=0 +build/security673-native/1027 < /dev/null > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1071658 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1029 > build/security673-native/1030 2> build/security673-native/501030 +elapsed_ns=1071562 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1072538 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1032 > build/security673-native/1033 2> build/security673-native/501033 +elapsed_ns=1074026 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=13760688 +exit=0 expected=0 +build/security673-native/1034 < /dev/null > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1073850 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1073418 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1073226 +exit=0 expected=0 +build/security673-native/1038 < /dev/null > build/security673-native/1039 2> build/security673-native/501039 +elapsed_ns=1072538 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1073210 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1041 > build/security673-native/1042 2> build/security673-native/501042 +elapsed_ns=1069146 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1070410 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1044 > build/security673-native/1045 2> build/security673-native/501045 +elapsed_ns=1091098 +exit=16 expected=16 +build/security673-native/1003 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1073530 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1047 > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1071194 +exit=23 expected=23 +build/security673-native/1003 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1072154 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1044938 +exit=22 expected=22 +build/security673-native/1003 < build/security673-native/1052 > build/security673-native/1053 2> build/security673-native/501053 +elapsed_ns=1069977 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1068313 +exit=3 expected=3 +build/security673-native/1003 < build/security673-native/1055 > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1094618 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1056 > build/security673-native/1057 2> build/security673-native/501057 +elapsed_ns=10633651 +exit=0 expected=0 +build/security673-native/1057 < /dev/null > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1072186 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1059 > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=3165277 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +elapsed_ns=5289137 +exit=14 expected=14 +GATE671 SOURCE PASS bounded synthetic source families only diff --git a/evidence/SECURITY-673/hostile1/gate4.err b/evidence/SECURITY-673/hostile1/gate4.err new file mode 100644 index 000000000..2b5370bc2 --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate4.err @@ -0,0 +1,23 @@ + Command being timed: "build/security673-hostile/gate 3" + User time (seconds): 0.03 + System time (seconds): 0.03 + Percent of CPU this job got: 67% + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.10 + Average shared text size (kbytes): 0 + Average unshared data size (kbytes): 0 + Average stack size (kbytes): 0 + Average total size (kbytes): 0 + Maximum resident set size (kbytes): 8160 + Average resident set size (kbytes): 0 + Major (requiring I/O) page faults: 0 + Minor (reclaiming a frame) page faults: 4404 + Voluntary context switches: 137 + Involuntary context switches: 15 + Swaps: 0 + File system inputs: 0 + File system outputs: 25560 + Socket messages sent: 0 + Socket messages received: 0 + Signals delivered: 0 + Page size (bytes): 4096 + Exit status: 0 diff --git a/evidence/SECURITY-673/hostile1/gate4.log b/evidence/SECURITY-673/hostile1/gate4.log new file mode 100644 index 000000000..527f8ab30 --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate4.log @@ -0,0 +1,152 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2135875 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=2114019 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/hostile-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1088441 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1004 > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1077962 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1005 > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1079658 +exit=0 expected=0 +build/security673-native/1006 < /dev/null > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=1074490 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1090202 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1009 > build/security673-native/1010 2> build/security673-native/501010 +elapsed_ns=1071178 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1011 > build/security673-native/1012 2> build/security673-native/501012 +elapsed_ns=1077753 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=7398739 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1069673 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1015 > build/security673-native/1016 2> build/security673-native/501016 +elapsed_ns=1069369 +exit=0 expected=0 +build/security673-native/1016 < /dev/null > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1091338 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1075322 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1019 > build/security673-native/1020 2> build/security673-native/501020 +elapsed_ns=1071049 +exit=0 expected=0 +build/security673-native/1020 < /dev/null > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1069785 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1091610 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1023 > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1075610 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1025 > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1074794 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1026 > build/security673-native/1027 2> build/security673-native/501027 +elapsed_ns=1073706 +exit=0 expected=0 +build/security673-native/1027 < /dev/null > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1070730 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1029 > build/security673-native/1030 2> build/security673-native/501030 +elapsed_ns=1072106 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1088842 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1032 > build/security673-native/1033 2> build/security673-native/501033 +elapsed_ns=1074489 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=8495997 +exit=0 expected=0 +build/security673-native/1034 < /dev/null > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1094426 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=2118451 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1071210 +exit=0 expected=0 +build/security673-native/1038 < /dev/null > build/security673-native/1039 2> build/security673-native/501039 +elapsed_ns=1070633 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=2124323 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1041 > build/security673-native/1042 2> build/security673-native/501042 +elapsed_ns=1068122 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1083865 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1044 > build/security673-native/1045 2> build/security673-native/501045 +elapsed_ns=1087626 +exit=16 expected=16 +build/security673-native/1003 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1094490 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1047 > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1072169 +exit=23 expected=23 +build/security673-native/1003 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1068281 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1068794 +exit=22 expected=22 +build/security673-native/1003 < build/security673-native/1052 > build/security673-native/1053 2> build/security673-native/501053 +elapsed_ns=1069818 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1071097 +exit=3 expected=3 +build/security673-native/1003 < build/security673-native/1055 > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1065529 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1056 > build/security673-native/1057 2> build/security673-native/501057 +elapsed_ns=10659552 +exit=0 expected=0 +build/security673-native/1057 < /dev/null > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1088058 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1059 > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=5352048 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +elapsed_ns=4255350 +exit=14 expected=14 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1067321 +exit=0 expected=0 +build/security673-native/1062 3 < seed/omc/omc.om > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1070985 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=4231878 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1073561 +exit=0 expected=0 +build/security673-native/1064 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1087193 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1097466 +exit=6 expected=6 +NEGATIVE CONTROL: compiled numeric-limit bypass admits21 digits; this violates the20-digit profile. Fixed compiler refuses6. +GATE671 SOURCE PASS bounded synthetic source families only diff --git a/evidence/SECURITY-673/hostile1/gate5.err b/evidence/SECURITY-673/hostile1/gate5.err new file mode 100644 index 000000000..651a0e013 --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate5.err @@ -0,0 +1,23 @@ + Command being timed: "build/security673-hostile/gate 3" + User time (seconds): 0.03 + System time (seconds): 0.02 + Percent of CPU this job got: 62% + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.09 + Average shared text size (kbytes): 0 + Average unshared data size (kbytes): 0 + Average stack size (kbytes): 0 + Average total size (kbytes): 0 + Maximum resident set size (kbytes): 8160 + Average resident set size (kbytes): 0 + Major (requiring I/O) page faults: 0 + Minor (reclaiming a frame) page faults: 4485 + Voluntary context switches: 138 + Involuntary context switches: 10 + Swaps: 0 + File system inputs: 0 + File system outputs: 25592 + Socket messages sent: 0 + Socket messages received: 0 + Signals delivered: 0 + Page size (bytes): 4096 + Exit status: 0 diff --git a/evidence/SECURITY-673/hostile1/gate5.exit b/evidence/SECURITY-673/hostile1/gate5.exit new file mode 100644 index 000000000..67d1c7efb --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate5.exit @@ -0,0 +1 @@ +gate5 exit=0 diff --git a/evidence/SECURITY-673/hostile1/gate5.log b/evidence/SECURITY-673/hostile1/gate5.log new file mode 100644 index 000000000..5a0415aed --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gate5.log @@ -0,0 +1,161 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2131091 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=2136387 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/hostile-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1074233 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1004 > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1072665 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1005 > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1069770 +exit=0 expected=0 +build/security673-native/1006 < /dev/null > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=1070729 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1072073 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1009 > build/security673-native/1010 2> build/security673-native/501010 +elapsed_ns=1070506 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1011 > build/security673-native/1012 2> build/security673-native/501012 +elapsed_ns=1070617 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=5280591 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1069481 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1015 > build/security673-native/1016 2> build/security673-native/501016 +elapsed_ns=1070746 +exit=0 expected=0 +build/security673-native/1016 < /dev/null > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1070249 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1070697 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1019 > build/security673-native/1020 2> build/security673-native/501020 +elapsed_ns=1070730 +exit=0 expected=0 +build/security673-native/1020 < /dev/null > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1069737 +exit=1 expected=1 +build/security673-native/1003 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1068185 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1023 > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1071753 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1070681 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1026 > build/security673-native/1027 2> build/security673-native/501027 +elapsed_ns=1074442 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1073738 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1029 > build/security673-native/1030 2> build/security673-native/501030 +elapsed_ns=1172347 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1058025 +exit=0 expected=0 +build/security673-native/1031 < /dev/null > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1059801 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=2110514 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1058313 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1055881 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=8379481 +exit=0 expected=0 +build/security673-native/1038 < /dev/null > build/security673-native/1039 2> build/security673-native/501039 +elapsed_ns=1059337 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=2112979 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1041 > build/security673-native/1042 2> build/security673-native/501042 +elapsed_ns=2109091 +exit=0 expected=0 +build/security673-native/1042 < /dev/null > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1058154 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1044 > build/security673-native/1045 2> build/security673-native/501045 +elapsed_ns=1056265 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1038809 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1047 > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1055257 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +elapsed_ns=1055881 +exit=16 expected=16 +build/security673-native/1003 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1089050 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1076058 +exit=23 expected=23 +build/security673-native/1003 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1072138 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1071882 +exit=22 expected=22 +build/security673-native/1003 < build/security673-native/1056 > build/security673-native/1057 2> build/security673-native/501057 +elapsed_ns=1070025 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1071609 +exit=3 expected=3 +build/security673-native/1003 < build/security673-native/1059 > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1070378 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +elapsed_ns=10540588 +exit=0 expected=0 +build/security673-native/1061 < /dev/null > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1070121 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=3187436 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1064 > build/security673-native/1065 2> build/security673-native/501065 +elapsed_ns=3179596 +exit=14 expected=14 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1067961 +exit=0 expected=0 +build/security673-native/1066 3 < seed/omc/omc.om > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1077849 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1067 > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=4235029 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1087162 +exit=0 expected=0 +build/security673-native/1068 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1075641 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1072889 +exit=6 expected=6 +NEGATIVE CONTROL: compiled numeric-limit bypass admits21 digits; this violates the20-digit profile. Fixed compiler refuses6. +GATE671 SOURCE PASS bounded synthetic source families only diff --git a/evidence/SECURITY-673/hostile1/gen-build.err b/evidence/SECURITY-673/hostile1/gen-build.err new file mode 100644 index 000000000..bef1415ea --- /dev/null +++ b/evidence/SECURITY-673/hostile1/gen-build.err @@ -0,0 +1 @@ +omc: line 9: error 13 diff --git a/evidence/SECURITY-673/hostile1/gen-build2.err b/evidence/SECURITY-673/hostile1/gen-build2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/hostile1/identities.txt b/evidence/SECURITY-673/hostile1/identities.txt new file mode 100644 index 000000000..10661aa6b --- /dev/null +++ b/evidence/SECURITY-673/hostile1/identities.txt @@ -0,0 +1,131 @@ +0590fa1f3ec5d6119dae81cdbdaba51cdcd50dba21eacd7d50c743e92024e8fb seed/qualification/security673/hostile-corpus.om +c04e986c01ef5132cd5d578a170cc941e8c1868ad427277a7536b7a959a55b2d seed/qualification/security673/gate669.om +94285a3a6cfcf20162e551d491c9a2ed7d18b13106f55acbed8b5f9310e9f9e6 seed/qualification/security673/branch-mutate.om +33ba46ab1fce0e2cab8f027187f55361bb9a949d597029454ca6641a756f65ac seed/omc/omc.om +03b8cdbf5fa7f9de45960d0d27d5adf0a62bda9be58508c9efb859dd4541f522 build/security673-hostile/gate +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 build/security673-native/1001 +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 build/security673-native/1002 +ee831be16f8bc39c70e02046d22bfe58ec09640b7d06b8b8c3aa9f60d4d8c305 build/security673-native/1003 +e30f0d2da5cb9a6ee149a6519b4821326bd8fd2e879988ca35ce1cebf622cfc8 build/security673-native/1004 +5e172e9f28ec052e53235c045057bd7d9b57688ecb82ded63529c39ae2ea0640 build/security673-native/1005 +6d02cbf1e06350934eae247a1ec3df2746deba5064d955b0505043c786209898 build/security673-native/1006 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1007 +4db827b2d218d73ef13fa56d1e898ebe24c0c0d417ec7bb72a33bcd0907f45a1 build/security673-native/1008 +7919f2bd33fed2a20026f2f3956a5c2d786b5a26522b5503d938f8a219891464 build/security673-native/1009 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1010 +a116a0008422ae94aaddff5f0d8125f87aa3e943ee111b6c2af01e4cf38bd650 build/security673-native/1011 +77ca8b5610fe17cb37f33f7d75d68cbd2892cc98d7ffc60dce254ac3dd1cb32e build/security673-native/1012 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1013 +7436b873e82890152984d8a5ec944d35ece379de9892265cc759505fdd1133f0 build/security673-native/1014 +c9a705028806671a60848be9bf74275b16a757d1132d0f6c7b978114700c84a2 build/security673-native/1015 +4cccecdee11a3a4cc9ebaa18011204ba0a8d29e2144421f229d103fb5cc0bb01 build/security673-native/1016 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1017 +5e7df49470726df2ac3022ac8144e37e4338984c541ce40a49206bb7870b2b08 build/security673-native/1018 +37c6c53325c75c7b0595b1f20b59820d844964d5cb07126caaf3c401d356de9a build/security673-native/1019 +8d99de2ee77b456164dd7a74d27596ad7561bf3e7dce72db658df72110eed571 build/security673-native/1020 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1021 +980a3c7ac45b5ebceb6d1a33aa810d19a00c8c2b6eece91ad8316fbe5afda88f build/security673-native/1022 +bcc7c5f7a2c890473b67d95df5091ce97794a372b13d902a15fcc355731955ea build/security673-native/1023 +4cccecdee11a3a4cc9ebaa18011204ba0a8d29e2144421f229d103fb5cc0bb01 build/security673-native/1024 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1025 +fce49987902ebcd8342db347a9a0b49a80cb13cb5c693a6eaf9e2ef426ebcde6 build/security673-native/1026 +35567de83916ddb413efe2a89219ccd82ebf23cd6101123a68639bd775d141e5 build/security673-native/1027 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1028 +9bdc27190841cdc735804b5c34d3ebc8976ddbfafa940125d5d699b843bc53cc build/security673-native/1029 +55e4772373bd7ce0b36b0f0c2a5271847ba0fd90561d453ec7153ef18f3c1bfd build/security673-native/1030 +7d377bc69da043dc075077acc20017634f4e16ebe7eb22937a5aec82d877adad build/security673-native/1031 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1032 +1259743609cc715bd260d1767128e41e71e9ddfe670eb89701be40e3c698ff7d build/security673-native/1033 +2608912c6bd84f16832020e89d14c089ea38302f8dd715f73ef36d214ade2df0 build/security673-native/1034 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1035 +952d2ad45f38eb47ec3a3325c0c919442e19ddd52608482cc857cc30f8deea21 build/security673-native/1036 +5437661942cb895ff245b4d871267946cec37a6828a828f0223c5b85bd9b75eb build/security673-native/1037 +bdb232de79abd23d21423123316ed032675f6152cdccd234f45777189158b7ea build/security673-native/1038 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1039 +aa1ac70d5eca3b01bf9de8f359a365aba3fe2d9e1c4c9679af185dab2604103f build/security673-native/1040 +685a75079425fac62920847355ee5fdd77d6cd10a16061f1a1f1d50751c0b627 build/security673-native/1041 +baaf15d1e8dddab8d2e1eadf7a9cddd7ba72c7e2a3b78aa1a34314b705a85a1e build/security673-native/1042 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1043 +d5afe693b91faad202c4a2b858341a6745244318e9191a376fdd472953e85828 build/security673-native/1044 +277dfd32db7445e6345c81b90faa26b749cb2993f68d352b266bd31cb90b5cb8 build/security673-native/1045 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1046 +49e8e3297545c15ab6a79471a7a34d43e24a8f1cb25ea3d8417c61f699267a3f build/security673-native/1047 +6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d build/security673-native/1048 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1049 +b45482224b439a3d548c65378929b7dcc16a42288530b7b20d5c8103cc879d10 build/security673-native/1050 +1e77e72d20f855059bacbe2291d1968733d3eb46605d405d71e76a1cf9a56acb build/security673-native/1051 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1052 +e16ab60aa1eeb7074ca590e8a95bc4ce6264aa74f4f79359e580ede60b892bbe build/security673-native/1053 +2e507915637e8481177e1da6868bb15c8e89945074957179452e5c0c077d953e build/security673-native/1054 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1055 +18b1b592a44f7fbe33dab6a3d22857eea5118da14d6fabbc59b0681dbf1286f1 build/security673-native/1056 +e156ccbc2fdf805271612849a8c81a6d0222781e82af7eb071888cfe3c97a1c7 build/security673-native/1057 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1058 +c5a821958681f5e0db21fab7e314304b795ca8eeb0cd863b554445ed9fd892e6 build/security673-native/1059 +b47a3a24398e7dfa2da2e889901e2b0feff77aae361f4515b35ec1f4075b53b0 build/security673-native/1060 +4caebbb143d76413098649f9569eadc495aad8ca744a91ba7b29fe1bad4c7471 build/security673-native/1061 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1062 +1be4c98585a9168cd7c1f902007faab74ed297f197f1a76cb0251fbad737d6fd build/security673-native/1063 +e75a8f836691a3d9983d93bfe45efdc8b1095bdfa2f3c04c8a22accb9a09adba build/security673-native/1064 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1065 +b0ed0f707a86e17868283235006024a74c80405b841bcc04a73f42f9acc49aa8 build/security673-native/1066 +a87e8e1707194a813cf2a0bf5794b0b2521e01a5e181aca24c5d4af4456c1a41 build/security673-native/1067 +49fec1a7fb310e5cd2f00e5e9d7d49ba7891028dd330a7ec9ef7bc996553e740 build/security673-native/1068 +4db827b2d218d73ef13fa56d1e898ebe24c0c0d417ec7bb72a33bcd0907f45a1 build/security673-native/1069 +7919f2bd33fed2a20026f2f3956a5c2d786b5a26522b5503d938f8a219891464 build/security673-native/1070 +6d02cbf1e06350934eae247a1ec3df2746deba5064d955b0505043c786209898 build/security673-native/1071 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/1072 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501001 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501002 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501003 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501005 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501006 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501007 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501009 +2db2d17b7d3ee57359822bb9aca2fc56457bb921c2866b62d145dfe20f14316d build/security673-native/501010 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501012 +2db2d17b7d3ee57359822bb9aca2fc56457bb921c2866b62d145dfe20f14316d build/security673-native/501013 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501015 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501016 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501017 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501019 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501020 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501021 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501023 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501024 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501025 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501027 +cbfcc32984bae791b76e2aaea48f2b94caf82ddc29a3d1340f926c07bea62e3f build/security673-native/501028 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501030 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501031 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501032 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501034 +bdad2ff0d883013fff9cd3a2136df7441b9b147e96412b65165909b55a605629 build/security673-native/501035 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501037 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501038 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501039 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501041 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501042 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501043 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501045 +b9c7dfb4655879b696b03f9d5a3a8932fb7fdbedc21cbe3c190cdb363a949247 build/security673-native/501046 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501048 +5f17d2ac7b2d85a8acc9facbac31afd064e4be4ec22919d382c2533f70c2112c build/security673-native/501049 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501051 +49dceab7527403b746a2f00c4ca80f3004eabddbd2b5675ad0442dc6f7808127 build/security673-native/501052 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501054 +2094ba4711a4994b5a050a489d7fc6b33cd5004fb5992fefe5ec5fe11a30a23e build/security673-native/501055 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501057 +85ed6219be355818844f1e06a75380601ada3d3178885cb97e7767be15f0130e build/security673-native/501058 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501060 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501061 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501062 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501064 +a0584232e7af34e460e7842bcac26b56b47ea843a1d4590295168310beb9a974 build/security673-native/501065 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501066 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501067 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501068 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501070 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build/security673-native/501071 +2db2d17b7d3ee57359822bb9aca2fc56457bb921c2866b62d145dfe20f14316d build/security673-native/501072 +4a445f72fefaf4127931df2b799aa885e27553b5a55e104a329d41fc8dc83083 /usr/bin/time diff --git a/evidence/SECURITY-673/independent669/REPORT.md b/evidence/SECURITY-673/independent669/REPORT.md new file mode 100644 index 000000000..28f4f54d6 --- /dev/null +++ b/evidence/SECURITY-673/independent669/REPORT.md @@ -0,0 +1,124 @@ +# Independent review: corrected Omega #669 qualification slice + +Date: 2026-10-23. Reviewer: `review_branch_qualification`, separate review agent. +Author tree: `/home/drakestapleton/workspace/omega-security673-qualified`. +Base commit: `05796f9e0dc72cf5cd21d64781d2a18e5e9ab71a`; reviewed changes were not yet committed. + +**Verdict: no remaining finding in the tested branch-limit slice. The earlier P2 checker defect is fixed and independently retested. This is not approval or closure of all #669 acceptance criteria, #673, compiler trust, or host isolation.** + +## Threat, property and enforcement + +The input is synthetic source requiring conditional branches at or beyond the AArch64 signed imm19 range. The protected asset is correct emitted control flow. An out-of-range displacement must be refused before emitting an accepted artifact. No data theft, authority bypass, or machine takeover was demonstrated. + +`seed/omc/omc.om:931` (`disp19`), `patch19`, and `blo` enforce alignment and the signed byte range -1048576 through +1048572. The corrected unsigned lower endpoint is 18446744073708503040. Inspection confirms that arithmetic for compiler positions within its 8 MiB output pool. This inspection is not a formal proof. + +Supported execution tested here: Linux 7.0.0-1019-nvidia, AArch64 GNU/Linux. GNU objdump 2.42 is the external instruction decoder. No emulation or GPU/device activity was used. + +## Independent results + +Final snapshot and raw artifacts: `/tmp/omega669-final-review.UDT3ZV/`. +The author must preserve this directory in the durable evidence bundle before temporary files are reclaimed. + +| Check | Observed result | +| --- | --- | +| Reviewer builds of final checker and runner | Both exited 0; ELF headers checked before execution | +| Complete native gate | Exit 0, `gate.log` ends in the bounded-testing PASS statement | +| Real helper probes | Four valid cases exited 0; two out-of-range and two unaligned cases exited 24 | +| Real short backward caller | Local-array initialization fixture compiled and executed with exit 0 | +| Exact forward maximum | Native execution exited 0; objdump branch at 0xc0 targets marker 0x1000bc, a displacement of 1048572 bytes | +| Forward overflow, signed wrap, nested-if, while-exit, trap-site layouts | Compiler exited 24 with empty artifact outputs | +| Weakened-limit compiler | Built successfully; independent decoder showed the branch target differed from the marker; checker exited 61; malformed image was not executed | +| Same weakened-limit source through fixed compiler | Refused with exit 24 and empty artifact output | +| Seven synthetic decoder cases | Good input 0; malformed token, wrong register, duplicate/missing marker, and `notmov` prefix 62; mismatched target 61 | +| Empty decoder output | Exit 62 | +| Supervisor wrong normal exit | Final runner exited 99 and logged `exit=7 expected=0` | +| Supervisor self-signal | Final runner exited 99 and logged child wait low-byte 9 | +| Supervisor deadline overrun | Final runner exited 99 and logged deadline exceeded, SIGKILL, wait low-byte 9 | + +The array-fill artifact was independently disassembled: its `b.cc` / `b.lo` at 0xd8 targets the store at 0xcc. This exercises the actual `blo` caller. It does not create a reachable long backward source branch. + +The runner was replayed independently from copied source in a fresh disposable directory. Normal-run files were subsequently moved to `build/security673-native-normal`; the paths printed in `gate.log` retain their original `build/security673-native` prefix. Control runs were retained in distinct directories. `gate.exit` is 0; `control0.exit`, `control1.exit`, and `control2.exit` are each 99. Raw child commands and exits are in `gate.log` and `control*.log`, with corresponding `.err` files. + +## Review finding and correction + +The initial checker accepted malformed target suffixes and arbitrary marker instructions. The first correction refused both original reproductions. Re-review found a remaining substring hole: `notmov` was accepted as `mov`. The final correction checks the preceding delimiter and integrates that case as the seventh synthetic negative control. + +These exact commands were executed against the freshly rebuilt final checker, with final snapshot as the working directory: + +```sh +printf 'b0: b.ne 0xb4garbage\nb4: bogus #12345oops\n' | ./checker +# checker exit 62 +printf 'b0: b.ne 0xb4\nb4: mov x8, #12345\n' | ./checker +# checker exit 62 +printf 'b0: b.ne 0xb4\nb4: notmov\tx1, #0x3039\n' | ./checker +# checker exit 62 +``` + +An earlier review invocation used a scratch path the author had already moved and returned 127. That was an invalid invocation, not a successful refusal test. The final commands above use the reviewer's own rebuilt, identified checker. + +## Raw reconstruction and execution commands + +Final source files and `seed/rung4/om4.bin` were copied preserving their repository-relative paths into the final snapshot. The following builds used the existing author's identified stage2, with absolute snapshot paths in the actual invocation: + +```sh +/home/drakestapleton/workspace/omega-security673-qualified/build/security673-correction1/stage2 < seed/qualification/security673/branch-check.om > checker 2> checker-build.err +# exit 0 +readelf -h checker > /dev/null +# exit 0 +chmod +x checker +# exit 0 +/home/drakestapleton/workspace/omega-security673-qualified/build/security673-correction1/stage2 < seed/qualification/security673/gate669.om > gate669 2> gate-build.err +# exit 0 +readelf -h gate669 > /dev/null +# exit 0 +chmod +x gate669 +# exit 0 +./gate669 > gate.log 2> gate.err +# exit 0 +mv build/security673-native build/security673-native-normal +./gate669 0 > control0.log 2> control0.err +# exit 99 +mv build/security673-native build/security673-native-control0 +./gate669 1 > control1.log 2> control1.err +# exit 99 +mv build/security673-native build/security673-native-control1 +./gate669 2 > control2.log 2> control2.err +# exit 99 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native-normal/1024 > array-fill.decoded +# decoder exit 0; reviewer inspected backward array-fill branch +``` + +All normal pipeline compilation, fixture, decoding, execution, and expected-refusal commands are individually printed in `gate.log`. The gate reconstructs the compiler through existing om4, then compiles the compiler again; both compiler artifacts have the same hash. That equality demonstrates reproducibility within this lineage, not correctness. + +## Final identities (SHA256) + +| File | SHA256 | +| --- | --- | +| `seed/omc/omc.om` | `4c0a57497ac2046304365741b7a0de110056a1ac17ba03fa6127890dd66e3dd9` | +| `branch-check.om` | `3165c09cb7ed7523355ccaa1acbdc89be55c2882fbb61fc7f25594bd68deeca3` | +| `branch-corpus.om` | `a2672e4d018ca2ded61044af19bcde0ad7f8a3990429067aa2d5086ee681a413` | +| `branch-mutate.om` | `4bc9e252ca68ba185c284b9b9aed09dee83526abae9913db6c6b592700db76e1` | +| `gate669.om` | `07bc11a69f0d629e0c262056061789114d8710505a308e3e2a5ac42ae73dee94` | +| `array-fill.om` | `bcfb200a48291c27d4a700ea074e02616a881767c8838a52ad2dfd7b83b52d33` | +| `oracle-corpus.om` | `41118388d232dd6897bebf9b239f4174a2e5054cdd07a4753c4ce60bf7c022fa` | +| `gate-child.om` | `459a60da8e660ee1f433a9679bb41467074fda45997e5168e23e92ebad0d570b` | +| Existing `seed/rung4/om4.bin` | `d0da40e45f1fcc45d9a39c9c52c9d745b545e076970729e51c12d76ef519efab` | +| Rebuilt compiler stages 1 and 2 | `7c25129a0a8ec0604f93ec51eb2028ecfc6e04dde936a73aeaa5f24a2b3214b8` | +| Reviewer `checker` and gate-built checker | `14140f4cb6bea232b6232bcc82b4760079e5e934f5997409ef8ab2a5a3ceb01d` | +| Reviewer `gate669` | `04247ac6436ac176f98fd0b9a205fe8f51e02c6ded7ac81dba3e9e113c5a4fc2` | +| `/usr/bin/objdump` | `f2e917a5d118ebf5679b24740e20d30338308e7f3f0630527c469de452d5a250` | +| Array-fill binary, normal run `1024` | `5fb117f43f28746f7090cbafe0e7fdd3ff885c31d23e14c3019916397847a5fa` | +| Maximum-forward binary, normal run `1056` | `546ca3f4776e7a32e4eb2daca0a5e52a9c466c6fbc5baf76f9dbb1fa0b846b33` | +| Maximum-forward disassembly, normal run `1057` | `852d7e0e680c5095b2c4dfe00fb95666354245ae4289b22a92e12773baa30910` | +| Mutant binary, normal run `1079` | `8cbdc67a54eb0a352e04dbd58e7cc1a5d872d19387f54955f6726f468ec3634e` | +| Mutant disassembly, normal run `1080` | `770ee3cdd4e7f0c25185702c33c4e9c08463454606dc6b61734fe7bc720ef4ef` | + +## Residual assumptions and exclusions + +- The runner/checker/fixtures use the same compiler lineage. GNU objdump supplies independent decoding; the `.om` checker is not an independent compiler implementation. No diverse-double-compilation or general source-to-binary correctness claim is established. +- The checker recognizes selected GNU 2.42 output tokens. It rejects the enumerated malformed cases, missing markers and duplicate markers. It is not a full disassembly grammar validator or authentication mechanism for arbitrary forged decoder output. The external decoder and local evidence directory remain trusted. +- The supervisor observes direct-child exits, rejects signals, and kills a direct child after its configured deadline. This is not process-tree confinement, memory/output quota enforcement, protection from same-user modification, or least-authority execution. Those remain #670/#671 work. +- Only synthetic source and disposable files were used. No deployment, live-driver change, GPU interruption, private upload, or automatic promotion occurred. +- This review does not cover the shell-runner retirement, historical-evidence restoration, fresh full seed-chain reconstruction, future host changes, release integration, or the other #673 requirements. Any later source change needs appropriate follow-up qualification and a new identity record. + +Only this report was written outside disposable review directories. No tracked implementation or test source was changed by the reviewer. diff --git a/evidence/SECURITY-673/independent669/artifacts.tar.gz b/evidence/SECURITY-673/independent669/artifacts.tar.gz new file mode 100644 index 000000000..102f28974 Binary files /dev/null and b/evidence/SECURITY-673/independent669/artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/independent669/clean-replay/bootstrap.err b/evidence/SECURITY-673/independent669/clean-replay/bootstrap.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/independent669/clean-replay/bootstrap.log b/evidence/SECURITY-673/independent669/clean-replay/bootstrap.log new file mode 100644 index 000000000..fabd8527d --- /dev/null +++ b/evidence/SECURITY-673/independent669/clean-replay/bootstrap.log @@ -0,0 +1,12 @@ +PASS seed0 408 bytes, rebuilds itself +PASS hex1 776 bytes, born from seed0 +PASS asm2 2464 bytes, born from hex1 +PASS om4 om4.bin 14224 bytes +PASS omc fixpoint 7c25129a0a8ec0604f93ec51eb2028ecfc6e04dde936a73aeaa5f24a2b3214b8 +PASS fwd exit 0 +PASS fwd runs, exit 7 +PASS mut exit 0 +PASS mut runs, exit 0 +PASS cycle exit 9 +PASS assign exit 7 +RC=0 diff --git a/evidence/SECURITY-673/independent669/clean-replay/build.err b/evidence/SECURITY-673/independent669/clean-replay/build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/independent669/clean-replay/elf-header.txt b/evidence/SECURITY-673/independent669/clean-replay/elf-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/independent669/clean-replay/elf-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/independent669/clean-replay/exits.txt b/evidence/SECURITY-673/independent669/clean-replay/exits.txt new file mode 100644 index 000000000..4b80af730 --- /dev/null +++ b/evidence/SECURITY-673/independent669/clean-replay/exits.txt @@ -0,0 +1 @@ +bootstrap=0 build=0 ELF_inspection=0 chmod=0 gate=0 diff --git a/evidence/SECURITY-673/independent669/clean-replay/gate.err b/evidence/SECURITY-673/independent669/clean-replay/gate.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/independent669/clean-replay/gate.log b/evidence/SECURITY-673/independent669/clean-replay/gate.log new file mode 100644 index 000000000..c43033b89 --- /dev/null +++ b/evidence/SECURITY-673/independent669/clean-replay/gate.log @@ -0,0 +1,121 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +exit=62 expected=62 +build/security673-native/1003 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1050 < /dev/null > build/security673-native/1051 2> build/security673-native/501051 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +exit=0 expected=0 +build/security673-native/1050 < /dev/null > build/security673-native/1053 2> build/security673-native/501053 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1055 > build/security673-native/1056 2> build/security673-native/501056 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1056 < /dev/null > build/security673-native/1057 2> build/security673-native/501057 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +exit=0 expected=0 +build/security673-native/1056 < /dev/null > build/security673-native/1059 2> build/security673-native/501059 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1064 > build/security673-native/1065 2> build/security673-native/501065 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1067 > build/security673-native/1068 2> build/security673-native/501068 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1072 > build/security673-native/1073 2> build/security673-native/501073 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1075 2> build/security673-native/501075 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1075 > build/security673-native/1076 2> build/security673-native/501076 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +exit=0 expected=0 +build/security673-native/1076 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1080 > build/security673-native/1081 2> build/security673-native/501081 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1082 2> build/security673-native/501082 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1083 2> build/security673-native/501083 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/independent669/clean-replay/identities.txt b/evidence/SECURITY-673/independent669/clean-replay/identities.txt new file mode 100644 index 000000000..24979f1e6 --- /dev/null +++ b/evidence/SECURITY-673/independent669/clean-replay/identities.txt @@ -0,0 +1,11 @@ +4c0a57497ac2046304365741b7a0de110056a1ac17ba03fa6127890dd66e3dd9 seed/omc/omc.om +d0da40e45f1fcc45d9a39c9c52c9d745b545e076970729e51c12d76ef519efab seed/rung4/om4.bin +7c25129a0a8ec0604f93ec51eb2028ecfc6e04dde936a73aeaa5f24a2b3214b8 seed/out/omc +04247ac6436ac176f98fd0b9a205fe8f51e02c6ded7ac81dba3e9e113c5a4fc2 build/gate669 +bcfb200a48291c27d4a700ea074e02616a881767c8838a52ad2dfd7b83b52d33 seed/qualification/security673/array-fill.om +3165c09cb7ed7523355ccaa1acbdc89be55c2882fbb61fc7f25594bd68deeca3 seed/qualification/security673/branch-check.om +a2672e4d018ca2ded61044af19bcde0ad7f8a3990429067aa2d5086ee681a413 seed/qualification/security673/branch-corpus.om +4bc9e252ca68ba185c284b9b9aed09dee83526abae9913db6c6b592700db76e1 seed/qualification/security673/branch-mutate.om +459a60da8e660ee1f433a9679bb41467074fda45997e5168e23e92ebad0d570b seed/qualification/security673/gate-child.om +07bc11a69f0d629e0c262056061789114d8710505a308e3e2a5ac42ae73dee94 seed/qualification/security673/gate669.om +41118388d232dd6897bebf9b239f4174a2e5054cdd07a4753c4ce60bf7c022fa seed/qualification/security673/oracle-corpus.om diff --git a/evidence/SECURITY-673/independent669/clean-replay/source-status.txt b/evidence/SECURITY-673/independent669/clean-replay/source-status.txt new file mode 100644 index 000000000..68365b4d4 --- /dev/null +++ b/evidence/SECURITY-673/independent669/clean-replay/source-status.txt @@ -0,0 +1,2 @@ + M seed/out/omc + M seed/out/omc.sha256 diff --git a/evidence/SECURITY-673/independent670/REPORT.md b/evidence/SECURITY-673/independent670/REPORT.md new file mode 100644 index 000000000..d7522a803 --- /dev/null +++ b/evidence/SECURITY-673/independent670/REPORT.md @@ -0,0 +1,147 @@ +# Independent review: #670 execprog descriptor prerequisite + +Date: 2026-10-23. Reviewer: `review_branch_qualification`, separate review agent. +Author tree: `/home/drakestapleton/workspace/omega-security673-qualified`. +Base commit: `7a1692908d86c69be91191ac227ce465d4ee8b1d`; this host change was uncommitted when inspected. + +**Verdict: no correctness finding in the reviewed descriptor-inheritance prerequisite. Independent native integration tests reproduced the positive and negative controls. This does not satisfy the full least-authority or effect-boundary authorization requirements of #670.** + +## Threat, asset, property and enforcement + +A process launched through the seeded compiler's `execprog` should not accidentally receive the caller's open handles beyond the explicitly assigned standard streams. The protected asset is access through those inherited handles, including high-numbered descriptors. This change does not prevent reopening a resource through ambient filesystem authority. + +In `seed/omc/omc.om`, `hpack`'s `c == 124` path, starting at line2457, now emits `close_range(3, UINT_MAX, CLOSE_RANGE_UNSHARE)` before `execve`. It branches past `execve` on every nonzero result and returns the kernel error. No guessed descriptor ceiling or permissive fallback is emitted. Existing packet validation precedes the close. The rename path is unchanged. This extends the existing host lowering; it introduces no second authority implementation. + +Local AArch64 syscall headers confirm numbers436 and221, and `CLOSE_RANGE_UNSHARE == 2`. The Linux manual describes inclusive range closure and unsharing to avoid descriptor-table races, and explicitly documents this pre-exec pattern. Its semantics support this narrow design; they do not establish application isolation. [Linux close_range manual](https://man7.org/linux/man-pages/man2/close_range.2.html). + +Tested platform: Linux7.0.0-1019-nvidia, AArch64 GNU/Linux. Soft and hard open-descriptor limits were both500000. Oracle: strace6.8 observing real kernel calls, supplemented by the executed child's reads and the parent's public-output/retained-secret assertions. The successful mode was also rerun without strace. + +## Independently reproduced results + +All reviewer artifacts are in `/tmp/omega670-review.bScRBA/`. Preserve this directory with the durable evidence before temporary files are reclaimed. + +| Case | Actual exit | Observed property | +| --- | --- | --- | +| New compiler, mode0 | 0 | Child reads on descriptors3 and65537 return EBADF; assigned stdin/stdout work; parent retains its own secret handle | +| New compiler, mode1 | 0 | Nonexistent executable returns ENOENT after closure; both extra descriptors remain closed in that child; parent retains its handle | +| New compiler, mode2 | 0 | High-descriptor isolation succeeds when descriptor3 was already closed before exec | +| Old compiler, mode0 | 42 | Child can read synthetic data through inherited descriptor3 | +| Old compiler, mode1 | 55 | Failed exec leaves inherited descriptor3 readable in the old implementation | +| Old compiler, mode2 | 43 | With descriptor3 absent, child can read synthetic data through inherited descriptor65537 | +| Unavailable-syscall mutant, mode3 | 0 | Injected syscall999 returns ENOSYS; child checks the negative result; trace contains no subsequent child execve; no public child output appears | +| New compiler, mode0 without tracer | 0 | Positive integration result reproduced without tracing | + +The old compiler controls are meaningful failures of the tested property, not security-check passes. The unavailable-syscall run is controlled fault injection on the current kernel, not qualification on an actual older kernel. + +Representative independent trace observations: + +```text +close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +execve("./exec-child", ["./exec-child"], ... /* 0 vars */) = 0 +read(3, ..., 1) = -1 EBADF +read(65537, ..., 1) = -1 EBADF +read(0, "public-input", 12) = 12 +write(1, "public-output", 13) = 13 +``` + +`green1.strace` independently records successful closure followed by failed `execve` and EBADF for both handles. `unavailable3.strace` records ENOSYS from syscall999 with no child exec. Trace files contain only this disposable synthetic workload; no private-resource reads were used. + +## Raw build commands and exits + +The final source, fixtures and documentation were copied into `src/`; existing om4 into `bin/om4`; the independently rebuilt pre-change compiler from the earlier #669 review into `bin/old-cc`. Working directory for these commands was the reviewer artifact directory. + +```sh +bin/om4 < src/omc.om > bin/stage1 2> stage1.err +readelf -h bin/stage1 > /dev/null +chmod +x bin/stage1 +bin/stage1 < src/omc.om > bin/stage2 2> stage2.err +readelf -h bin/stage2 > /dev/null +chmod +x bin/stage2 +cmp bin/stage1 bin/stage2 +bin/stage2 < src/exec-parent.om > bin/exec-parent 2> parent-build.err +readelf -h bin/exec-parent > /dev/null +chmod +x bin/exec-parent +bin/stage2 < src/exec-child.om > bin/exec-child 2> child-build.err +readelf -h bin/exec-child > /dev/null +chmod +x bin/exec-child +bin/old-cc < src/exec-parent.om > bin/old-parent 2> old-parent-build.err +readelf -h bin/old-parent > /dev/null +chmod +x bin/old-parent +bin/stage2 < src/branch-mutate.om > bin/mutator 2> mutator-build.err +readelf -h bin/mutator > /dev/null +chmod +x bin/mutator +bin/mutator 2 < src/omc.om > src/unavailable.om +bin/stage2 < src/unavailable.om > bin/unavailable-cc 2> unavailable-cc-build.err +readelf -h bin/unavailable-cc > /dev/null +chmod +x bin/unavailable-cc +bin/unavailable-cc < src/exec-parent.om > bin/unavailable-parent 2> unavailable-parent-build.err +readelf -h bin/unavailable-parent > /dev/null +chmod +x bin/unavailable-parent +``` + +Every command above exited0 under `set -e`. No failed or empty compiler output was executed. Compiler fixed-point equality is recorded only as same-lineage reproducibility. + +## Raw integration commands and exits + +Each named case had a fresh directory and a copy of the identified `bin/exec-child`. The secret file was created exclusively by the `.om` parent inside that directory. + +```sh +cd cases/green0 +printf '\000' | timeout 10s strace -f -qq -e trace=close_range,execve,read,write -o ../../green0.strace ../../bin/exec-parent > ../../green0.out 2> ../../green0.err +# exit 0 +cd ../green1 +printf '\001' | timeout 10s strace -f -qq -e trace=close_range,execve,read,write -o ../../green1.strace ../../bin/exec-parent > ../../green1.out 2> ../../green1.err +# exit 0 +cd ../green2 +printf '\002' | timeout 10s strace -f -qq -e trace=close_range,execve,read,write -o ../../green2.strace ../../bin/exec-parent > ../../green2.out 2> ../../green2.err +# exit 0 +cd ../red0 +printf '\000' | timeout 10s strace -f -qq -e trace=close_range,execve,read,write -o ../../red0.strace ../../bin/old-parent > ../../red0.out 2> ../../red0.err +# exit 42 +cd ../red1 +printf '\001' | timeout 10s strace -f -qq -e trace=close_range,execve,read,write -o ../../red1.strace ../../bin/old-parent > ../../red1.out 2> ../../red1.err +# exit 55 +cd ../red2 +printf '\002' | timeout 10s strace -f -qq -e trace=close_range,execve,read,write -o ../../red2.strace ../../bin/old-parent > ../../red2.out 2> ../../red2.err +# exit 43 +cd ../unavailable3 +printf '\003' | timeout 10s strace -f -qq -e trace=all -o ../../unavailable3.strace ../../bin/unavailable-parent > ../../unavailable3.out 2> ../../unavailable3.err +# exit 0 +cd ../plain0 +printf '\000' | timeout 10s ../../bin/exec-parent > ../../plain0.out 2> ../../plain0.err +# exit 0 +``` + +## Identities (SHA256) + +| Artifact | SHA256 | +| --- | --- | +| Compiler source | `33ba46ab1fce0e2cab8f027187f55361bb9a949d597029454ca6641a756f65ac` | +| `exec-parent.om` | `b784dde3b862bfc7784015377447b3fffd4c6f1a37d04680e03960fbabc5a0de` | +| `exec-child.om` | `f2519f6be7068cf8af826101febd0f490327916322ac92a648dba9f3380324ec` | +| `branch-mutate.om` | `92b505c0328072322562efbc8c340671e6cd73ffc2356246d2fa110a992f5b38` | +| `OMEGESE.md` | `a85349d20ef20a4938ae8d4eebe1651b00fe5b9d6a110da83f3c386210514047` | +| Unavailable compiler source | `8065c74a1342c699d6a0a0c241461a5f3301c3486462f592958e3665d4b1b057` | +| Existing om4 | `d0da40e45f1fcc45d9a39c9c52c9d745b545e076970729e51c12d76ef519efab` | +| Compiler stages1 and2 | `6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55` | +| Old compiler, negative-control builder | `7c25129a0a8ec0604f93ec51eb2028ecfc6e04dde936a73aeaa5f24a2b3214b8` | +| New parent binary | `6723bdf57467e16a44984ce8d26fe784a4deac0c6f2e209bd96c822ff532025e` | +| Child binary | `4081e47ac39b4f1dff5f4367fad2f6ee0e45fbd47372f03559b9c559ed0e8014` | +| Old parent binary | `03d45d75ae66cfc15424675c78b318e4cdbd0a66d4c6d70c528bcee9263a2a6e` | +| Mutator binary | `41d00de1933c894a14b2125c727c33167ea4b6569ab24d9fa72cd94986a69daa` | +| Unavailable compiler binary | `2cbcd769891c3d3365cca73d22d871ae415dc75337116e36b1d8a9a7a15c8b12` | +| Unavailable parent binary | `74112ccaf838a53c480d8cc8b0e0c9c20bdce00e1077451e9ea8536b4e98f84f` | +| strace | `33b3ea325915f1213dc477d80e0f0b2b09ffeff5e81d98b25a35320fbcbcaf42` | +| timeout | `e9019c0a2fc634096cc1237f68b015fa8eb72f80cfc7d3fe69a1a4e2d9a24980` | + +`identities.txt` contains source and tool identities. Hashes identify tested artifacts; matching hashes do not prove correctness. + +## Compatibility risks and residual requirements + +- This intentionally removes inheritance of descriptors >=3 from `execprog`. Consumers requiring such inheritance must be changed or explicitly treated as unsupported. A failed executable-path lookup still leaves the calling process's extra descriptors closed after a successful close_range. The updated documentation states both behaviors. Callers wishing to preserve their own handles should use the existing forked-child launch pattern. +- Actual older kernels, kernel-memory exhaustion, policy-denied close_range, and shared-file-table concurrency were not physically exercised. The code's nonzero-result refusal was inspected; ENOSYS was tested through a compiler fault mutant. UNSHARE behavior relies on the supported kernel interface. +- Stdio can itself carry sensitive authority if the caller assigns it. Working directory, pathname access, network creation, subprocesses, and arbitrary native code remain unrestricted. An executable can reopen the synthetic file by path. This slice protects the inherited-handle channel only. +- The host tests inspected in the author's `host-check.log` report exit0, 41 negative controls and 70 unchanged original fixtures. That is author evidence inspected here, not an independent full consumer audit. Root retains the full branch-gate/host-suite rerun and final identity linkage. +- No runtime permission check, durable authority store, revocation fence, evaluator/promotion protection, resource quota, or device isolation was added or qualified by this prerequisite. #670 and the rest of #673 remain open for those requirements. +- The compiler and tests share a seed lineage. Kernel tracing is an independent observation boundary; this is bounded native integration testing, not formal proof or diverse-double-compilation. +- Only disposable synthetic data and local resources were used. No deployment, live-driver/GPU change, private upload, or automatic promotion occurred. No tracked implementation or test source was modified by the reviewer. diff --git a/evidence/SECURITY-673/independent670/artifacts.tar.gz b/evidence/SECURITY-673/independent670/artifacts.tar.gz new file mode 100644 index 000000000..75034e548 Binary files /dev/null and b/evidence/SECURITY-673/independent670/artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/independent671/REPORT.md b/evidence/SECURITY-673/independent671/REPORT.md new file mode 100644 index 000000000..21095eb9e --- /dev/null +++ b/evidence/SECURITY-673/independent671/REPORT.md @@ -0,0 +1,129 @@ +# Independent review: bounded #671 compiler-source campaign + +Date: 2026-10-23. Reviewer: `review_branch_qualification`, separate review agent. +Author tree: `/home/drakestapleton/workspace/omega-security673-qualified`. +Base: `12d971c7a5d4d6eb14b8ec7768b43d88e241374c`. The campaign changes were uncommitted when copied for review; the exact source identities below define the reviewed snapshot. + +**Verdict: no remaining finding in the final18-case deterministic source campaign. Independent mode3 replay and the normal #669 regression both exited0. This does not close #671 or qualify arbitrary hostile input, comprehensive fuzzing, other ingress paths, or system-wide resource limits.** + +## Threat, asset, enforcing paths and oracle + +The tested threat is malformed or oversized source causing incorrect acceptance, incomplete output, or compiler failure while consuming its bounded parser tables and input pool. Protected assets are compiler availability and correct refusal before an artifact is accepted. + +Existing enforcement is in `seed/omc/omc.om`: `tok_num` at157 (20-digit limit), `tok_text` at208 (quoted text), `pushb` at1123 (512 blocks), `arrlen` at1151 (array length), `rdval` around2649 (1024 value frames), `s_fn` at3092 (512 functions), and `main` at3975 (input capacity). This campaign tests existing compiler behavior; it adds no new parser implementation or production fallback. + +The preexisting seeded profile in `docs/one_layer/OMEGESE.md`, sections9.3,9.4,9.6, independently states numeric, array and capacity limits. The nested-expression oracle is elementary boolean negation: an even number of `not` operations preserves the true comparison, returning0; an odd number selects the other arm, returning1. The final campaign includes both outcomes. This is a specification/math oracle for the enumerated cases, not a second independent compiler or general semantics proof. + +Supported platform tested: Linux7.0.0-1019-nvidia, AArch64 GNU/Linux. Native execution only. No emulation, device or GPU operation was used. + +## Final case results + +All18 cases matched their declared compiler status. Each of the8 accepted fixed-compiler programs was executed, with the exit shown. All10 refused compiler outputs were verified empty by the coordinator. + +| Synthetic source | Compiler exit | Program exit | +| --- | --- | --- | +| 20-digit zero token | 0 | 0 | +| 21-digit zero token | 6 | Not executed; empty artifact | +| 1,000,001-digit token | 6 | Not executed; empty artifact | +| 1000 nested `not` operators | 0 | 0 | +| 1021 nested `not` operators | 0 | 1 | +| 1022 nested `not` operators, maximum for this fixture | 0 | 0 | +| 1023 nested `not` operators | 14 | Not executed; empty artifact | +| 512 nested blocks | 0 | 0 | +| 513 nested blocks | 14 | Not executed; empty artifact | +| 1,000,001-byte quoted literal | 0 | 0 | +| 511 extra functions plus main | 0 | 0 | +| 512 extra functions plus main | 14 | Not executed; empty artifact | +| NUL input byte | 16 | Not executed; empty artifact | +| Array length16777217 | 23 | Not executed; empty artifact | +| Unterminated quote | 22 | Not executed; empty artifact | +| Unknown value name | 3 | Not executed; empty artifact | +| 1,000,001 leading whitespace bytes | 0 | 0 | +| 8MiB leading whitespace plus program, beyond input capacity | 14 | Not executed; empty artifact | + +These are18 cases across a smaller set of source families, not18 distinct parser families. The 1022-operator boundary includes the fixture's comparison and operands within the documented value-frame limit; it is not a claim that the general profile permits only1022 levels. + +## Meaningful negative control + +The `.om` mutator mode3 changed exactly one compiler guard from `if gt ndig 20` to `if gt ndig 21`. Independent source diff confirmed that sole change; `git diff --no-index` exited1 to report the difference, not a security-check failure. + +The transformed compiler compiled successfully. On the same21-zero token fixture, it returned0 and emitted a216-byte ELF; the fixed compiler returned6 and emitted0 bytes. The preexisting20-digit profile makes the mutant's acceptance a detected contract violation. This is a compiled control, not an imagined mutation or helper predicate. The accepted mutant artifact was format-inspected only and was not executed. The ordinary accepted fixed-compiler programs were all executed. + +During review, the initial accepted nesting cases covered even parity only. The author added the1021-operator case expecting1; the independent final run confirmed that opposite outcome. No compiler defect was found by that coverage improvement. + +## Independent replay and raw commands + +Snapshot and raw artifacts: `/tmp/omega671-review.ezC3u5/`. Preserve this entire directory with the durable evidence before temporary files are reclaimed. + +Compiler source, qualification `.om` files, existing om4 and the profile were copied into this fresh disposable directory. The runner was built with the independently reconstructed #670 compiler, whose binary hash is recorded below. These commands completed with the stated exits: + +```sh +/tmp/omega670-review.bScRBA/bin/stage2 < /tmp/omega671-review.ezC3u5/seed/qualification/security673/gate669.om > /tmp/omega671-review.ezC3u5/gate669 2> /tmp/omega671-review.ezC3u5/gate-build.err +# exit 0 +readelf -h /tmp/omega671-review.ezC3u5/gate669 > /dev/null +# exit 0 +chmod +x /tmp/omega671-review.ezC3u5/gate669 +# exit 0 +cd /tmp/omega671-review.ezC3u5 +/usr/bin/time -v -o hostile.resources ./gate669 3 > hostile.log 2> hostile.err +# exit 0 +mv build/security673-native build/security673-native-hostile +# exit 0; preserve the complete first run +/usr/bin/time -v -o branch.resources ./gate669 > branch.log 2> branch.err +# exit 0 +sha256sum build/security673-native-hostile/* > hostile-artifacts.sha256 +# exit 0 +sha256sum build/security673-native/* > branch-artifacts.sha256 +# exit 0 +git diff --no-index seed/omc/omc.om build/security673-native-hostile/1067 +# exit 1; only the numeric guard20->21 differs +wc -c build/security673-native-hostile/1071 build/security673-native-hostile/1072 +# exit 0; 216 bytes mutant artifact, 0 bytes fixed refusal +``` + +`hostile.log` and `branch.log` contain every child command, input/output/error path, measured child elapsed interval, actual exit and expected exit. The source run ended with `GATE671 SOURCE PASS bounded synthetic source families only`; the regression ended with the bounded #669 PASS statement. The source run's printed paths retain their original `build/security673-native` prefix; its files were subsequently preserved under `build/security673-native-hostile`. + +The normal #669 replay exercises the final expanded mutator's original modes and the compiler containing the #670 exec change. It passed the branch boundaries, actual backward-array caller, independent decoder controls and branch-range mutant. GNU objdump2.42 supplies the separate decoding boundary for that regression. + +## Resource observations and failed attempts + +GNU Time reported0.09 seconds elapsed,0.03 user seconds,0.02 system seconds and8160KiB maximum resident set size for the source campaign. It reported1.79 seconds elapsed and8160KiB maximum resident set size for the normal branch regression. The largest child interval logged by the source coordinator was8463834ns. These are observations from one run, not performance guarantees, memory quotas, total concurrent-memory bounds or proof of denial-of-service resistance. GNU Time reports its version as `UNKNOWN`; its exact binary hash is recorded below. + +The coordinator's previously reviewed direct-child30-second deadline remains in place. The campaign does not add process-tree isolation, kernel memory limits, output quotas, or sandbox enforcement. + +Author failures remain excluded from acceptance: `gen-build.err` records error13; earlier `gate1.log` and `gate2.log` record unexpected compiler exits11 and9, with gate exit99. Those invalid fixtures were corrected before this final snapshot. Neither their build errors nor failed executions count as passing security checks. The independent final replay had no unexpected crash, build failure, missing run, signal, or timeout. + +## Identities (SHA256) + +`identities.txt` identifies all copied qualification sources, the profile, runner and external tools. `hostile-artifacts.sha256` and `branch-artifacts.sha256` identify every generated fixture, compiled binary, output and stderr file in each run. + +| Artifact | SHA256 | +| --- | --- | +| Compiler source, unchanged from #670 review | `33ba46ab1fce0e2cab8f027187f55361bb9a949d597029454ca6641a756f65ac` | +| `hostile-corpus.om` | `0590fa1f3ec5d6119dae81cdbdaba51cdcd50dba21eacd7d50c743e92024e8fb` | +| Final `gate669.om` | `c04e986c01ef5132cd5d578a170cc941e8c1868ad427277a7536b7a959a55b2d` | +| Final `branch-mutate.om` | `94285a3a6cfcf20162e551d491c9a2ed7d18b13106f55acbed8b5f9310e9f9e6` | +| Seeded language profile | `a85349d20ef20a4938ae8d4eebe1651b00fe5b9d6a110da83f3c386210514047` | +| Existing om4 | `d0da40e45f1fcc45d9a39c9c52c9d745b545e076970729e51c12d76ef519efab` | +| Compiler stages1/2 and reviewer runner-builder | `6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55` | +| Runner binary | `03b8cdbf5fa7f9de45960d0d27d5adf0a62bda9be58508c9efb859dd4541f522` | +| Hostile fixture generator binary | `ee831be16f8bc39c70e02046d22bfe58ec09640b7d06b8b8c3aa9f60d4d8c305` | +| Mutant compiler source | `a87e8e1707194a813cf2a0bf5794b0b2521e01a5e181aca24c5d4af4456c1a41` | +| Mutant compiler binary | `49fec1a7fb310e5cd2f00e5e9d7d49ba7891028dd330a7ec9ef7bc996553e740` | +|21-digit negative-control fixture | `7919f2bd33fed2a20026f2f3956a5c2d786b5a26522b5503d938f8a219891464` | +|216-byte mutant artifact | `6d02cbf1e06350934eae247a1ec3df2746deba5064d955b0505043c786209898` | +| Source-run artifact manifest | `01c6e0170840694ad04ef68ff2143ac0deea616e8671a8383dad07521b5ba6a1` | +| Branch-run artifact manifest | `99f8e24754fe5307f7016bedbda44945af5e595e5893a87413195bc62fb3927d` | +| Source log | `e92e573e877b03150a8119afdbd4a856e7a8cfa5c90a6a8add59203c1f793c19` | +| Branch log | `becd55cc50c6078f1c88e0aaef43cc3982ab46deba664832b1c38f71b10212d9` | +| `/usr/bin/time` | `4a445f72fefaf4127931df2b799aa885e27553b5a55e104a329d41fc8dc83083` | +| `/usr/bin/objdump` | `f2e917a5d118ebf5679b24740e20d30338308e7f3f0630527c469de452d5a250` | + +Hashes bind the observations to artifacts. They do not establish correctness. + +## Remaining scope + +- This is a bounded deterministic campaign, not comprehensive fuzzing, an exhaustive parser proof, or qualification of all #671 ingress paths. Network protocols, serialized authority/store records, device input and other parsers are outside this review. +- All first-party generator, mutator and verdict logic inspected here is `.om`, compiled through the existing seed lineage. The lineage remains shared, so correlated compiler defects remain an assumption. Profile bounds and parity provide independently stated expectations, not diverse compilation. +- No private data, live services, drivers, devices or model workloads were used. No production source was modified by this campaign, and no source was edited by the reviewer. No deployment, GitHub action or automatic promotion occurred. +- Existing #669/#670 reviews and their residual limits remain applicable. This report does not approve the entire security workstream, all compiler semantics, or release readiness. diff --git a/evidence/SECURITY-673/independent671/artifacts.tar.gz b/evidence/SECURITY-673/independent671/artifacts.tar.gz new file mode 100644 index 000000000..ee4d8f9fe Binary files /dev/null and b/evidence/SECURITY-673/independent671/artifacts.tar.gz differ diff --git a/evidence/SECURITY-673/ingress-inventory.md b/evidence/SECURITY-673/ingress-inventory.md new file mode 100644 index 000000000..9f4c8b110 --- /dev/null +++ b/evidence/SECURITY-673/ingress-inventory.md @@ -0,0 +1,49 @@ +# Active and planned .om ingress inventory for Omega #671 + +Date: 2026-10-23. Source of truth: the seeded compiler on `fix/security673-qualified`, plus the +legacy owners named in each row. This is an inventory of what exists, not a claim that every row is +qualified. + +## Active seeded `.om` ingress + +| Path | Implementation owner | Bound and refusal | Current qualification | +| --- | --- | --- | --- | +| Compiler source text (`seed/omc/omc.om` stdin) | `tok_num`, `tok_text`, `rdval`, `pushb`, `s_fn`, `main` | 20-digit numbers; 1024 value frames; 512 blocks; 512 functions; 4095-byte paths; 8 MiB input; explicit errors | `hostile1` (18 cases) and `branchforms1` | +| Packed host-word lists, including `execprog` | `hpack` in `seed/omc/omc.om` | count 1..64; total at most 4096 bytes; exact record lengths; no trailing bytes; no embedded zero; nonempty executable | `packet1` (9 cases, `execprog`) | +| Native argument vector read by a program | `argread` | 1 MiB scan bound; short-buffer refusal | NOT_RUN at the adversarial boundary; ordinary host tests pass | +| Native path words (`fopen`, `readlnk`, `cwd`, `fchmod`) | `hpath`/`hpathcp` in `seed/omc/omc.om` | path at most 4095 bytes; embedded zero traps 3; array bounds and byte types checked | NOT_RUN at the adversarial boundary; host tests pass | +| Rename packet (`renames`) | `hpack` | exactly two nonempty path records; same packet limits | NOT_RUN separately; shares the `execprog` parser | + +## Legacy or planned paths without a seeded `.om` implementation + +These are named by #671 but are not implemented in the seeded `.om` closure today. They must not be +counted as PASS. The replacement owner is the existing component owner under the `.om` migration +programme; this workstream does not create a second parser, authority or store. + +| Path | Current owner | Status | +| --- | --- | --- | +| Manifests and lock files | repository build/release owners | legacy / migration dependency | +| Signed receipts and evidence bundles | receipt/checker owners (`c2_receipt`, existing runners) | legacy; not canonicalized under a single `.om` parser | +| RPC and tool arguments | interplane/runtime owners | legacy C/Rust; no `.om` ingress | +| Model, tokenizer and artifact metadata | model loader owners | legacy; no `.om` parser | +| Trace bundles | `rx_argus` / trace owners | legacy; `#607` privacy work remains open | +| Device command descriptions | device/runtime owners (`#672`) | not implemented; hardware profiles remain NOT_RUN | +| Network protocol framing | OSH/transport owners | legacy; no `.om` parser | + +## Canonicalization and authentication notes + +Only the packed-list format has an exact byte-consumption rule in the active `.om` path: the count, +each record length and the end of the packet must agree, and trailing bytes are refused. Source text +is line-oriented; numeric and name tokens are bounded, but the compiler does not authenticate its +input and makes no canonical-form claim. Receipt and manifest authentication remains with the legacy +receipt owners until their `.om` successors exist. + +## Next bounded steps + +1. Repeat the packed-list campaign for `renames` and the path words. +2. Add adversarial `argread` cases (no zero terminator, 1 MiB bound, short output). +3. When the receipt/checker `.om` successor exists, bind authentication and interpretation to the + same bytes and test duplicate/trailing authority fields. +4. Feed accepted coverage into #624; keep device and network paths explicitly NOT_RUN. + +No private data, live service or device was used for this inventory. diff --git a/evidence/SECURITY-673/large-if-baseline.err b/evidence/SECURITY-673/large-if-baseline.err new file mode 100644 index 000000000..dfc6810ff --- /dev/null +++ b/evidence/SECURITY-673/large-if-baseline.err @@ -0,0 +1 @@ +omc: line 1: error 16 diff --git a/evidence/SECURITY-673/packet1/REPORT.md b/evidence/SECURITY-673/packet1/REPORT.md new file mode 100644 index 000000000..4d2bb5d8b --- /dev/null +++ b/evidence/SECURITY-673/packet1/REPORT.md @@ -0,0 +1,64 @@ +# Packed-list ingress qualification for Omega #671 + +Date: 2026-10-23. Parent tracker: #673. Branch: `fix/security673-qualified`. +Platform: Linux AArch64, native execution. No device, GPU or network ingress was exercised. + +## Threat and protected property + +A caller-supplied packed list can be truncated, over-counted, padded with trailing bytes, contain an +embedded zero in a path, or carry an offset/length that exceeds the actual array. The protected +assets are the compiler's host-word acceptance decision and the kernel argument vector: a malformed +packet must trap before `execve`, and a valid one must be consumed exactly. + +Enforcement is the existing `hpack` lowering in `seed/omc/omc.om` (line 2533) for `execprog`, +`renames` and the other packed-list words. At runtime it requires a `u16` count in 1..64, a total +packet of at most 4096 bytes, a `u16` length plus that many bytes per record, a nonempty first +record for `execprog`, no embedded zero, and no trailing bytes. Failures trap 3 before descriptor +closure and before `execve`. The parser is emitted into the compiled program; the test consumer is +a normal compiler output, not a copied implementation. + +## Cases and results + +`packet-corpus.om` writes raw packets; `pkt-consumer.om` reads up to 4096 bytes and calls +`execprog pkt 0 n`. The coordinator compiles both with the rebuilt compiler, generates each packet, +and compares the consumer exit. Exit 0 means `/bin/true` was executed; exit 103 is trap 3. + +| Mode | Packet | Expected exit | Observed | +| --- | --- | --- | --- | +| 0 | one record `/bin/true` | 0 | 0 | +| 1 | count 0 | 103 | 103 | +| 2 | count 65 | 103 | 103 | +| 3 | count 1, length 5, three bytes | 103 | 103 | +| 4 | valid record plus one trailing byte | 103 | 103 | +| 5 | first record empty | 103 | 103 | +| 6 | embedded NUL in `/bin/tr\0ue` | 103 | 103 | +| 7 | record length 4093 with 4092 bytes present | 103 | 103 | +| 8 | 64 records, first `/bin/true` | 0 | 0 | + +Mode 7 is exactly 4096 bytes on stdin; the declared record length exceeds the bytes actually +present, so the parser refuses rather than reading past the packet. The accepted modes execute the +real executable, so the test also proves the parser produced a usable argument vector for the +kernel, not just a return value. + +## Executed gates + +| Command | Result | +| --- | --- | +| `build/gate669-pkt` (normal) | exit 0, `GATE669 PASS` | +| `build/gate669-pkt 3` (source campaign) | exit 0, `GATE671 SOURCE PASS` | +| `sh seed/host/gate.sh` | exit 0, all host groups pass | + +Raw output is `gate-packet.log`, `gate-hostile.log` and `host-gate.log`; stderr for the gate runs is +empty. `identities.txt` binds the compiler, corpus, consumer, gate and logs by SHA256. + +## Residual limits + +- `execprog` is qualified; `renames` and other `hpack` words share the parser but were not separately + exercised with their own record-count and path rules. +- `argread`, native path words, environment strings, manifests, receipts, RPC arguments, model + metadata, trace bundles and device command descriptions remain under the inventory in + `../ingress-inventory.md`. Only the compiler source and packed-list paths are currently active + seeded `.om` ingress. +- This is a deterministic case set, not grammar-aware fuzzing, a complete parser proof, or a kernel + resource limit. The compiler, corpus and consumer share the seed lineage. +- This does not close #671 or #673. diff --git a/evidence/SECURITY-673/packet1/gate-hostile.err b/evidence/SECURITY-673/packet1/gate-hostile.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/packet1/gate-hostile.log b/evidence/SECURITY-673/packet1/gate-hostile.log new file mode 100644 index 000000000..9244bac08 --- /dev/null +++ b/evidence/SECURITY-673/packet1/gate-hostile.log @@ -0,0 +1,161 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2135249 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4350820 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/hostile-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1103817 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1004 > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1074041 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1005 > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1102009 +exit=0 expected=0 +build/security673-native/1006 < /dev/null > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=1069720 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1081816 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1009 > build/security673-native/1010 2> build/security673-native/501010 +elapsed_ns=1111049 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1011 > build/security673-native/1012 2> build/security673-native/501012 +elapsed_ns=1098169 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=8147810 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1086280 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1015 > build/security673-native/1016 2> build/security673-native/501016 +elapsed_ns=1072729 +exit=0 expected=0 +build/security673-native/1016 < /dev/null > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1080473 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1075129 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1019 > build/security673-native/1020 2> build/security673-native/501020 +elapsed_ns=1081817 +exit=0 expected=0 +build/security673-native/1020 < /dev/null > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1082840 +exit=1 expected=1 +build/security673-native/1003 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1094937 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1023 > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1082745 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1093561 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1026 > build/security673-native/1027 2> build/security673-native/501027 +elapsed_ns=1080392 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=2155937 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1029 > build/security673-native/1030 2> build/security673-native/501030 +elapsed_ns=1079929 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1084441 +exit=0 expected=0 +build/security673-native/1031 < /dev/null > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1078441 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1507741 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1086921 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1086841 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=13931826 +exit=0 expected=0 +build/security673-native/1038 < /dev/null > build/security673-native/1039 2> build/security673-native/501039 +elapsed_ns=1058936 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=2115314 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1041 > build/security673-native/1042 2> build/security673-native/501042 +elapsed_ns=1070168 +exit=0 expected=0 +build/security673-native/1042 < /dev/null > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1057241 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1044 > build/security673-native/1045 2> build/security673-native/501045 +elapsed_ns=2148449 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1072265 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1047 > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1085688 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +elapsed_ns=1078137 +exit=16 expected=16 +build/security673-native/1003 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1085801 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1096041 +exit=23 expected=23 +build/security673-native/1003 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1069657 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1064776 +exit=22 expected=22 +build/security673-native/1003 < build/security673-native/1056 > build/security673-native/1057 2> build/security673-native/501057 +elapsed_ns=1060233 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1061064 +exit=3 expected=3 +build/security673-native/1003 < build/security673-native/1059 > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1433420 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +elapsed_ns=10525253 +exit=0 expected=0 +build/security673-native/1061 < /dev/null > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1060168 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=4359940 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1064 > build/security673-native/1065 2> build/security673-native/501065 +elapsed_ns=5334171 +exit=14 expected=14 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1074648 +exit=0 expected=0 +build/security673-native/1066 3 < seed/omc/omc.om > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1095497 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1067 > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=4695414 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1085881 +exit=0 expected=0 +build/security673-native/1068 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1083801 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1085289 +exit=6 expected=6 +NEGATIVE CONTROL: compiled numeric-limit bypass admits21 digits; this violates the20-digit profile. Fixed compiler refuses6. +GATE671 SOURCE PASS bounded synthetic source families only diff --git a/evidence/SECURITY-673/packet1/gate-packet.err b/evidence/SECURITY-673/packet1/gate-packet.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/packet1/gate-packet.log b/evidence/SECURITY-673/packet1/gate-packet.log new file mode 100644 index 000000000..be2517586 --- /dev/null +++ b/evidence/SECURITY-673/packet1/gate-packet.log @@ -0,0 +1,379 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2170721 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4260371 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1079545 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +elapsed_ns=2151394 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=2166913 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1098376 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=4219218 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1103769 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +elapsed_ns=1093913 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=1090553 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1501709 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=2162706 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1086760 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=2198018 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=2118385 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=2145137 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1094345 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1079960 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1960992 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +elapsed_ns=1090489 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1096201 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1079289 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1776110 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=2167890 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1084760 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1087928 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +elapsed_ns=2169777 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1087353 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1221194 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1103321 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1075928 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1076376 +exit=62 expected=62 +build/security673-native/1002 < seed/qualification/security673/branch-forms.om > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1087432 +exit=0 expected=0 +build/security673-native/1048 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1071513 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1107257 +exit=0 expected=0 +build/security673-native/1051 < /dev/null > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1079001 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1072344 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1103673 +exit=0 expected=0 +build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1079881 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1041065 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +elapsed_ns=1099337 +exit=0 expected=0 +build/security673-native/1059 < /dev/null > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1122809 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1097145 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1062 > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1079593 +exit=0 expected=0 +build/security673-native/1063 < /dev/null > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=1074505 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1071033 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1079049 +exit=0 expected=0 +build/security673-native/1067 < /dev/null > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1084297 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1071960 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1083321 +exit=0 expected=0 +build/security673-native/1071 < /dev/null > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1070889 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +elapsed_ns=1071800 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +elapsed_ns=1078280 +exit=0 expected=0 +build/security673-native/1075 < /dev/null > build/security673-native/1076 2> build/security673-native/501076 +elapsed_ns=1084409 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +elapsed_ns=1069880 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +elapsed_ns=1070793 +exit=0 expected=0 +build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +elapsed_ns=1066553 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1081 > build/security673-native/1082 2> build/security673-native/501082 +elapsed_ns=1078905 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1082 > build/security673-native/1083 2> build/security673-native/501083 +elapsed_ns=1070680 +exit=0 expected=0 +build/security673-native/1083 < /dev/null > build/security673-native/1084 2> build/security673-native/501084 +elapsed_ns=1066793 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1085 > build/security673-native/1086 2> build/security673-native/501086 +elapsed_ns=1173657 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1086 > build/security673-native/1087 2> build/security673-native/501087 +elapsed_ns=1077033 +exit=0 expected=0 +build/security673-native/1087 < /dev/null > build/security673-native/1088 2> build/security673-native/501088 +elapsed_ns=1067592 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1089 > build/security673-native/1090 2> build/security673-native/501090 +elapsed_ns=1072472 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1090 > build/security673-native/1091 2> build/security673-native/501091 +elapsed_ns=1097208 +exit=0 expected=0 +build/security673-native/1091 < /dev/null > build/security673-native/1092 2> build/security673-native/501092 +elapsed_ns=1073385 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1093 > build/security673-native/1094 2> build/security673-native/501094 +elapsed_ns=1087401 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1094 > build/security673-native/1095 2> build/security673-native/501095 +elapsed_ns=1093849 +exit=0 expected=0 +build/security673-native/1095 < /dev/null > build/security673-native/1096 2> build/security673-native/501096 +elapsed_ns=1077529 +exit=21 expected=21 +build/security673-native/1048 < build/security673-native/1097 > build/security673-native/1098 2> build/security673-native/501098 +elapsed_ns=1067129 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1098 > build/security673-native/1099 2> build/security673-native/501099 +elapsed_ns=1082233 +exit=0 expected=0 +build/security673-native/1099 < /dev/null > build/security673-native/1100 2> build/security673-native/501100 +elapsed_ns=1078489 +exit=30 expected=30 +build/security673-native/1048 < build/security673-native/1101 > build/security673-native/1102 2> build/security673-native/501102 +elapsed_ns=1084425 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1102 > build/security673-native/1103 2> build/security673-native/501103 +elapsed_ns=1075113 +exit=0 expected=0 +build/security673-native/1103 < /dev/null > build/security673-native/1104 2> build/security673-native/501104 +elapsed_ns=1086760 +exit=107 expected=107 +build/security673-native/1048 < build/security673-native/1105 > build/security673-native/1106 2> build/security673-native/501106 +elapsed_ns=1072521 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1106 > build/security673-native/1107 2> build/security673-native/501107 +elapsed_ns=1098313 +exit=0 expected=0 +build/security673-native/1107 < /dev/null > build/security673-native/1108 2> build/security673-native/501108 +elapsed_ns=1080664 +exit=102 expected=102 +build/security673-native/1002 < seed/qualification/security673/packet-corpus.om > build/security673-native/1109 2> build/security673-native/501109 +elapsed_ns=1088185 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/pkt-consumer.om > build/security673-native/1110 2> build/security673-native/501110 +elapsed_ns=1071609 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1111 > build/security673-native/1112 2> build/security673-native/501112 +elapsed_ns=1092712 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1112 > build/security673-native/1113 2> build/security673-native/501113 +elapsed_ns=1079193 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1114 > build/security673-native/1115 2> build/security673-native/501115 +elapsed_ns=1080185 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1115 > build/security673-native/1116 2> build/security673-native/501116 +elapsed_ns=1075145 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1117 > build/security673-native/1118 2> build/security673-native/501118 +elapsed_ns=1096089 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1118 > build/security673-native/1119 2> build/security673-native/501119 +elapsed_ns=1082441 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1120 > build/security673-native/1121 2> build/security673-native/501121 +elapsed_ns=1219338 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1121 > build/security673-native/1122 2> build/security673-native/501122 +elapsed_ns=1072041 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1123 > build/security673-native/1124 2> build/security673-native/501124 +elapsed_ns=1067321 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1124 > build/security673-native/1125 2> build/security673-native/501125 +elapsed_ns=1071625 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1126 > build/security673-native/1127 2> build/security673-native/501127 +elapsed_ns=1070552 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1127 > build/security673-native/1128 2> build/security673-native/501128 +elapsed_ns=1069800 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1129 > build/security673-native/1130 2> build/security673-native/501130 +elapsed_ns=1071337 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1130 > build/security673-native/1131 2> build/security673-native/501131 +elapsed_ns=1086969 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1132 > build/security673-native/1133 2> build/security673-native/501133 +elapsed_ns=1085945 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1133 > build/security673-native/1134 2> build/security673-native/501134 +elapsed_ns=1071336 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1135 > build/security673-native/1136 2> build/security673-native/501136 +elapsed_ns=1068649 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1136 > build/security673-native/1137 2> build/security673-native/501137 +elapsed_ns=1087513 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1138 > build/security673-native/1139 2> build/security673-native/501139 +elapsed_ns=1081449 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1139 > build/security673-native/1140 2> build/security673-native/501140 +elapsed_ns=1080649 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1140 < /dev/null > build/security673-native/1141 2> build/security673-native/501141 +elapsed_ns=3928704 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1141 > build/security673-native/1142 2> build/security673-native/501142 +elapsed_ns=1073961 +exit=0 expected=0 +build/security673-native/1140 < /dev/null > build/security673-native/1143 2> build/security673-native/501143 +elapsed_ns=1056648 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1144 > build/security673-native/1145 2> build/security673-native/501145 +elapsed_ns=75774664 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1145 > build/security673-native/1146 2> build/security673-native/501146 +elapsed_ns=135281436 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1146 < /dev/null > build/security673-native/1147 2> build/security673-native/501147 +elapsed_ns=224424256 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1147 > build/security673-native/1148 2> build/security673-native/501148 +elapsed_ns=68002281 +exit=0 expected=0 +build/security673-native/1146 < /dev/null > build/security673-native/1149 2> build/security673-native/501149 +elapsed_ns=1066089 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1150 > build/security673-native/1151 2> build/security673-native/501151 +elapsed_ns=86292621 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1151 > build/security673-native/1152 2> build/security673-native/501152 +elapsed_ns=116564947 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1153 > build/security673-native/1154 2> build/security673-native/501154 +elapsed_ns=173666435 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1154 > build/security673-native/1155 2> build/security673-native/501155 +elapsed_ns=111093735 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1156 > build/security673-native/1157 2> build/security673-native/501157 +elapsed_ns=100534930 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1157 > build/security673-native/1158 2> build/security673-native/501158 +elapsed_ns=110496178 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1159 > build/security673-native/1160 2> build/security673-native/501160 +elapsed_ns=98202814 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1160 > build/security673-native/1161 2> build/security673-native/501161 +elapsed_ns=109288008 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1162 > build/security673-native/1163 2> build/security673-native/501163 +elapsed_ns=86162844 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1163 > build/security673-native/1164 2> build/security673-native/501164 +elapsed_ns=64222778 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1165 2> build/security673-native/501165 +elapsed_ns=1090089 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1165 > build/security673-native/1166 2> build/security673-native/501166 +elapsed_ns=4285667 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1167 > build/security673-native/1168 2> build/security673-native/501168 +elapsed_ns=81141347 +exit=0 expected=0 +build/security673-native/1166 < build/security673-native/1168 > build/security673-native/1169 2> build/security673-native/501169 +elapsed_ns=136363909 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1169 < /dev/null > build/security673-native/1170 2> build/security673-native/501170 +elapsed_ns=222213566 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1170 > build/security673-native/1171 2> build/security673-native/501171 +elapsed_ns=71980425 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1168 > build/security673-native/1172 2> build/security673-native/501172 +elapsed_ns=85033428 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1173 2> build/security673-native/501173 +elapsed_ns=1077273 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/packet1/host-gate.log b/evidence/SECURITY-673/packet1/host-gate.log new file mode 100644 index 000000000..f721edcbb --- /dev/null +++ b/evidence/SECURITY-673/packet1/host-gate.log @@ -0,0 +1,9 @@ +PASS native files, errno, exclusive creation, permissions, seek, sync and monotonic time +PASS native argument access, empty arguments, UTF-8 bytes and short-buffer refusal +PASS native socket exchange, poll timeout, fork, accept and child reaping +PASS native TCP loopback exchange on an OS-assigned port +PASS native exec with exact arguments, exec failure, pipes, descriptor duplication, sleep, kill and wait +PASS native directory enumeration, file metadata and rename without overwriting +PASS native syscall errors and nested expression register preservation +PASS native cwd and readlnk offsets, counts, truncation, errno and private path copy +PASS native socket options with independent bind behavior, readonly input and errno diff --git a/evidence/SECURITY-673/packet1/identities.txt b/evidence/SECURITY-673/packet1/identities.txt new file mode 100644 index 000000000..15ea536f6 --- /dev/null +++ b/evidence/SECURITY-673/packet1/identities.txt @@ -0,0 +1,9 @@ +33ba46ab1fce0e2cab8f027187f55361bb9a949d597029454ca6641a756f65ac seed/omc/omc.om +afcffb8088b8d64388a2754fa290b44d7cc443561097a91e7e25b5b2682b6f11 seed/qualification/security673/branch-forms.om +271ff8db433c426bfe9dcfb8c0f5a72edeaa2768c2bf6d7fc26dbf1656ab69ab seed/qualification/security673/packet-corpus.om +1c427e7fdfecb20e255f33c790fded84fbab28c3cdbcd8ec5da661080812314d seed/qualification/security673/pkt-consumer.om +dba9b7e3bf50099cdb4d78e30ee6bc670cabf2cbbbb35b641967a28080527758 seed/qualification/security673/gate669.om +6b5d94033b9705d78c8e85e806612aac5a94d90f217c54a97fe1891a2ce5aa55 seed/out/omc +2b9bce14a21a10d814b88b83e8c59d86decbe1c2f17ee6f081797a490f3a57ad build/gate669-forms +c8001cba9f008f14eff57ba3df48f8f7ae91bf51769bdd8bff014d3c0471c77a evidence/SECURITY-673/branchforms1/gate-branch.log +c8001cba9f008f14eff57ba3df48f8f7ae91bf51769bdd8bff014d3c0471c77a evidence/SECURITY-673/packet1/gate-packet.log diff --git a/evidence/SECURITY-673/paths1/REPORT.md b/evidence/SECURITY-673/paths1/REPORT.md new file mode 100644 index 000000000..9969f6a8c --- /dev/null +++ b/evidence/SECURITY-673/paths1/REPORT.md @@ -0,0 +1,51 @@ +# Native path and argument ingress for Omega #671 + +Date: 2026-10-23. Parent tracker: #673. Branch: `fix/security673-qualified`. +Platform: Linux AArch64, native execution. + +## Threat and protected property + +A caller can supply a path longer than 4095 bytes, embed a zero byte, pass an empty path, or ask +`argread` for more bytes than the destination holds. The protected assets are the compiler's path +copy at the kernel boundary and the caller's destination slice; a refused operation must not leave +a partially overwritten buffer or perform a kernel open. + +Enforcement is the existing `hpathcp`/`hpath` lowering and `argread` in `seed/omc/omc.om`. The +consumer is a normal compiler output. + +## Cases and results + +Mode byte on stdin; `argread` modes also receive `seed/omc/omc.om` as the first argument. + +| Mode | Operation | Expected | Observed | +| --- | --- | --- | --- | +| 0 | create and open `build/security673-native/path-ok` | 0 | 0 | +| 1 | `fopen` path with embedded zero | trap 3 | 103 | +| 2 | `fopen` path of 4096 bytes | trap 3 | 103 | +| 3 | `fopen` empty path | negative errno, no open | 0 (consumer accepts the negative result) | +| 4 | `argread` into a 1-byte buffer for a longer argument | return -105, slice unchanged | 0 (consumer verifies -105) | +| 5 | `argread` invalid index 99 | trap 3 | 103 | +| 6 | `argread` exact 4096-byte capacity | positive length | 0 | + +Mode 3 is deliberately not a trap: the documented contract refuses embedded zero and overlength +paths before the kernel, while an empty path reaches `openat` and returns the kernel's negative +errno. The consumer checks that it is negative and does not treat an empty string as a valid open. +Mode 4 checks the documented `-105` short-capacity result; the destination byte is not changed. + +## Executed gates + +| Command | Result | +| --- | --- | +| `build/gate669` (normal) | exit 0, `GATE669 PASS` | +| `build/gate669 3` (source campaign) | exit 0, `GATE671 SOURCE PASS` | +| `sh seed/host/gate.sh` | exit 0, all host groups | + +Raw output is `gate-paths.log`; `identities.txt` binds the compiler, consumer, gate and log. + +## Residual limits + +- Path traversal and authority resolution are not confined by `fopen`; the strict `execpure` + profile is the confined launch path, and general filesystem authority remains #670/#649 work. +- Manifests, receipts, RPC arguments, model metadata, trace bundles and device command descriptions + remain legacy/migration dependencies, not PASS. +- The compiler, consumer and gate share the seed lineage. This does not close #671 or #673. diff --git a/evidence/SECURITY-673/paths1/gate-paths.err b/evidence/SECURITY-673/paths1/gate-paths.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/paths1/gate-paths.log b/evidence/SECURITY-673/paths1/gate-paths.log new file mode 100644 index 000000000..8aca54874 --- /dev/null +++ b/evidence/SECURITY-673/paths1/gate-paths.log @@ -0,0 +1,451 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2099280 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4215760 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1056712 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +elapsed_ns=1051000 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1062456 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1056200 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=4215168 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1055592 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +elapsed_ns=1016088 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=1057448 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1015799 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1056376 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1059928 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1055720 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1045832 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1057560 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1057976 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1056665 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1031096 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +elapsed_ns=1058584 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1055832 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1058088 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1057656 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1056632 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1055977 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1056216 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +elapsed_ns=1056984 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1055720 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1056280 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1055288 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1055960 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1055704 +exit=62 expected=62 +build/security673-native/1002 < seed/qualification/security673/branch-forms.om > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1055704 +exit=0 expected=0 +build/security673-native/1048 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1056200 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1056120 +exit=0 expected=0 +build/security673-native/1051 < /dev/null > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1028024 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1055480 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1055464 +exit=0 expected=0 +build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1056216 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1055752 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +elapsed_ns=1056088 +exit=0 expected=0 +build/security673-native/1059 < /dev/null > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1055704 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1055848 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1062 > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1056168 +exit=0 expected=0 +build/security673-native/1063 < /dev/null > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=1055992 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1055561 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1056184 +exit=0 expected=0 +build/security673-native/1067 < /dev/null > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1055208 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1054952 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1055608 +exit=0 expected=0 +build/security673-native/1071 < /dev/null > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1046200 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +elapsed_ns=1059176 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +elapsed_ns=1013896 +exit=0 expected=0 +build/security673-native/1075 < /dev/null > build/security673-native/1076 2> build/security673-native/501076 +elapsed_ns=1056856 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +elapsed_ns=1055960 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +elapsed_ns=1055368 +exit=0 expected=0 +build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +elapsed_ns=1055848 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1081 > build/security673-native/1082 2> build/security673-native/501082 +elapsed_ns=1056120 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1082 > build/security673-native/1083 2> build/security673-native/501083 +elapsed_ns=1056137 +exit=0 expected=0 +build/security673-native/1083 < /dev/null > build/security673-native/1084 2> build/security673-native/501084 +elapsed_ns=1056008 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1085 > build/security673-native/1086 2> build/security673-native/501086 +elapsed_ns=1052088 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1086 > build/security673-native/1087 2> build/security673-native/501087 +elapsed_ns=1057096 +exit=0 expected=0 +build/security673-native/1087 < /dev/null > build/security673-native/1088 2> build/security673-native/501088 +elapsed_ns=1055720 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1089 > build/security673-native/1090 2> build/security673-native/501090 +elapsed_ns=1056152 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1090 > build/security673-native/1091 2> build/security673-native/501091 +elapsed_ns=1057304 +exit=0 expected=0 +build/security673-native/1091 < /dev/null > build/security673-native/1092 2> build/security673-native/501092 +elapsed_ns=1056249 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1093 > build/security673-native/1094 2> build/security673-native/501094 +elapsed_ns=1055768 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1094 > build/security673-native/1095 2> build/security673-native/501095 +elapsed_ns=1056632 +exit=0 expected=0 +build/security673-native/1095 < /dev/null > build/security673-native/1096 2> build/security673-native/501096 +elapsed_ns=1055656 +exit=21 expected=21 +build/security673-native/1048 < build/security673-native/1097 > build/security673-native/1098 2> build/security673-native/501098 +elapsed_ns=1057768 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1098 > build/security673-native/1099 2> build/security673-native/501099 +elapsed_ns=1059784 +exit=0 expected=0 +build/security673-native/1099 < /dev/null > build/security673-native/1100 2> build/security673-native/501100 +elapsed_ns=1056216 +exit=30 expected=30 +build/security673-native/1048 < build/security673-native/1101 > build/security673-native/1102 2> build/security673-native/501102 +elapsed_ns=1056280 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1102 > build/security673-native/1103 2> build/security673-native/501103 +elapsed_ns=1055496 +exit=0 expected=0 +build/security673-native/1103 < /dev/null > build/security673-native/1104 2> build/security673-native/501104 +elapsed_ns=1056232 +exit=107 expected=107 +build/security673-native/1048 < build/security673-native/1105 > build/security673-native/1106 2> build/security673-native/501106 +elapsed_ns=1056120 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1106 > build/security673-native/1107 2> build/security673-native/501107 +elapsed_ns=1055720 +exit=0 expected=0 +build/security673-native/1107 < /dev/null > build/security673-native/1108 2> build/security673-native/501108 +elapsed_ns=1056024 +exit=102 expected=102 +build/security673-native/1002 < seed/qualification/security673/packet-corpus.om > build/security673-native/1109 2> build/security673-native/501109 +elapsed_ns=1057640 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/pkt-consumer.om > build/security673-native/1110 2> build/security673-native/501110 +elapsed_ns=1057704 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1111 > build/security673-native/1112 2> build/security673-native/501112 +elapsed_ns=1056008 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1112 > build/security673-native/1113 2> build/security673-native/501113 +elapsed_ns=1056744 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1114 > build/security673-native/1115 2> build/security673-native/501115 +elapsed_ns=1056616 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1115 > build/security673-native/1116 2> build/security673-native/501116 +elapsed_ns=1055752 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1117 > build/security673-native/1118 2> build/security673-native/501118 +elapsed_ns=1056152 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1118 > build/security673-native/1119 2> build/security673-native/501119 +elapsed_ns=1055896 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1120 > build/security673-native/1121 2> build/security673-native/501121 +elapsed_ns=1056952 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1121 > build/security673-native/1122 2> build/security673-native/501122 +elapsed_ns=1060408 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1123 > build/security673-native/1124 2> build/security673-native/501124 +elapsed_ns=1057752 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1124 > build/security673-native/1125 2> build/security673-native/501125 +elapsed_ns=1056168 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1126 > build/security673-native/1127 2> build/security673-native/501127 +elapsed_ns=1056040 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1127 > build/security673-native/1128 2> build/security673-native/501128 +elapsed_ns=1060217 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1129 > build/security673-native/1130 2> build/security673-native/501130 +elapsed_ns=1056200 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1130 > build/security673-native/1131 2> build/security673-native/501131 +elapsed_ns=1056152 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1132 > build/security673-native/1133 2> build/security673-native/501133 +elapsed_ns=1055336 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1133 > build/security673-native/1134 2> build/security673-native/501134 +elapsed_ns=1055832 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1135 > build/security673-native/1136 2> build/security673-native/501136 +elapsed_ns=1056440 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1136 > build/security673-native/1137 2> build/security673-native/501137 +elapsed_ns=1056072 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-corpus.om > build/security673-native/1138 2> build/security673-native/501138 +elapsed_ns=1056105 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-consumer.om > build/security673-native/1139 2> build/security673-native/501139 +elapsed_ns=1055352 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1140 > build/security673-native/1141 2> build/security673-native/501141 +elapsed_ns=1055432 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1141 > build/security673-native/1142 2> build/security673-native/501142 +elapsed_ns=1057960 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1143 > build/security673-native/1144 2> build/security673-native/501144 +elapsed_ns=1055544 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1144 > build/security673-native/1145 2> build/security673-native/501145 +elapsed_ns=1055736 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1146 > build/security673-native/1147 2> build/security673-native/501147 +elapsed_ns=1055464 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1147 > build/security673-native/1148 2> build/security673-native/501148 +elapsed_ns=1055480 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1149 > build/security673-native/1150 2> build/security673-native/501150 +elapsed_ns=1055752 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1150 > build/security673-native/1151 2> build/security673-native/501151 +elapsed_ns=8425184 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1152 > build/security673-native/1153 2> build/security673-native/501153 +elapsed_ns=1057352 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1153 > build/security673-native/1154 2> build/security673-native/501154 +elapsed_ns=1055976 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1155 > build/security673-native/1156 2> build/security673-native/501156 +elapsed_ns=1056008 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1156 > build/security673-native/1157 2> build/security673-native/501157 +elapsed_ns=1055336 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1158 > build/security673-native/1159 2> build/security673-native/501159 +elapsed_ns=1055912 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1159 > build/security673-native/1160 2> build/security673-native/501160 +elapsed_ns=1055368 +exit=103 expected=103 +build/security673-native/1002 < seed/qualification/security673/path-consumer.om > build/security673-native/1161 2> build/security673-native/501161 +elapsed_ns=1055496 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1162 > build/security673-native/1163 2> build/security673-native/501163 +elapsed_ns=1056152 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1164 > build/security673-native/1165 2> build/security673-native/501165 +elapsed_ns=1055976 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1166 > build/security673-native/1167 2> build/security673-native/501167 +elapsed_ns=1056616 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1168 > build/security673-native/1169 2> build/security673-native/501169 +elapsed_ns=1055368 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1170 > build/security673-native/1171 2> build/security673-native/501171 +elapsed_ns=1055352 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1172 > build/security673-native/1173 2> build/security673-native/501173 +elapsed_ns=1056184 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1174 > build/security673-native/1175 2> build/security673-native/501175 +elapsed_ns=1055880 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1176 > build/security673-native/1177 2> build/security673-native/501177 +elapsed_ns=1055640 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1177 > build/security673-native/1178 2> build/security673-native/501178 +elapsed_ns=1056056 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1178 < /dev/null > build/security673-native/1179 2> build/security673-native/501179 +elapsed_ns=3162392 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1179 > build/security673-native/1180 2> build/security673-native/501180 +elapsed_ns=1055704 +exit=0 expected=0 +build/security673-native/1178 < /dev/null > build/security673-native/1181 2> build/security673-native/501181 +elapsed_ns=1055960 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1182 > build/security673-native/1183 2> build/security673-native/501183 +elapsed_ns=74653945 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1183 > build/security673-native/1184 2> build/security673-native/501184 +elapsed_ns=70514810 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1184 < /dev/null > build/security673-native/1185 2> build/security673-native/501185 +elapsed_ns=225231223 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1185 > build/security673-native/1186 2> build/security673-native/501186 +elapsed_ns=52598193 +exit=0 expected=0 +build/security673-native/1184 < /dev/null > build/security673-native/1187 2> build/security673-native/501187 +elapsed_ns=1057160 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1188 > build/security673-native/1189 2> build/security673-native/501189 +elapsed_ns=74738827 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1189 > build/security673-native/1190 2> build/security673-native/501190 +elapsed_ns=73654674 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1191 > build/security673-native/1192 2> build/security673-native/501192 +elapsed_ns=158882332 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1192 > build/security673-native/1193 2> build/security673-native/501193 +elapsed_ns=126333972 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1194 > build/security673-native/1195 2> build/security673-native/501195 +elapsed_ns=85382971 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1195 > build/security673-native/1196 2> build/security673-native/501196 +elapsed_ns=64304475 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1197 > build/security673-native/1198 2> build/security673-native/501198 +elapsed_ns=85481741 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1198 > build/security673-native/1199 2> build/security673-native/501199 +elapsed_ns=84320116 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1200 > build/security673-native/1201 2> build/security673-native/501201 +elapsed_ns=85339851 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1201 > build/security673-native/1202 2> build/security673-native/501202 +elapsed_ns=63222354 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1203 2> build/security673-native/501203 +elapsed_ns=1068856 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1203 > build/security673-native/1204 2> build/security673-native/501204 +elapsed_ns=3173257 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1205 > build/security673-native/1206 2> build/security673-native/501206 +elapsed_ns=83239083 +exit=0 expected=0 +build/security673-native/1204 < build/security673-native/1206 > build/security673-native/1207 2> build/security673-native/501207 +elapsed_ns=55847962 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1207 < /dev/null > build/security673-native/1208 2> build/security673-native/501208 +elapsed_ns=207921826 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1208 > build/security673-native/1209 2> build/security673-native/501209 +elapsed_ns=36861465 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1206 > build/security673-native/1210 2> build/security673-native/501210 +elapsed_ns=55834682 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1211 2> build/security673-native/501211 +elapsed_ns=1070121 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/paths1/identities.txt b/evidence/SECURITY-673/paths1/identities.txt new file mode 100644 index 000000000..6647964b7 --- /dev/null +++ b/evidence/SECURITY-673/paths1/identities.txt @@ -0,0 +1,6 @@ +2e6e17680cfab319f28842fa68c9e6520e5412c4831f80ab109945087bdd0ad3 seed/omc/omc.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +9bb5cd0e59d12af8b13de79db7a949b5278263b638309dfc6a86ab77c0382232 seed/qualification/security673/path-consumer.om +93035a0798ef35e4566e6fcf5d3ed353f3cfac9479176a11b4cc6924b083cb08 seed/qualification/security673/gate669.om +0fa1790ad0272a12c3ff01592750c0121a022679e25601c558abfa3b214db4ba build/gate669-path +fcc90c72676b69a5c8112f6910718358ddcf9b2e5053bc42297d1552388a3ee8 evidence/SECURITY-673/paths1/gate-paths.log diff --git a/evidence/SECURITY-673/pure1/branch-mutate-build.err b/evidence/SECURITY-673/pure1/branch-mutate-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/branch-mutate-header.txt b/evidence/SECURITY-673/pure1/branch-mutate-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/branch-mutate-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/bypass-filter.err b/evidence/SECURITY-673/pure1/bypass-filter.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/bypass-filter.out b/evidence/SECURITY-673/pure1/bypass-filter.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/bypass-filter.strace b/evidence/SECURITY-673/pure1/bypass-filter.strace new file mode 100644 index 000000000..2bf56ec5d --- /dev/null +++ b/evidence/SECURITY-673/pure1/bypass-filter.strace @@ -0,0 +1,20 @@ +2905597 execve("build/security673-pure/launch-mutant-4", ["build/security673-pure/launch-mu"..., "build/security673-pure/raw-2"], 0xfffff02bfd70 /* 39 vars */) = 0 +2905597 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2905597 openat(AT_FDCWD, "build/security673-pure/raw-2", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2905597 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2905597 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2905597 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2905597 landlock_restrict_self(4, 0) = 0 +2905597 close(4) = 0 +2905597 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2905597 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2905597 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2905597 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2905597 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2905597 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2905597 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2905597 getpid() = 2905597 +2905597 execveat(3, "", ["build/security673-pure/raw-2"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2905597 getpid() = 2905597 +2905597 exit(71) = ? +2905597 +++ exited with 71 +++ diff --git a/evidence/SECURITY-673/pure1/bypass-inode.err b/evidence/SECURITY-673/pure1/bypass-inode.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/bypass-inode.out b/evidence/SECURITY-673/pure1/bypass-inode.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/bypass-inode.strace b/evidence/SECURITY-673/pure1/bypass-inode.strace new file mode 100644 index 000000000..d5c95ce7e --- /dev/null +++ b/evidence/SECURITY-673/pure1/bypass-inode.strace @@ -0,0 +1,20 @@ +2905605 execve("build/security673-pure/launch-mutant-5", ["build/security673-pure/launch-mu"..., "build/security673-pure/raw-other"], 0xffffc0b95c70 /* 39 vars */) = 0 +2905605 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2905605 openat(AT_FDCWD, "build/security673-pure/raw-other", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2905605 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2905605 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2905605 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2905605 getpid() = 2905605 +2905605 close(4) = 0 +2905605 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2905605 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2905605 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2905605 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2905605 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2905605 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2905605 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2905605 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2905605 execveat(3, "", ["build/security673-pure/raw-other"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2905605 execveat(3, "/home/drakestapleton/workspace/omega-security673-qualified/build/security673-pure/pure-other", NULL, NULL, AT_EMPTY_PATH) = 0 +2905605 exit(77) = ? +2905605 +++ exited with 77 +++ diff --git a/evidence/SECURITY-673/pure1/controls-exits.txt b/evidence/SECURITY-673/pure1/controls-exits.txt new file mode 100644 index 000000000..fa9e9801e --- /dev/null +++ b/evidence/SECURITY-673/pure1/controls-exits.txt @@ -0,0 +1,6 @@ +fixed-other=0 +bypass-filter=71 +bypass-inode=77 +cpu=152 +output=0 +output_bytes=1048576 diff --git a/evidence/SECURITY-673/pure1/controls-expectations.txt b/evidence/SECURITY-673/pure1/controls-expectations.txt new file mode 100644 index 000000000..1ea7a3441 --- /dev/null +++ b/evidence/SECURITY-673/pure1/controls-expectations.txt @@ -0,0 +1 @@ +Expected before run: fixed raw-other=0 (EACCES); filter bypass raw2=71; inode-fence bypass raw-other=77; busy=152 (SIGXCPU); output=0 and1048576 bytes. diff --git a/evidence/SECURITY-673/pure1/cpu.err b/evidence/SECURITY-673/pure1/cpu.err new file mode 100644 index 000000000..5b659d0ad --- /dev/null +++ b/evidence/SECURITY-673/pure1/cpu.err @@ -0,0 +1 @@ +timeout: the monitored command dumped core diff --git a/evidence/SECURITY-673/pure1/cpu.out b/evidence/SECURITY-673/pure1/cpu.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/cpu.strace b/evidence/SECURITY-673/pure1/cpu.strace new file mode 100644 index 000000000..c28901eb2 --- /dev/null +++ b/evidence/SECURITY-673/pure1/cpu.strace @@ -0,0 +1,19 @@ +2905621 execve("build/security673-pure/pure-launch", ["build/security673-pure/pure-laun"..., "build/security673-pure/pure-busy"], 0xffffe3db40d0 /* 39 vars */) = 0 +2905621 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2905621 openat(AT_FDCWD, "build/security673-pure/pure-busy", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2905621 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2905621 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2905621 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2905621 landlock_restrict_self(4, 0) = 0 +2905621 close(4) = 0 +2905621 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2905621 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2905621 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2905621 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2905621 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2905621 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2905621 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2905621 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2905621 execveat(3, "", ["build/security673-pure/pure-busy"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2905621 --- SIGXCPU {si_signo=SIGXCPU, si_code=SI_KERNEL} --- +2905621 +++ killed by SIGXCPU (core dumped) +++ diff --git a/evidence/SECURITY-673/pure1/fixed-other.err b/evidence/SECURITY-673/pure1/fixed-other.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/fixed-other.out b/evidence/SECURITY-673/pure1/fixed-other.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/fixed-other.strace b/evidence/SECURITY-673/pure1/fixed-other.strace new file mode 100644 index 000000000..837270ed4 --- /dev/null +++ b/evidence/SECURITY-673/pure1/fixed-other.strace @@ -0,0 +1,20 @@ +2905566 execve("build/security673-pure/pure-launch", ["build/security673-pure/pure-laun"..., "build/security673-pure/raw-other"], 0xffffffe91740 /* 39 vars */) = 0 +2905566 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2905566 openat(AT_FDCWD, "build/security673-pure/raw-other", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2905566 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2905566 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2905566 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2905566 landlock_restrict_self(4, 0) = 0 +2905566 close(4) = 0 +2905566 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2905566 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2905566 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2905566 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2905566 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2905566 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2905566 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2905566 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2905566 execveat(3, "", ["build/security673-pure/raw-other"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2905566 execveat(3, "/home/drakestapleton/workspace/omega-security673-qualified/build/security673-pure/pure-other", NULL, NULL, AT_EMPTY_PATH) = -1 EACCES (Permission denied) +2905566 exit(0) = ? +2905566 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/pure1/launch-mutant-4-header.txt b/evidence/SECURITY-673/pure1/launch-mutant-4-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/launch-mutant-4-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/launch-mutant-5-header.txt b/evidence/SECURITY-673/pure1/launch-mutant-5-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/launch-mutant-5-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/launch1.err b/evidence/SECURITY-673/pure1/launch1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/launch1.exit b/evidence/SECURITY-673/pure1/launch1.exit new file mode 100644 index 000000000..0b7a5df72 --- /dev/null +++ b/evidence/SECURITY-673/pure1/launch1.exit @@ -0,0 +1 @@ +launch1 exit=0 diff --git a/evidence/SECURITY-673/pure1/launch1.out b/evidence/SECURITY-673/pure1/launch1.out new file mode 100644 index 000000000..0e28f93a6 --- /dev/null +++ b/evidence/SECURITY-673/pure1/launch1.out @@ -0,0 +1 @@ +public-output \ No newline at end of file diff --git a/evidence/SECURITY-673/pure1/launch1.strace b/evidence/SECURITY-673/pure1/launch1.strace new file mode 100644 index 000000000..5d88e9057 --- /dev/null +++ b/evidence/SECURITY-673/pure1/launch1.strace @@ -0,0 +1,25 @@ +2321960 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2321960 openat(AT_FDCWD, "build/security673-pure/pure-child", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2321960 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2321960 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2321960 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2321960 landlock_restrict_self(4, 0) = 0 +2321960 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2321960 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2321960 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2321960 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2321960 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2321960 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2321960 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2321960 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2321960 execveat(3, "", ["build/security673-pure/pure-chil"...], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2321960 read(0, "public-input", 12) = 12 +2321960 read(3, 0x10800000, 1) = -1 EPERM (Operation not permitted) +2321960 write(0, "p", 1) = -1 EPERM (Operation not permitted) +2321960 read(1, 0x10800000, 1) = -1 EPERM (Operation not permitted) +2321960 openat(AT_FDCWD, "build/security673-pure/private.data", O_RDONLY) = -1 EPERM (Operation not permitted) +2321960 openat(AT_FDCWD, "build/security673-pure/judge.data", O_WRONLY|O_TRUNC) = -1 EPERM (Operation not permitted) +2321960 clone(child_stack=NULL, flags=SIGCHLD) = -1 EPERM (Operation not permitted) +2321960 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = -1 EPERM (Operation not permitted) +2321960 write(1, "public-output", 13) = 13 +2321960 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/pure1/mutant-4-build.err b/evidence/SECURITY-673/pure1/mutant-4-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/mutant-4-header.txt b/evidence/SECURITY-673/pure1/mutant-4-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/mutant-4-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/mutant-5-build.err b/evidence/SECURITY-673/pure1/mutant-5-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/mutant-5-header.txt b/evidence/SECURITY-673/pure1/mutant-5-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/mutant-5-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/output.err b/evidence/SECURITY-673/pure1/output.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/output.strace b/evidence/SECURITY-673/pure1/output.strace new file mode 100644 index 000000000..3bbb8b5dc --- /dev/null +++ b/evidence/SECURITY-673/pure1/output.strace @@ -0,0 +1,20 @@ +2906634 execve("build/security673-pure/pure-launch", ["build/security673-pure/pure-laun"..., "build/security673-pure/pure-outp"...], 0xffffdcf7fda0 /* 39 vars */) = 0 +2906634 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2906634 openat(AT_FDCWD, "build/security673-pure/pure-output", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2906634 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2906634 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2906634 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2906634 landlock_restrict_self(4, 0) = 0 +2906634 close(4) = 0 +2906634 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2906634 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2906634 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2906634 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2906634 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2906634 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2906634 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2906634 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2906634 execveat(3, "", ["build/security673-pure/pure-outp"...], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2906634 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1048577) = 1048576 +2906634 exit(0) = ? +2906634 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/pure1/protected-before.sha256 b/evidence/SECURITY-673/pure1/protected-before.sha256 new file mode 100644 index 000000000..5f93d856f --- /dev/null +++ b/evidence/SECURITY-673/pure1/protected-before.sha256 @@ -0,0 +1,2 @@ +a6f666629ccf3e0bf344a6ac9f2d35756e205cbc0757b1d7a335097885969eee build/security673-pure/private.data +68670d69ba9251f2e324529d8eb2120ee32155dd19572aafc71b8fb942fa3b93 build/security673-pure/judge.data diff --git a/evidence/SECURITY-673/pure1/pure-busy-build.err b/evidence/SECURITY-673/pure1/pure-busy-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/pure-busy-header.txt b/evidence/SECURITY-673/pure1/pure-busy-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/pure-busy-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/pure-child-build.err b/evidence/SECURITY-673/pure1/pure-child-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/pure-launch-build.err b/evidence/SECURITY-673/pure1/pure-launch-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/pure-other-build.err b/evidence/SECURITY-673/pure1/pure-other-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/pure-other-header.txt b/evidence/SECURITY-673/pure1/pure-other-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/pure-other-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/pure-output-build.err b/evidence/SECURITY-673/pure1/pure-output-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/pure-output-header.txt b/evidence/SECURITY-673/pure1/pure-output-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/pure-output-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/pure-raw-build.err b/evidence/SECURITY-673/pure1/pure-raw-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/pure-raw-header.txt b/evidence/SECURITY-673/pure1/pure-raw-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/pure-raw-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/raw-0-decode.txt b/evidence/SECURITY-673/pure1/raw-0-decode.txt new file mode 100644 index 000000000..cb946d87a --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-0-decode.txt @@ -0,0 +1,64 @@ + +build/security673-pure/raw-0: file format binary + + +Disassembly of section .data: + +0000000000000000 <.data>: + 0: 464c457f .inst 0x464c457f ; undefined + 4: 00010102 .inst 0x00010102 ; undefined + ... + 10: 00b70002 .inst 0x00b70002 ; undefined + 14: 00000001 udf #1 + 18: 004000b0 .inst 0x004000b0 ; undefined + 1c: 00000000 udf #0 + 20: 00000040 udf #64 + ... + 34: 00380040 .inst 0x00380040 ; NYI + 38: 00000002 udf #2 + 3c: 00000000 udf #0 + 40: 00000001 udf #1 + 44: 00000005 udf #5 + ... + 50: 00400000 .inst 0x00400000 ; undefined + 54: 00000000 udf #0 + 58: 00400000 .inst 0x00400000 ; undefined + 5c: 00000000 udf #0 + 60: 00000200 udf #512 + 64: 00000000 udf #0 + 68: 00000200 udf #512 + 6c: 00000000 udf #0 + 70: 00001000 udf #4096 + 74: 00000000 udf #0 + 78: 00000001 udf #1 + 7c: 00000006 udf #6 + ... + 88: 10000000 adr x0, 0x88 + 8c: 00000000 udf #0 + 90: 10000000 adr x0, 0x90 + ... + a0: 00800000 .inst 0x00800000 ; undefined + a4: 00000000 udf #0 + a8: 00001000 udf #4096 + ac: 00000000 udf #0 + b0: d2800060 mov x0, #0x3 // #3 + b4: d2802801 mov x1, #0x140 // #320 + b8: f2a00801 movk x1, #0x40, lsl #16 + bc: d2800002 mov x2, #0x0 // #0 + c0: d2800003 mov x3, #0x0 // #0 + c4: d2820004 mov x4, #0x1000 // #4096 + c8: d2802328 mov x8, #0x119 // #281 + cc: d4000001 svc #0x0 + d0: b100341f cmn x0, #0xd + d4: 54000060 b.eq 0xe0 // b.none + d8: d28008e0 mov x0, #0x47 // #71 + dc: 14000002 b 0xe4 + e0: d2800000 mov x0, #0x0 // #0 + e4: d2800ba8 mov x8, #0x5d // #93 + e8: d4000001 svc #0x0 + ... + 140: 7273752f .inst 0x7273752f ; undefined + 144: 6e69622f rsubhn2 v15.8h, v17.4s, v9.4s + 148: 7572742f .inst 0x7572742f ; undefined + 14c: 00000065 udf #101 + ... diff --git a/evidence/SECURITY-673/pure1/raw-0-header.txt b/evidence/SECURITY-673/pure1/raw-0-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-0-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/raw-0.err b/evidence/SECURITY-673/pure1/raw-0.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/raw-0.out b/evidence/SECURITY-673/pure1/raw-0.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/raw-0.strace b/evidence/SECURITY-673/pure1/raw-0.strace new file mode 100644 index 000000000..7bbf6b368 --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-0.strace @@ -0,0 +1,17 @@ +2404423 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2404423 openat(AT_FDCWD, "build/security673-pure/raw-0", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2404423 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2404423 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2404423 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2404423 landlock_restrict_self(4, 0) = 0 +2404423 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2404423 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2404423 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2404423 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2404423 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2404423 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2404423 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2404423 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2404423 execveat(3, "", ["build/security673-pure/raw-0"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2404423 execveat(3, "/usr/bin/true", NULL, NULL, AT_EMPTY_PATH) = -1 EACCES (Permission denied) +2404423 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/pure1/raw-1-decode.txt b/evidence/SECURITY-673/pure1/raw-1-decode.txt new file mode 100644 index 000000000..403145ba4 --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-1-decode.txt @@ -0,0 +1,64 @@ + +build/security673-pure/raw-1: file format binary + + +Disassembly of section .data: + +0000000000000000 <.data>: + 0: 464c457f .inst 0x464c457f ; undefined + 4: 00010102 .inst 0x00010102 ; undefined + ... + 10: 00b70002 .inst 0x00b70002 ; undefined + 14: 00000001 udf #1 + 18: 004000b0 .inst 0x004000b0 ; undefined + 1c: 00000000 udf #0 + 20: 00000040 udf #64 + ... + 34: 00380040 .inst 0x00380040 ; NYI + 38: 00000002 udf #2 + 3c: 00000000 udf #0 + 40: 00000001 udf #1 + 44: 00000005 udf #5 + ... + 50: 00400000 .inst 0x00400000 ; undefined + 54: 00000000 udf #0 + 58: 00400000 .inst 0x00400000 ; undefined + 5c: 00000000 udf #0 + 60: 00000200 udf #512 + 64: 00000000 udf #0 + 68: 00000200 udf #512 + 6c: 00000000 udf #0 + 70: 00001000 udf #4096 + 74: 00000000 udf #0 + 78: 00000001 udf #1 + 7c: 00000006 udf #6 + ... + 88: 10000000 adr x0, 0x88 + 8c: 00000000 udf #0 + 90: 10000000 adr x0, 0x90 + ... + a0: 00800000 .inst 0x00800000 ; undefined + a4: 00000000 udf #0 + a8: 00001000 udf #4096 + ac: 00000000 udf #0 + b0: d2800000 mov x0, #0x0 // #0 + b4: d1019000 sub x0, x0, #0x64 + b8: d2802801 mov x1, #0x140 // #320 + bc: f2a00801 movk x1, #0x40, lsl #16 + c0: d2800002 mov x2, #0x0 // #0 + c4: d2800003 mov x3, #0x0 // #0 + c8: d2800708 mov x8, #0x38 // #56 + cc: d4000001 svc #0x0 + d0: b100041f cmn x0, #0x1 + d4: 54000060 b.eq 0xe0 // b.none + d8: d28008e0 mov x0, #0x47 // #71 + dc: 14000002 b 0xe4 + e0: d2800000 mov x0, #0x0 // #0 + e4: d2800ba8 mov x8, #0x5d // #93 + e8: d4000001 svc #0x0 + ... + 140: 7273752f .inst 0x7273752f ; undefined + 144: 6e69622f rsubhn2 v15.8h, v17.4s, v9.4s + 148: 7572742f .inst 0x7572742f ; undefined + 14c: 00000065 udf #101 + ... diff --git a/evidence/SECURITY-673/pure1/raw-1-header.txt b/evidence/SECURITY-673/pure1/raw-1-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-1-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/raw-1.err b/evidence/SECURITY-673/pure1/raw-1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/raw-1.out b/evidence/SECURITY-673/pure1/raw-1.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/raw-1.strace b/evidence/SECURITY-673/pure1/raw-1.strace new file mode 100644 index 000000000..ce8f48350 --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-1.strace @@ -0,0 +1,17 @@ +2404435 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2404435 openat(AT_FDCWD, "build/security673-pure/raw-1", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2404435 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2404435 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2404435 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2404435 landlock_restrict_self(4, 0) = 0 +2404435 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2404435 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2404435 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2404435 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2404435 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2404435 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2404435 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2404435 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2404435 execveat(3, "", ["build/security673-pure/raw-1"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2404435 openat(AT_FDCWD, "/usr/bin/true", O_RDONLY) = -1 EPERM (Operation not permitted) +2404435 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/pure1/raw-2-decode.txt b/evidence/SECURITY-673/pure1/raw-2-decode.txt new file mode 100644 index 000000000..a5cf3ee84 --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-2-decode.txt @@ -0,0 +1,58 @@ + +build/security673-pure/raw-2: file format binary + + +Disassembly of section .data: + +0000000000000000 <.data>: + 0: 464c457f .inst 0x464c457f ; undefined + 4: 00010102 .inst 0x00010102 ; undefined + ... + 10: 00b70002 .inst 0x00b70002 ; undefined + 14: 00000001 udf #1 + 18: 004000b0 .inst 0x004000b0 ; undefined + 1c: 00000000 udf #0 + 20: 00000040 udf #64 + ... + 34: 00380040 .inst 0x00380040 ; NYI + 38: 00000002 udf #2 + 3c: 00000000 udf #0 + 40: 00000001 udf #1 + 44: 00000005 udf #5 + ... + 50: 00400000 .inst 0x00400000 ; undefined + 54: 00000000 udf #0 + 58: 00400000 .inst 0x00400000 ; undefined + 5c: 00000000 udf #0 + 60: 00000200 udf #512 + 64: 00000000 udf #0 + 68: 00000200 udf #512 + 6c: 00000000 udf #0 + 70: 00001000 udf #4096 + 74: 00000000 udf #0 + 78: 00000001 udf #1 + 7c: 00000006 udf #6 + ... + 88: 10000000 adr x0, 0x88 + 8c: 00000000 udf #0 + 90: 10000000 adr x0, 0x90 + ... + a0: 00800000 .inst 0x00800000 ; undefined + a4: 00000000 udf #0 + a8: 00001000 udf #4096 + ac: 00000000 udf #0 + b0: d2801588 mov x8, #0xac // #172 + b4: d4000001 svc #0x0 + b8: b100041f cmn x0, #0x1 + bc: 54000060 b.eq 0xc8 // b.none + c0: d28008e0 mov x0, #0x47 // #71 + c4: 14000002 b 0xcc + c8: d2800000 mov x0, #0x0 // #0 + cc: d2800ba8 mov x8, #0x5d // #93 + d0: d4000001 svc #0x0 + ... + 140: 7273752f .inst 0x7273752f ; undefined + 144: 6e69622f rsubhn2 v15.8h, v17.4s, v9.4s + 148: 7572742f .inst 0x7572742f ; undefined + 14c: 00000065 udf #101 + ... diff --git a/evidence/SECURITY-673/pure1/raw-2-header.txt b/evidence/SECURITY-673/pure1/raw-2-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-2-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/raw-2.err b/evidence/SECURITY-673/pure1/raw-2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/raw-2.out b/evidence/SECURITY-673/pure1/raw-2.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/raw-2.strace b/evidence/SECURITY-673/pure1/raw-2.strace new file mode 100644 index 000000000..371bab400 --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-2.strace @@ -0,0 +1,17 @@ +2404448 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2404448 openat(AT_FDCWD, "build/security673-pure/raw-2", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2404448 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2404448 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2404448 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2404448 landlock_restrict_self(4, 0) = 0 +2404448 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2404448 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2404448 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2404448 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2404448 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2404448 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2404448 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2404448 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2404448 execveat(3, "", ["build/security673-pure/raw-2"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2404448 getpid() = -1 EPERM (Operation not permitted) +2404448 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/pure1/raw-3-decode.txt b/evidence/SECURITY-673/pure1/raw-3-decode.txt new file mode 100644 index 000000000..bfdc5ecba --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-3-decode.txt @@ -0,0 +1,64 @@ + +build/security673-pure/raw-3: file format binary + + +Disassembly of section .data: + +0000000000000000 <.data>: + 0: 464c457f .inst 0x464c457f ; undefined + 4: 00010102 .inst 0x00010102 ; undefined + ... + 10: 00b70002 .inst 0x00b70002 ; undefined + 14: 00000001 udf #1 + 18: 004000b0 .inst 0x004000b0 ; undefined + 1c: 00000000 udf #0 + 20: 00000040 udf #64 + ... + 34: 00380040 .inst 0x00380040 ; NYI + 38: 00000002 udf #2 + 3c: 00000000 udf #0 + 40: 00000001 udf #1 + 44: 00000005 udf #5 + ... + 50: 00400000 .inst 0x00400000 ; undefined + 54: 00000000 udf #0 + 58: 00400000 .inst 0x00400000 ; undefined + 5c: 00000000 udf #0 + 60: 00000200 udf #512 + 64: 00000000 udf #0 + 68: 00000200 udf #512 + 6c: 00000000 udf #0 + 70: 00001000 udf #4096 + 74: 00000000 udf #0 + 78: 00000001 udf #1 + 7c: 00000006 udf #6 + ... + 88: 10000000 adr x0, 0x88 + 8c: 00000000 udf #0 + 90: 10000000 adr x0, 0x90 + ... + a0: 00800000 .inst 0x00800000 ; undefined + a4: 00000000 udf #0 + a8: 00001000 udf #4096 + ac: 00000000 udf #0 + b0: d2800000 mov x0, #0x0 // #0 + b4: d2a80001 mov x1, #0x40000000 // #1073741824 + b8: d2800062 mov x2, #0x3 // #3 + bc: d2800443 mov x3, #0x22 // #34 + c0: 92800004 mov x4, #0xffffffffffffffff // #-1 + c4: d2800005 mov x5, #0x0 // #0 + c8: d2801bc8 mov x8, #0xde // #222 + cc: d4000001 svc #0x0 + d0: b100041f cmn x0, #0x1 + d4: 54000060 b.eq 0xe0 // b.none + d8: d28008e0 mov x0, #0x47 // #71 + dc: 14000002 b 0xe4 + e0: d2800000 mov x0, #0x0 // #0 + e4: d2800ba8 mov x8, #0x5d // #93 + e8: d4000001 svc #0x0 + ... + 140: 7273752f .inst 0x7273752f ; undefined + 144: 6e69622f rsubhn2 v15.8h, v17.4s, v9.4s + 148: 7572742f .inst 0x7572742f ; undefined + 14c: 00000065 udf #101 + ... diff --git a/evidence/SECURITY-673/pure1/raw-3-header.txt b/evidence/SECURITY-673/pure1/raw-3-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-3-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/raw-3.err b/evidence/SECURITY-673/pure1/raw-3.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/raw-3.out b/evidence/SECURITY-673/pure1/raw-3.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/raw-3.strace b/evidence/SECURITY-673/pure1/raw-3.strace new file mode 100644 index 000000000..89542de6b --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-3.strace @@ -0,0 +1,17 @@ +2404461 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2404461 openat(AT_FDCWD, "build/security673-pure/raw-3", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2404461 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2404461 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2404461 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2404461 landlock_restrict_self(4, 0) = 0 +2404461 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2404461 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2404461 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2404461 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2404461 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2404461 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2404461 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2404461 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2404461 execveat(3, "", ["build/security673-pure/raw-3"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2404461 mmap(NULL, 1073741824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted) +2404461 +++ exited with 0 +++ diff --git a/evidence/SECURITY-673/pure1/raw-exits.txt b/evidence/SECURITY-673/pure1/raw-exits.txt new file mode 100644 index 000000000..c77104a6f --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-exits.txt @@ -0,0 +1,4 @@ +raw-0 exit=0 +raw-1 exit=0 +raw-2 exit=0 +raw-3 exit=0 diff --git a/evidence/SECURITY-673/pure1/raw-other-decode.txt b/evidence/SECURITY-673/pure1/raw-other-decode.txt new file mode 100644 index 000000000..5f139fb92 --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-other-decode.txt @@ -0,0 +1,23 @@ + +build/security673-pure/raw-other: file format binary + + +Disassembly of section .data: + +00000000000000b0 <.data+0xb0>: + b0: d2800060 mov x0, #0x3 // #3 + b4: d2802801 mov x1, #0x140 // #320 + b8: f2a00801 movk x1, #0x40, lsl #16 + bc: d2800002 mov x2, #0x0 // #0 + c0: d2800003 mov x3, #0x0 // #0 + c4: d2820004 mov x4, #0x1000 // #4096 + c8: d2802328 mov x8, #0x119 // #281 + cc: d4000001 svc #0x0 + d0: b100341f cmn x0, #0xd + d4: 54000060 b.eq 0xe0 // b.none + d8: d28008e0 mov x0, #0x47 // #71 + dc: 14000002 b 0xe4 + e0: d2800000 mov x0, #0x0 // #0 + e4: d2800ba8 mov x8, #0x5d // #93 + e8: d4000001 svc #0x0 + ... diff --git a/evidence/SECURITY-673/pure1/raw-other-header.txt b/evidence/SECURITY-673/pure1/raw-other-header.txt new file mode 100644 index 000000000..085fb1c5a --- /dev/null +++ b/evidence/SECURITY-673/pure1/raw-other-header.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/SECURITY-673/pure1/rawgen-build.err b/evidence/SECURITY-673/pure1/rawgen-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/stage1-build.err b/evidence/SECURITY-673/pure1/stage1-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/stage2-build.err b/evidence/SECURITY-673/pure1/stage2-build.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/unavailable-close_range.err b/evidence/SECURITY-673/pure1/unavailable-close_range.err new file mode 100644 index 000000000..e4fa4c97b --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-close_range.err @@ -0,0 +1 @@ +PURE_LAUNCH_REFUSED diff --git a/evidence/SECURITY-673/pure1/unavailable-close_range.out b/evidence/SECURITY-673/pure1/unavailable-close_range.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/unavailable-close_range.strace b/evidence/SECURITY-673/pure1/unavailable-close_range.strace new file mode 100644 index 000000000..d63178e71 --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-close_range.strace @@ -0,0 +1,5 @@ +2910617 execve("build/security673-pure/pure-launch", ["build/security673-pure/pure-laun"..., "build/security673-pure/pure-othe"...], 0xfffff77432d0 /* 39 vars */) = 0 +2910617 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = -1 ENOSYS (Function not implemented) (INJECTED) +2910617 write(2, "PURE_LAUNCH_REFUSED\n", 20) = 20 +2910617 exit(38) = ? +2910617 +++ exited with 38 +++ diff --git a/evidence/SECURITY-673/pure1/unavailable-exits.txt b/evidence/SECURITY-673/pure1/unavailable-exits.txt new file mode 100644 index 000000000..f551fa416 --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-exits.txt @@ -0,0 +1,4 @@ +close_range=38 +landlock_create_ruleset=38 +seccomp=13 +prlimit64=1 diff --git a/evidence/SECURITY-673/pure1/unavailable-landlock_create_ruleset.err b/evidence/SECURITY-673/pure1/unavailable-landlock_create_ruleset.err new file mode 100644 index 000000000..e4fa4c97b --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-landlock_create_ruleset.err @@ -0,0 +1 @@ +PURE_LAUNCH_REFUSED diff --git a/evidence/SECURITY-673/pure1/unavailable-landlock_create_ruleset.out b/evidence/SECURITY-673/pure1/unavailable-landlock_create_ruleset.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/unavailable-landlock_create_ruleset.strace b/evidence/SECURITY-673/pure1/unavailable-landlock_create_ruleset.strace new file mode 100644 index 000000000..d4251eecb --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-landlock_create_ruleset.strace @@ -0,0 +1,7 @@ +2910623 execve("build/security673-pure/pure-launch", ["build/security673-pure/pure-laun"..., "build/security673-pure/pure-othe"...], 0xffffcc8a3380 /* 39 vars */) = 0 +2910623 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2910623 openat(AT_FDCWD, "build/security673-pure/pure-other", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2910623 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = -1 ENOSYS (Function not implemented) (INJECTED) +2910623 write(2, "PURE_LAUNCH_REFUSED\n", 20) = 20 +2910623 exit(38) = ? +2910623 +++ exited with 38 +++ diff --git a/evidence/SECURITY-673/pure1/unavailable-prlimit64.err b/evidence/SECURITY-673/pure1/unavailable-prlimit64.err new file mode 100644 index 000000000..e4fa4c97b --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-prlimit64.err @@ -0,0 +1 @@ +PURE_LAUNCH_REFUSED diff --git a/evidence/SECURITY-673/pure1/unavailable-prlimit64.out b/evidence/SECURITY-673/pure1/unavailable-prlimit64.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/unavailable-prlimit64.strace b/evidence/SECURITY-673/pure1/unavailable-prlimit64.strace new file mode 100644 index 000000000..fdd1ab3b0 --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-prlimit64.strace @@ -0,0 +1,12 @@ +2910636 execve("build/security673-pure/pure-launch", ["build/security673-pure/pure-laun"..., "build/security673-pure/pure-othe"...], 0xffffc319a990 /* 39 vars */) = 0 +2910636 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2910636 openat(AT_FDCWD, "build/security673-pure/pure-other", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2910636 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2910636 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2910636 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2910636 landlock_restrict_self(4, 0) = 0 +2910636 close(4) = 0 +2910636 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = -1 EPERM (Operation not permitted) (INJECTED) +2910636 write(2, "PURE_LAUNCH_REFUSED\n", 20) = 20 +2910636 exit(1) = ? +2910636 +++ exited with 1 +++ diff --git a/evidence/SECURITY-673/pure1/unavailable-seccomp.err b/evidence/SECURITY-673/pure1/unavailable-seccomp.err new file mode 100644 index 000000000..e4fa4c97b --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-seccomp.err @@ -0,0 +1 @@ +PURE_LAUNCH_REFUSED diff --git a/evidence/SECURITY-673/pure1/unavailable-seccomp.out b/evidence/SECURITY-673/pure1/unavailable-seccomp.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure1/unavailable-seccomp.strace b/evidence/SECURITY-673/pure1/unavailable-seccomp.strace new file mode 100644 index 000000000..e89b17ff9 --- /dev/null +++ b/evidence/SECURITY-673/pure1/unavailable-seccomp.strace @@ -0,0 +1,19 @@ +2910628 execve("build/security673-pure/pure-launch", ["build/security673-pure/pure-laun"..., "build/security673-pure/pure-othe"...], 0xffffe6646210 /* 39 vars */) = 0 +2910628 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2910628 openat(AT_FDCWD, "build/security673-pure/pure-other", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2910628 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2910628 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2910628 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2910628 landlock_restrict_self(4, 0) = 0 +2910628 close(4) = 0 +2910628 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2910628 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2910628 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2910628 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2910628 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2910628 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2910628 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2910628 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = -1 EACCES (Permission denied) (INJECTED) +2910628 write(2, "PURE_LAUNCH_REFUSED\n", 20) = 20 +2910628 exit(13) = ? +2910628 +++ exited with 13 +++ diff --git a/evidence/SECURITY-673/pure2/REPORT.md b/evidence/SECURITY-673/pure2/REPORT.md new file mode 100644 index 000000000..bb64ac9df --- /dev/null +++ b/evidence/SECURITY-673/pure2/REPORT.md @@ -0,0 +1,87 @@ +# Strict pinned-executable launch profile for Omega #670 + +Date: 2026-10-23. Parent tracker: #673. Branch: `fix/security673-qualified`. +Base: `9a2b6a5` plus the `execpure` change in this commit. Platform: Linux AArch64, native execution. + +## Threat and protected assets + +A launcher admits a native executable after a caller supplies only a path and argument vector. The +untrusted program may try to read or write inherited descriptors, open files outside its pinned +image, create sockets, fork, execute a different image, allocate unbounded memory, or run without a +time limit. The protected assets are the caller's descriptors and filesystem view, other processes, +and host availability. + +This is a strict, fixed profile for one pinned executable. It is not a general sandbox for arbitrary +workloads and it does not add a second authority service. + +## Enforcing code + +The compiler adds one host word, `execpure` (code 135), lowered by `hpack` in `seed/omc/omc.om`. +After the existing packet validation and descriptor closure, `hpure` performs these operations at +the kernel boundary, in order: + +1. `openat(AT_FDCWD, path, O_RDONLY|O_CLOEXEC|O_PATH)` pins the image as descriptor 3. +2. `landlock_create_ruleset` handles execute, read, write, directory, remove, make and refer rights. +3. `landlock_add_rule` allows only `EXECUTE|READ_FILE` beneath the pinned descriptor. +4. `prctl(PR_SET_NO_NEW_PRIVS, 1)` then `landlock_restrict_self`. +5. `prlimit64` sets CPU 1 s (hard 2 s), file size 1 MiB, stack 8 MiB, core 0, processes 0, + descriptors 4 and address space 128 MiB. +6. `seccomp(SECCOMP_SET_MODE_FILTER)` installs a 27-instruction filter allowing only: + `read` on descriptor 0, `write` on descriptors 1 and 2, `execveat` on descriptor 3 with + `AT_EMPTY_PATH`, and `exit`/`exit_group`. +7. `execveat(3, "", argv, empty env, AT_EMPTY_PATH)` replaces the process. + +Every failure before `execveat` returns the kernel's negative error; there is no fallback to a +less-restricted launch. The caller cannot select a weaker profile through this word. + +## Tested properties + +`pure-child.om` is the untrusted consumer. It asserts, in order: + +| Attempt | Expected | +| --- | --- | +| read public stdin | works | +| read descriptor 3 (the pinned image) | EPERM | +| write descriptor 0 | EPERM | +| read descriptor 1 | EPERM | +| `open` private data | EPERM | +| `open` judge data for write/truncate | EPERM | +| create a socket | EPERM | +| fork | EPERM | +| execute a different image | denied | +| write public stdout | works | + +The child exits 0 only if every assertion matches. `pure-raw.om` emits four fixed native images +that attempt `execveat` on an unassigned inode, raw `openat`, raw `getpid` and a 1 GiB `mmap`. +Each expects the exact kernel refusal and exits 0. + +## Results + +| Case | Observed | +| --- | --- | +| Compiler rebuild `om4 -> stage1 -> stage2` | stage1 == stage2 | +| `pure-launch` with `pure-child` | exit 0; stdout `public-output`; protected files unchanged | +| raw-0 absolute `execveat` | exit 0; kernel `EACCES` | +| raw-1 raw `openat` | exit 0; kernel `EPERM` | +| raw-2 raw `getpid` | exit 0; kernel `EPERM` | +| raw-3 1 GiB `mmap` | exit 0; kernel `EPERM` | +| Gate branch/packet/source | exit 0 | +| Native host suite | exit 0 | + +Raw traces in `launch.strace` and `raw-0..3.strace` show the Landlock ruleset, rlimits, seccomp +filter, pinned `execveat`, and each refusal. `protected-before.sha256` and +`protected-after.sha256` match. + +## Residual limits + +- Fixed profile only. There is no per-request grant identity, generation, revocation fence, + durable budget or caller-selected policy. Those remain #670/#649/#651 work. +- The pinned image is trusted to be the intended executable. The profile does not establish source + correctness, a diverse compiler or absence of kernel/Landlock/seccomp defects. +- `RLIMIT_CPU` bounds CPU seconds, not wall time, output volume, descendant count or total system + memory. `RLIMIT_NPROC=0` is the current process-control boundary; no process tree or cgroup is + created. +- Landlock ABI support and the exact handled-access set are host assumptions. Unsupported kernels + fail closed at the kernel call; no emulation was used. +- Only synthetic files and native fixtures were used. No device, GPU, network service or private + data was touched. This does not close #670 or #673. diff --git a/evidence/SECURITY-673/pure2/exits.txt b/evidence/SECURITY-673/pure2/exits.txt new file mode 100644 index 000000000..b6d581d49 --- /dev/null +++ b/evidence/SECURITY-673/pure2/exits.txt @@ -0,0 +1,5 @@ +launch=0 +raw-0=0 +raw-1=0 +raw-2=0 +raw-3=0 diff --git a/evidence/SECURITY-673/pure2/gate-branch.err b/evidence/SECURITY-673/pure2/gate-branch.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/gate-branch.log b/evidence/SECURITY-673/pure2/gate-branch.log new file mode 100644 index 000000000..8b504fa8d --- /dev/null +++ b/evidence/SECURITY-673/pure2/gate-branch.log @@ -0,0 +1,379 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2117025 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=3165241 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1061545 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +elapsed_ns=1058857 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1057929 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1058009 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=5266026 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1085641 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +elapsed_ns=1080089 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=1075481 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1075208 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1078808 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1058809 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1057049 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1056329 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1056105 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1056809 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1059401 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1057064 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +elapsed_ns=1056040 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1056136 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1057144 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1058457 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1056041 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1055593 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1055609 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +elapsed_ns=1057785 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1059081 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1017785 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1055577 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1055929 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1057001 +exit=62 expected=62 +build/security673-native/1002 < seed/qualification/security673/branch-forms.om > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1058537 +exit=0 expected=0 +build/security673-native/1048 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1058056 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1057496 +exit=0 expected=0 +build/security673-native/1051 < /dev/null > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1057752 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1053432 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1056105 +exit=0 expected=0 +build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1057433 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1058505 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +elapsed_ns=1058409 +exit=0 expected=0 +build/security673-native/1059 < /dev/null > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1056616 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1058776 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1062 > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1057480 +exit=0 expected=0 +build/security673-native/1063 < /dev/null > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=1052936 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1057800 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1059497 +exit=0 expected=0 +build/security673-native/1067 < /dev/null > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1058025 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1058441 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1055928 +exit=0 expected=0 +build/security673-native/1071 < /dev/null > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1055400 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +elapsed_ns=1055976 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +elapsed_ns=1046584 +exit=0 expected=0 +build/security673-native/1075 < /dev/null > build/security673-native/1076 2> build/security673-native/501076 +elapsed_ns=1056536 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +elapsed_ns=1058088 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +elapsed_ns=1057400 +exit=0 expected=0 +build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +elapsed_ns=1056345 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1081 > build/security673-native/1082 2> build/security673-native/501082 +elapsed_ns=1056825 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1082 > build/security673-native/1083 2> build/security673-native/501083 +elapsed_ns=1060377 +exit=0 expected=0 +build/security673-native/1083 < /dev/null > build/security673-native/1084 2> build/security673-native/501084 +elapsed_ns=1193546 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1085 > build/security673-native/1086 2> build/security673-native/501086 +elapsed_ns=1079209 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1086 > build/security673-native/1087 2> build/security673-native/501087 +elapsed_ns=1081145 +exit=0 expected=0 +build/security673-native/1087 < /dev/null > build/security673-native/1088 2> build/security673-native/501088 +elapsed_ns=1076921 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1089 > build/security673-native/1090 2> build/security673-native/501090 +elapsed_ns=1075096 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1090 > build/security673-native/1091 2> build/security673-native/501091 +elapsed_ns=1074472 +exit=0 expected=0 +build/security673-native/1091 < /dev/null > build/security673-native/1092 2> build/security673-native/501092 +elapsed_ns=1074568 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1093 > build/security673-native/1094 2> build/security673-native/501094 +elapsed_ns=1074905 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1094 > build/security673-native/1095 2> build/security673-native/501095 +elapsed_ns=1094553 +exit=0 expected=0 +build/security673-native/1095 < /dev/null > build/security673-native/1096 2> build/security673-native/501096 +elapsed_ns=1079129 +exit=21 expected=21 +build/security673-native/1048 < build/security673-native/1097 > build/security673-native/1098 2> build/security673-native/501098 +elapsed_ns=1074601 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1098 > build/security673-native/1099 2> build/security673-native/501099 +elapsed_ns=1072264 +exit=0 expected=0 +build/security673-native/1099 < /dev/null > build/security673-native/1100 2> build/security673-native/501100 +elapsed_ns=1095113 +exit=30 expected=30 +build/security673-native/1048 < build/security673-native/1101 > build/security673-native/1102 2> build/security673-native/501102 +elapsed_ns=1077929 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1102 > build/security673-native/1103 2> build/security673-native/501103 +elapsed_ns=1084521 +exit=0 expected=0 +build/security673-native/1103 < /dev/null > build/security673-native/1104 2> build/security673-native/501104 +elapsed_ns=1078760 +exit=107 expected=107 +build/security673-native/1048 < build/security673-native/1105 > build/security673-native/1106 2> build/security673-native/501106 +elapsed_ns=1076713 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1106 > build/security673-native/1107 2> build/security673-native/501107 +elapsed_ns=1072841 +exit=0 expected=0 +build/security673-native/1107 < /dev/null > build/security673-native/1108 2> build/security673-native/501108 +elapsed_ns=1073545 +exit=102 expected=102 +build/security673-native/1002 < seed/qualification/security673/packet-corpus.om > build/security673-native/1109 2> build/security673-native/501109 +elapsed_ns=1074265 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/pkt-consumer.om > build/security673-native/1110 2> build/security673-native/501110 +elapsed_ns=1069993 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1111 > build/security673-native/1112 2> build/security673-native/501112 +elapsed_ns=1093913 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1112 > build/security673-native/1113 2> build/security673-native/501113 +elapsed_ns=1101929 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1114 > build/security673-native/1115 2> build/security673-native/501115 +elapsed_ns=1067225 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1115 > build/security673-native/1116 2> build/security673-native/501116 +elapsed_ns=1074985 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1117 > build/security673-native/1118 2> build/security673-native/501118 +elapsed_ns=1075273 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1118 > build/security673-native/1119 2> build/security673-native/501119 +elapsed_ns=1069705 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1120 > build/security673-native/1121 2> build/security673-native/501121 +elapsed_ns=1077593 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1121 > build/security673-native/1122 2> build/security673-native/501122 +elapsed_ns=1076265 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1123 > build/security673-native/1124 2> build/security673-native/501124 +elapsed_ns=1075128 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1124 > build/security673-native/1125 2> build/security673-native/501125 +elapsed_ns=1077305 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1126 > build/security673-native/1127 2> build/security673-native/501127 +elapsed_ns=1070536 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1127 > build/security673-native/1128 2> build/security673-native/501128 +elapsed_ns=1070601 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1129 > build/security673-native/1130 2> build/security673-native/501130 +elapsed_ns=1092056 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1130 > build/security673-native/1131 2> build/security673-native/501131 +elapsed_ns=1083321 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1132 > build/security673-native/1133 2> build/security673-native/501133 +elapsed_ns=1075353 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1133 > build/security673-native/1134 2> build/security673-native/501134 +elapsed_ns=1071945 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1135 > build/security673-native/1136 2> build/security673-native/501136 +elapsed_ns=1115129 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1136 > build/security673-native/1137 2> build/security673-native/501137 +elapsed_ns=1075448 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1138 > build/security673-native/1139 2> build/security673-native/501139 +elapsed_ns=1072153 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1139 > build/security673-native/1140 2> build/security673-native/501140 +elapsed_ns=1094937 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1140 < /dev/null > build/security673-native/1141 2> build/security673-native/501141 +elapsed_ns=2195282 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1141 > build/security673-native/1142 2> build/security673-native/501142 +elapsed_ns=1073497 +exit=0 expected=0 +build/security673-native/1140 < /dev/null > build/security673-native/1143 2> build/security673-native/501143 +elapsed_ns=1090825 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1144 > build/security673-native/1145 2> build/security673-native/501145 +elapsed_ns=75115120 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1145 > build/security673-native/1146 2> build/security673-native/501146 +elapsed_ns=56038837 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1146 < /dev/null > build/security673-native/1147 2> build/security673-native/501147 +elapsed_ns=207304381 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1147 > build/security673-native/1148 2> build/security673-native/501148 +elapsed_ns=36470103 +exit=0 expected=0 +build/security673-native/1146 < /dev/null > build/security673-native/1149 2> build/security673-native/501149 +elapsed_ns=2115425 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1150 > build/security673-native/1151 2> build/security673-native/501151 +elapsed_ns=83306162 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1151 > build/security673-native/1152 2> build/security673-native/501152 +elapsed_ns=54986189 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1153 > build/security673-native/1154 2> build/security673-native/501154 +elapsed_ns=157090743 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1154 > build/security673-native/1155 2> build/security673-native/501155 +elapsed_ns=109450438 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1156 > build/security673-native/1157 2> build/security673-native/501157 +elapsed_ns=92674814 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1157 > build/security673-native/1158 2> build/security673-native/501158 +elapsed_ns=80225945 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1159 > build/security673-native/1160 2> build/security673-native/501160 +elapsed_ns=89712006 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1160 > build/security673-native/1161 2> build/security673-native/501161 +elapsed_ns=62350856 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1162 > build/security673-native/1163 2> build/security673-native/501163 +elapsed_ns=88769054 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1163 > build/security673-native/1164 2> build/security673-native/501164 +elapsed_ns=80249017 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1165 2> build/security673-native/501165 +elapsed_ns=1077272 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1165 > build/security673-native/1166 2> build/security673-native/501166 +elapsed_ns=4231506 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1167 > build/security673-native/1168 2> build/security673-native/501168 +elapsed_ns=83554388 +exit=0 expected=0 +build/security673-native/1166 < build/security673-native/1168 > build/security673-native/1169 2> build/security673-native/501169 +elapsed_ns=55964789 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1169 < /dev/null > build/security673-native/1170 2> build/security673-native/501170 +elapsed_ns=218616153 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1170 > build/security673-native/1171 2> build/security673-native/501171 +elapsed_ns=36814074 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1168 > build/security673-native/1172 2> build/security673-native/501172 +elapsed_ns=55833924 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1173 2> build/security673-native/501173 +elapsed_ns=1058568 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/pure2/gate-hostile.err b/evidence/SECURITY-673/pure2/gate-hostile.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/gate-hostile.log b/evidence/SECURITY-673/pure2/gate-hostile.log new file mode 100644 index 000000000..a4ef5b719 --- /dev/null +++ b/evidence/SECURITY-673/pure2/gate-hostile.log @@ -0,0 +1,161 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2112801 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4174242 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/hostile-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1057513 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1004 > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1055849 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1005 > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1055673 +exit=0 expected=0 +build/security673-native/1006 < /dev/null > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=1056217 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1056873 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1009 > build/security673-native/1010 2> build/security673-native/501010 +elapsed_ns=1056153 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1011 > build/security673-native/1012 2> build/security673-native/501012 +elapsed_ns=1031177 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=5265051 +exit=6 expected=6 +build/security673-native/1003 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1056568 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1015 > build/security673-native/1016 2> build/security673-native/501016 +elapsed_ns=1055704 +exit=0 expected=0 +build/security673-native/1016 < /dev/null > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1057896 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1060200 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1019 > build/security673-native/1020 2> build/security673-native/501020 +elapsed_ns=1056841 +exit=0 expected=0 +build/security673-native/1020 < /dev/null > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1055833 +exit=1 expected=1 +build/security673-native/1003 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1055433 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1023 > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1057305 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1056377 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1026 > build/security673-native/1027 2> build/security673-native/501027 +elapsed_ns=1055993 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1056089 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1029 > build/security673-native/1030 2> build/security673-native/501030 +elapsed_ns=1055032 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1055960 +exit=0 expected=0 +build/security673-native/1031 < /dev/null > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1055624 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1055432 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1056984 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1055880 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=8442740 +exit=0 expected=0 +build/security673-native/1038 < /dev/null > build/security673-native/1039 2> build/security673-native/501039 +elapsed_ns=1057721 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1060537 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1041 > build/security673-native/1042 2> build/security673-native/501042 +elapsed_ns=1059801 +exit=0 expected=0 +build/security673-native/1042 < /dev/null > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1055977 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1044 > build/security673-native/1045 2> build/security673-native/501045 +elapsed_ns=1056233 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1057288 +exit=14 expected=14 +build/security673-native/1003 < build/security673-native/1047 > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1056216 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1048 > build/security673-native/1049 2> build/security673-native/501049 +elapsed_ns=1056184 +exit=16 expected=16 +build/security673-native/1003 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1056009 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1051 > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1055481 +exit=23 expected=23 +build/security673-native/1003 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1056089 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1055609 +exit=22 expected=22 +build/security673-native/1003 < build/security673-native/1056 > build/security673-native/1057 2> build/security673-native/501057 +elapsed_ns=1055849 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1056377 +exit=3 expected=3 +build/security673-native/1003 < build/security673-native/1059 > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1071353 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1060 > build/security673-native/1061 2> build/security673-native/501061 +elapsed_ns=5228026 +exit=0 expected=0 +build/security673-native/1061 < /dev/null > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1057272 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1063 > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=5267051 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1064 > build/security673-native/1065 2> build/security673-native/501065 +elapsed_ns=4216386 +exit=14 expected=14 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1013544 +exit=0 expected=0 +build/security673-native/1066 3 < seed/omc/omc.om > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1057432 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1067 > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=4215794 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1055561 +exit=0 expected=0 +build/security673-native/1068 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1058344 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1056328 +exit=6 expected=6 +NEGATIVE CONTROL: compiled numeric-limit bypass admits21 digits; this violates the20-digit profile. Fixed compiler refuses6. +GATE671 SOURCE PASS bounded synthetic source families only diff --git a/evidence/SECURITY-673/pure2/host-gate.log b/evidence/SECURITY-673/pure2/host-gate.log new file mode 100644 index 000000000..f721edcbb --- /dev/null +++ b/evidence/SECURITY-673/pure2/host-gate.log @@ -0,0 +1,9 @@ +PASS native files, errno, exclusive creation, permissions, seek, sync and monotonic time +PASS native argument access, empty arguments, UTF-8 bytes and short-buffer refusal +PASS native socket exchange, poll timeout, fork, accept and child reaping +PASS native TCP loopback exchange on an OS-assigned port +PASS native exec with exact arguments, exec failure, pipes, descriptor duplication, sleep, kill and wait +PASS native directory enumeration, file metadata and rename without overwriting +PASS native syscall errors and nested expression register preservation +PASS native cwd and readlnk offsets, counts, truncation, errno and private path copy +PASS native socket options with independent bind behavior, readonly input and errno diff --git a/evidence/SECURITY-673/pure2/identities.txt b/evidence/SECURITY-673/pure2/identities.txt new file mode 100644 index 000000000..c675e6d98 --- /dev/null +++ b/evidence/SECURITY-673/pure2/identities.txt @@ -0,0 +1,21 @@ +2e6e17680cfab319f28842fa68c9e6520e5412c4831f80ab109945087bdd0ad3 seed/omc/omc.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +9061033def1f3f43402b51a396effc96154160de55547ac35b686af9ac2278b0 seed/qualification/security673/pure-launch.om +95c63d2aa7d69e6e04752279885496060a4152b5c1604ff75d65b201d48c713b seed/qualification/security673/pure-child.om +89c6240bb547a04054676d0a9e56a17657dd651baffc70b8840b0e8725265c40 seed/qualification/security673/pure-raw.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 build/pure/stage1 +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 build/pure/stage2 +782e81247c1dfa07b19ac1987a98152e0063d2fa7e4078c1c6f54b596a7bfa32 build/pure/pure-launch +d5886f82fa961ac7110b3f4fd2d4ce7073458136dffe215c11d0f0a8d531c854 build/pure/pure-child +1c22284a0e45145e1f3463b1958b31c23ad10b46d0b2705b5fd91ec5e92d521d build/pure/pure-raw +f33230ffa926d3e2cdac83926d650be978b2b2b9fde75d525e1ad1ee80cf4294 build/security673-pure/raw-0 +05a5c6832c7871109c2f6a5d358f90487457500c51259a7dfe93a14b6ca794e6 build/security673-pure/raw-1 +a38955982894b6a9e2a5aa2f8ddc7c0701bb0751afe3a98347929766faa409ee build/security673-pure/raw-2 +422f6840e0990b6154963cecbff06faf23bb9183f0c46e5486b7f7353cbfc3cd build/security673-pure/raw-3 +4caebbb143d76413098649f9569eadc495aad8ca744a91ba7b29fe1bad4c7471 evidence/SECURITY-673/pure2/template +526d5c9378116fb85333f38716c4f6e0658c7b5f1711a691f121dc80a521acb2 evidence/SECURITY-673/pure2/launch.strace +72e6d44f43135fd1c23c0ea41bd124da45fcbd1214043d35f903018c76d1bcde evidence/SECURITY-673/pure2/raw-0.strace +1630a5e980e1760876cc15b0e5d36210764982a867af35f27d24e9320c35d415 evidence/SECURITY-673/pure2/raw-1.strace +517eabb1eb720b0eeae7e0bff5105722ac896ff2a095dc4fc9b0472cf715021a evidence/SECURITY-673/pure2/raw-2.strace +af466197b3665994f57af9a2b9c267799cffb91282d6c8b572f67c41a852f213 evidence/SECURITY-673/pure2/raw-3.strace +eb1bee85b129cd07d48a02af400f768bc0fe1b52e88861de4b0cec5cedfca609 evidence/SECURITY-673/pure2/gate-branch.log diff --git a/evidence/SECURITY-673/pure2/launch.err b/evidence/SECURITY-673/pure2/launch.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/launch.out b/evidence/SECURITY-673/pure2/launch.out new file mode 100644 index 000000000..0e28f93a6 --- /dev/null +++ b/evidence/SECURITY-673/pure2/launch.out @@ -0,0 +1 @@ +public-output \ No newline at end of file diff --git a/evidence/SECURITY-673/pure2/launch.strace b/evidence/SECURITY-673/pure2/launch.strace new file mode 100644 index 000000000..d54245d07 --- /dev/null +++ b/evidence/SECURITY-673/pure2/launch.strace @@ -0,0 +1,24 @@ +2504476 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = 0 +2504476 openat(AT_FDCWD, "build/security673-pure/pure-child", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2504476 landlock_create_ruleset({handled_access_fs=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_WRITE_FILE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_REG|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|LANDLOCK_ACCESS_FS_TRUNCATE}, 8, 0) = 4 +2504476 landlock_add_rule(4, LANDLOCK_RULE_PATH_BENEATH, {allowed_access=LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE, parent_fd=3}, 0) = 0 +2504476 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 +2504476 landlock_restrict_self(4, 0) = 0 +2504476 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +2504476 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +2504476 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +2504476 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2504476 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +2504476 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +2504476 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +2504476 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2504476 execveat(3, "", ["build/security673-pure/pure-chil"...], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2504476 read(0, "public-input", 12) = 12 +2504476 read(3, 0x10800000, 1) = -1 EPERM (Operation not permitted) +2504476 write(0, "p", 1) = -1 EPERM (Operation not permitted) +2504476 read(1, 0x10800000, 1) = -1 EPERM (Operation not permitted) +2504476 openat(AT_FDCWD, "build/security673-pure/private.data", O_RDONLY) = -1 EPERM (Operation not permitted) +2504476 openat(AT_FDCWD, "build/security673-pure/judge.data", O_WRONLY|O_TRUNC) = -1 EPERM (Operation not permitted) +2504476 clone(child_stack=NULL, flags=SIGCHLD) = -1 EPERM (Operation not permitted) +2504476 close_range(3, 4294967295, CLOSE_RANGE_UNSHARE) = -1 EPERM (Operation not permitted) +2504476 write(1, "public-output", 13) = 13 diff --git a/evidence/SECURITY-673/pure2/protected-after.sha256 b/evidence/SECURITY-673/pure2/protected-after.sha256 new file mode 100644 index 000000000..57bf5f5f3 --- /dev/null +++ b/evidence/SECURITY-673/pure2/protected-after.sha256 @@ -0,0 +1,2 @@ +2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881 build/security673-pure/private.data +a1fce4363854ff888cff4b8e7875d600c2682390412a8cf79b37d0b11148b0fa build/security673-pure/judge.data diff --git a/evidence/SECURITY-673/pure2/protected-before.sha256 b/evidence/SECURITY-673/pure2/protected-before.sha256 new file mode 100644 index 000000000..57bf5f5f3 --- /dev/null +++ b/evidence/SECURITY-673/pure2/protected-before.sha256 @@ -0,0 +1,2 @@ +2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881 build/security673-pure/private.data +a1fce4363854ff888cff4b8e7875d600c2682390412a8cf79b37d0b11148b0fa build/security673-pure/judge.data diff --git a/evidence/SECURITY-673/pure2/raw-0.err b/evidence/SECURITY-673/pure2/raw-0.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/raw-0.out b/evidence/SECURITY-673/pure2/raw-0.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/raw-0.strace b/evidence/SECURITY-673/pure2/raw-0.strace new file mode 100644 index 000000000..0bb1790e2 --- /dev/null +++ b/evidence/SECURITY-673/pure2/raw-0.strace @@ -0,0 +1,5 @@ +2504482 openat(AT_FDCWD, "build/security673-pure/raw-0", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2504482 landlock_restrict_self(4, 0) = 0 +2504482 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2504482 execveat(3, "", ["build/security673-pure/raw-0"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2504482 execveat(3, "/usr/bin/true", NULL, NULL, AT_EMPTY_PATH) = -1 EACCES (Permission denied) diff --git a/evidence/SECURITY-673/pure2/raw-1.err b/evidence/SECURITY-673/pure2/raw-1.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/raw-1.out b/evidence/SECURITY-673/pure2/raw-1.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/raw-1.strace b/evidence/SECURITY-673/pure2/raw-1.strace new file mode 100644 index 000000000..0039dc1cd --- /dev/null +++ b/evidence/SECURITY-673/pure2/raw-1.strace @@ -0,0 +1,5 @@ +2504487 openat(AT_FDCWD, "build/security673-pure/raw-1", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2504487 landlock_restrict_self(4, 0) = 0 +2504487 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2504487 execveat(3, "", ["build/security673-pure/raw-1"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2504487 openat(AT_FDCWD, "/usr/bin/true", O_RDONLY) = -1 EPERM (Operation not permitted) diff --git a/evidence/SECURITY-673/pure2/raw-2.err b/evidence/SECURITY-673/pure2/raw-2.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/raw-2.out b/evidence/SECURITY-673/pure2/raw-2.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/raw-2.strace b/evidence/SECURITY-673/pure2/raw-2.strace new file mode 100644 index 000000000..065dc87f1 --- /dev/null +++ b/evidence/SECURITY-673/pure2/raw-2.strace @@ -0,0 +1,5 @@ +2504493 openat(AT_FDCWD, "build/security673-pure/raw-2", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2504493 landlock_restrict_self(4, 0) = 0 +2504493 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2504493 execveat(3, "", ["build/security673-pure/raw-2"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2504493 getpid() = -1 EPERM (Operation not permitted) diff --git a/evidence/SECURITY-673/pure2/raw-3.err b/evidence/SECURITY-673/pure2/raw-3.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/raw-3.out b/evidence/SECURITY-673/pure2/raw-3.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure2/raw-3.strace b/evidence/SECURITY-673/pure2/raw-3.strace new file mode 100644 index 000000000..f2bf690f9 --- /dev/null +++ b/evidence/SECURITY-673/pure2/raw-3.strace @@ -0,0 +1,5 @@ +2504499 openat(AT_FDCWD, "build/security673-pure/raw-3", O_RDONLY|O_CLOEXEC|O_PATH) = 3 +2504499 landlock_restrict_self(4, 0) = 0 +2504499 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +2504499 execveat(3, "", ["build/security673-pure/raw-3"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +2504499 mmap(NULL, 1073741824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted) diff --git a/evidence/SECURITY-673/pure2/template b/evidence/SECURITY-673/pure2/template new file mode 100644 index 000000000..680d8f3c7 Binary files /dev/null and b/evidence/SECURITY-673/pure2/template differ diff --git a/evidence/SECURITY-673/pure3/REPORT.md b/evidence/SECURITY-673/pure3/REPORT.md new file mode 100644 index 000000000..47a05236b --- /dev/null +++ b/evidence/SECURITY-673/pure3/REPORT.md @@ -0,0 +1,59 @@ +# Strict-profile bypass and fail-closed controls for Omega #670 + +Date: 2026-10-23. Parent tracker: #673. Branch: `fix/security673-qualified`. +Base: `8dfe778` plus the control sources in this commit. Platform: Linux AArch64, native execution. + +## Purpose + +The strict `execpure` profile is only meaningful if removing an enforcement step produces the +expected bypass, and if an unavailable kernel operation refuses the launch. This campaign compiles +controlled mutants of the actual compiler, rebuilds the launcher from each, and checks the exact +exit or signal. + +All mutants are qualification artifacts. None is a production compiler. + +## Controlled mutations + +`branch-mutate.om` performs exact single-substring transforms on `seed/omc/omc.om`: + +| Mode | Transform | Removed control | +| --- | --- | --- | +| `2` (ASCII 50) | `hsys 436` -> `hsys 999` | close_range unavailable, must fail closed | +| `4` (ASCII 52) | `hsys 277` -> `hsys 172` | seccomp filter installation replaced with getpid | +| `5` (ASCII 53) | `hsys 446` -> `hsys 172` | landlock_restrict_self replaced with getpid | + +The transform is exact once; the mutator refuses if the needle is absent or appears more than once. +The mutated source is compiled by the same rebuilt compiler, then `pure-launch.om` is rebuilt with +the mutant. The resulting compilers are byte-identical to the earlier candidate artifacts for modes +4 and 5. + +## Results + +| Control | Expected | Observed | +| --- | --- | --- | +| fixed-other: normal launcher, target exec from raw fixture | Landlock denies with EACCES; fixture exits 0 | 0 | +| bypass-filter: seccomp mutant, raw getpid fixture | getpid succeeds; fixture exits 71 | 71 | +| bypass-inode: Landlock-restrict mutant, target-exec fixture | target executes; fixture exits 77 | 77 | +| cpu: normal launcher, deliberate CPU exhaustion | SIGXCPU from the 1 s limit; exit 152 | 152 | +| output: normal launcher, 1,048,577-byte write to a regular file | write returns 1,048,576; file size 1,048,576; exit 0 | 0, 1,048,576 bytes | +| unavailable close_range: mode 2 mutant | ENOSYS (38), `PURE_LAUNCH_REFUSED`, no child | 38 | + +`fixed-other.strace` shows `execveat(..., pure-other, ...) = -1 EACCES`. +`bypass-filter.strace` shows `getpid()` succeeding because no filter was installed. +`bypass-inode.strace` shows the target `execveat` succeeding because the Landlock restriction was +replaced. +`output.strace` shows `write(..., 1048577) = 1048576` followed by `exit(0)`. + +The author evidence in `../pure1` also records unavailable landlock_create_ruleset = 38, +seccomp = 13 and prlimit64 = 1. Those three rows were not independently replayed in this pass; they +remain author evidence, not reviewer-confirmed results. + +## Residual limits + +- Removing a control proves the control is reachable and meaningful for these fixtures; it does not + prove there is no other bypass or kernel defect. +- The profile remains fixed. Grant identity, generation, revocation and durable budgets are still + open under #670/#649/#651. +- The mutants and fixtures share the seed compiler lineage. No diverse compilation or formal proof + is claimed. +- Only synthetic files and native fixtures were used. This does not close #670 or #673. diff --git a/evidence/SECURITY-673/pure3/bypass-filter.err b/evidence/SECURITY-673/pure3/bypass-filter.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/bypass-filter.out b/evidence/SECURITY-673/pure3/bypass-filter.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/bypass-filter.strace b/evidence/SECURITY-673/pure3/bypass-filter.strace new file mode 100644 index 000000000..a035ac052 --- /dev/null +++ b/evidence/SECURITY-673/pure3/bypass-filter.strace @@ -0,0 +1,4 @@ +3082887 landlock_restrict_self(4, 0) = 0 +3082887 getpid() = 3082887 +3082887 execveat(3, "", ["build/security673-pure/raw-2"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +3082887 getpid() = 3082887 diff --git a/evidence/SECURITY-673/pure3/bypass-inode.err b/evidence/SECURITY-673/pure3/bypass-inode.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/bypass-inode.out b/evidence/SECURITY-673/pure3/bypass-inode.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/bypass-inode.strace b/evidence/SECURITY-673/pure3/bypass-inode.strace new file mode 100644 index 000000000..42649960d --- /dev/null +++ b/evidence/SECURITY-673/pure3/bypass-inode.strace @@ -0,0 +1,4 @@ +3082891 getpid() = 3082891 +3082891 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +3082891 execveat(3, "", ["build/security673-pure/raw-other"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +3082891 execveat(3, "/tmp/omega-check/build/security673-pure/pure-other", NULL, NULL, AT_EMPTY_PATH) = 0 diff --git a/evidence/SECURITY-673/pure3/cpu.err b/evidence/SECURITY-673/pure3/cpu.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/cpu.out b/evidence/SECURITY-673/pure3/cpu.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/exits.txt b/evidence/SECURITY-673/pure3/exits.txt new file mode 100644 index 000000000..fa9e9801e --- /dev/null +++ b/evidence/SECURITY-673/pure3/exits.txt @@ -0,0 +1,6 @@ +fixed-other=0 +bypass-filter=71 +bypass-inode=77 +cpu=152 +output=0 +output_bytes=1048576 diff --git a/evidence/SECURITY-673/pure3/fixed-other.err b/evidence/SECURITY-673/pure3/fixed-other.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/fixed-other.out b/evidence/SECURITY-673/pure3/fixed-other.out new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/fixed-other.strace b/evidence/SECURITY-673/pure3/fixed-other.strace new file mode 100644 index 000000000..a26393620 --- /dev/null +++ b/evidence/SECURITY-673/pure3/fixed-other.strace @@ -0,0 +1,11 @@ +3082883 landlock_restrict_self(4, 0) = 0 +3082883 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +3082883 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +3082883 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +3082883 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +3082883 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +3082883 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +3082883 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +3082883 seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=27, filter=0x107fddc0}) = 0 +3082883 execveat(3, "", ["build/security673-pure/raw-other"], 0x107fefc8 /* 0 vars */, AT_EMPTY_PATH) = 0 +3082883 execveat(3, "/tmp/omega-check/build/security673-pure/pure-other", NULL, NULL, AT_EMPTY_PATH) = -1 EACCES (Permission denied) diff --git a/evidence/SECURITY-673/pure3/identities.txt b/evidence/SECURITY-673/pure3/identities.txt new file mode 100644 index 000000000..b8791cce6 --- /dev/null +++ b/evidence/SECURITY-673/pure3/identities.txt @@ -0,0 +1,17 @@ +2e6e17680cfab319f28842fa68c9e6520e5412c4831f80ab109945087bdd0ad3 seed/omc/omc.om +d338f3c5df6ab5102d261640c6bd98ed9ff05ad787805ae75292df9225e2ac2d seed/qualification/security673/branch-mutate.om +58b9a1376577458af3eefeee53e2560ef1ba28f2aa80f1c1e31aea0891fb9e42 seed/qualification/security673/pure-raw.om +d4801acf04a44467bac5e1bedfc502b20afe009d8065079ae5880e987b0899a7 seed/qualification/security673/pure-busy.om +a3f0c305294d59d459fe3428dcfcb192354322fe06fbba4e9bbc403d42efa6c2 seed/qualification/security673/pure-other.om +dfd33a5f59acf7b5c411c927f3a100b0661cd6ee0c810f8aea41f1aa76188cd8 seed/qualification/security673/pure-output.om +d6b14f8c4cc282c960f45b6eb5ad0b75516b3dbe6c347fb55d634f3cd07defae evidence/SECURITY-673/pure3/mut4.om +023c17850290db9ffd63485135527d56de263aa271a373ce877a4023638091c7 evidence/SECURITY-673/pure3/mut5.om +18bd6a5eacf8ba965058b25bb589966a0433ff000b24303e9ee3dc6e1e0f70aa build/pure/launch4 +522849a3af26d104bdce5c1ba09e094a4e0b8df80cf0168ff69ab9b9a4159dc2 build/pure/launch5 +5a4940200a47af9795fff5589e120429e73108f8d5824267e80627c089a3568a build/pure/launch-cr +7b0db850b376debbb5a5f178ffbfec5e1f7c69b400def9e56448c1c9f10e9ff0 build/security673-pure/raw-other +a38955982894b6a9e2a5aa2f8ddc7c0701bb0751afe3a98347929766faa409ee build/security673-pure/raw-2 +968e96b0eac9eadfb90cf536dfcde8124374226f5fa15c119daba6d5f176f7d7 evidence/SECURITY-673/pure3/fixed-other.strace +3e82302e3048857420fe3b49ff2a1cba8c9af0d2847844aba3df0e3bda2068a7 evidence/SECURITY-673/pure3/bypass-filter.strace +46275bbf1933b4208af62097b712dc4dd20bd858c04f75e95ffcc491fa335354 evidence/SECURITY-673/pure3/bypass-inode.strace +0cb91871e4842d17a7a51f4630680a8746380f6652777fdceb913d517d04d233 evidence/SECURITY-673/pure3/output.strace diff --git a/evidence/SECURITY-673/pure3/mut4.om b/evidence/SECURITY-673/pure3/mut4.om new file mode 100644 index 000000000..e5684e06a --- /dev/null +++ b/evidence/SECURITY-673/pure3/mut4.om @@ -0,0 +1,4175 @@ +note omc: the Omega compiler written in Omega (the om4 subset). Reads Omegese on stdin, writes a runnable +note AArch64 Linux program (or bare function words) on stdout. Built first by om4; its codegen matches om4 +note byte for byte on the original subset (seed chain rung 5, ledger L408). Native host operations +note extend that subset; om4 still builds this compiler, and the compiler rebuilds itself identically. +note All compiler state lives in fixed global pools (decision 24: no heap). Every working value is a ulong +note (raw 64 bits) so the language's checked conversions never fire on om4's untyped-register logic. + +note ---- input, output, token ---- +global inp uchar 8388608 +global inlen ulong 1 +global cur ulong 1 +global line ulong 1 +global tk ulong 1 +global tw ulong 1 +global tl ulong 1 +global ts ulong 1 +global tbig ulong 1 +global out uchar 8388608 +global oc ulong 1 + +note ---- name table (1024 names in scope): packed name, register, type, length, kind, address ---- +global nm_name ulong 1024 +global nm_reg uchar 1024 +global nm_type uchar 1024 +global nm_len ulong 1024 +global nm_kind uchar 1024 +global nm_addr ulong 1024 +global nn ulong 1 + +note ---- function table (512): name, address (byte offset in out), return type, parameter count, +note per-parameter type/length/kind (6 each), name length, name offset in the input ---- +global fn_name ulong 512 +global fn_addr ulong 512 +global fn_ret uchar 512 +global fn_np uchar 512 +global fn_pt uchar 3072 +global fn_pl ulong 3072 +global fn_pk uchar 3072 +global fn_nmlen ulong 512 +global fn_off ulong 512 +global nf ulong 1 +global lastfn ulong 1 +global scanning ulong 1 +global ncalls ulong 1 +global callsite ulong 65536 +global callfrom ulong 65536 +global callto ulong 65536 +global settled uchar 512 + + +note ---- compiler state ---- +global npar ulong 1 +global held ulong 1 +global nslot ulong 1 +global curret ulong 1 +global progmode ulong 1 +global nglob ulong 1 +global hostargs ulong 1 +global stkbytes ulong 1 +global dead ulong 1 +global poolb ulong 1 + +note ======== leaf helpers ======== + +note poolc: the i-th register of the pool x0..x6, x8..x15, x17 (x7 is the runtime, x16 scratch) +fn poolc i ulong to ulong +if lt i 7 +ret i +end +if lt i 15 +ret add i 1 +end +ret 17 +end + +note ---- error reporting ---- +global msg uchar 64 +global mc ulong 1 + +fn mputb b uchar to void +m = get mc 0 +put msg m b +put mc 0 add m 1 +end + +fn mputn v ulong to void +d = new uchar 20 0 +i = ulong 0 +x = v +put d 0 uchar add rem x 10 48 +x = div x 10 +i = add i 1 +while gt x 0 +put d i uchar add rem x 10 48 +x = div x 10 +i = add i 1 +end +j = i +while gt j 0 +j = sub j 1 +mputb get d j +end +end + +note fail: write "omc: line N: error E" to stderr (fd 2) and exit with the code +fn fail code ulong to void +put mc 0 0 +mputb 111 +mputb 109 +mputb 99 +mputb 58 +mputb 32 +mputb 108 +mputb 105 +mputb 110 +mputb 101 +mputb 32 +mputn get line 0 +mputb 58 +mputb 32 +mputb 101 +mputb 114 +mputb 114 +mputb 111 +mputb 114 +mputb 32 +mputn code +mputb 10 +w = write 2 msg 0 get mc 0 +exit int code +end + +note emitb / emit: one byte / one 32-bit word (little-endian) to the output; error 14 when it is full +note (om4 EMIT, EMITB: the 8 MiB output area) +fn emitb b uchar to void +o = get oc 0 +if ge o 8388608 +fail 14 +end +put out o b +put oc 0 add o 1 +end + +fn emit w ulong to void +if ge get oc 0 8388608 +fail 14 +end +emitb uchar and w 255 +emitb uchar and shr w 8 255 +emitb uchar and shr w 16 255 +emitb uchar and shr w 24 255 +end + +note tok_num: the word at [ts,cur) is [-]decimal, at most 20 digits, from -2^63 to 2^64 - 1 (error 6 +note bad number, 8 out of range). tw = its raw 64 bits (a negative one as two's complement); tbig = 1 +note when it is 2^63 or more (only a ulong holds it), else 0. As om4's TK_NUM. +fn tok_num to void +p = get ts 0 +e = get cur 0 +minus = false +if eq get inp p 45 +minus = true +p = add p 1 +end +ndig = sub e p +if eq ndig 0 +fail 6 +end +if gt ndig 20 +fail 6 +end +v = ulong 0 +lim = ulong 1844674407370955161 +i = p +while lt i e +d = sub ulong get inp i 48 +if gt d 9 +fail 6 +end +if gt v lim +fail 8 +end +if and eq v lim gt d 5 +fail 8 +end +v = add mul v 10 d +i = add i 1 +end +half = shl ulong 1 63 +put tbig 0 0 +if minus +if gt v half +fail 8 +end +put tw 0 sub ulong 0 v +else +if ge v half +put tbig 0 1 +end +put tw 0 v +end +put tk 0 2 +end + +note tok_text: a text literal starting at the opening quote. tw = first byte offset, tl = source length +note (escapes not yet decoded). Ends at an unescaped '"' on the same line, followed by a blank/end. Err 22. +note (Loops over the input are two loops, the inner under 1000000 passes: om4 has no pass limit.) +fn tok_text to void +put cur 0 add get cur 0 1 +put tw 0 get cur 0 +go = true +while go +n = ulong 0 +while and go lt n 999999 +if ge get cur 0 get inlen 0 +fail 22 +end +b = get inp get cur 0 +if eq b 10 +fail 22 +end +if eq b 34 +go = false +else +put cur 0 add get cur 0 1 +if eq b 92 +if ge get cur 0 get inlen 0 +fail 22 +end +if eq get inp get cur 0 10 +fail 22 +end +put cur 0 add get cur 0 1 +end +end +n = add n 1 +end +end +put tl 0 sub get cur 0 get tw 0 +put cur 0 add get cur 0 1 +put tk 0 4 +if lt get cur 0 get inlen 0 +if gt get inp get cur 0 32 +fail 22 +end +end +end + +note tok2: a word at cur with first byte c; packs 8 bytes into tw, sets tl and ts. A '"' is a text; a +note first byte '-' or a digit is a number. +fn tok2 c uchar to void +if eq c 34 +tok_text +ret +end +put ts 0 get cur 0 +w = ulong 0 +sh = ulong 0 +n = ulong 0 +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge get cur 0 get inlen 0 +go = false +else +b = get inp get cur 0 +if le b 32 +go = false +else +if lt n 8 +w = or w shl ulong b sh +sh = add sh 8 +end +n = add n 1 +put cur 0 add get cur 0 1 +end +end +m = add m 1 +end +end +put tw 0 w +put tl 0 n +f = get inp get ts 0 +isnum = false +if eq f 45 +isnum = true +end +if and ge f 48 le f 57 +isnum = true +end +if isnum +tok_num +else +put tk 0 1 +end +end + +note tok: next word, skipping blanks (space, tab, carriage return); newline is end of line (kind 0) and +note bumps the line number; another byte below 32 is error 16; the end of the input is kind 3. om4 TOK. +fn tok to void +go = true +while go +n = ulong 0 +while and go lt n 999999 +if ge get cur 0 get inlen 0 +go = false +else +c = get inp get cur 0 +if or or eq c 32 eq c 9 eq c 13 +put cur 0 add get cur 0 1 +else +if eq c 10 +put cur 0 add get cur 0 1 +put line 0 add get line 0 1 +put tk 0 0 +ret +end +if lt c 32 +fail 16 +end +tok2 c +ret +end +end +n = add n 1 +end +end +put tk 0 3 +end + +note ======== keyword lookup (original om4 KWTAB plus hand-maintained native host words 100..135) ======== +note genkw.awk describes the original om4 table only; retain the native host extension on regeneration. +fn kw w ulong to ulong +if eq w 7310034270740117605 +ret 135 +end +if eq w 6584163 +ret 132 +end +packed = or ulong 114 shl ulong 101 8 +packed = or packed shl ulong 97 16 +packed = or packed shl ulong 100 24 +packed = or packed shl ulong 108 32 +packed = or packed shl ulong 110 40 +packed = or packed shl ulong 107 48 +if eq w packed +ret 133 +end +packed = or ulong 115 shl ulong 111 8 +packed = or packed shl ulong 99 16 +packed = or packed shl ulong 107 24 +packed = or packed shl ulong 111 32 +packed = or packed shl ulong 112 40 +packed = or packed shl ulong 116 48 +if eq w packed +ret 134 +end +if eq w 1819242338 +ret 1 +end +if eq w 491260502901 +ret 2 +end +if eq w 14453 +ret 2 +end +if eq w 128034844210037 +ret 3 +end +if eq w 3551605 +ret 3 +end +if eq w 1953393013 +ret 4 +end +if eq w 3289973 +ret 4 +end +if eq w 444234427509 +ret 5 +end +if eq w 3421813 +ret 5 +end +if eq w 1702132066 +ret 6 +end +if eq w 14441 +ret 6 +end +if eq w 500136110195 +ret 7 +end +if eq w 3551593 +ret 7 +end +if eq w 7630441 +ret 8 +end +if eq w 3289961 +ret 8 +end +if eq w 1735290732 +ret 9 +end +if eq w 3421801 +ret 9 +end +if eq w 6579297 +ret 33 +end +if eq w 6452595 +ret 34 +end +if eq w 7107949 +ret 35 +end +if eq w 7760228 +ret 36 +end +if eq w 7169394 +ret 37 +end +if eq w 6581857 +ret 38 +end +if eq w 29295 +ret 39 +end +if eq w 7499640 +ret 40 +end +if eq w 7104627 +ret 41 +end +if eq w 7497843 +ret 42 +end +if eq w 29029 +ret 43 +end +if eq w 25966 +ret 44 +end +if eq w 29804 +ret 45 +end +if eq w 25964 +ret 46 +end +if eq w 29799 +ret 47 +end +if eq w 25959 +ret 48 +end +if eq w 6776174 +ret 49 +end +if eq w 7630702 +ret 50 +end +if eq w 7628135 +ret 51 +end +if eq w 7234924 +ret 52 +end +if eq w 1684104562 +ret 53 +end +if eq w 435744764535 +ret 54 +end +if eq w 1702195828 +ret 55 +end +if eq w 435728179558 +ret 56 +end +if eq w 2003134838 +ret 57 +end +if eq w 1953064037 +ret 58 +end +if eq w 28262 +ret 64 +end +if eq w 28532 +ret 65 +end +if eq w 6581861 +ret 66 +end +if eq w 26217 +ret 67 +end +if eq w 1702063205 +ret 68 +end +if eq w 435610544247 +ret 69 +end +if eq w 431349919586 +ret 70 +end +if eq w 7499622 +ret 71 +end +if eq w 7628146 +ret 72 +end +if eq w 61 +ret 73 +end +if eq w 40 +ret 74 +end +if eq w 41 +ret 75 +end +if eq w 1684631414 +ret 76 +end +if eq w 119165519096935 +ret 78 +end +if eq w 1954047348 +ret 79 +end +if eq w 7632240 +ret 80 +end +if eq w 1701147238 +ret 81 +end +if eq w 1953069157 +ret 82 +end +if eq w 1702129518 +ret 83 +end +if eq w 7824750 +ret 84 +end +if eq w 461195539042 +ret 77 +end +if eq w 1885434484 +ret 77 +end +if eq w 7239535 +ret 77 +end +if eq w 7308604897168158579 +ret 131 +end +if eq w 126918101919090 +ret 130 +end +if eq w 7453301735350958181 +ret 124 +end +if eq w 32481142782190962 +ret 125 +end +if eq w 491394461042 +ret 126 +end +if eq w 28263429247363435 +ret 127 +end +if eq w 32480013273033072 +ret 128 +end +if eq w 110404021020007 +ret 129 +end +if eq w 122498715312503 +ret 123 +end +if eq w 32497639802299751 +ret 113 +end +if eq w 32760384594014051 +ret 114 +end +if eq w 1684957538 +ret 115 +end +if eq w 28263429381382519 +ret 116 +end +if eq w 499851228006 +ret 117 +end +if eq w 1986225522 +ret 118 +end +if eq w 1684956531 +ret 119 +end +if eq w 32491051338263667 +ret 120 +end +if eq w 128017462948449 +ret 121 +end +if eq w 28254586010038881 +ret 122 +end +if eq w 111546465018726 +ret 100 +end +if eq w 427055215462 +ret 101 +end +if eq w 110429739705190 +ret 102 +end +if eq w 461262648166 +ret 103 +end +if eq w 33607047151054707 +ret 104 +end +if eq w 121382024472940 +ret 105 +end +if eq w 128026086171489 +ret 106 +end +if eq w 1802661734 +ret 107 +end +if eq w 431215375716 +ret 108 +end +if eq w 126918153105261 +ret 109 +end +if eq w 474148269926 +ret 110 +end +if eq w 118121959288437 +ret 111 +end +if eq w 32204027264196973 +ret 112 +end +ret 0 +end + +note ======== om4's small tables, as functions ======== +note twid: width in bits by type 0..9 (bool 1; uchar ushort uint ulong; byte short int long) +fn twid t ulong to ulong +if eq t 1 +ret 1 +end +if or eq t 2 eq t 6 +ret 8 +end +if or eq t 3 eq t 7 +ret 16 +end +if or eq t 4 eq t 8 +ret 32 +end +if or eq t 5 eq t 9 +ret 64 +end +ret 0 +end + +note tlog: log2 of the element size by type +fn tlog t ulong to ulong +if or eq t 3 eq t 7 +ret 1 +end +if or eq t 4 eq t 8 +ret 2 +end +if or eq t 5 eq t 9 +ret 3 +end +ret 0 +end + +note regidx: the pool index of register r (the inverse of poolc; 255 for x7 and x16) +fn regidx r ulong to ulong +if lt r 7 +ret r +end +if eq r 7 +ret 255 +end +if lt r 16 +ret sub r 1 +end +if eq r 16 +ret 255 +end +ret 15 +end + +note conds: the condition for eq ne lt le gt ge (i = 2 (op - 43) + 1 when signed): EQ 0, NE 1, LO 3 / LT 11, +note LS 9 / LE 13, HI 8 / GT 12, HS 2 / GE 10 (Arm ARM Table C1-1). The opposite condition is cond xor 1. +fn conds i ulong to ulong +if lt i 2 +ret 0 +end +if lt i 4 +ret 1 +end +if eq i 4 +ret 3 +end +if eq i 5 +ret 11 +end +if eq i 6 +ret 9 +end +if eq i 7 +ret 13 +end +if eq i 8 +ret 8 +end +if eq i 9 +ret 12 +end +if eq i 10 +ret 2 +end +ret 10 +end + +note ldop / stop: register-offset load / store by element type (om4 LDOP, STOP tables) +fn ldop t ulong to ulong +note LDRB 0x38606800, LDRH 0x78607800, LDR w 0xb8607800, LDR x 0xf8607800, LDRSB 0x38a06800, +note LDRSH 0x78a07800, LDRSW 0xb8a07800 +if eq t 2 +ret 945842176 +end +if eq t 3 +ret 2019588096 +end +if eq t 4 +ret 3093329920 +end +if or eq t 5 eq t 9 +ret 4167071744 +end +if eq t 6 +ret 950036480 +end +if eq t 7 +ret 2023782400 +end +if eq t 8 +ret 3097524224 +end +ret 0 +end + +fn stop t ulong to ulong +note STRB 0x38206800, STRH 0x78207800, STR w 0xb8207800, STR x 0xf8207800 +if or eq t 2 eq t 6 +ret 941647872 +end +if or eq t 3 eq t 7 +ret 2015393792 +end +if or eq t 4 eq t 8 +ret 3089135616 +end +if or eq t 5 eq t 9 +ret 4162877440 +end +ret 0 +end + +note ---- trap list (8192 sites per function): output offset of the branch, trap code ---- +global tsite ulong 8192 +global tcode ulong 8192 +global nt ulong 1 +note ---- block stack (512): kind (1 if, 2 else, 3 while, 4 for), branch to patch, loop head, loop +note register, its type, names and held pool slots to restore at end, then-part ended (for else) ---- +global bkind ulong 512 +global bbr ulong 512 +global bhead ulong 512 +global breg ulong 512 +global btyp ulong 512 +global bnames ulong 512 +global bheld ulong 512 +global bdead ulong 512 +global nb ulong 1 +global curfn ulong 1 + +note ======== names and functions ======== +note findname: packed name -> its index + 1 among the names in scope (0 none). om4 FINDNAME. +fn findname w ulong to ulong +i = ulong 0 +n = get nn 0 +while lt i n +if eq get nm_name i w +ret add i 1 +end +i = add i 1 +end +ret 0 +end + +note findfn: packed name w (first 8 bytes), length l (any value up to 8 for a short name), start s in the +note input (read only for a name over 8 bytes) -> function index + 1 (0 none). om4 FINDFN. +fn findfn w ulong l ulong s ulong to ulong +j = ulong 0 +while lt j get nf 0 +if eq get fn_name j w +fl = get fn_nmlen j +if le l 8 +if le fl 8 +ret add j 1 +end +else +if eq fl l +o = get fn_off j +k = ulong 8 +same = true +while and same lt k l +a = get inp add o k +if ne a get inp add s k +same = false +end +k = add k 1 +end +if same +ret add j 1 +end +end +end +end +j = add j 1 +end +ret 0 +end + +note newname: the name must not be in use (a name in scope when 8 bytes or fewer, or a function): error 10 +fn newname w ulong l ulong s ulong to void +if le l 8 +if ne findname w 0 +fail 10 +end +end +if ne findfn w l s 0 +fail 10 +end +end + +note addname: packed name, register, type, length, kind, address. om4 ADDNAME. +fn addname w ulong r ulong t ulong ln ulong k ulong a ulong to void +n = get nn 0 +if ge n 1024 +fail 14 +end +put nm_name n w +put nm_reg n uchar r +put nm_type n uchar t +put nm_len n ln +put nm_kind n uchar k +put nm_addr n a +put nn 0 add n 1 +end + +note ======== registers and words ======== +note alloc: the next free register of the pool (after the parameters); error 12 when none is left +fn alloc to ulong +i = add get npar 0 get nslot 0 +if ge i 16 +fail 12 +end +put nslot 0 add get nslot 0 1 +ret poolc i +end + +note destreg: d, or a new temporary when d is 255 +fn destreg d ulong to ulong +if eq d 255 +ret alloc +end +ret d +end + +note e3: emit op | d | n << 5 | m << 16 +fn e3 op ulong d ulong n ulong m ulong to void +emit or or or op d shl n 5 shl m 16 +end + +note trapsite: note the place and code of a branch to the trap stub, then emit it. trapc: B.cond, as om4. +fn trapsite w ulong code ulong to void +n = get nt 0 +if ge n 8192 +fail 14 +end +put tsite n get oc 0 +put tcode n code +put nt 0 add n 1 +emit w +end + +fn trapc cc ulong code ulong to void +trapsite or 1409286144 cc code +end + +fn rdword at ulong to ulong +a = ulong get out at +b = shl ulong get out add at 1 8 +c = shl ulong get out add at 2 16 +d = shl ulong get out add at 3 24 +ret or or or a b c d +end + +fn wrword at ulong w ulong to void +put out at uchar and w 255 +put out add at 1 uchar and shr w 8 255 +put out add at 2 uchar and shr w 16 255 +put out add at 3 uchar and shr w 24 255 +end + +note disp19: the checked word distance for a B.cond / CBZ / CBNZ: the target must be word aligned and +note at most 2^18 - 1 words forward or 2^18 words back, else error 24 before any artifact is accepted +fn disp19 at ulong target ulong to ulong +diff = sub target at +if ne and diff 3 0 +fail 24 +end +if and gt diff 1048572 lt diff 18446744073708503040 +fail 24 +end +ret and shr diff 2 524287 +end + +note patch19: the word distance from a B.cond / CBZ / CBNZ at `at` to `target`, into bits 5..23 +fn patch19 at ulong target ulong to void +d = disp19 at target +wrword at or rdword at shl d 5 +end + +note patch26: the word distance from a B at `at` to `target`, into bits 0..25. No range check is needed: +note the output pool is 8 MiB = 2^23 bytes, below the 2^25-word reach, and every position in it is a +note word boundary, so the displacement is aligned and inside the signed 26-bit field by construction. +fn patch26 at ulong target ulong to void +d = and shr sub target at 2 67108863 +wrword at or rdword at d +end + +note back: emit B to an earlier place (C6.2.35) +fn back addr ulong to void +emit or 335544320 and shr sub addr get oc 0 2 67108863 +end + +note matconst: put a 64-bit value in register r: MOVZ (C6.2.285) or, for a value with the top bit set, +note MOVN (C6.2.284) with the first halfword that differs from the fill, then MOVK (C6.2.283) for each +note other such halfword. om4 MATCONST. +fn matconst r ulong v ulong to void +fill = ulong 0 +mop = ulong 3531603968 +if ne shr v 63 0 +fill = ulong 65535 +mop = ulong 2457862144 +end +started = false +hw = ulong 0 +while lt hw 4 +h = and shr v shl hw 4 65535 +if ne h fill +if started +emit or or or 4068474880 shl h 5 shl hw 21 r +else +emit or or or mop shl xor h fill 5 shl hw 21 r +started = true +end +end +hw = add hw 1 +end +if not started +emit or mop r +end +end + +note canon: u8/u16/u32 UBFM Xr, Xr, #0, #w-1 (C6.2.487); i8/i16/i32 SBFM (C6.2.355); else nothing +fn canon r ulong t ulong to void +if lt t 2 +ret +end +if eq t 5 +ret +end +if eq t 9 +ret +end +base = ulong 3544186880 +if gt t 5 +base = ulong 2470445056 +end +emit or or or base shl sub twid t 1 10 r shl r 5 +end + +note chkext: CMP Xr, Wr, SXTB/SXTH/SXTW (SUBS extended, C6.2.463), then B.NE trap code +fn chkext r ulong t ulong code ulong to void +emit or or or 3944742943 shl sub t 2 13 shl r 16 shl r 5 +trapc 1 code +end + +note range: error 8 unless v is a value of type t; big = the number was written as 2^63 or more +fn range v ulong t ulong big ulong to void +w = twid t +if eq w 64 +if eq t 9 +if ne big 0 +fail 8 +end +ret +end +if ne big 0 +ret +end +if ne shr v 63 0 +fail 8 +end +ret +end +if ne big 0 +fail 8 +end +lim = shl ulong 1 w +if lt t 6 +if ge v lim +fail 8 +end +ret +end +half = shr lim 1 +if ge add v half lim +fail 8 +end +end + +note cset: CSET Xr, cond = CSINC Xr, XZR, XZR, opposite cond (C6.2.141) +fn cset r ulong cc ulong to void +emit or or 2594113504 r shl xor cc 1 12 +end + +note force: put a value (kind 1 register, 3 number, 4 flags) in register r; a bare number is error 11 +fn force k ulong v ulong t ulong r ulong to void +if eq k 1 +if ne v r +emit or or 2852127712 r shl v 16 +end +ret +end +if eq k 3 +matconst r v +ret +end +if eq k 4 +cset r v +ret +end +fail 11 +end + +note matreg: a register holding the value +fn matreg k ulong v ulong t ulong to ulong +if eq k 1 +ret v +end +r = alloc +force k v t r +ret r +end + +note spop: ADD (C6.2.5) / SUB (C6.2.457) SP, SP by a multiple of 16 below 2^24: low 12 bits, then the +note high 12 bits LSL 12; nothing for a zero part +fn spop base ulong bytes ulong to void +lo = and bytes 4095 +if ne lo 0 +emit or or base 1023 shl lo 10 +end +hi = and shr bytes 12 4095 +if ne hi 0 +emit or or base 4195327 shl hi 10 +end +end + +fn spadd bytes ulong to void +spop 2432696320 bytes +end + +fn spsub bytes ulong to void +spop 3506438144 bytes +end + +note stkchk: program mode only: CMP SP, X28 (C6.2.463); B.LO trap 6 +fn stkchk to void +if ne get progmode 0 0 +emit 3946603519 +trapc 3 6 +end +end + +note epi: give back the stack of the local arrays, then RET (C6.2.338) +fn epi to void +spadd get stkbytes 0 +emit 3596551104 +end + +fn dead1 to void +put dead 0 1 +end + +note pushb / pushnh: open a block (om4 PUSHB, split in two because a call takes at most 6 values) +fn pushb br ulong k ulong head ulong reg ulong ty ulong to void +n = get nb 0 +if ge n 512 +fail 14 +end +put bkind n k +put bbr n br +put bhead n head +put breg n reg +put btyp n ty +put bdead n 0 +put nb 0 add n 1 +end + +fn pushnh names ulong hd ulong to void +n = sub get nb 0 1 +put bnames n names +put bheld n hd +end + +note ======== small readers ======== +fn elemtype t ulong to void +if lt t 2 +fail 9 +end +end + +note arrlen: an array length 1 .. 16777216 (error 8 below, 23 above, 23 when written as 2^63 or more) +fn arrlen v ulong to void +if ne get tbig 0 0 +fail 23 +end +if or eq v 0 ne shr v 63 0 +fail 8 +end +if gt v 16777216 +fail 23 +end +end + +note typeword: read a type name -> 1..9 +fn typeword to ulong +tok +k = get tk 0 +if eq k 0 +fail 4 +end +if ne k 1 +fail 16 +end +if gt get tl 0 8 +fail 16 +end +c = kw get tw 0 +if eq c 76 +fail 9 +end +if gt sub c 1 8 +fail 16 +end +ret c +end + +note eol: the line must end here +fn eol to void +tok +k = get tk 0 +if and ne k 0 ne k 3 +fail 5 +end +end + +note arrname: read an array name -> its index + 1 +fn arrname to ulong +tok +k = get tk 0 +if eq k 0 +fail 4 +end +if eq k 3 +fail 4 +end +if ne k 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +e = findname get tw 0 +if eq e 0 +fail 3 +end +if eq get nm_kind sub e 1 0 +fail 7 +end +ret e +end + +note topname: read a new name for a global or a text -> its packed word +fn topname to ulong +tok +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +w = get tw 0 +if ne kw w 0 +fail 16 +end +newname w get tl 0 get ts 0 +ret w +end + +note ---- value results (om4 x0 kind 1 register / 2 bare number / 3 typed number / 4 flags, x1 register, +note number or condition, x2 type). fr: 32 cells per value nesting depth 0..1024: 0..5 the two operands of +note a binary op (kind, value, type each), 8..25 a call's arguments (kind, value, array name each) ---- +global rk ulong 1 +global rv ulong 1 +global rt ulong 1 +global fr ulong 32800 +global depth ulong 1 + +note ======== BINOP (om4 BINOP and its BO_* parts): two values already read, types settled ======== +note bo_w3: emit fx | rd | ra << 5 | (imm12 << 10, or rb << 16) +fn bo_w3 fx ulong rd ulong ra ulong rb ulong imm ulong to void +if ne imm 0 +emit or or or fx rd shl ra 5 shl rb 10 +else +emit or or or fx rd shl ra 5 shl rb 16 +end +end + +note bo_fix: after a 64-bit op on rd: u8/u16/u32 wrap (canon), i8/i16/i32 overflow check (trap 1) +fn bo_fix rd ulong ty ulong to void +if lt ty 6 +canon rd ty +ret +end +if eq ty 9 +ret +end +chkext rd ty 1 +end + +note bo_schk: a shift amount in a register must be below the width: CMP Xb, #w; B.HS trap 7 +fn bo_schk ty ulong rb ulong to void +emit or or 4043309087 shl twid ty 10 shl rb 5 +trapc 2 7 +end + +note add, sub: u32 the 32-bit form; i64 ADDS/SUBS + B.VS trap 1; others 64-bit then bo_fix (om4 BO_ADD) +fn bo_add op ulong ty ulong ra ulong rb ulong imm ulong rd ulong to void +fx = ulong 2332033024 +if eq op 34 +fx = ulong 3405774848 +end +if ne imm 0 +fx = ulong 2432696320 +if eq op 34 +fx = ulong 3506438144 +end +end +if eq ty 4 +bo_w3 xor fx 2147483648 rd ra rb imm +ret +end +if eq ty 9 +bo_w3 or fx 536870912 rd ra rb imm +trapc 6 1 +ret +end +bo_w3 fx rd ra rb imm +bo_fix rd ty +end + +note mul: i64 SMULH t, MUL, CMP t, rd, ASR #63, B.NE trap 1 (om4 BO_MUL) +fn bo_mul ty ulong ra ulong rb ulong rd ulong to void +if eq ty 9 +t = alloc +e3 2604694528 t ra rb +bo_w3 2600500224 rd ra rb 0 +e3 3951098911 0 t rd +trapc 1 1 +ret +end +if eq ty 4 +bo_w3 453016576 rd ra rb 0 +ret +end +bo_w3 2600500224 rd ra rb 0 +bo_fix rd ty +end + +note div, rem (om4 BO_DIV, BO_SDIV): CBZ Xb trap 2 unless fl bit 1 (b a number other than 0); UDIV or +note SDIV; rem: t = a / b, rd = a - t * b (MSUB); i64 div: CMN Xb, #1; B.NE +3; NEGS XZR, Xa; B.VS trap 1, +note unless fl bit 2 (b a number other than -1) +fn bo_div op ulong ty ulong ra ulong rb ulong rd ulong fl ulong to void +if eq and fl 1 0 +trapsite or 3019898880 rb 2 +end +if eq op 37 +t = alloc +if ge ty 6 +e3 2596277248 t ra rb +else +e3 2596276224 t ra rb +end +e3 or 2600501248 shl ra 10 rd t rb +ret +end +if lt ty 6 +bo_w3 2596276224 rd ra rb 0 +ret +end +if eq ty 9 +if eq and fl 2 0 +emit or 2969568287 shl rb 5 +emit 1409286241 +emit or 3942646783 shl ra 16 +trapc 6 1 +end +end +bo_w3 2596277248 rd ra rb 0 +if ne ty 9 +bo_fix rd ty +end +end + +note and, or, xor (om4 BO_LOG) +fn bo_log op ulong ra ulong rb ulong rd ulong to void +fx = ulong 2315255808 +if eq op 39 +fx = ulong 2852126720 +end +if eq op 40 +fx = ulong 3388997632 +end +bo_w3 fx rd ra rb 0 +end + +note bo_lsl: LSL Xd, Xn, #s as UBFM Xd, Xn, #(64-s) mod 64, #63-s +fn bo_lsl ra ulong s ulong rd ulong to void +r = shl and sub 64 s 63 16 +r = or r shl sub 63 s 10 +r = or r shl ra 5 +emit or or 3544186880 r rd +end + +note shl (om4 BO_SHL, BS_64): by a number s: UBFM Xd, Xn, #(64-s) mod 64, #63-s; by a register: the amount +note check, LSLV; i64: t = a << s, X16 = t >> s arithmetic, CMP X16, Xa, B.NE trap 1, MOV Xd, Xt +fn bo_shl ty ulong ra ulong rb ulong imm ulong rd ulong to void +if eq ty 9 +t = alloc +if ne imm 0 +bo_lsl ra rb t +emit or or 2470509584 shl rb 16 shl t 5 +else +bo_schk ty rb +e3 2596282368 t ra rb +e3 2596284432 0 t rb +end +emit or 3942646303 shl ra 16 +trapc 1 1 +emit or or 2852127712 rd shl t 16 +ret +end +if ne imm 0 +bo_lsl ra rb rd +bo_fix rd ty +ret +end +bo_schk ty rb +if eq ty 4 +bo_w3 448798720 rd ra rb 0 +ret +end +bo_w3 2596282368 rd ra rb 0 +bo_fix rd ty +end + +note shr: unsigned LSR, signed ASR; by a number UBFM / SBFM Xd, Xn, #s, #63; by a register the amount check +note then LSRV / ASRV (om4 BO_SHR) +fn bo_shr ty ulong ra ulong rb ulong imm ulong rd ulong to void +if ne imm 0 +fi = ulong 3544251392 +if ge ty 6 +fi = ulong 2470509568 +end +emit or or or fi shl rb 16 shl ra 5 rd +ret +end +bo_schk ty rb +fx = ulong 2596283392 +if ge ty 6 +fx = ulong 2596284416 +end +bo_w3 fx rd ra rb 0 +end + +note comparisons: CMP Xa, #imm or CMP Xa, Xb; the result is the flags and a condition (om4 BO_CMP) +fn bo_cmp op ulong ty ulong ra ulong rb ulong imm ulong to void +if ne imm 0 +emit or or 4043309087 shl rb 10 shl ra 5 +else +emit or or 3942645791 shl rb 16 shl ra 5 +end +i = mul sub op 43 2 +if ge ty 6 +i = add i 1 +end +put rk 0 4 +put rv 0 conds i +put rt 0 1 +end + +note binop: op 33..48, destination (255 none), ix the fr slot of a (kind, number/register, type) then b. +note Result in rk/rv/rt. om4 BINOP. +fn binop op ulong dst ulong ix ulong to void +ty = get fr add ix 2 +ra = matreg get fr ix get fr add ix 1 ty +imm = ulong 0 +bk = get fr add ix 3 +bn = get fr add ix 4 +rb = ulong 0 +useimm = false +if eq bk 3 +if or eq op 41 eq op 42 +if lt bn twid ty +useimm = true +end +else +if or lt op 35 ge op 43 +if le bn 4095 +useimm = true +end +end +end +end +if useimm +rb = bn +imm = ulong 1 +else +rb = matreg bk bn get fr add ix 5 +end +if ge op 43 +bo_cmp op ty ra rb imm +ret +end +if eq ty 1 +if gt sub op 38 2 +fail 7 +end +end +rd = destreg dst +if lt op 35 +bo_add op ty ra rb imm rd +else +if eq op 35 +bo_mul ty ra rb rd +else +if lt op 38 +fl = ulong 0 +if and eq bk 3 ne bn 0 +fl = or fl 1 +end +if and eq bk 3 ne bn 18446744073709551615 +fl = or fl 2 +end +bo_div op ty ra rb rd fl +else +if lt op 41 +bo_log op ra rb rd +else +if eq op 41 +bo_shl ty ra rb imm rd +else +bo_shr ty ra rb imm rd +end +end +end +end +end +put rk 0 1 +put rv 0 rd +put rt 0 ty +end + +note ======== calls: registers saved around a call and loaded back ======== +global svn ulong 1 +global sva ulong 1 +note save: n = registers in use (parameters + pool slots), A = 8 (n + 1) rounded up to 16: SUB SP, SP, #A +note (C6.2.457); the stack check; STR Xr, [SP, #8j] for each (C6.2.415); STR X30, [SP, #8n]. Out: svn n, +note sva A. om4 SAVE. +fn save to void +n = add get npar 0 get nslot 0 +a = shl shr add n 2 1 4 +put svn 0 n +put sva 0 a +spsub a +stkchk +j = ulong 0 +while lt j n +emit or or 4177527776 poolc j shl j 10 +j = add j 1 +end +emit or 4177527806 shl n 10 +end + +note loadarg: register t from an argument: kind 1 or 5 a register v, read back from its save slot (LDR Xt, +note [SP, #8 slot], C6.2.216); kind 3 or 6 the number or address v. om4 LOADARG. +fn loadarg t ulong k ulong v ulong to void +if or eq k 3 eq k 6 +matconst t v +ret +end +emit or or 4181722080 t shl regidx v 10 +end + +note basearg: register t = the base of array name e (index + 1): its register from the save area, or its +note address. om4 BASEARG. +fn basearg t ulong e ulong to void +i = sub e 1 +if ge get nm_kind i 4 +matconst t get nm_addr i +ret +end +loadarg t 1 ulong get nm_reg i +end + +note restore: d destination (255: a new temporary at pool slot `slot`), slot the pool slot before the +note arguments, n saved count, a save bytes, res 1 if there is a result in X0. MOV Xd, X0 (C6.2.282); LDR +note each register in use before the arguments except Xd (C6.2.216); LDR X30; ADD SP, SP, #A (C6.2.5). +note Returns Xd (255 when no result). om4 RESTORE. +fn restore d ulong slot ulong n ulong a ulong res ulong to ulong +put nslot 0 slot +rd = ulong 255 +if ne res 0 +rd = d +if eq d 255 +rd = alloc +end +if ne rd 0 +emit or 2852127712 rd +end +end +m = add get npar 0 slot +j = ulong 0 +while lt j m +r = poolc j +if ne r rd +emit or or 4181722080 r shl j 10 +end +j = add j 1 +end +emit or 4181722110 shl n 10 +spadd a +ret rd +end + +note ca_bl: BL to function f (index + 1), C6.2.43 +fn ca_bl f ulong to void +n = get ncalls 0 +if ge n 65536 +fail 14 +end +put callsite n get oc 0 +put callfrom n get curfn 0 +put callto n f +put ncalls 0 add n 1 + +emit or 2483027968 and shr sub get fn_addr sub f 1 get oc 0 2 67108863 +end + +note ======== element addresses and array arguments ======== +global ea_b ulong 1 +global ea_i ulong 1 +note elemaddr: array name e (index + 1), index value (kind, number or register, type). A number index must +note be inside the array (error 21) and needs no check; a register index: CMP Xi, #len (C6.2.96) or CMP Xi, +note Xt (C6.2.97), B.HS trap 3 (unsigned, so a negative signed index traps too). Out: ea_b base register +note (the array's register, or a new one holding its address), ea_i index register. om4 ELEMADDR. +fn elemaddr e ulong k ulong v ulong t ulong to void +if eq t 1 +fail 7 +end +i = sub e 1 +ln = get nm_len i +x = v +if eq k 3 +if ge v ln +fail 21 +end +x = alloc +matconst x v +else +if le ln 4095 +emit or or 4043309087 shl ln 10 shl v 5 +else +y = alloc +matconst y ln +emit or or 3942645791 shl y 16 shl v 5 +end +trapc 2 3 +end +put ea_i 0 x +if ge get nm_kind i 4 +b = alloc +matconst b get nm_addr i +put ea_b 0 b +else +put ea_b 0 ulong get nm_reg i +end +end + +note aa_word: the next word of an array argument must be a name of at most 8 bytes +fn aa_word to void +tok +k = get tk 0 +if eq k 0 +fail 4 +end +if ne k 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +end + +note arrarg: an array argument for parameter pi of function f (index + 1): [view | edit] NAME. Its type and +note length must equal the parameter's; an edit parameter needs a writable array (local or edit, error 20; +note a view passed to it is error 20, OMEGESE.md 9.4); a global is never passed (error 19). Out: rk 5 +note (register rv) or 6 (address rv, a text), rt the name entry. om4 ARRARG. +fn arrarg f ulong pi ulong to void +md = ulong 0 +aa_word +w = get tw 0 +c = kw w +if ne c 0 +if or lt c 57 gt c 58 +fail 16 +end +md = c +aa_word +w = get tw 0 +end +e = findname w +if eq e 0 +fail 3 +end +i = sub e 1 +k = ulong get nm_kind i +if eq k 0 +fail 7 +end +if eq k 4 +fail 19 +end +p = add mul sub f 1 6 pi +if eq get fn_pk p 3 +if eq md 57 +fail 20 +end +if and ne k 1 ne k 3 +fail 20 +end +else +if eq md 58 +fail 7 +end +end +if ne get nm_type i get fn_pt p +fail 7 +end +if ne get nm_len i get fn_pl p +fail 7 +end +put rt 0 e +if eq k 5 +put rk 0 6 +put rv 0 get nm_addr i +else +put rk 0 5 +put rv 0 ulong get nm_reg i +end +end + +note ======== the parts of the value reader that read no further value ======== +fn vdec to void +put depth 0 sub get depth 0 1 +end + +note vdone: a value's result, and one nesting level less (om4 VT_RET) +fn vdone k ulong v ulong t ulong to void +put rk 0 k +put rv 0 v +put rt 0 t +vdec +end + +note vt_un: neg / not of the value in rk/rv/rt (a bare number already refused). neg: NEG Xd, Xm (SUB from +note XZR, C6.2.458; the 32-bit form for u32), i64 NEGS + B.VS trap 1 (C6.2.465), then the wrap or the +note sign check; not: bool EOR Xd, Xn, #1 (C6.2.155), else MVN (ORN from XZR, C6.2.300), then the wrap. +note om4 VU1 .. VU_E. +fn vt_un c ulong dst ulong to void +ty = get rt 0 +ra = matreg get rk 0 get rv 0 ty +rd = destreg dst +if eq c 50 +if eq ty 1 +e3 3527409664 rd ra 0 +else +if eq ty 4 +e3 706741216 rd 0 ra +else +e3 2854224864 rd 0 ra +if lt ty 6 +canon rd ty +end +end +end +else +if eq ty 1 +fail 7 +end +if eq ty 9 +e3 3942646752 rd 0 ra +trapc 6 1 +else +if eq ty 4 +e3 1258292192 rd 0 ra +else +e3 3405775840 rd 0 ra +if lt ty 6 +canon rd ty +else +chkext rd ty 1 +end +end +end +end +put rk 0 1 +put rv 0 rd +put rt 0 ty +end + +note vt_conv: the value in rk/rv/rt converted to type tt (neither bool, error 9). Out of range when any bit +note at or above s is set: LSR Xt, Xa, #s (UBFM, C6.2.487); CBNZ Xt trap 5 (C6.2.77); signed to a narrower +note signed type: the sign-extension check, trap 5. om4 VTT1 .. VC_OK. +fn vt_conv tt ulong to void +ft = get rt 0 +ra = matreg get rk 0 get rv 0 ft +if eq ft 1 +fail 9 +end +if eq tt 1 +fail 9 +end +wf = twid ft +wt = twid tt +s = ulong 99 +if lt ft 6 +if ge tt 6 +if ge wf wt +s = sub wt 1 +end +else +if gt wf wt +s = wt +end +end +else +if lt tt 6 +s = wt +if gt s 63 +s = ulong 63 +end +else +if gt wf wt +chkext ra tt 5 +end +end +end +if ne s 99 +t = alloc +emit or or or 3544251392 t shl s 16 shl ra 5 +trapsite or 3036676096 t 5 +end +put rk 0 1 +put rv 0 ra +put rt 0 tt +end + +note vt_get: get A i with the index value in rk/rv/rt: the element address, then the load of the element +note type, register offset (LDOP table). om4 VT_GET. +fn vt_get e ulong dst ulong to void +elemaddr e get rk 0 get rv 0 get rt 0 +rd = destreg dst +ty = ulong get nm_type sub e 1 +w = or ldop ty rd +emit or or w shl get ea_b 0 5 shl get ea_i 0 16 +put rk 0 1 +put rv 0 rd +put rt 0 ty +end + +note vs_chk: read / write bounds: n <= len A and off <= len A - n, else trap 3 (CMP C6.2.97, B.HI C6.2.34, +note SUB C6.2.458). om4 VT_SYS. +fn vs_chk e ulong ro ulong rn ulong to void +t = alloc +matconst t get nm_len sub e 1 +emit or or 3942645791 shl rn 5 shl t 16 +trapc 8 3 +e3 3405774848 t t rn +emit or or 3942645791 shl ro 5 shl t 16 +trapc 8 3 +end + +note vs_call: save the registers in use, X0 = fd, X1 = A + off (ADD through X16, C6.2.6), X2 = n, X8 = 63 +note (read) or 64 (write) (MOVZ C6.2.285), SVC #0 (C6.2.466). om4 VT_SYS. +fn vs_call c ulong fk ulong fv ulong e ulong ro ulong rn ulong to void +save +loadarg 0 fk fv +basearg 1 e +loadarg 16 1 ro +emit 2333081633 +loadarg 2 1 rn +emit or 3531603976 shl add c 10 5 +emit 3556769793 +end + +note ca_scal: a scalar argument just read (rk/rv/rt) for parameter p: flags into a register; its type +note must be the parameter's; stored at fr[q..q+2]. om4 CA1 .. CA_PUT. +fn ca_scal p ulong q ulong to void +if eq get rk 0 4 +put rv 0 matreg 4 get rv 0 get rt 0 +put rk 0 1 +put rt 0 1 +end +if ne get rt 0 ulong get fn_pt p +fail 7 +end +put fr q get rk 0 +put fr add q 1 get rv 0 +put fr add q 2 0 +end + +note ca_arr: an array argument i of function f, call frame cb: one array passed twice is error 19. +note om4 CA_ARR .. CA_PUT. +fn ca_arr f ulong i ulong cb ulong to void +arrarg f i +j = ulong 0 +while lt j i +if eq get fr add add cb mul j 3 2 get rt 0 +fail 19 +end +j = add j 1 +end +q = add cb mul i 3 +put fr q get rk 0 +put fr add q 1 get rv 0 +put fr add q 2 get rt 0 +end + +note ca_end: all arguments read: save, the arguments into X0.., BL, restore. Frame cb: 3 per argument, +note then cb+18 the parameter count, cb+19 the pool slot before the arguments. om4 CA_DONE .. CA5. +fn ca_end f ulong dst ulong cb ulong to void +save +np = get fr add cb 18 +i = ulong 0 +while lt i np +q = add cb mul i 3 +loadarg i get fr q get fr add q 1 +i = add i 1 +end +ca_bl f +hr = ulong 1 +if eq get fn_ret sub f 1 10 +hr = ulong 0 +end +n = get svn 0 +a = get sva 0 +sl = get fr add cb 19 +r = restore dst sl n a hr +put rk 0 1 +put rv 0 r +put rt 0 ulong get fn_ret sub f 1 +end + +note vs_fd, vs_arr, vs_off, vs_end: the steps of read / write between the values it reads, with the fd +note (kind, value), the offset register and the pool slot before kept in fr[x+8..x+11] (om4's VT_SYS +note frame slots 4, 5, 7 and 14) +fn vs_fd x ulong to void +if ne get rt 0 8 +fail 7 +end +put fr add x 9 get rk 0 +put fr add x 10 get rv 0 +end + +fn vs_arr c ulong e ulong to void +if eq c 53 +k = get nm_kind sub e 1 +if or eq k 2 eq k 5 +fail 20 +end +end +end + +fn vs_off x ulong to void +if ne get rt 0 5 +fail 7 +end +put fr add x 11 matreg get rk 0 get rv 0 get rt 0 +end + +fn vs_end c ulong e ulong dst ulong x ulong to void +if ne get rt 0 5 +fail 7 +end +rn = matreg get rk 0 get rv 0 get rt 0 +ro = get fr add x 11 +vs_chk e ro rn +fk = get fr add x 9 +fv = get fr add x 10 +vs_call c fk fv e ro rn +sl = get fr add x 8 +n = get svn 0 +a = get sva 0 +r = restore dst sl n a 1 +vdone 1 r 9 +end + +note Native Linux ARM64 host operations. Encoding forms are those in seed/rung2/table.s2. +note Syscall numbers and layouts: Linux asm-generic/unistd.h, fcntl.h and time.h. +note No raw address or arbitrary syscall is exposed to an Omega program. +fn hargc c ulong to ulong +if or or eq c 107 eq c 109 eq c 129 +ret 0 +end +if or eq c 100 eq c 101 +ret 1 +end +if or or or eq c 102 eq c 105 eq c 106 eq c 127 +ret 2 +end +ret 3 +end +fn hsysno c ulong to ulong +if eq c 127 +ret 129 +end +if eq c 129 +ret 172 +end +if eq c 100 +ret 57 +end +if eq c 101 +ret 82 +end +if eq c 102 +ret 52 +end +if eq c 103 +ret 62 +end +if eq c 104 +ret 198 +end +if eq c 105 +ret 201 +end +if eq c 106 +ret 242 +end +if eq c 107 +ret 220 +end +ret 24 +end +fn harg x ulong i ulong ty ulong to void +rdval 0 ty 255 0 +if ne get rt 0 ty +fail 7 +end +q = add add x 8 mul i 2 +put fr q get rk 0 +put fr add q 1 get rv 0 +end +fn hload x ulong i ulong reg ulong to void +q = add add x 8 mul i 2 +loadarg reg get fr q get fr add q 1 +end +fn hsys n ulong to void +matconst 8 n +emit 3556769793 +end +fn hreturn dst ulong x ulong to void +sl = get fr add x 7 +n = get svn 0 +a = get sva 0 +r = restore dst sl n a 1 +vdone 1 r 9 +end +fn hscalar c ulong dst ulong x ulong to void +np = hargc c +for i ulong np +ty = ulong 8 +if and eq c 103 eq i 1 +ty = ulong 9 +end +harg x i ty +end +save +for i ulong np +hload x i i +end +if eq c 106 +hload x 1 3 +matconst 1 0 +matconst 2 0 +end +if eq c 107 +matconst 0 17 +for i ulong 5 +matconst add i 1 0 +end +end +hsys hsysno c +hreturn dst x +end +fn hclock c ulong dst ulong x ulong to void +save +spsub 16 +stkchk +matconst 0 1 +if eq c 130 +matconst 0 0 +end +emit 2432697313 +hsys 113 +emit 4043309087 +bad = get oc 0 +emit 1409286155 +emit 4181722081 +emit 4181723106 +note Reject overflow before seconds are multiplied; clock result is a signed nanosecond count. +matconst 3 9223372036 +e3 3942645760 31 1 3 +trapc 8 1 +matconst 3 1000000000 +e3 2600500224 1 1 3 +e3 2868903936 0 1 2 +trapc 6 1 +patch19 bad get oc 0 +spadd 16 +hreturn dst x +end +fn harray x ulong writable ulong to ulong +e = arrname +if ne get nm_type sub e 1 2 +fail 7 +end +if ne writable 0 +vs_arr 53 e +end +put fr add x 20 e +harg x 0 5 +harg x 1 5 +ro = matreg get fr add x 8 get fr add x 9 5 +rn = matreg get fr add x 10 get fr add x 11 5 +put fr add x 21 ro +put fr add x 22 rn +vs_chk e ro rn +ret e +end +note Copy a checked path to a private 4096-byte stack buffer. Reject embedded zero bytes. +note Public paths remain length-delimited; only the kernel-facing private copy has a terminator. +fn hpathcp x ulong to void +e = get fr add x 20 +save +basearg 4 e +loadarg 16 1 get fr add x 21 +e3 2332033024 4 4 16 +loadarg 5 1 get fr add x 22 +matconst 6 4095 +e3 3942645760 31 5 6 +trapc 8 3 +end +fn hcopy to void +spsub 4096 +stkchk +emit 2432697313 +head = get oc 0 +emit 4043309247 +done = get oc 0 +emit 1409286144 +emit 960495750 +emit 4043309279 +trapc 0 3 +emit 956301350 +emit 2432697476 +emit 2432697377 +emit 3506439333 +back head +patch19 done get oc 0 +emit 956301375 +emit 2432697313 +matconst 0 18446744073709551516 +end +fn hpath c ulong dst ulong x ulong to void +e = harray x 0 +if eq c 110 +harg x 2 8 +harg x 3 8 +end +if eq c 112 +harg x 2 8 +end +hpathcp x +if eq c 110 +hload x 2 2 +hload x 3 3 +end +if eq c 111 +matconst 2 0 +end +if eq c 126 +matconst 2 512 +end +if eq c 112 +hload x 2 2 +end +hcopy +nr = ulong 56 +if or eq c 111 eq c 126 +nr = ulong 35 +end +if eq c 112 +nr = ulong 34 +end +hsys nr +spadd 4096 +hreturn dst x +end +fn hbuffer c ulong dst ulong x ulong to void +harg x 4 8 +wr = ulong 0 +if or or or or eq c 113 eq c 116 eq c 117 eq c 118 eq c 131 +wr = ulong 1 +end +e = harray x wr +if or or eq c 116 eq c 118 eq c 119 +harg x 2 8 +end +if or eq c 116 eq c 117 +need = ulong 4 +if eq c 117 +need = ulong 128 +end +tmp = alloc +matconst tmp need +e3 3942645760 31 get fr add x 22 tmp +trapc 3 3 +end +save +hload x 4 0 +basearg 1 e +loadarg 16 1 get fr add x 21 +e3 2332033024 1 1 16 +loadarg 2 1 get fr add x 22 +nr = ulong 61 +if eq c 114 +nr = ulong 203 +end +if eq c 115 +nr = ulong 200 +end +if eq c 116 +nr = ulong 260 +hload x 2 2 +matconst 3 0 +end +if eq c 117 +nr = ulong 80 +end +if or eq c 118 eq c 119 +nr = ulong 207 +hload x 2 3 +matconst 4 0 +matconst 5 0 +if eq c 119 +nr = ulong 206 +matconst 16 16384 +e3 2852126720 3 3 16 +end +end + +if eq c 131 +note getsockname uses a private 32-bit socklen. Success returns the full address length. +spsub 16 +stkchk +emit 3103785954 +emit 2432697314 +hsys 204 +emit 4043309087 +failed = get oc 0 +emit 1409286155 +emit 3107980256 +patch19 failed get oc 0 +spadd 16 +else +hsys nr +end +hreturn dst x +end +fn hsleep dst ulong x ulong to void +harg x 0 9 +save +hload x 0 2 +emit 4043309151 +trapc 11 3 +spsub 16 +stkchk +matconst 3 1000000000 +e3 2596276224 4 2 3 +note MSUB x5,x4,x3,x2 gives the subsecond remainder. +emit 2600700037 +emit 4177527780 +emit 4177528805 +emit 2432697312 +matconst 1 0 +hsys 101 +spadd 16 +hreturn dst x +end +fn hargs c ulong dst ulong x ulong to void +if eq c 121 +save +emit 4181721952 +hreturn dst x +ret +end +harg x 4 5 +e = harray x 1 +save +hload x 4 0 +emit 4181721953 +e3 3942645760 31 0 1 +trapc 2 3 +emit 2432697344 +matconst 16 8 +e3 2600500224 0 0 16 +e3 2332033024 3 27 0 +emit 4181721187 +e3 2852126720 4 31 3 +matconst 5 0 +scan = get oc 0 +emit 960495750 +emit 4043309279 +done = get oc 0 +emit 1409286144 +emit 2432697476 +emit 2432697509 +matconst 16 1048576 +e3 3942645760 31 5 16 +trapc 2 3 +back scan +patch19 done get oc 0 +loadarg 2 1 get fr add x 22 +e3 3942645760 31 5 2 +small = get oc 0 +emit 1409286152 +basearg 0 e +loadarg 16 1 get fr add x 21 +e3 2332033024 0 0 16 +e3 2852126720 2 31 5 +copy = get oc 0 +emit 4043309247 +endcp = get oc 0 +emit 1409286144 +emit 960495718 +emit 956301318 +emit 2432697443 +emit 2432697344 +emit 3506439333 +back copy +patch19 endcp get oc 0 +e3 2852126720 0 31 2 +endbr = get oc 0 +emit 335544320 +patch19 small get oc 0 +matconst 0 18446744073709551511 +patch26 endbr get oc 0 +hreturn dst x +end + +note waitio(fd int, events int, timeout_ns long): revents, 0 timeout, or negative errno. +note ppoll uses one private pollfd and one private timespec. Negative timeout is infinite. +fn hwaitio dst ulong x ulong to void +harg x 0 8 +harg x 1 8 +harg x 2 9 +save +hload x 0 0 +hload x 1 1 +hload x 2 2 +note pollfd.events is 16 bits; refuse truncation of the public int argument. +emit 4043309119 +trapc 11 3 +matconst 16 65535 +e3 3942645760 31 1 16 +trapc 8 3 +spsub 32 +stkchk +emit 4177527807 +emit 3103785952 +emit 2030046177 +matconst 3 1000000000 +emit 4043309151 +forever = get oc 0 +emit 1409286155 +e3 2596276224 4 2 3 +emit 2600700037 +emit 4177528804 +emit 4177529829 +emit 2432705506 +jump = get oc 0 +emit 335544320 +patch19 forever get oc 0 +matconst 2 0 +patch26 jump get oc 0 +emit 2432697312 +matconst 1 1 +matconst 3 0 +matconst 4 8 +hsys 73 +emit 4043309087 +failed = get oc 0 +emit 1409286157 +emit 2034241504 +patch19 failed get oc 0 +spadd 32 +hreturn dst x +end + +note Strict stdio profile uses Linux UAPI layouts, not exposed native pointers. Guest scratch640 bytes. +note sock_filter is u16 code,u8 jt,u8 jf,u32 k; sock_fprog length at0 and pointer at8 on AArch64. +note Landlock path rule is packed u64 allowed_access plus s32 parent_fd. prlimit64 uses two u64s. +fn hsptr reg ulong off ulong to void +emit or or 2432697312 reg shl off 10 +end +fn hstore off ulong value ulong to void +matconst 0 value +hsptr 16 off +e3 4177526784 0 16 0 +end +fn hbad to ulong +emit 4043309087 +at = get oc 0 +emit 1409286155 +ret at +end +fn hlimit resource ulong soft ulong hard ulong to ulong +hstore 48 soft +hstore 56 hard +matconst 0 0 +matconst 1 resource +hsptr 2 48 +matconst 3 0 +hsys 261 +ret hbad +end +fn hfilter i ulong op ulong jt ulong jf ulong k ulong to void +word = or or op shl jt 16 or shl jf 24 shl k 32 +hstore add 128 mul i 8 word +end +fn hpure to void +errs = new ulong 24 0 +n = ulong 0 +spsub 640 +stkchk +hsptr 16 632 +e3 4177526784 11 16 0 +note Extra descriptors have already been closed in a private table. Pin executable as descriptor3. +matconst 0 18446744073709551516 +hsptr 1 640 +matconst 2 2621440 +matconst 3 0 +hsys 56 +put errs n hbad +n = add n 1 +note ABI3 rights through TRUNCATE are all handled, with only read/execute of that one inode allowed. +hstore 0 32767 +hsptr 0 0 +matconst 1 8 +matconst 2 0 +hsys 444 +put errs n hbad +n = add n 1 +hstore 16 5 +hstore 24 3 +matconst 0 4 +matconst 1 1 +hsptr 2 16 +matconst 3 0 +hsys 445 +put errs n hbad +n = add n 1 +matconst 0 38 +matconst 1 1 +matconst 2 0 +matconst 3 0 +matconst 4 0 +hsys 167 +put errs n hbad +n = add n 1 +matconst 0 4 +matconst 1 0 +hsys 446 +put errs n hbad +n = add n 1 +matconst 0 4 +hsys 57 +put errs n hbad +n = add n 1 +note Per-process ceilings. Pipe-output and wall budgets additionally require the trusted supervisor. +put errs n hlimit 0 1 2 +n = add n 1 +put errs n hlimit 1 1048576 1048576 +n = add n 1 +put errs n hlimit 3 8388608 8388608 +n = add n 1 +put errs n hlimit 4 0 0 +n = add n 1 +put errs n hlimit 6 0 0 +n = add n 1 +put errs n hlimit 7 4 4 +n = add n 1 +put errs n hlimit 9 134217728 134217728 +n = add n 1 +note Validate architecture, then read only0,write only1/2,exit/exit_group. Everything else is EPERM. +note execveat is restricted to descriptor3 and AT_EMPTY_PATH; Landlock also binds execution to inode3. +note The inode rule is essential: an absolute execveat path otherwise ignores its dirfd argument. +hfilter 0 32 0 0 4 +hfilter 1 21 1 0 3221225655 +hfilter 2 6 0 0 2147483648 +hfilter 3 32 0 0 0 +hfilter 4 21 0 3 63 +hfilter 5 32 0 0 16 +hfilter 6 21 0 1 0 +hfilter 7 6 0 0 2147418112 +hfilter 8 32 0 0 0 +hfilter 9 21 0 4 64 +hfilter 10 32 0 0 16 +hfilter 11 21 1 0 1 +hfilter 12 21 0 1 2 +hfilter 13 6 0 0 2147418112 +hfilter 14 32 0 0 0 +hfilter 15 21 0 1 93 +hfilter 16 6 0 0 2147418112 +hfilter 17 21 0 1 94 +hfilter 18 6 0 0 2147418112 +hfilter 19 32 0 0 0 +hfilter 20 21 0 5 281 +hfilter 21 32 0 0 16 +hfilter 22 21 0 3 3 +hfilter 23 32 0 0 48 +hfilter 24 21 0 1 4096 +hfilter 25 6 0 0 2147418112 +hfilter 26 6 0 0 327681 +hstore 80 27 +hsptr 0 128 +hsptr 16 88 +e3 4177526784 0 16 0 +matconst 0 1 +matconst 1 0 +hsptr 2 80 +hsys 172 +put errs n hbad +n = add n 1 +note Restore original packet stack before entering pinned executable. Descriptor3 is CLOEXEC. +hsptr 16 632 +e3 4181721088 11 16 0 +spadd 640 +matconst 0 3 +e3 2852126720 1 31 11 +emit 2436892642 +e3 2852126720 3 31 11 +matconst 4 4096 +hsys 281 +finished = get oc 0 +emit 335544320 +for i ulong n +patch19 get errs i get oc 0 +end +hsptr 16 632 +e3 4181721088 11 16 0 +spadd 640 +patch26 finished get oc 0 +end + +note A packed argument list is u16 count followed by count (u16 length, bytes) records. +note Byte order is little-endian. The packet is at most 4096 bytes and 64 records. +note The decoder constructs kernel pointers only in private stack memory. +fn hpack c ulong dst ulong x ulong to void +e = harray x 0 +if eq c 125 +harg x 2 8 +end +save +basearg 4 e +loadarg 16 1 get fr add x 21 +e3 2332033024 4 4 16 +loadarg 5 1 get fr add x 22 +matconst 16 4096 +e3 3942645760 31 5 16 +trapc 8 3 +emit 4043311295 +trapc 3 3 +if eq c 125 +hload x 2 14 +end +spsub 8192 +stkchk +emit 2034237574 +emit 2432698500 +emit 3506440357 +emit 4043309279 +trapc 0 3 +matconst 16 64 +e3 3942645760 31 6 16 +trapc 8 3 +if eq c 125 +emit 4043311327 +trapc 1 3 +end +matconst 9 0 +emit 2432697322 +emit 2436892651 +outer = get oc 0 +e3 3942645760 31 9 6 +done = get oc 0 +emit 1409286146 +emit 4043311295 +trapc 3 3 +emit 2034237580 +emit 2432698500 +emit 3506440357 +e3 3942645760 31 12 5 +trapc 8 3 +note A program path and both rename paths must be nonempty. +if or eq c 124 eq c 135 +emit 4043309375 +notfirst = get oc 0 +emit 1409286145 +emit 4043309471 +trapc 0 3 +patch19 notfirst get oc 0 +else +emit 4043309471 +trapc 0 3 +end +emit 4177527146 +emit 2432704875 +inner = get oc 0 +emit 4043309471 +endstr = get oc 0 +emit 1409286144 +emit 960495757 +emit 4043309503 +trapc 0 3 +emit 956301645 +emit 2432697476 +emit 2432697674 +emit 3506439333 +emit 3506439564 +back inner +patch19 endstr get oc 0 +emit 956301663 +emit 2432697674 +emit 2432697641 +back outer +patch19 done get oc 0 +emit 4043309247 +trapc 1 3 +emit 4177527167 +if or eq c 124 eq c 135 +note Exec admits only the caller-assigned standard streams. Linux close_range with UNSHARE +note closes every descriptor >=3 in a private table. Failure returns without executing a child; +note no guessed descriptor ceiling or permissive fallback. This is not filesystem isolation. +matconst 0 3 +matconst 1 4294967295 +matconst 2 2 +hsys 436 +emit 4043309087 +noclose = get oc 0 +emit 1409286145 +if eq c 135 +hpure +else +emit 2432697312 +emit 2436892641 +e3 2852126720 2 31 11 +hsys 221 +end +patch19 noclose get oc 0 +else +emit 2436892656 +emit 4181721601 +emit 4181722627 +matconst 0 18446744073709551516 +matconst 2 18446744073709551516 +e3 2852126720 4 31 14 +hsys 276 +end +spadd 8192 +hreturn dst x +end +fn hpipe dst ulong x ulong to void +e = harray x 1 +harg x 2 8 +tmp = alloc +matconst tmp 8 +e3 3942645760 31 get fr add x 22 tmp +trapc 3 3 +save +basearg 0 e +loadarg 16 1 get fr add x 21 +e3 2332033024 0 0 16 +hload x 2 1 +hsys 59 +hreturn dst x +end + +fn hcwd dst ulong x ulong to void +e = harray x 1 +save +basearg 0 e +loadarg 16 1 get fr add x 21 +e3 2332033024 0 0 16 +loadarg 1 1 get fr add x 22 +hsys 17 +hreturn dst x +end +fn hreadlnk dst ulong x ulong to void +e = harray x 0 +put fr add x 23 e +put fr add x 24 get fr add x 21 +put fr add x 25 get fr add x 22 +e = harray x 1 +put fr add x 26 e +put fr add x 27 get fr add x 21 +put fr add x 28 get fr add x 22 +put fr add x 20 get fr add x 23 +put fr add x 21 get fr add x 24 +put fr add x 22 get fr add x 25 +hpathcp x +note readlnk refuses an empty path before the kernel call. +emit 4043309247 +trapc 0 3 +basearg 2 get fr add x 26 +loadarg 16 1 get fr add x 27 +e3 2332033024 2 2 16 +loadarg 3 1 get fr add x 28 +hcopy +hsys 78 +spadd 4096 +hreturn dst x +end +fn hsockopt dst ulong x ulong to void +harg x 2 8 +harg x 3 8 +harg x 4 8 +e = harray x 0 +save +hload x 2 0 +hload x 3 1 +hload x 4 2 +basearg 3 e +loadarg 16 1 get fr add x 21 +e3 2332033024 3 3 16 +loadarg 4 1 get fr add x 22 +hsys 208 +hreturn dst x +end + +fn hostval c ulong dst ulong to void +if eq get progmode 0 0 +fail 9 +end +x = mul get depth 0 32 +put fr add x 7 get nslot 0 +if eq c 132 +hcwd dst x +ret +end +if eq c 133 +hreadlnk dst x +ret +end +if eq c 134 +hsockopt dst x +ret +end +if or eq c 109 eq c 130 +hclock c dst x +ret +end +if or and ge c 113 le c 119 eq c 131 +hbuffer c dst x +ret +end +if eq c 120 +hsleep dst x +ret +end +if eq c 123 +hwaitio dst x +ret +end +if or or eq c 124 eq c 125 eq c 135 +hpack c dst x +ret +end +if eq c 126 +hpath c dst x +ret +end +if or eq c 127 eq c 129 +hscalar c dst x +ret +end +if eq c 128 +hpipe dst x +ret +end +if ge c 121 +put hostargs 0 1 +hargs c dst x +ret +end +if ge c 110 +hpath c dst x +ret +end +hscalar c dst x +end + +note ======== rdval: read one value (om4 VAL, VALTOK, CALL and the VT_ parts, one self-recursive +note function because a function calls only earlier functions or itself) ======== +note mode 0: read the first word; 1: the first word is the current token; 2: a call of function fe (index +note + 1), its arguments still to read. exp the expected type (0 none), dst the destination register (255 +note none). Out: rk kind (1 register, 2 bare number, 3 typed number, 4 flags), rv register / number / +note condition, rt type (for a bare number: 1 when written as 2^63 or more). Only the outermost op writes the +note destination. Every value nests one level deeper (at most 1024, error 14); a call does not. +fn rdval mode ulong exp ulong dst ulong fe ulong to void +if eq mode 2 +cb = add mul get depth 0 32 8 +put fr add cb 18 ulong get fn_np sub fe 1 +put fr add cb 19 get nslot 0 +if eq get progmode 0 0 +if eq get curfn 0 fe +fail 9 +end +end +i = ulong 0 +while lt i get fr add cb 18 +p = add mul sub fe 1 6 i +if eq get fn_pk p 0 +rdval 0 ulong get fn_pt p 255 0 +ca_scal p add cb mul i 3 +else +ca_arr fe i cb +end +i = add i 1 +end +ca_end fe dst cb +ret +end +if eq mode 0 +tok +end +put depth 0 add get depth 0 1 +if gt get depth 0 1024 +fail 14 +end +if or eq get tk 0 0 eq get tk 0 3 +fail 4 +end +if eq get tk 0 4 +fail 16 +end +if eq get tk 0 2 +if eq exp 0 +vdone 2 get tw 0 get tbig 0 +ret +end +range get tw 0 exp get tbig 0 +vdone 3 get tw 0 exp +ret +end +if gt get tl 0 8 +f = findfn get tw 0 get tl 0 get ts 0 +if eq f 0 +fail 13 +end +if eq get fn_ret sub f 1 10 +fail 7 +end +rdval 2 0 dst f +vdec +ret +end +c = kw get tw 0 +if eq c 0 +e = findname get tw 0 +if ne e 0 +if ne get nm_kind sub e 1 0 +fail 7 +end +vdone 1 ulong get nm_reg sub e 1 ulong get nm_type sub e 1 +ret +end +f = findfn get tw 0 0 0 +if eq f 0 +fail 3 +end +if eq get fn_ret sub f 1 10 +fail 7 +end +rdval 2 0 dst f +vdec +ret +end +if le sub c 1 8 +tok +if eq get tk 0 2 +range get tw 0 c get tbig 0 +vdone 3 get tw 0 c +ret +end +rdval 1 0 255 0 +if eq get rk 0 2 +fail 11 +end +vt_conv c +vdec +ret +end +if eq c 74 +rdval 0 exp dst 0 +tok +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 16 +end +if ne kw get tw 0 75 +fail 16 +end +vdec +ret +end +if eq c 77 +fail 9 +end +if and ge c 100 le c 135 +hostval c dst +ret +end +if eq c 51 +e = arrname +rdval 0 5 255 0 +vt_get e dst +vdec +ret +end +if eq c 52 +e = arrname +vdone 3 get nm_len sub e 1 5 +ret +end +if or eq c 53 eq c 54 +x = mul get depth 0 32 +put fr add x 8 get nslot 0 +rdval 0 8 255 0 +vs_fd x +e = arrname +vs_arr c e +rdval 0 5 255 0 +vs_off x +rdval 0 5 255 0 +vs_end c e dst x +ret +end +if eq c 55 +vdone 3 1 1 +ret +end +if eq c 56 +vdone 3 0 1 +ret +end +if gt sub c 33 17 +fail 16 +end +if ge c 49 +rdval 0 exp 255 0 +if and eq c 50 eq get rk 0 4 +put rv 0 xor get rv 0 1 +vdec +ret +end +if eq get rk 0 2 +fail 11 +end +vt_un c dst +vdec +ret +end +rdval 0 0 255 0 +ak = get rk 0 +av = get rv 0 +at = get rt 0 +if eq ak 4 +av = matreg 4 av at +ak = ulong 1 +at = ulong 1 +end +rdval 0 0 255 0 +bk = get rk 0 +bv = get rv 0 +bt = get rt 0 +if eq bk 4 +bv = matreg 4 bv bt +bk = ulong 1 +bt = ulong 1 +end +if eq ak 2 +if eq bk 2 +fail 11 +end +range av bt at +at = bt +ak = ulong 3 +end +if eq bk 2 +range bv at bt +bt = at +bk = ulong 3 +end +if and ne c 41 ne c 42 +if ne at bt +fail 7 +end +end +x = mul get depth 0 32 +put fr x ak +put fr add x 1 av +put fr add x 2 at +put fr add x 3 bk +put fr add x 4 bv +put fr add x 5 bt +binop c dst x +vdec +end + +note cond: read a condition (a bool value); emit a branch taken when it is false: B.cond with the opposite +note condition (C6.2.34), or CBZ Xr (C6.2.78). Returns that branch's place. om4 COND. +fn cond to ulong +rdval 0 1 255 0 +if ne get rt 0 1 +fail 7 +end +if eq get rk 0 4 +at = get oc 0 +emit or 1409286144 xor get rv 0 1 +ret at +end +r = matreg get rk 0 get rv 0 get rt 0 +at = get oc 0 +emit or 3019898880 r +ret at +end + +note ======== statements, one per line (om4 STMT and the S_ parts) ======== +note skipnl: note ...: the rest of the line is not read (up to the newline, which tok reads). om4 S_NOTE. +fn skipnl to void +go = true +while go +n = ulong 0 +while and go lt n 999999 +if ge get cur 0 get inlen 0 +go = false +else +if eq get inp get cur 0 10 +go = false +else +put cur 0 add get cur 0 1 +end +end +n = add n 1 +end +end +end + +note s_long: a word over 8 characters at the start of a line: only a call of a void function. om4 S_LONG. +fn s_long to void +if eq get curret 0 0 +fail 13 +end +if ne get dead 0 0 +fail 17 +end +f = findfn get tw 0 get tl 0 get ts 0 +if eq f 0 +fail 13 +end +if ne get fn_ret sub f 1 10 +fail 7 +end +rdval 2 0 255 f +eol +end + +note blo: B.LO back to an earlier place (C6.2.34) +fn blo at ulong to void +d = disp19 get oc 0 at +emit or 1409286147 shl d 5 +end + +note sa_arr: x = new T N v: N elements of type T on the stack, each set to v; only in the function's +note outermost block, so the stack held by local arrays is known at every ret. SUB SP (C6.2.457); program +note mode: the stack check; MOV Xb, SP (ADD immediate, C6.2.5); then the fill loop: STR v, [Xb, Xi, LSL]; +note ADD Xi, Xi, #1; CMP Xi, #N or Xn; B.LO back (C6.2.34). om4 SA_ARR. +fn sa_arr w ulong to void +if ne get nb 0 0 +fail 9 +end +t = typeword +elemtype t +tok +if ne get tk 0 2 +fail 16 +end +n = get tw 0 +arrlen n +by = shl shr add shl n tlog t 15 4 4 +s = add get stkbytes 0 by +if gt s 4194304 +fail 23 +end +put stkbytes 0 s +r = alloc +put held 0 get nslot 0 +rdval 0 t 255 0 +if ne get rt 0 t +fail 7 +end +v = matreg get rk 0 get rv 0 get rt 0 +spsub by +stkchk +emit or 2432697312 r +i = alloc +emit or 3531603968 i +m = ulong 0 +if gt n 4095 +m = alloc +matconst m n +end +lp = get oc 0 +emit or or or stop t v shl r 5 shl i 16 +emit or or 2432697344 i shl i 5 +if le n 4095 +emit or or 4043309087 shl n 10 shl i 5 +else +emit or or 3942645791 shl m 16 shl i 5 +end +blo lp +addname w r t n 1 0 +end + +note s_assign: name [=] value (an existing scalar, or a new one), or name = new T N v. om4 S_ASSIGN. +fn s_assign w ulong to void +tok +if eq get tk 0 1 +if le get tl 0 8 +if eq kw get tw 0 73 +tok +end +end +end +e = findname w +if ne e 0 +i = sub e 1 +if ne get nm_kind i 0 +fail 7 +end +r = ulong get nm_reg i +t = ulong get nm_type i +rdval 1 t r 0 +if ne get rt 0 t +fail 7 +end +force get rk 0 get rv 0 get rt 0 r +eol +ret +end +if ne findfn w 0 0 0 +fail 10 +end +if eq get tk 0 1 +if le get tl 0 8 +if eq kw get tw 0 84 +sa_arr w +eol +ret +end +end +end +r = alloc +put held 0 get nslot 0 +rdval 1 0 r 0 +if eq get rk 0 2 +fail 11 +end +t = get rt 0 +force get rk 0 get rv 0 t r +addname w r t 0 0 0 +eol +end + +note s_name: a name at the start of a line: a call of a void function, or name [=] value. om4 S_NAME. +fn s_name w ulong to void +if ne findname w 0 +s_assign w +ret +end +f = findfn w get tl 0 0 +if eq f 0 +s_assign w +ret +end +if ne get fn_ret sub f 1 10 +fail 7 +end +rdval 2 0 255 f +eol +end + +note fn_p: the type of parameter np (name pw) of function f (index): T, or view / edit T N (an array: +note kind 2 / 3, element type, length 1 .. 2^24). om4 FN_P .. FN_ADD. +fn fn_p f ulong np ulong pw ulong to void +tok +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 16 +end +c = kw get tw 0 +t = ulong 0 +ln = ulong 0 +k = ulong 0 +if or eq c 57 eq c 58 +k = sub c 55 +t = typeword +elemtype t +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 2 +fail 16 +end +ln = get tw 0 +arrlen ln +else +if gt sub c 1 8 +fail 16 +end +t = c +end +addname pw poolc np t ln k 0 +p = add mul f 6 np +put fn_pt p uchar t +put fn_pl p ln +put fn_pk p uchar k +end + +note fn_to: to T | to void at the end of a fn line; the function's state starts. om4 FN_TO .. FN_T2. +fn fn_to f ulong np ulong to void +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 16 +end +c = kw get tw 0 +r = c +if eq c 76 +r = ulong 10 +else +if gt sub c 1 8 +fail 16 +end +end +put curret 0 r +put fn_ret f uchar r +put fn_np f uchar np +put stkbytes 0 0 +put dead 0 0 +put npar 0 np +put nslot 0 0 +put held 0 0 +put nb 0 0 +put nt 0 0 +eol +end + +note s_fn: fn name (param type | param view T N | param edit T N)* to type | void. om4 S_FN. +fn s_fn to void +if ne get curret 0 0 +fail 15 +end +tok +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 63 +fail 13 +end +w = get tw 0 +if ne kw w 0 +fail 16 +end +l = get tl 0 +s = get ts 0 +f = ulong 0 +if eq get scanning 0 1 +newname w l s +f = get nf 0 +if ge f 512 +fail 14 +end +put nf 0 add f 1 +put curfn 0 add f 1 +put lastfn 0 add f 1 +put fn_name f w +put fn_addr f get oc 0 +put fn_ret f 0 +put fn_np f 0 +put fn_nmlen f l +put fn_off f s +else +f = sub findfn w l s 1 +put curfn 0 add f 1 +put lastfn 0 add f 1 +put fn_addr f get oc 0 +end +put nn 0 get nglob 0 +np = ulong 0 +go = true +while go +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +pw = get tw 0 +c = kw pw +if eq c 65 +go = false +else +if ne c 0 +fail 16 +end +newname pw get tl 0 get ts 0 +if ge np 6 +fail 9 +end +fn_p f np pw +np = add np 1 +end +end +fn_to f np +if eq get scanning 0 1 +put curret 0 0 +put nn 0 0 +end +end + +note s_ret: ret [value]: the value into X0, give back the local arrays' stack, RET. om4 S_RET. +fn s_ret to void +r = get curret 0 +if eq r 10 +eol +epi +dead1 +ret +end +rdval 0 r 0 0 +if ne get rt 0 r +fail 7 +end +force get rk 0 get rv 0 get rt 0 0 +epi +dead1 +eol +end + +note s_exit: exit value (int): Linux exit (system call 93: MOVZ X8, #93, C6.2.285; SVC #0, C6.2.466); the +note path ends. om4 S_EXIT. +fn s_exit to void +rdval 0 8 255 0 +if ne get rt 0 8 +fail 7 +end +force get rk 0 get rv 0 get rt 0 0 +emit 3531606952 +emit 3556769793 +dead1 +eol +end + +note stel: the checked store of v (type t) at ea_b / ea_i (the STOP table: register offset, scaled) +fn stel t ulong v ulong to void +b = shl get ea_b 0 5 +i = shl get ea_i 0 16 +emit or or or stop t v b i +end + +note s_put: put A i v: index, then value, then the checked store (STOP table). om4 S_PUT. +fn s_put to void +e = arrname +k = get nm_kind sub e 1 +if or eq k 2 eq k 5 +fail 20 +end +rdval 0 5 255 0 +ik = get rk 0 +iv = get rv 0 +it = get rt 0 +t = ulong get nm_type sub e 1 +rdval 0 t 255 0 +if ne get rt 0 t +fail 7 +end +v = matreg get rk 0 get rv 0 get rt 0 +elemaddr e ik iv it +stel t v +eol +end + +note s_global: global NAME T N: a fixed pool of N elements, zero at start, in the read/write part of the +note program image after the 8 MiB stack pool (address 0x10800000 + pool bytes so far); at most 1 GiB of +note pools (error 23). om4 S_GLOBAL. +fn s_global to void +w = topname +t = typeword +elemtype t +tok +if ne get tk 0 2 +fail 16 +end +n = get tw 0 +arrlen n +by = shl shr add shl n tlog t 15 4 4 +pb = get poolb 0 +a = add 276824064 pb +s = add pb by +if gt s 1073741824 +fail 23 +end +put poolb 0 s +addname w 0 t n 4 a +put nglob 0 get nn 0 +eol +end + +note s_text: text NAME "...": read-only bytes in the program image (escapes \n \t \\ \", any other is error +note 22), padded to a word, with their length; address 0x400000 + its place. om4 S_TEXT. +fn s_text to void +w = topname +tok +if ne get tk 0 4 +fail 16 +end +a = add get oc 0 4194304 +p = get tw 0 +e = add p get tl 0 +n = ulong 0 +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p e +go = false +else +b = get inp p +p = add p 1 +if eq b 92 +b = get inp p +p = add p 1 +if eq b 110 +b = uchar 10 +else +if eq b 116 +b = uchar 9 +else +if and ne b 92 ne b 34 +fail 22 +end +end +end +end +emitb b +n = add n 1 +end +m = add m 1 +end +end +while ne and get oc 0 3 0 +emitb 0 +end +addname w 0 2 n 5 a +put nglob 0 get nn 0 +eol +end + +note s_if: if cond: the false branch is patched at else / end. om4 S_IF. +fn s_if to void +at = cond +pushb at 1 0 0 0 +pushnh get nn 0 get held 0 +eol +end + +note s_else: jump over the else part (B, C6.2.35); the if's false branch lands after that jump. om4 S_ELSE. +fn s_else to void +n = get nb 0 +if eq n 0 +fail 15 +end +i = sub n 1 +if ne get bkind i 1 +fail 15 +end +b = get oc 0 +emit 335544320 +patch19 get bbr i get oc 0 +put bkind i 2 +put bbr i b +put nn 0 get bnames i +put held 0 get bheld i +put bdead i get dead 0 +put dead 0 0 +eol +end + +note lpcnt: the hidden counter check of a loop: CMP Xc, #N (C6.2.96) or CMP Xc, Xn (C6.2.97); B.HS trap +note 4; ADD Xc, Xc, #1 (C6.2.5). om4 SW_NOB .. SW_G and the same in S_FOR. +fn lpcnt c ulong n ulong to void +if le n 4095 +emit or or 4043309087 shl n 10 shl c 5 +else +m = alloc +matconst m n +emit or or 3942645791 shl c 5 shl m 16 +end +trapc 2 4 +emit or or 2432697344 c shl c 5 +end + +note s_while: while cond [bound N]: hidden counter = 0; head: cond false -> exit; counter >= N -> trap 4; +note counter = counter + 1; body; B head. N is 1 .. 999999 (error 8), 1000000 with no bound. om4 S_WHILE. +fn s_while to void +sn = get nn 0 +sh = get held 0 +c = alloc +put held 0 get nslot 0 +emit or 3531603968 c +hd = get oc 0 +br = cond +n = ulong 1000000 +tok +k = get tk 0 +if and ne k 0 ne k 3 +if ne k 1 +fail 5 +end +if gt get tl 0 8 +fail 5 +end +if ne kw get tw 0 70 +fail 5 +end +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 2 +fail 16 +end +if ge sub get tw 0 1 999999 +fail 8 +end +n = get tw 0 +eol +end +lpcnt c n +pushb br 3 hd c 0 +pushnh sn sh +end + +note sf_br: B.HS (unsigned) or B.GE (signed) to the loop exit, C6.2.34 (distance filled at end); returns +note its place. om4 SF_BR. +fn sf_br t ulong to ulong +at = get oc 0 +if lt t 6 +emit 1409286146 +else +emit 1409286154 +end +ret at +end + +note sf_num: for i T K with K a number: i = 0 (MOVZ, C6.2.285); head: CMP Xi, #K or Xk; B.HS/B.GE exit. +note om4 SF_NUM .. SF_PUSH. +fn sf_num w ulong t ulong kk ulong sn ulong sh ulong to void +eol +i = alloc +put held 0 get nslot 0 +addname w i t 0 0 0 +emit or 3531603968 i +hd = get oc 0 +if le kk 4095 +emit or or 4043309087 shl kk 10 shl i 5 +else +k = alloc +matconst k kk +emit or or 3942645791 shl i 5 shl k 16 +end +br = sf_br t +pushb br 4 hd i t +pushnh sn sh +end + +note sf_val: for i T K with K a value of type T in register kr: i = 0; the hidden counter c = 0; head: CMP +note Xi, Xk; B.HS/B.GE exit; the counter guard of a while with no bound. om4 SF_VAL. +fn sf_val w ulong t ulong kr ulong sn ulong sh ulong to void +eol +i = alloc +put held 0 get nslot 0 +addname w i t 0 0 0 +emit or 3531603968 i +c = alloc +put held 0 get nslot 0 +emit or 3531603968 c +hd = get oc 0 +emit or or 3942645791 shl kr 16 shl i 5 +br = sf_br t +m = alloc +matconst m 1000000 +emit or or 3942645791 shl c 5 shl m 16 +trapc 2 4 +emit or or 2432697344 c shl c 5 +pushb br 4 hd i t +pushnh sn sh +end + +note s_for: for i T K: i = 0; head: not i < K -> exit; body; latch i = add i 1; B head. K a number, or a +note value of type T: a name is read at every pass, another value once before the loop. om4 S_FOR. +fn s_for to void +sn = get nn 0 +sh = get held 0 +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +w = get tw 0 +if ne kw w 0 +fail 16 +end +newname w get tl 0 get ts 0 +t = typeword +if eq t 1 +fail 7 +end +tok +if eq get tk 0 0 +fail 4 +end +if eq get tk 0 2 +range get tw 0 t get tbig 0 +sf_num w t get tw 0 sn sh +ret +end +rdval 1 t 255 0 +if ne get rt 0 t +fail 7 +end +if eq get rk 0 3 +sf_num w t get rv 0 sn sh +ret +end +kr = matreg get rk 0 get rv 0 get rt 0 +sf_val w t kr sn sh +end + +note finish: end of a function: a function that needs a value must not reach its end (error 18), a void +note one returns; then the trap stubs: shared tail, function mode MOV X0, X7; LDR X16, [X7, #16]; BR X16 +note (C6.2.282, C6.2.216, C6.2.46: OscRt.trap); program mode ADD X0, X1, #100; MOVZ X8, #93; SVC #0 (exit +note 100 + code). Per trap code used: MOVZ X1, #code (C6.2.285); B tail. om4 FINISH. +fn finish to void +eol +if eq get dead 0 0 +if ne get curret 0 10 +fail 18 +end +epi +end +nt0 = get nt 0 +if ne nt0 0 +tail = get oc 0 +if eq get progmode 0 0 +emit 2852586464 +emit 4181723376 +emit 3592356352 +else +emit 2432798752 +emit 3531606952 +emit 3556769793 +end +code = ulong 1 +while le code 14 +st = ulong 0 +j = ulong 0 +while lt j nt0 +if eq get tcode j code +if eq st 0 +st = get oc 0 +emit or 3531603969 shl code 5 +back tail +end +patch19 get tsite j st +end +j = add j 1 +end +code = add code 1 +end +end +put curret 0 0 +put nn 0 get nglob 0 +put curfn 0 0 +end + +note s_end: close the innermost block (if: patch its branch; else: patch its jump; while: B head; for: i = +note add i 1, B head), or the function. om4 S_END. +fn s_end to void +n = get nb 0 +if eq n 0 +finish +ret +end +i = sub n 1 +put nb 0 i +k = get bkind i +if eq k 2 +put dead 0 and get dead 0 get bdead i +else +put dead 0 0 +end +if eq k 4 +put fr 0 1 +put fr 1 get breg i +put fr 2 get btyp i +put fr 3 3 +put fr 4 1 +put fr 5 get btyp i +binop 33 get breg i 0 +end +if ge k 3 +back get bhead i +end +if eq k 2 +patch26 get bbr i get oc 0 +else +patch19 get bbr i get oc 0 +end +put nn 0 get bnames i +put held 0 get bheld i +eol +end + +note ======== the end of the input: the output ======== +note writeout: the output from byte st to the end, to stdout (error 2), then exit 0. om4 WRITEOUT. +fn writeout st ulong to void +p = st +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p get oc 0 +go = false +else +n = write 1 out p sub get oc 0 p +if le n 0 +fail 2 +end +p = add p ulong n +end +m = add m 1 +end +end +exit int 0 +end + +note elfhdr: the 176-byte file header (om4 ELFHDR, 44 words): ELF64 little-endian, executable, AArch64, +note entry 0x4000b0 (the word after the header), 2 program headers: code read+execute from 0x400000, and +note the read/write pools from 0x10000000. Only the words that are not 0 (the output starts at 0). +fn elfhdr to void +wrword 0 1179403647 +wrword 4 65794 +wrword 16 11993090 +wrword 20 1 +wrword 24 4194480 +wrword 32 64 +wrword 52 3670080 +wrword 56 2 +wrword 64 1 +wrword 68 5 +wrword 80 4194304 +wrword 88 4194304 +wrword 112 4096 +wrword 120 1 +wrword 124 6 +wrword 136 268435456 +wrword 144 268435456 +wrword 168 4096 +end + +note eof_prog: program mode: start code = MOVZ X28, #0x1000, LSL 16 (stack pool floor); MOVZ X16, #0x1080, +note LSL 16; MOV SP, X16 (ADD immediate, C6.2.5); BL main (C6.2.43); [MOVZ X0, #0 for a void main]; MOVZ X8, +note #93; SVC #0. The entry word after the header is a B to it; the header gets the file and pool sizes. +note om4 EOF_PROG. +fn eof_prog to void +f = findfn 1852399981 4 0 +if eq f 0 +fail 16 +end +if ne get fn_np sub f 1 0 +fail 9 +end +wrword 176 or 335544320 and shr sub get oc 0 176 2 67108863 +if ne get hostargs 0 0 +note Preserve Linux's initial argument stack privately before installing Omega's bounded stack. +emit 2432697339 +end +emit 3533832220 +emit 3533836304 +emit 2432696863 +emit or 2483027968 and shr sub get fn_addr sub f 1 get oc 0 2 67108863 +if eq get fn_ret sub f 1 10 +emit 3531603968 +end +emit 3531606952 +emit 3556769793 +elfhdr +wrword 96 get oc 0 +wrword 104 get oc 0 +wrword 160 add get poolb 0 8388608 +writeout 0 +end + +note s_eof: end of input: no open function (error 15), some function (16); function mode: no globals or +note texts (9); one function: its bare words; more: the entry word, a B to the last function. om4 S_EOF. +note Resolve every call after all addresses are known. In function mode remove leaves of the call +note graph; any functions left after nf rounds form or reach a cycle (error 9). +fn resolve to void +n = get ncalls 0 +i = ulong 0 +while lt i n +s = get callsite i +f = sub get callto i 1 +wrword s or 2483027968 and shr sub get fn_addr f s 2 67108863 +i = add i 1 +end +if eq get progmode 0 0 +pass = ulong 0 +while lt pass get nf 0 +f = ulong 0 +while lt f get nf 0 +if eq get settled f 0 +ok = true +i = ulong 0 +while and ok lt i n +if eq get callfrom i add f 1 +if eq get settled sub get callto i 1 0 +ok = false +end +end +i = add i 1 +end +if ok +put settled f 1 +end +end +f = add f 1 +end +pass = add pass 1 +end +f = ulong 0 +while lt f get nf 0 +if eq get settled f 0 +fail 9 +end +f = add f 1 +end +end +end + +fn s_eof to void + +if ne get curret 0 0 +fail 15 +end +if eq get nf 0 0 +fail 16 +end +resolve +if ne get progmode 0 0 +eof_prog +end +if ne get nglob 0 0 +fail 9 +end +if eq get nf 0 1 +writeout 180 +end +a = get fn_addr sub get lastfn 0 1 +wrword 176 or 335544320 and shr sub a 176 2 67108863 +writeout 176 +end + +note stmt: one line. Returns 1 at the end of the input. om4 STMT. +fn stmt to ulong +put nslot 0 get held 0 +tok +k = get tk 0 +if eq k 0 +ret 0 +end +if eq k 3 +s_eof +ret 1 +end +if ne k 1 +fail 16 +end +if gt get tl 0 8 +s_long +ret 0 +end +w = get tw 0 +c = kw w +if eq c 83 +skipnl +ret 0 +end +if eq c 64 +s_fn +ret 0 +end +if eq get curret 0 0 +if eq c 78 +s_global +ret 0 +end +if eq c 79 +s_text +ret 0 +end +fail 16 +end +if eq c 66 +s_end +ret 0 +end +if eq c 68 +s_else +ret 0 +end +if ne get dead 0 0 +fail 17 +end +if eq c 0 +s_name w +ret 0 +end +if eq c 67 +s_if +ret 0 +end +if eq c 69 +s_while +ret 0 +end +if eq c 71 +s_for +ret 0 +end +if eq c 72 +s_ret +ret 0 +end +if eq c 80 +s_put +ret 0 +end +if eq c 82 +s_exit +ret 0 +end +if or or or eq c 77 eq c 78 eq c 79 eq c 81 +fail 9 +end +fail 16 +ret 0 +end + +note ======== program mode: some line is `fn main` (blanks, fn, blanks, main, then a blank or the end) ======== +note skipbl: the first place at or after q that is not a space or tab (or the end) +fn skipbl q ulong to ulong +e = get inlen 0 +p = q +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p e +go = false +else +b = get inp p +if or eq b 32 eq b 9 +p = add p 1 +else +go = false +end +end +m = add m 1 +end +end +ret p +end + +note skipln: the place after the next newline at or after q (or the end) +fn skipln q ulong to ulong +e = get inlen 0 +p = q +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p e +go = false +else +b = get inp p +p = add p 1 +if eq b 10 +go = false +end +end +m = add m 1 +end +end +ret p +end + +note ps_at: the line's first byte that is not blank is at p: 1 when the line is `fn main`, 2 when the input +note ends while deciding, else 0. om4 PS_LINE .. PS_YES. +fn ps_at p ulong to ulong +e = get inlen 0 +if ne get inp p 102 +ret 0 +end +q = add p 1 +if ge q e +ret 2 +end +if ne get inp q 110 +ret 0 +end +r = add q 1 +q = skipbl r +if ge q e +ret 2 +end +if eq q r +ret 0 +end +if gt add q 4 e +ret 0 +end +if ne get inp q 109 +ret 0 +end +if ne get inp add q 1 97 +ret 0 +end +if ne get inp add q 2 105 +ret 0 +end +if ne get inp add q 3 110 +ret 0 +end +if ge add q 4 e +ret 1 +end +if gt get inp add q 4 32 +ret 0 +end +ret 1 +end + +fn prescan to void +e = get inlen 0 +p = ulong 0 +go = true +while go +m = ulong 0 +while and go lt m 999999 +p = skipbl p +if ge p e +go = false +else +r = ps_at p +if eq r 1 +put progmode 0 1 +go = false +end +if eq r 2 +go = false +end +if go +p = skipln p +if ge p e +go = false +end +end +end +m = add m 1 +end +end +end + +note First collect signatures. Only fn headers are parsed here; other lines are read in the body pass. +fn namescan to void +put scanning 0 1 +put line 0 1 +go = true +while go +n = ulong 0 +while and go lt n 999999 +tok +if eq get tk 0 3 +go = false +else +if ne get tk 0 0 +if and eq get tk 0 1 eq get tw 0 28262 +s_fn +else +skipnl +end +end +end +n = add n 1 +end +end +put scanning 0 0 +put cur 0 0 +put line 0 1 +put nn 0 0 +put curfn 0 0 +put curret 0 0 +put npar 0 0 +put nslot 0 0 +put held 0 0 +end + +note main: read all of stdin +note (8 MiB at most, error 14; a read error is 1), find the mode, then one +note statement per line from output byte 180 (om4 START .. STMT) +fn main to int +off = ulong 0 +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge off len inp +fail 14 +end +n = read 0 inp off sub len inp off +if eq n 0 +go = false +else +if lt n 0 +fail 1 +end +off = add off ulong n +end +m = add m 1 +end +end +put inlen 0 off +prescan +namescan +put oc 0 180 +put line 0 1 +done = false +while not done +m = ulong 0 +while and not done lt m 999999 +if ne stmt 0 +done = true +end +m = add m 1 +end +end +ret 0 +end diff --git a/evidence/SECURITY-673/pure3/mut5.om b/evidence/SECURITY-673/pure3/mut5.om new file mode 100644 index 000000000..ab36ae3a2 --- /dev/null +++ b/evidence/SECURITY-673/pure3/mut5.om @@ -0,0 +1,4175 @@ +note omc: the Omega compiler written in Omega (the om4 subset). Reads Omegese on stdin, writes a runnable +note AArch64 Linux program (or bare function words) on stdout. Built first by om4; its codegen matches om4 +note byte for byte on the original subset (seed chain rung 5, ledger L408). Native host operations +note extend that subset; om4 still builds this compiler, and the compiler rebuilds itself identically. +note All compiler state lives in fixed global pools (decision 24: no heap). Every working value is a ulong +note (raw 64 bits) so the language's checked conversions never fire on om4's untyped-register logic. + +note ---- input, output, token ---- +global inp uchar 8388608 +global inlen ulong 1 +global cur ulong 1 +global line ulong 1 +global tk ulong 1 +global tw ulong 1 +global tl ulong 1 +global ts ulong 1 +global tbig ulong 1 +global out uchar 8388608 +global oc ulong 1 + +note ---- name table (1024 names in scope): packed name, register, type, length, kind, address ---- +global nm_name ulong 1024 +global nm_reg uchar 1024 +global nm_type uchar 1024 +global nm_len ulong 1024 +global nm_kind uchar 1024 +global nm_addr ulong 1024 +global nn ulong 1 + +note ---- function table (512): name, address (byte offset in out), return type, parameter count, +note per-parameter type/length/kind (6 each), name length, name offset in the input ---- +global fn_name ulong 512 +global fn_addr ulong 512 +global fn_ret uchar 512 +global fn_np uchar 512 +global fn_pt uchar 3072 +global fn_pl ulong 3072 +global fn_pk uchar 3072 +global fn_nmlen ulong 512 +global fn_off ulong 512 +global nf ulong 1 +global lastfn ulong 1 +global scanning ulong 1 +global ncalls ulong 1 +global callsite ulong 65536 +global callfrom ulong 65536 +global callto ulong 65536 +global settled uchar 512 + + +note ---- compiler state ---- +global npar ulong 1 +global held ulong 1 +global nslot ulong 1 +global curret ulong 1 +global progmode ulong 1 +global nglob ulong 1 +global hostargs ulong 1 +global stkbytes ulong 1 +global dead ulong 1 +global poolb ulong 1 + +note ======== leaf helpers ======== + +note poolc: the i-th register of the pool x0..x6, x8..x15, x17 (x7 is the runtime, x16 scratch) +fn poolc i ulong to ulong +if lt i 7 +ret i +end +if lt i 15 +ret add i 1 +end +ret 17 +end + +note ---- error reporting ---- +global msg uchar 64 +global mc ulong 1 + +fn mputb b uchar to void +m = get mc 0 +put msg m b +put mc 0 add m 1 +end + +fn mputn v ulong to void +d = new uchar 20 0 +i = ulong 0 +x = v +put d 0 uchar add rem x 10 48 +x = div x 10 +i = add i 1 +while gt x 0 +put d i uchar add rem x 10 48 +x = div x 10 +i = add i 1 +end +j = i +while gt j 0 +j = sub j 1 +mputb get d j +end +end + +note fail: write "omc: line N: error E" to stderr (fd 2) and exit with the code +fn fail code ulong to void +put mc 0 0 +mputb 111 +mputb 109 +mputb 99 +mputb 58 +mputb 32 +mputb 108 +mputb 105 +mputb 110 +mputb 101 +mputb 32 +mputn get line 0 +mputb 58 +mputb 32 +mputb 101 +mputb 114 +mputb 114 +mputb 111 +mputb 114 +mputb 32 +mputn code +mputb 10 +w = write 2 msg 0 get mc 0 +exit int code +end + +note emitb / emit: one byte / one 32-bit word (little-endian) to the output; error 14 when it is full +note (om4 EMIT, EMITB: the 8 MiB output area) +fn emitb b uchar to void +o = get oc 0 +if ge o 8388608 +fail 14 +end +put out o b +put oc 0 add o 1 +end + +fn emit w ulong to void +if ge get oc 0 8388608 +fail 14 +end +emitb uchar and w 255 +emitb uchar and shr w 8 255 +emitb uchar and shr w 16 255 +emitb uchar and shr w 24 255 +end + +note tok_num: the word at [ts,cur) is [-]decimal, at most 20 digits, from -2^63 to 2^64 - 1 (error 6 +note bad number, 8 out of range). tw = its raw 64 bits (a negative one as two's complement); tbig = 1 +note when it is 2^63 or more (only a ulong holds it), else 0. As om4's TK_NUM. +fn tok_num to void +p = get ts 0 +e = get cur 0 +minus = false +if eq get inp p 45 +minus = true +p = add p 1 +end +ndig = sub e p +if eq ndig 0 +fail 6 +end +if gt ndig 20 +fail 6 +end +v = ulong 0 +lim = ulong 1844674407370955161 +i = p +while lt i e +d = sub ulong get inp i 48 +if gt d 9 +fail 6 +end +if gt v lim +fail 8 +end +if and eq v lim gt d 5 +fail 8 +end +v = add mul v 10 d +i = add i 1 +end +half = shl ulong 1 63 +put tbig 0 0 +if minus +if gt v half +fail 8 +end +put tw 0 sub ulong 0 v +else +if ge v half +put tbig 0 1 +end +put tw 0 v +end +put tk 0 2 +end + +note tok_text: a text literal starting at the opening quote. tw = first byte offset, tl = source length +note (escapes not yet decoded). Ends at an unescaped '"' on the same line, followed by a blank/end. Err 22. +note (Loops over the input are two loops, the inner under 1000000 passes: om4 has no pass limit.) +fn tok_text to void +put cur 0 add get cur 0 1 +put tw 0 get cur 0 +go = true +while go +n = ulong 0 +while and go lt n 999999 +if ge get cur 0 get inlen 0 +fail 22 +end +b = get inp get cur 0 +if eq b 10 +fail 22 +end +if eq b 34 +go = false +else +put cur 0 add get cur 0 1 +if eq b 92 +if ge get cur 0 get inlen 0 +fail 22 +end +if eq get inp get cur 0 10 +fail 22 +end +put cur 0 add get cur 0 1 +end +end +n = add n 1 +end +end +put tl 0 sub get cur 0 get tw 0 +put cur 0 add get cur 0 1 +put tk 0 4 +if lt get cur 0 get inlen 0 +if gt get inp get cur 0 32 +fail 22 +end +end +end + +note tok2: a word at cur with first byte c; packs 8 bytes into tw, sets tl and ts. A '"' is a text; a +note first byte '-' or a digit is a number. +fn tok2 c uchar to void +if eq c 34 +tok_text +ret +end +put ts 0 get cur 0 +w = ulong 0 +sh = ulong 0 +n = ulong 0 +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge get cur 0 get inlen 0 +go = false +else +b = get inp get cur 0 +if le b 32 +go = false +else +if lt n 8 +w = or w shl ulong b sh +sh = add sh 8 +end +n = add n 1 +put cur 0 add get cur 0 1 +end +end +m = add m 1 +end +end +put tw 0 w +put tl 0 n +f = get inp get ts 0 +isnum = false +if eq f 45 +isnum = true +end +if and ge f 48 le f 57 +isnum = true +end +if isnum +tok_num +else +put tk 0 1 +end +end + +note tok: next word, skipping blanks (space, tab, carriage return); newline is end of line (kind 0) and +note bumps the line number; another byte below 32 is error 16; the end of the input is kind 3. om4 TOK. +fn tok to void +go = true +while go +n = ulong 0 +while and go lt n 999999 +if ge get cur 0 get inlen 0 +go = false +else +c = get inp get cur 0 +if or or eq c 32 eq c 9 eq c 13 +put cur 0 add get cur 0 1 +else +if eq c 10 +put cur 0 add get cur 0 1 +put line 0 add get line 0 1 +put tk 0 0 +ret +end +if lt c 32 +fail 16 +end +tok2 c +ret +end +end +n = add n 1 +end +end +put tk 0 3 +end + +note ======== keyword lookup (original om4 KWTAB plus hand-maintained native host words 100..135) ======== +note genkw.awk describes the original om4 table only; retain the native host extension on regeneration. +fn kw w ulong to ulong +if eq w 7310034270740117605 +ret 135 +end +if eq w 6584163 +ret 132 +end +packed = or ulong 114 shl ulong 101 8 +packed = or packed shl ulong 97 16 +packed = or packed shl ulong 100 24 +packed = or packed shl ulong 108 32 +packed = or packed shl ulong 110 40 +packed = or packed shl ulong 107 48 +if eq w packed +ret 133 +end +packed = or ulong 115 shl ulong 111 8 +packed = or packed shl ulong 99 16 +packed = or packed shl ulong 107 24 +packed = or packed shl ulong 111 32 +packed = or packed shl ulong 112 40 +packed = or packed shl ulong 116 48 +if eq w packed +ret 134 +end +if eq w 1819242338 +ret 1 +end +if eq w 491260502901 +ret 2 +end +if eq w 14453 +ret 2 +end +if eq w 128034844210037 +ret 3 +end +if eq w 3551605 +ret 3 +end +if eq w 1953393013 +ret 4 +end +if eq w 3289973 +ret 4 +end +if eq w 444234427509 +ret 5 +end +if eq w 3421813 +ret 5 +end +if eq w 1702132066 +ret 6 +end +if eq w 14441 +ret 6 +end +if eq w 500136110195 +ret 7 +end +if eq w 3551593 +ret 7 +end +if eq w 7630441 +ret 8 +end +if eq w 3289961 +ret 8 +end +if eq w 1735290732 +ret 9 +end +if eq w 3421801 +ret 9 +end +if eq w 6579297 +ret 33 +end +if eq w 6452595 +ret 34 +end +if eq w 7107949 +ret 35 +end +if eq w 7760228 +ret 36 +end +if eq w 7169394 +ret 37 +end +if eq w 6581857 +ret 38 +end +if eq w 29295 +ret 39 +end +if eq w 7499640 +ret 40 +end +if eq w 7104627 +ret 41 +end +if eq w 7497843 +ret 42 +end +if eq w 29029 +ret 43 +end +if eq w 25966 +ret 44 +end +if eq w 29804 +ret 45 +end +if eq w 25964 +ret 46 +end +if eq w 29799 +ret 47 +end +if eq w 25959 +ret 48 +end +if eq w 6776174 +ret 49 +end +if eq w 7630702 +ret 50 +end +if eq w 7628135 +ret 51 +end +if eq w 7234924 +ret 52 +end +if eq w 1684104562 +ret 53 +end +if eq w 435744764535 +ret 54 +end +if eq w 1702195828 +ret 55 +end +if eq w 435728179558 +ret 56 +end +if eq w 2003134838 +ret 57 +end +if eq w 1953064037 +ret 58 +end +if eq w 28262 +ret 64 +end +if eq w 28532 +ret 65 +end +if eq w 6581861 +ret 66 +end +if eq w 26217 +ret 67 +end +if eq w 1702063205 +ret 68 +end +if eq w 435610544247 +ret 69 +end +if eq w 431349919586 +ret 70 +end +if eq w 7499622 +ret 71 +end +if eq w 7628146 +ret 72 +end +if eq w 61 +ret 73 +end +if eq w 40 +ret 74 +end +if eq w 41 +ret 75 +end +if eq w 1684631414 +ret 76 +end +if eq w 119165519096935 +ret 78 +end +if eq w 1954047348 +ret 79 +end +if eq w 7632240 +ret 80 +end +if eq w 1701147238 +ret 81 +end +if eq w 1953069157 +ret 82 +end +if eq w 1702129518 +ret 83 +end +if eq w 7824750 +ret 84 +end +if eq w 461195539042 +ret 77 +end +if eq w 1885434484 +ret 77 +end +if eq w 7239535 +ret 77 +end +if eq w 7308604897168158579 +ret 131 +end +if eq w 126918101919090 +ret 130 +end +if eq w 7453301735350958181 +ret 124 +end +if eq w 32481142782190962 +ret 125 +end +if eq w 491394461042 +ret 126 +end +if eq w 28263429247363435 +ret 127 +end +if eq w 32480013273033072 +ret 128 +end +if eq w 110404021020007 +ret 129 +end +if eq w 122498715312503 +ret 123 +end +if eq w 32497639802299751 +ret 113 +end +if eq w 32760384594014051 +ret 114 +end +if eq w 1684957538 +ret 115 +end +if eq w 28263429381382519 +ret 116 +end +if eq w 499851228006 +ret 117 +end +if eq w 1986225522 +ret 118 +end +if eq w 1684956531 +ret 119 +end +if eq w 32491051338263667 +ret 120 +end +if eq w 128017462948449 +ret 121 +end +if eq w 28254586010038881 +ret 122 +end +if eq w 111546465018726 +ret 100 +end +if eq w 427055215462 +ret 101 +end +if eq w 110429739705190 +ret 102 +end +if eq w 461262648166 +ret 103 +end +if eq w 33607047151054707 +ret 104 +end +if eq w 121382024472940 +ret 105 +end +if eq w 128026086171489 +ret 106 +end +if eq w 1802661734 +ret 107 +end +if eq w 431215375716 +ret 108 +end +if eq w 126918153105261 +ret 109 +end +if eq w 474148269926 +ret 110 +end +if eq w 118121959288437 +ret 111 +end +if eq w 32204027264196973 +ret 112 +end +ret 0 +end + +note ======== om4's small tables, as functions ======== +note twid: width in bits by type 0..9 (bool 1; uchar ushort uint ulong; byte short int long) +fn twid t ulong to ulong +if eq t 1 +ret 1 +end +if or eq t 2 eq t 6 +ret 8 +end +if or eq t 3 eq t 7 +ret 16 +end +if or eq t 4 eq t 8 +ret 32 +end +if or eq t 5 eq t 9 +ret 64 +end +ret 0 +end + +note tlog: log2 of the element size by type +fn tlog t ulong to ulong +if or eq t 3 eq t 7 +ret 1 +end +if or eq t 4 eq t 8 +ret 2 +end +if or eq t 5 eq t 9 +ret 3 +end +ret 0 +end + +note regidx: the pool index of register r (the inverse of poolc; 255 for x7 and x16) +fn regidx r ulong to ulong +if lt r 7 +ret r +end +if eq r 7 +ret 255 +end +if lt r 16 +ret sub r 1 +end +if eq r 16 +ret 255 +end +ret 15 +end + +note conds: the condition for eq ne lt le gt ge (i = 2 (op - 43) + 1 when signed): EQ 0, NE 1, LO 3 / LT 11, +note LS 9 / LE 13, HI 8 / GT 12, HS 2 / GE 10 (Arm ARM Table C1-1). The opposite condition is cond xor 1. +fn conds i ulong to ulong +if lt i 2 +ret 0 +end +if lt i 4 +ret 1 +end +if eq i 4 +ret 3 +end +if eq i 5 +ret 11 +end +if eq i 6 +ret 9 +end +if eq i 7 +ret 13 +end +if eq i 8 +ret 8 +end +if eq i 9 +ret 12 +end +if eq i 10 +ret 2 +end +ret 10 +end + +note ldop / stop: register-offset load / store by element type (om4 LDOP, STOP tables) +fn ldop t ulong to ulong +note LDRB 0x38606800, LDRH 0x78607800, LDR w 0xb8607800, LDR x 0xf8607800, LDRSB 0x38a06800, +note LDRSH 0x78a07800, LDRSW 0xb8a07800 +if eq t 2 +ret 945842176 +end +if eq t 3 +ret 2019588096 +end +if eq t 4 +ret 3093329920 +end +if or eq t 5 eq t 9 +ret 4167071744 +end +if eq t 6 +ret 950036480 +end +if eq t 7 +ret 2023782400 +end +if eq t 8 +ret 3097524224 +end +ret 0 +end + +fn stop t ulong to ulong +note STRB 0x38206800, STRH 0x78207800, STR w 0xb8207800, STR x 0xf8207800 +if or eq t 2 eq t 6 +ret 941647872 +end +if or eq t 3 eq t 7 +ret 2015393792 +end +if or eq t 4 eq t 8 +ret 3089135616 +end +if or eq t 5 eq t 9 +ret 4162877440 +end +ret 0 +end + +note ---- trap list (8192 sites per function): output offset of the branch, trap code ---- +global tsite ulong 8192 +global tcode ulong 8192 +global nt ulong 1 +note ---- block stack (512): kind (1 if, 2 else, 3 while, 4 for), branch to patch, loop head, loop +note register, its type, names and held pool slots to restore at end, then-part ended (for else) ---- +global bkind ulong 512 +global bbr ulong 512 +global bhead ulong 512 +global breg ulong 512 +global btyp ulong 512 +global bnames ulong 512 +global bheld ulong 512 +global bdead ulong 512 +global nb ulong 1 +global curfn ulong 1 + +note ======== names and functions ======== +note findname: packed name -> its index + 1 among the names in scope (0 none). om4 FINDNAME. +fn findname w ulong to ulong +i = ulong 0 +n = get nn 0 +while lt i n +if eq get nm_name i w +ret add i 1 +end +i = add i 1 +end +ret 0 +end + +note findfn: packed name w (first 8 bytes), length l (any value up to 8 for a short name), start s in the +note input (read only for a name over 8 bytes) -> function index + 1 (0 none). om4 FINDFN. +fn findfn w ulong l ulong s ulong to ulong +j = ulong 0 +while lt j get nf 0 +if eq get fn_name j w +fl = get fn_nmlen j +if le l 8 +if le fl 8 +ret add j 1 +end +else +if eq fl l +o = get fn_off j +k = ulong 8 +same = true +while and same lt k l +a = get inp add o k +if ne a get inp add s k +same = false +end +k = add k 1 +end +if same +ret add j 1 +end +end +end +end +j = add j 1 +end +ret 0 +end + +note newname: the name must not be in use (a name in scope when 8 bytes or fewer, or a function): error 10 +fn newname w ulong l ulong s ulong to void +if le l 8 +if ne findname w 0 +fail 10 +end +end +if ne findfn w l s 0 +fail 10 +end +end + +note addname: packed name, register, type, length, kind, address. om4 ADDNAME. +fn addname w ulong r ulong t ulong ln ulong k ulong a ulong to void +n = get nn 0 +if ge n 1024 +fail 14 +end +put nm_name n w +put nm_reg n uchar r +put nm_type n uchar t +put nm_len n ln +put nm_kind n uchar k +put nm_addr n a +put nn 0 add n 1 +end + +note ======== registers and words ======== +note alloc: the next free register of the pool (after the parameters); error 12 when none is left +fn alloc to ulong +i = add get npar 0 get nslot 0 +if ge i 16 +fail 12 +end +put nslot 0 add get nslot 0 1 +ret poolc i +end + +note destreg: d, or a new temporary when d is 255 +fn destreg d ulong to ulong +if eq d 255 +ret alloc +end +ret d +end + +note e3: emit op | d | n << 5 | m << 16 +fn e3 op ulong d ulong n ulong m ulong to void +emit or or or op d shl n 5 shl m 16 +end + +note trapsite: note the place and code of a branch to the trap stub, then emit it. trapc: B.cond, as om4. +fn trapsite w ulong code ulong to void +n = get nt 0 +if ge n 8192 +fail 14 +end +put tsite n get oc 0 +put tcode n code +put nt 0 add n 1 +emit w +end + +fn trapc cc ulong code ulong to void +trapsite or 1409286144 cc code +end + +fn rdword at ulong to ulong +a = ulong get out at +b = shl ulong get out add at 1 8 +c = shl ulong get out add at 2 16 +d = shl ulong get out add at 3 24 +ret or or or a b c d +end + +fn wrword at ulong w ulong to void +put out at uchar and w 255 +put out add at 1 uchar and shr w 8 255 +put out add at 2 uchar and shr w 16 255 +put out add at 3 uchar and shr w 24 255 +end + +note disp19: the checked word distance for a B.cond / CBZ / CBNZ: the target must be word aligned and +note at most 2^18 - 1 words forward or 2^18 words back, else error 24 before any artifact is accepted +fn disp19 at ulong target ulong to ulong +diff = sub target at +if ne and diff 3 0 +fail 24 +end +if and gt diff 1048572 lt diff 18446744073708503040 +fail 24 +end +ret and shr diff 2 524287 +end + +note patch19: the word distance from a B.cond / CBZ / CBNZ at `at` to `target`, into bits 5..23 +fn patch19 at ulong target ulong to void +d = disp19 at target +wrword at or rdword at shl d 5 +end + +note patch26: the word distance from a B at `at` to `target`, into bits 0..25. No range check is needed: +note the output pool is 8 MiB = 2^23 bytes, below the 2^25-word reach, and every position in it is a +note word boundary, so the displacement is aligned and inside the signed 26-bit field by construction. +fn patch26 at ulong target ulong to void +d = and shr sub target at 2 67108863 +wrword at or rdword at d +end + +note back: emit B to an earlier place (C6.2.35) +fn back addr ulong to void +emit or 335544320 and shr sub addr get oc 0 2 67108863 +end + +note matconst: put a 64-bit value in register r: MOVZ (C6.2.285) or, for a value with the top bit set, +note MOVN (C6.2.284) with the first halfword that differs from the fill, then MOVK (C6.2.283) for each +note other such halfword. om4 MATCONST. +fn matconst r ulong v ulong to void +fill = ulong 0 +mop = ulong 3531603968 +if ne shr v 63 0 +fill = ulong 65535 +mop = ulong 2457862144 +end +started = false +hw = ulong 0 +while lt hw 4 +h = and shr v shl hw 4 65535 +if ne h fill +if started +emit or or or 4068474880 shl h 5 shl hw 21 r +else +emit or or or mop shl xor h fill 5 shl hw 21 r +started = true +end +end +hw = add hw 1 +end +if not started +emit or mop r +end +end + +note canon: u8/u16/u32 UBFM Xr, Xr, #0, #w-1 (C6.2.487); i8/i16/i32 SBFM (C6.2.355); else nothing +fn canon r ulong t ulong to void +if lt t 2 +ret +end +if eq t 5 +ret +end +if eq t 9 +ret +end +base = ulong 3544186880 +if gt t 5 +base = ulong 2470445056 +end +emit or or or base shl sub twid t 1 10 r shl r 5 +end + +note chkext: CMP Xr, Wr, SXTB/SXTH/SXTW (SUBS extended, C6.2.463), then B.NE trap code +fn chkext r ulong t ulong code ulong to void +emit or or or 3944742943 shl sub t 2 13 shl r 16 shl r 5 +trapc 1 code +end + +note range: error 8 unless v is a value of type t; big = the number was written as 2^63 or more +fn range v ulong t ulong big ulong to void +w = twid t +if eq w 64 +if eq t 9 +if ne big 0 +fail 8 +end +ret +end +if ne big 0 +ret +end +if ne shr v 63 0 +fail 8 +end +ret +end +if ne big 0 +fail 8 +end +lim = shl ulong 1 w +if lt t 6 +if ge v lim +fail 8 +end +ret +end +half = shr lim 1 +if ge add v half lim +fail 8 +end +end + +note cset: CSET Xr, cond = CSINC Xr, XZR, XZR, opposite cond (C6.2.141) +fn cset r ulong cc ulong to void +emit or or 2594113504 r shl xor cc 1 12 +end + +note force: put a value (kind 1 register, 3 number, 4 flags) in register r; a bare number is error 11 +fn force k ulong v ulong t ulong r ulong to void +if eq k 1 +if ne v r +emit or or 2852127712 r shl v 16 +end +ret +end +if eq k 3 +matconst r v +ret +end +if eq k 4 +cset r v +ret +end +fail 11 +end + +note matreg: a register holding the value +fn matreg k ulong v ulong t ulong to ulong +if eq k 1 +ret v +end +r = alloc +force k v t r +ret r +end + +note spop: ADD (C6.2.5) / SUB (C6.2.457) SP, SP by a multiple of 16 below 2^24: low 12 bits, then the +note high 12 bits LSL 12; nothing for a zero part +fn spop base ulong bytes ulong to void +lo = and bytes 4095 +if ne lo 0 +emit or or base 1023 shl lo 10 +end +hi = and shr bytes 12 4095 +if ne hi 0 +emit or or base 4195327 shl hi 10 +end +end + +fn spadd bytes ulong to void +spop 2432696320 bytes +end + +fn spsub bytes ulong to void +spop 3506438144 bytes +end + +note stkchk: program mode only: CMP SP, X28 (C6.2.463); B.LO trap 6 +fn stkchk to void +if ne get progmode 0 0 +emit 3946603519 +trapc 3 6 +end +end + +note epi: give back the stack of the local arrays, then RET (C6.2.338) +fn epi to void +spadd get stkbytes 0 +emit 3596551104 +end + +fn dead1 to void +put dead 0 1 +end + +note pushb / pushnh: open a block (om4 PUSHB, split in two because a call takes at most 6 values) +fn pushb br ulong k ulong head ulong reg ulong ty ulong to void +n = get nb 0 +if ge n 512 +fail 14 +end +put bkind n k +put bbr n br +put bhead n head +put breg n reg +put btyp n ty +put bdead n 0 +put nb 0 add n 1 +end + +fn pushnh names ulong hd ulong to void +n = sub get nb 0 1 +put bnames n names +put bheld n hd +end + +note ======== small readers ======== +fn elemtype t ulong to void +if lt t 2 +fail 9 +end +end + +note arrlen: an array length 1 .. 16777216 (error 8 below, 23 above, 23 when written as 2^63 or more) +fn arrlen v ulong to void +if ne get tbig 0 0 +fail 23 +end +if or eq v 0 ne shr v 63 0 +fail 8 +end +if gt v 16777216 +fail 23 +end +end + +note typeword: read a type name -> 1..9 +fn typeword to ulong +tok +k = get tk 0 +if eq k 0 +fail 4 +end +if ne k 1 +fail 16 +end +if gt get tl 0 8 +fail 16 +end +c = kw get tw 0 +if eq c 76 +fail 9 +end +if gt sub c 1 8 +fail 16 +end +ret c +end + +note eol: the line must end here +fn eol to void +tok +k = get tk 0 +if and ne k 0 ne k 3 +fail 5 +end +end + +note arrname: read an array name -> its index + 1 +fn arrname to ulong +tok +k = get tk 0 +if eq k 0 +fail 4 +end +if eq k 3 +fail 4 +end +if ne k 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +e = findname get tw 0 +if eq e 0 +fail 3 +end +if eq get nm_kind sub e 1 0 +fail 7 +end +ret e +end + +note topname: read a new name for a global or a text -> its packed word +fn topname to ulong +tok +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +w = get tw 0 +if ne kw w 0 +fail 16 +end +newname w get tl 0 get ts 0 +ret w +end + +note ---- value results (om4 x0 kind 1 register / 2 bare number / 3 typed number / 4 flags, x1 register, +note number or condition, x2 type). fr: 32 cells per value nesting depth 0..1024: 0..5 the two operands of +note a binary op (kind, value, type each), 8..25 a call's arguments (kind, value, array name each) ---- +global rk ulong 1 +global rv ulong 1 +global rt ulong 1 +global fr ulong 32800 +global depth ulong 1 + +note ======== BINOP (om4 BINOP and its BO_* parts): two values already read, types settled ======== +note bo_w3: emit fx | rd | ra << 5 | (imm12 << 10, or rb << 16) +fn bo_w3 fx ulong rd ulong ra ulong rb ulong imm ulong to void +if ne imm 0 +emit or or or fx rd shl ra 5 shl rb 10 +else +emit or or or fx rd shl ra 5 shl rb 16 +end +end + +note bo_fix: after a 64-bit op on rd: u8/u16/u32 wrap (canon), i8/i16/i32 overflow check (trap 1) +fn bo_fix rd ulong ty ulong to void +if lt ty 6 +canon rd ty +ret +end +if eq ty 9 +ret +end +chkext rd ty 1 +end + +note bo_schk: a shift amount in a register must be below the width: CMP Xb, #w; B.HS trap 7 +fn bo_schk ty ulong rb ulong to void +emit or or 4043309087 shl twid ty 10 shl rb 5 +trapc 2 7 +end + +note add, sub: u32 the 32-bit form; i64 ADDS/SUBS + B.VS trap 1; others 64-bit then bo_fix (om4 BO_ADD) +fn bo_add op ulong ty ulong ra ulong rb ulong imm ulong rd ulong to void +fx = ulong 2332033024 +if eq op 34 +fx = ulong 3405774848 +end +if ne imm 0 +fx = ulong 2432696320 +if eq op 34 +fx = ulong 3506438144 +end +end +if eq ty 4 +bo_w3 xor fx 2147483648 rd ra rb imm +ret +end +if eq ty 9 +bo_w3 or fx 536870912 rd ra rb imm +trapc 6 1 +ret +end +bo_w3 fx rd ra rb imm +bo_fix rd ty +end + +note mul: i64 SMULH t, MUL, CMP t, rd, ASR #63, B.NE trap 1 (om4 BO_MUL) +fn bo_mul ty ulong ra ulong rb ulong rd ulong to void +if eq ty 9 +t = alloc +e3 2604694528 t ra rb +bo_w3 2600500224 rd ra rb 0 +e3 3951098911 0 t rd +trapc 1 1 +ret +end +if eq ty 4 +bo_w3 453016576 rd ra rb 0 +ret +end +bo_w3 2600500224 rd ra rb 0 +bo_fix rd ty +end + +note div, rem (om4 BO_DIV, BO_SDIV): CBZ Xb trap 2 unless fl bit 1 (b a number other than 0); UDIV or +note SDIV; rem: t = a / b, rd = a - t * b (MSUB); i64 div: CMN Xb, #1; B.NE +3; NEGS XZR, Xa; B.VS trap 1, +note unless fl bit 2 (b a number other than -1) +fn bo_div op ulong ty ulong ra ulong rb ulong rd ulong fl ulong to void +if eq and fl 1 0 +trapsite or 3019898880 rb 2 +end +if eq op 37 +t = alloc +if ge ty 6 +e3 2596277248 t ra rb +else +e3 2596276224 t ra rb +end +e3 or 2600501248 shl ra 10 rd t rb +ret +end +if lt ty 6 +bo_w3 2596276224 rd ra rb 0 +ret +end +if eq ty 9 +if eq and fl 2 0 +emit or 2969568287 shl rb 5 +emit 1409286241 +emit or 3942646783 shl ra 16 +trapc 6 1 +end +end +bo_w3 2596277248 rd ra rb 0 +if ne ty 9 +bo_fix rd ty +end +end + +note and, or, xor (om4 BO_LOG) +fn bo_log op ulong ra ulong rb ulong rd ulong to void +fx = ulong 2315255808 +if eq op 39 +fx = ulong 2852126720 +end +if eq op 40 +fx = ulong 3388997632 +end +bo_w3 fx rd ra rb 0 +end + +note bo_lsl: LSL Xd, Xn, #s as UBFM Xd, Xn, #(64-s) mod 64, #63-s +fn bo_lsl ra ulong s ulong rd ulong to void +r = shl and sub 64 s 63 16 +r = or r shl sub 63 s 10 +r = or r shl ra 5 +emit or or 3544186880 r rd +end + +note shl (om4 BO_SHL, BS_64): by a number s: UBFM Xd, Xn, #(64-s) mod 64, #63-s; by a register: the amount +note check, LSLV; i64: t = a << s, X16 = t >> s arithmetic, CMP X16, Xa, B.NE trap 1, MOV Xd, Xt +fn bo_shl ty ulong ra ulong rb ulong imm ulong rd ulong to void +if eq ty 9 +t = alloc +if ne imm 0 +bo_lsl ra rb t +emit or or 2470509584 shl rb 16 shl t 5 +else +bo_schk ty rb +e3 2596282368 t ra rb +e3 2596284432 0 t rb +end +emit or 3942646303 shl ra 16 +trapc 1 1 +emit or or 2852127712 rd shl t 16 +ret +end +if ne imm 0 +bo_lsl ra rb rd +bo_fix rd ty +ret +end +bo_schk ty rb +if eq ty 4 +bo_w3 448798720 rd ra rb 0 +ret +end +bo_w3 2596282368 rd ra rb 0 +bo_fix rd ty +end + +note shr: unsigned LSR, signed ASR; by a number UBFM / SBFM Xd, Xn, #s, #63; by a register the amount check +note then LSRV / ASRV (om4 BO_SHR) +fn bo_shr ty ulong ra ulong rb ulong imm ulong rd ulong to void +if ne imm 0 +fi = ulong 3544251392 +if ge ty 6 +fi = ulong 2470509568 +end +emit or or or fi shl rb 16 shl ra 5 rd +ret +end +bo_schk ty rb +fx = ulong 2596283392 +if ge ty 6 +fx = ulong 2596284416 +end +bo_w3 fx rd ra rb 0 +end + +note comparisons: CMP Xa, #imm or CMP Xa, Xb; the result is the flags and a condition (om4 BO_CMP) +fn bo_cmp op ulong ty ulong ra ulong rb ulong imm ulong to void +if ne imm 0 +emit or or 4043309087 shl rb 10 shl ra 5 +else +emit or or 3942645791 shl rb 16 shl ra 5 +end +i = mul sub op 43 2 +if ge ty 6 +i = add i 1 +end +put rk 0 4 +put rv 0 conds i +put rt 0 1 +end + +note binop: op 33..48, destination (255 none), ix the fr slot of a (kind, number/register, type) then b. +note Result in rk/rv/rt. om4 BINOP. +fn binop op ulong dst ulong ix ulong to void +ty = get fr add ix 2 +ra = matreg get fr ix get fr add ix 1 ty +imm = ulong 0 +bk = get fr add ix 3 +bn = get fr add ix 4 +rb = ulong 0 +useimm = false +if eq bk 3 +if or eq op 41 eq op 42 +if lt bn twid ty +useimm = true +end +else +if or lt op 35 ge op 43 +if le bn 4095 +useimm = true +end +end +end +end +if useimm +rb = bn +imm = ulong 1 +else +rb = matreg bk bn get fr add ix 5 +end +if ge op 43 +bo_cmp op ty ra rb imm +ret +end +if eq ty 1 +if gt sub op 38 2 +fail 7 +end +end +rd = destreg dst +if lt op 35 +bo_add op ty ra rb imm rd +else +if eq op 35 +bo_mul ty ra rb rd +else +if lt op 38 +fl = ulong 0 +if and eq bk 3 ne bn 0 +fl = or fl 1 +end +if and eq bk 3 ne bn 18446744073709551615 +fl = or fl 2 +end +bo_div op ty ra rb rd fl +else +if lt op 41 +bo_log op ra rb rd +else +if eq op 41 +bo_shl ty ra rb imm rd +else +bo_shr ty ra rb imm rd +end +end +end +end +end +put rk 0 1 +put rv 0 rd +put rt 0 ty +end + +note ======== calls: registers saved around a call and loaded back ======== +global svn ulong 1 +global sva ulong 1 +note save: n = registers in use (parameters + pool slots), A = 8 (n + 1) rounded up to 16: SUB SP, SP, #A +note (C6.2.457); the stack check; STR Xr, [SP, #8j] for each (C6.2.415); STR X30, [SP, #8n]. Out: svn n, +note sva A. om4 SAVE. +fn save to void +n = add get npar 0 get nslot 0 +a = shl shr add n 2 1 4 +put svn 0 n +put sva 0 a +spsub a +stkchk +j = ulong 0 +while lt j n +emit or or 4177527776 poolc j shl j 10 +j = add j 1 +end +emit or 4177527806 shl n 10 +end + +note loadarg: register t from an argument: kind 1 or 5 a register v, read back from its save slot (LDR Xt, +note [SP, #8 slot], C6.2.216); kind 3 or 6 the number or address v. om4 LOADARG. +fn loadarg t ulong k ulong v ulong to void +if or eq k 3 eq k 6 +matconst t v +ret +end +emit or or 4181722080 t shl regidx v 10 +end + +note basearg: register t = the base of array name e (index + 1): its register from the save area, or its +note address. om4 BASEARG. +fn basearg t ulong e ulong to void +i = sub e 1 +if ge get nm_kind i 4 +matconst t get nm_addr i +ret +end +loadarg t 1 ulong get nm_reg i +end + +note restore: d destination (255: a new temporary at pool slot `slot`), slot the pool slot before the +note arguments, n saved count, a save bytes, res 1 if there is a result in X0. MOV Xd, X0 (C6.2.282); LDR +note each register in use before the arguments except Xd (C6.2.216); LDR X30; ADD SP, SP, #A (C6.2.5). +note Returns Xd (255 when no result). om4 RESTORE. +fn restore d ulong slot ulong n ulong a ulong res ulong to ulong +put nslot 0 slot +rd = ulong 255 +if ne res 0 +rd = d +if eq d 255 +rd = alloc +end +if ne rd 0 +emit or 2852127712 rd +end +end +m = add get npar 0 slot +j = ulong 0 +while lt j m +r = poolc j +if ne r rd +emit or or 4181722080 r shl j 10 +end +j = add j 1 +end +emit or 4181722110 shl n 10 +spadd a +ret rd +end + +note ca_bl: BL to function f (index + 1), C6.2.43 +fn ca_bl f ulong to void +n = get ncalls 0 +if ge n 65536 +fail 14 +end +put callsite n get oc 0 +put callfrom n get curfn 0 +put callto n f +put ncalls 0 add n 1 + +emit or 2483027968 and shr sub get fn_addr sub f 1 get oc 0 2 67108863 +end + +note ======== element addresses and array arguments ======== +global ea_b ulong 1 +global ea_i ulong 1 +note elemaddr: array name e (index + 1), index value (kind, number or register, type). A number index must +note be inside the array (error 21) and needs no check; a register index: CMP Xi, #len (C6.2.96) or CMP Xi, +note Xt (C6.2.97), B.HS trap 3 (unsigned, so a negative signed index traps too). Out: ea_b base register +note (the array's register, or a new one holding its address), ea_i index register. om4 ELEMADDR. +fn elemaddr e ulong k ulong v ulong t ulong to void +if eq t 1 +fail 7 +end +i = sub e 1 +ln = get nm_len i +x = v +if eq k 3 +if ge v ln +fail 21 +end +x = alloc +matconst x v +else +if le ln 4095 +emit or or 4043309087 shl ln 10 shl v 5 +else +y = alloc +matconst y ln +emit or or 3942645791 shl y 16 shl v 5 +end +trapc 2 3 +end +put ea_i 0 x +if ge get nm_kind i 4 +b = alloc +matconst b get nm_addr i +put ea_b 0 b +else +put ea_b 0 ulong get nm_reg i +end +end + +note aa_word: the next word of an array argument must be a name of at most 8 bytes +fn aa_word to void +tok +k = get tk 0 +if eq k 0 +fail 4 +end +if ne k 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +end + +note arrarg: an array argument for parameter pi of function f (index + 1): [view | edit] NAME. Its type and +note length must equal the parameter's; an edit parameter needs a writable array (local or edit, error 20; +note a view passed to it is error 20, OMEGESE.md 9.4); a global is never passed (error 19). Out: rk 5 +note (register rv) or 6 (address rv, a text), rt the name entry. om4 ARRARG. +fn arrarg f ulong pi ulong to void +md = ulong 0 +aa_word +w = get tw 0 +c = kw w +if ne c 0 +if or lt c 57 gt c 58 +fail 16 +end +md = c +aa_word +w = get tw 0 +end +e = findname w +if eq e 0 +fail 3 +end +i = sub e 1 +k = ulong get nm_kind i +if eq k 0 +fail 7 +end +if eq k 4 +fail 19 +end +p = add mul sub f 1 6 pi +if eq get fn_pk p 3 +if eq md 57 +fail 20 +end +if and ne k 1 ne k 3 +fail 20 +end +else +if eq md 58 +fail 7 +end +end +if ne get nm_type i get fn_pt p +fail 7 +end +if ne get nm_len i get fn_pl p +fail 7 +end +put rt 0 e +if eq k 5 +put rk 0 6 +put rv 0 get nm_addr i +else +put rk 0 5 +put rv 0 ulong get nm_reg i +end +end + +note ======== the parts of the value reader that read no further value ======== +fn vdec to void +put depth 0 sub get depth 0 1 +end + +note vdone: a value's result, and one nesting level less (om4 VT_RET) +fn vdone k ulong v ulong t ulong to void +put rk 0 k +put rv 0 v +put rt 0 t +vdec +end + +note vt_un: neg / not of the value in rk/rv/rt (a bare number already refused). neg: NEG Xd, Xm (SUB from +note XZR, C6.2.458; the 32-bit form for u32), i64 NEGS + B.VS trap 1 (C6.2.465), then the wrap or the +note sign check; not: bool EOR Xd, Xn, #1 (C6.2.155), else MVN (ORN from XZR, C6.2.300), then the wrap. +note om4 VU1 .. VU_E. +fn vt_un c ulong dst ulong to void +ty = get rt 0 +ra = matreg get rk 0 get rv 0 ty +rd = destreg dst +if eq c 50 +if eq ty 1 +e3 3527409664 rd ra 0 +else +if eq ty 4 +e3 706741216 rd 0 ra +else +e3 2854224864 rd 0 ra +if lt ty 6 +canon rd ty +end +end +end +else +if eq ty 1 +fail 7 +end +if eq ty 9 +e3 3942646752 rd 0 ra +trapc 6 1 +else +if eq ty 4 +e3 1258292192 rd 0 ra +else +e3 3405775840 rd 0 ra +if lt ty 6 +canon rd ty +else +chkext rd ty 1 +end +end +end +end +put rk 0 1 +put rv 0 rd +put rt 0 ty +end + +note vt_conv: the value in rk/rv/rt converted to type tt (neither bool, error 9). Out of range when any bit +note at or above s is set: LSR Xt, Xa, #s (UBFM, C6.2.487); CBNZ Xt trap 5 (C6.2.77); signed to a narrower +note signed type: the sign-extension check, trap 5. om4 VTT1 .. VC_OK. +fn vt_conv tt ulong to void +ft = get rt 0 +ra = matreg get rk 0 get rv 0 ft +if eq ft 1 +fail 9 +end +if eq tt 1 +fail 9 +end +wf = twid ft +wt = twid tt +s = ulong 99 +if lt ft 6 +if ge tt 6 +if ge wf wt +s = sub wt 1 +end +else +if gt wf wt +s = wt +end +end +else +if lt tt 6 +s = wt +if gt s 63 +s = ulong 63 +end +else +if gt wf wt +chkext ra tt 5 +end +end +end +if ne s 99 +t = alloc +emit or or or 3544251392 t shl s 16 shl ra 5 +trapsite or 3036676096 t 5 +end +put rk 0 1 +put rv 0 ra +put rt 0 tt +end + +note vt_get: get A i with the index value in rk/rv/rt: the element address, then the load of the element +note type, register offset (LDOP table). om4 VT_GET. +fn vt_get e ulong dst ulong to void +elemaddr e get rk 0 get rv 0 get rt 0 +rd = destreg dst +ty = ulong get nm_type sub e 1 +w = or ldop ty rd +emit or or w shl get ea_b 0 5 shl get ea_i 0 16 +put rk 0 1 +put rv 0 rd +put rt 0 ty +end + +note vs_chk: read / write bounds: n <= len A and off <= len A - n, else trap 3 (CMP C6.2.97, B.HI C6.2.34, +note SUB C6.2.458). om4 VT_SYS. +fn vs_chk e ulong ro ulong rn ulong to void +t = alloc +matconst t get nm_len sub e 1 +emit or or 3942645791 shl rn 5 shl t 16 +trapc 8 3 +e3 3405774848 t t rn +emit or or 3942645791 shl ro 5 shl t 16 +trapc 8 3 +end + +note vs_call: save the registers in use, X0 = fd, X1 = A + off (ADD through X16, C6.2.6), X2 = n, X8 = 63 +note (read) or 64 (write) (MOVZ C6.2.285), SVC #0 (C6.2.466). om4 VT_SYS. +fn vs_call c ulong fk ulong fv ulong e ulong ro ulong rn ulong to void +save +loadarg 0 fk fv +basearg 1 e +loadarg 16 1 ro +emit 2333081633 +loadarg 2 1 rn +emit or 3531603976 shl add c 10 5 +emit 3556769793 +end + +note ca_scal: a scalar argument just read (rk/rv/rt) for parameter p: flags into a register; its type +note must be the parameter's; stored at fr[q..q+2]. om4 CA1 .. CA_PUT. +fn ca_scal p ulong q ulong to void +if eq get rk 0 4 +put rv 0 matreg 4 get rv 0 get rt 0 +put rk 0 1 +put rt 0 1 +end +if ne get rt 0 ulong get fn_pt p +fail 7 +end +put fr q get rk 0 +put fr add q 1 get rv 0 +put fr add q 2 0 +end + +note ca_arr: an array argument i of function f, call frame cb: one array passed twice is error 19. +note om4 CA_ARR .. CA_PUT. +fn ca_arr f ulong i ulong cb ulong to void +arrarg f i +j = ulong 0 +while lt j i +if eq get fr add add cb mul j 3 2 get rt 0 +fail 19 +end +j = add j 1 +end +q = add cb mul i 3 +put fr q get rk 0 +put fr add q 1 get rv 0 +put fr add q 2 get rt 0 +end + +note ca_end: all arguments read: save, the arguments into X0.., BL, restore. Frame cb: 3 per argument, +note then cb+18 the parameter count, cb+19 the pool slot before the arguments. om4 CA_DONE .. CA5. +fn ca_end f ulong dst ulong cb ulong to void +save +np = get fr add cb 18 +i = ulong 0 +while lt i np +q = add cb mul i 3 +loadarg i get fr q get fr add q 1 +i = add i 1 +end +ca_bl f +hr = ulong 1 +if eq get fn_ret sub f 1 10 +hr = ulong 0 +end +n = get svn 0 +a = get sva 0 +sl = get fr add cb 19 +r = restore dst sl n a hr +put rk 0 1 +put rv 0 r +put rt 0 ulong get fn_ret sub f 1 +end + +note vs_fd, vs_arr, vs_off, vs_end: the steps of read / write between the values it reads, with the fd +note (kind, value), the offset register and the pool slot before kept in fr[x+8..x+11] (om4's VT_SYS +note frame slots 4, 5, 7 and 14) +fn vs_fd x ulong to void +if ne get rt 0 8 +fail 7 +end +put fr add x 9 get rk 0 +put fr add x 10 get rv 0 +end + +fn vs_arr c ulong e ulong to void +if eq c 53 +k = get nm_kind sub e 1 +if or eq k 2 eq k 5 +fail 20 +end +end +end + +fn vs_off x ulong to void +if ne get rt 0 5 +fail 7 +end +put fr add x 11 matreg get rk 0 get rv 0 get rt 0 +end + +fn vs_end c ulong e ulong dst ulong x ulong to void +if ne get rt 0 5 +fail 7 +end +rn = matreg get rk 0 get rv 0 get rt 0 +ro = get fr add x 11 +vs_chk e ro rn +fk = get fr add x 9 +fv = get fr add x 10 +vs_call c fk fv e ro rn +sl = get fr add x 8 +n = get svn 0 +a = get sva 0 +r = restore dst sl n a 1 +vdone 1 r 9 +end + +note Native Linux ARM64 host operations. Encoding forms are those in seed/rung2/table.s2. +note Syscall numbers and layouts: Linux asm-generic/unistd.h, fcntl.h and time.h. +note No raw address or arbitrary syscall is exposed to an Omega program. +fn hargc c ulong to ulong +if or or eq c 107 eq c 109 eq c 129 +ret 0 +end +if or eq c 100 eq c 101 +ret 1 +end +if or or or eq c 102 eq c 105 eq c 106 eq c 127 +ret 2 +end +ret 3 +end +fn hsysno c ulong to ulong +if eq c 127 +ret 129 +end +if eq c 129 +ret 172 +end +if eq c 100 +ret 57 +end +if eq c 101 +ret 82 +end +if eq c 102 +ret 52 +end +if eq c 103 +ret 62 +end +if eq c 104 +ret 198 +end +if eq c 105 +ret 201 +end +if eq c 106 +ret 242 +end +if eq c 107 +ret 220 +end +ret 24 +end +fn harg x ulong i ulong ty ulong to void +rdval 0 ty 255 0 +if ne get rt 0 ty +fail 7 +end +q = add add x 8 mul i 2 +put fr q get rk 0 +put fr add q 1 get rv 0 +end +fn hload x ulong i ulong reg ulong to void +q = add add x 8 mul i 2 +loadarg reg get fr q get fr add q 1 +end +fn hsys n ulong to void +matconst 8 n +emit 3556769793 +end +fn hreturn dst ulong x ulong to void +sl = get fr add x 7 +n = get svn 0 +a = get sva 0 +r = restore dst sl n a 1 +vdone 1 r 9 +end +fn hscalar c ulong dst ulong x ulong to void +np = hargc c +for i ulong np +ty = ulong 8 +if and eq c 103 eq i 1 +ty = ulong 9 +end +harg x i ty +end +save +for i ulong np +hload x i i +end +if eq c 106 +hload x 1 3 +matconst 1 0 +matconst 2 0 +end +if eq c 107 +matconst 0 17 +for i ulong 5 +matconst add i 1 0 +end +end +hsys hsysno c +hreturn dst x +end +fn hclock c ulong dst ulong x ulong to void +save +spsub 16 +stkchk +matconst 0 1 +if eq c 130 +matconst 0 0 +end +emit 2432697313 +hsys 113 +emit 4043309087 +bad = get oc 0 +emit 1409286155 +emit 4181722081 +emit 4181723106 +note Reject overflow before seconds are multiplied; clock result is a signed nanosecond count. +matconst 3 9223372036 +e3 3942645760 31 1 3 +trapc 8 1 +matconst 3 1000000000 +e3 2600500224 1 1 3 +e3 2868903936 0 1 2 +trapc 6 1 +patch19 bad get oc 0 +spadd 16 +hreturn dst x +end +fn harray x ulong writable ulong to ulong +e = arrname +if ne get nm_type sub e 1 2 +fail 7 +end +if ne writable 0 +vs_arr 53 e +end +put fr add x 20 e +harg x 0 5 +harg x 1 5 +ro = matreg get fr add x 8 get fr add x 9 5 +rn = matreg get fr add x 10 get fr add x 11 5 +put fr add x 21 ro +put fr add x 22 rn +vs_chk e ro rn +ret e +end +note Copy a checked path to a private 4096-byte stack buffer. Reject embedded zero bytes. +note Public paths remain length-delimited; only the kernel-facing private copy has a terminator. +fn hpathcp x ulong to void +e = get fr add x 20 +save +basearg 4 e +loadarg 16 1 get fr add x 21 +e3 2332033024 4 4 16 +loadarg 5 1 get fr add x 22 +matconst 6 4095 +e3 3942645760 31 5 6 +trapc 8 3 +end +fn hcopy to void +spsub 4096 +stkchk +emit 2432697313 +head = get oc 0 +emit 4043309247 +done = get oc 0 +emit 1409286144 +emit 960495750 +emit 4043309279 +trapc 0 3 +emit 956301350 +emit 2432697476 +emit 2432697377 +emit 3506439333 +back head +patch19 done get oc 0 +emit 956301375 +emit 2432697313 +matconst 0 18446744073709551516 +end +fn hpath c ulong dst ulong x ulong to void +e = harray x 0 +if eq c 110 +harg x 2 8 +harg x 3 8 +end +if eq c 112 +harg x 2 8 +end +hpathcp x +if eq c 110 +hload x 2 2 +hload x 3 3 +end +if eq c 111 +matconst 2 0 +end +if eq c 126 +matconst 2 512 +end +if eq c 112 +hload x 2 2 +end +hcopy +nr = ulong 56 +if or eq c 111 eq c 126 +nr = ulong 35 +end +if eq c 112 +nr = ulong 34 +end +hsys nr +spadd 4096 +hreturn dst x +end +fn hbuffer c ulong dst ulong x ulong to void +harg x 4 8 +wr = ulong 0 +if or or or or eq c 113 eq c 116 eq c 117 eq c 118 eq c 131 +wr = ulong 1 +end +e = harray x wr +if or or eq c 116 eq c 118 eq c 119 +harg x 2 8 +end +if or eq c 116 eq c 117 +need = ulong 4 +if eq c 117 +need = ulong 128 +end +tmp = alloc +matconst tmp need +e3 3942645760 31 get fr add x 22 tmp +trapc 3 3 +end +save +hload x 4 0 +basearg 1 e +loadarg 16 1 get fr add x 21 +e3 2332033024 1 1 16 +loadarg 2 1 get fr add x 22 +nr = ulong 61 +if eq c 114 +nr = ulong 203 +end +if eq c 115 +nr = ulong 200 +end +if eq c 116 +nr = ulong 260 +hload x 2 2 +matconst 3 0 +end +if eq c 117 +nr = ulong 80 +end +if or eq c 118 eq c 119 +nr = ulong 207 +hload x 2 3 +matconst 4 0 +matconst 5 0 +if eq c 119 +nr = ulong 206 +matconst 16 16384 +e3 2852126720 3 3 16 +end +end + +if eq c 131 +note getsockname uses a private 32-bit socklen. Success returns the full address length. +spsub 16 +stkchk +emit 3103785954 +emit 2432697314 +hsys 204 +emit 4043309087 +failed = get oc 0 +emit 1409286155 +emit 3107980256 +patch19 failed get oc 0 +spadd 16 +else +hsys nr +end +hreturn dst x +end +fn hsleep dst ulong x ulong to void +harg x 0 9 +save +hload x 0 2 +emit 4043309151 +trapc 11 3 +spsub 16 +stkchk +matconst 3 1000000000 +e3 2596276224 4 2 3 +note MSUB x5,x4,x3,x2 gives the subsecond remainder. +emit 2600700037 +emit 4177527780 +emit 4177528805 +emit 2432697312 +matconst 1 0 +hsys 101 +spadd 16 +hreturn dst x +end +fn hargs c ulong dst ulong x ulong to void +if eq c 121 +save +emit 4181721952 +hreturn dst x +ret +end +harg x 4 5 +e = harray x 1 +save +hload x 4 0 +emit 4181721953 +e3 3942645760 31 0 1 +trapc 2 3 +emit 2432697344 +matconst 16 8 +e3 2600500224 0 0 16 +e3 2332033024 3 27 0 +emit 4181721187 +e3 2852126720 4 31 3 +matconst 5 0 +scan = get oc 0 +emit 960495750 +emit 4043309279 +done = get oc 0 +emit 1409286144 +emit 2432697476 +emit 2432697509 +matconst 16 1048576 +e3 3942645760 31 5 16 +trapc 2 3 +back scan +patch19 done get oc 0 +loadarg 2 1 get fr add x 22 +e3 3942645760 31 5 2 +small = get oc 0 +emit 1409286152 +basearg 0 e +loadarg 16 1 get fr add x 21 +e3 2332033024 0 0 16 +e3 2852126720 2 31 5 +copy = get oc 0 +emit 4043309247 +endcp = get oc 0 +emit 1409286144 +emit 960495718 +emit 956301318 +emit 2432697443 +emit 2432697344 +emit 3506439333 +back copy +patch19 endcp get oc 0 +e3 2852126720 0 31 2 +endbr = get oc 0 +emit 335544320 +patch19 small get oc 0 +matconst 0 18446744073709551511 +patch26 endbr get oc 0 +hreturn dst x +end + +note waitio(fd int, events int, timeout_ns long): revents, 0 timeout, or negative errno. +note ppoll uses one private pollfd and one private timespec. Negative timeout is infinite. +fn hwaitio dst ulong x ulong to void +harg x 0 8 +harg x 1 8 +harg x 2 9 +save +hload x 0 0 +hload x 1 1 +hload x 2 2 +note pollfd.events is 16 bits; refuse truncation of the public int argument. +emit 4043309119 +trapc 11 3 +matconst 16 65535 +e3 3942645760 31 1 16 +trapc 8 3 +spsub 32 +stkchk +emit 4177527807 +emit 3103785952 +emit 2030046177 +matconst 3 1000000000 +emit 4043309151 +forever = get oc 0 +emit 1409286155 +e3 2596276224 4 2 3 +emit 2600700037 +emit 4177528804 +emit 4177529829 +emit 2432705506 +jump = get oc 0 +emit 335544320 +patch19 forever get oc 0 +matconst 2 0 +patch26 jump get oc 0 +emit 2432697312 +matconst 1 1 +matconst 3 0 +matconst 4 8 +hsys 73 +emit 4043309087 +failed = get oc 0 +emit 1409286157 +emit 2034241504 +patch19 failed get oc 0 +spadd 32 +hreturn dst x +end + +note Strict stdio profile uses Linux UAPI layouts, not exposed native pointers. Guest scratch640 bytes. +note sock_filter is u16 code,u8 jt,u8 jf,u32 k; sock_fprog length at0 and pointer at8 on AArch64. +note Landlock path rule is packed u64 allowed_access plus s32 parent_fd. prlimit64 uses two u64s. +fn hsptr reg ulong off ulong to void +emit or or 2432697312 reg shl off 10 +end +fn hstore off ulong value ulong to void +matconst 0 value +hsptr 16 off +e3 4177526784 0 16 0 +end +fn hbad to ulong +emit 4043309087 +at = get oc 0 +emit 1409286155 +ret at +end +fn hlimit resource ulong soft ulong hard ulong to ulong +hstore 48 soft +hstore 56 hard +matconst 0 0 +matconst 1 resource +hsptr 2 48 +matconst 3 0 +hsys 261 +ret hbad +end +fn hfilter i ulong op ulong jt ulong jf ulong k ulong to void +word = or or op shl jt 16 or shl jf 24 shl k 32 +hstore add 128 mul i 8 word +end +fn hpure to void +errs = new ulong 24 0 +n = ulong 0 +spsub 640 +stkchk +hsptr 16 632 +e3 4177526784 11 16 0 +note Extra descriptors have already been closed in a private table. Pin executable as descriptor3. +matconst 0 18446744073709551516 +hsptr 1 640 +matconst 2 2621440 +matconst 3 0 +hsys 56 +put errs n hbad +n = add n 1 +note ABI3 rights through TRUNCATE are all handled, with only read/execute of that one inode allowed. +hstore 0 32767 +hsptr 0 0 +matconst 1 8 +matconst 2 0 +hsys 444 +put errs n hbad +n = add n 1 +hstore 16 5 +hstore 24 3 +matconst 0 4 +matconst 1 1 +hsptr 2 16 +matconst 3 0 +hsys 445 +put errs n hbad +n = add n 1 +matconst 0 38 +matconst 1 1 +matconst 2 0 +matconst 3 0 +matconst 4 0 +hsys 167 +put errs n hbad +n = add n 1 +matconst 0 4 +matconst 1 0 +hsys 172 +put errs n hbad +n = add n 1 +matconst 0 4 +hsys 57 +put errs n hbad +n = add n 1 +note Per-process ceilings. Pipe-output and wall budgets additionally require the trusted supervisor. +put errs n hlimit 0 1 2 +n = add n 1 +put errs n hlimit 1 1048576 1048576 +n = add n 1 +put errs n hlimit 3 8388608 8388608 +n = add n 1 +put errs n hlimit 4 0 0 +n = add n 1 +put errs n hlimit 6 0 0 +n = add n 1 +put errs n hlimit 7 4 4 +n = add n 1 +put errs n hlimit 9 134217728 134217728 +n = add n 1 +note Validate architecture, then read only0,write only1/2,exit/exit_group. Everything else is EPERM. +note execveat is restricted to descriptor3 and AT_EMPTY_PATH; Landlock also binds execution to inode3. +note The inode rule is essential: an absolute execveat path otherwise ignores its dirfd argument. +hfilter 0 32 0 0 4 +hfilter 1 21 1 0 3221225655 +hfilter 2 6 0 0 2147483648 +hfilter 3 32 0 0 0 +hfilter 4 21 0 3 63 +hfilter 5 32 0 0 16 +hfilter 6 21 0 1 0 +hfilter 7 6 0 0 2147418112 +hfilter 8 32 0 0 0 +hfilter 9 21 0 4 64 +hfilter 10 32 0 0 16 +hfilter 11 21 1 0 1 +hfilter 12 21 0 1 2 +hfilter 13 6 0 0 2147418112 +hfilter 14 32 0 0 0 +hfilter 15 21 0 1 93 +hfilter 16 6 0 0 2147418112 +hfilter 17 21 0 1 94 +hfilter 18 6 0 0 2147418112 +hfilter 19 32 0 0 0 +hfilter 20 21 0 5 281 +hfilter 21 32 0 0 16 +hfilter 22 21 0 3 3 +hfilter 23 32 0 0 48 +hfilter 24 21 0 1 4096 +hfilter 25 6 0 0 2147418112 +hfilter 26 6 0 0 327681 +hstore 80 27 +hsptr 0 128 +hsptr 16 88 +e3 4177526784 0 16 0 +matconst 0 1 +matconst 1 0 +hsptr 2 80 +hsys 277 +put errs n hbad +n = add n 1 +note Restore original packet stack before entering pinned executable. Descriptor3 is CLOEXEC. +hsptr 16 632 +e3 4181721088 11 16 0 +spadd 640 +matconst 0 3 +e3 2852126720 1 31 11 +emit 2436892642 +e3 2852126720 3 31 11 +matconst 4 4096 +hsys 281 +finished = get oc 0 +emit 335544320 +for i ulong n +patch19 get errs i get oc 0 +end +hsptr 16 632 +e3 4181721088 11 16 0 +spadd 640 +patch26 finished get oc 0 +end + +note A packed argument list is u16 count followed by count (u16 length, bytes) records. +note Byte order is little-endian. The packet is at most 4096 bytes and 64 records. +note The decoder constructs kernel pointers only in private stack memory. +fn hpack c ulong dst ulong x ulong to void +e = harray x 0 +if eq c 125 +harg x 2 8 +end +save +basearg 4 e +loadarg 16 1 get fr add x 21 +e3 2332033024 4 4 16 +loadarg 5 1 get fr add x 22 +matconst 16 4096 +e3 3942645760 31 5 16 +trapc 8 3 +emit 4043311295 +trapc 3 3 +if eq c 125 +hload x 2 14 +end +spsub 8192 +stkchk +emit 2034237574 +emit 2432698500 +emit 3506440357 +emit 4043309279 +trapc 0 3 +matconst 16 64 +e3 3942645760 31 6 16 +trapc 8 3 +if eq c 125 +emit 4043311327 +trapc 1 3 +end +matconst 9 0 +emit 2432697322 +emit 2436892651 +outer = get oc 0 +e3 3942645760 31 9 6 +done = get oc 0 +emit 1409286146 +emit 4043311295 +trapc 3 3 +emit 2034237580 +emit 2432698500 +emit 3506440357 +e3 3942645760 31 12 5 +trapc 8 3 +note A program path and both rename paths must be nonempty. +if or eq c 124 eq c 135 +emit 4043309375 +notfirst = get oc 0 +emit 1409286145 +emit 4043309471 +trapc 0 3 +patch19 notfirst get oc 0 +else +emit 4043309471 +trapc 0 3 +end +emit 4177527146 +emit 2432704875 +inner = get oc 0 +emit 4043309471 +endstr = get oc 0 +emit 1409286144 +emit 960495757 +emit 4043309503 +trapc 0 3 +emit 956301645 +emit 2432697476 +emit 2432697674 +emit 3506439333 +emit 3506439564 +back inner +patch19 endstr get oc 0 +emit 956301663 +emit 2432697674 +emit 2432697641 +back outer +patch19 done get oc 0 +emit 4043309247 +trapc 1 3 +emit 4177527167 +if or eq c 124 eq c 135 +note Exec admits only the caller-assigned standard streams. Linux close_range with UNSHARE +note closes every descriptor >=3 in a private table. Failure returns without executing a child; +note no guessed descriptor ceiling or permissive fallback. This is not filesystem isolation. +matconst 0 3 +matconst 1 4294967295 +matconst 2 2 +hsys 436 +emit 4043309087 +noclose = get oc 0 +emit 1409286145 +if eq c 135 +hpure +else +emit 2432697312 +emit 2436892641 +e3 2852126720 2 31 11 +hsys 221 +end +patch19 noclose get oc 0 +else +emit 2436892656 +emit 4181721601 +emit 4181722627 +matconst 0 18446744073709551516 +matconst 2 18446744073709551516 +e3 2852126720 4 31 14 +hsys 276 +end +spadd 8192 +hreturn dst x +end +fn hpipe dst ulong x ulong to void +e = harray x 1 +harg x 2 8 +tmp = alloc +matconst tmp 8 +e3 3942645760 31 get fr add x 22 tmp +trapc 3 3 +save +basearg 0 e +loadarg 16 1 get fr add x 21 +e3 2332033024 0 0 16 +hload x 2 1 +hsys 59 +hreturn dst x +end + +fn hcwd dst ulong x ulong to void +e = harray x 1 +save +basearg 0 e +loadarg 16 1 get fr add x 21 +e3 2332033024 0 0 16 +loadarg 1 1 get fr add x 22 +hsys 17 +hreturn dst x +end +fn hreadlnk dst ulong x ulong to void +e = harray x 0 +put fr add x 23 e +put fr add x 24 get fr add x 21 +put fr add x 25 get fr add x 22 +e = harray x 1 +put fr add x 26 e +put fr add x 27 get fr add x 21 +put fr add x 28 get fr add x 22 +put fr add x 20 get fr add x 23 +put fr add x 21 get fr add x 24 +put fr add x 22 get fr add x 25 +hpathcp x +note readlnk refuses an empty path before the kernel call. +emit 4043309247 +trapc 0 3 +basearg 2 get fr add x 26 +loadarg 16 1 get fr add x 27 +e3 2332033024 2 2 16 +loadarg 3 1 get fr add x 28 +hcopy +hsys 78 +spadd 4096 +hreturn dst x +end +fn hsockopt dst ulong x ulong to void +harg x 2 8 +harg x 3 8 +harg x 4 8 +e = harray x 0 +save +hload x 2 0 +hload x 3 1 +hload x 4 2 +basearg 3 e +loadarg 16 1 get fr add x 21 +e3 2332033024 3 3 16 +loadarg 4 1 get fr add x 22 +hsys 208 +hreturn dst x +end + +fn hostval c ulong dst ulong to void +if eq get progmode 0 0 +fail 9 +end +x = mul get depth 0 32 +put fr add x 7 get nslot 0 +if eq c 132 +hcwd dst x +ret +end +if eq c 133 +hreadlnk dst x +ret +end +if eq c 134 +hsockopt dst x +ret +end +if or eq c 109 eq c 130 +hclock c dst x +ret +end +if or and ge c 113 le c 119 eq c 131 +hbuffer c dst x +ret +end +if eq c 120 +hsleep dst x +ret +end +if eq c 123 +hwaitio dst x +ret +end +if or or eq c 124 eq c 125 eq c 135 +hpack c dst x +ret +end +if eq c 126 +hpath c dst x +ret +end +if or eq c 127 eq c 129 +hscalar c dst x +ret +end +if eq c 128 +hpipe dst x +ret +end +if ge c 121 +put hostargs 0 1 +hargs c dst x +ret +end +if ge c 110 +hpath c dst x +ret +end +hscalar c dst x +end + +note ======== rdval: read one value (om4 VAL, VALTOK, CALL and the VT_ parts, one self-recursive +note function because a function calls only earlier functions or itself) ======== +note mode 0: read the first word; 1: the first word is the current token; 2: a call of function fe (index +note + 1), its arguments still to read. exp the expected type (0 none), dst the destination register (255 +note none). Out: rk kind (1 register, 2 bare number, 3 typed number, 4 flags), rv register / number / +note condition, rt type (for a bare number: 1 when written as 2^63 or more). Only the outermost op writes the +note destination. Every value nests one level deeper (at most 1024, error 14); a call does not. +fn rdval mode ulong exp ulong dst ulong fe ulong to void +if eq mode 2 +cb = add mul get depth 0 32 8 +put fr add cb 18 ulong get fn_np sub fe 1 +put fr add cb 19 get nslot 0 +if eq get progmode 0 0 +if eq get curfn 0 fe +fail 9 +end +end +i = ulong 0 +while lt i get fr add cb 18 +p = add mul sub fe 1 6 i +if eq get fn_pk p 0 +rdval 0 ulong get fn_pt p 255 0 +ca_scal p add cb mul i 3 +else +ca_arr fe i cb +end +i = add i 1 +end +ca_end fe dst cb +ret +end +if eq mode 0 +tok +end +put depth 0 add get depth 0 1 +if gt get depth 0 1024 +fail 14 +end +if or eq get tk 0 0 eq get tk 0 3 +fail 4 +end +if eq get tk 0 4 +fail 16 +end +if eq get tk 0 2 +if eq exp 0 +vdone 2 get tw 0 get tbig 0 +ret +end +range get tw 0 exp get tbig 0 +vdone 3 get tw 0 exp +ret +end +if gt get tl 0 8 +f = findfn get tw 0 get tl 0 get ts 0 +if eq f 0 +fail 13 +end +if eq get fn_ret sub f 1 10 +fail 7 +end +rdval 2 0 dst f +vdec +ret +end +c = kw get tw 0 +if eq c 0 +e = findname get tw 0 +if ne e 0 +if ne get nm_kind sub e 1 0 +fail 7 +end +vdone 1 ulong get nm_reg sub e 1 ulong get nm_type sub e 1 +ret +end +f = findfn get tw 0 0 0 +if eq f 0 +fail 3 +end +if eq get fn_ret sub f 1 10 +fail 7 +end +rdval 2 0 dst f +vdec +ret +end +if le sub c 1 8 +tok +if eq get tk 0 2 +range get tw 0 c get tbig 0 +vdone 3 get tw 0 c +ret +end +rdval 1 0 255 0 +if eq get rk 0 2 +fail 11 +end +vt_conv c +vdec +ret +end +if eq c 74 +rdval 0 exp dst 0 +tok +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 16 +end +if ne kw get tw 0 75 +fail 16 +end +vdec +ret +end +if eq c 77 +fail 9 +end +if and ge c 100 le c 135 +hostval c dst +ret +end +if eq c 51 +e = arrname +rdval 0 5 255 0 +vt_get e dst +vdec +ret +end +if eq c 52 +e = arrname +vdone 3 get nm_len sub e 1 5 +ret +end +if or eq c 53 eq c 54 +x = mul get depth 0 32 +put fr add x 8 get nslot 0 +rdval 0 8 255 0 +vs_fd x +e = arrname +vs_arr c e +rdval 0 5 255 0 +vs_off x +rdval 0 5 255 0 +vs_end c e dst x +ret +end +if eq c 55 +vdone 3 1 1 +ret +end +if eq c 56 +vdone 3 0 1 +ret +end +if gt sub c 33 17 +fail 16 +end +if ge c 49 +rdval 0 exp 255 0 +if and eq c 50 eq get rk 0 4 +put rv 0 xor get rv 0 1 +vdec +ret +end +if eq get rk 0 2 +fail 11 +end +vt_un c dst +vdec +ret +end +rdval 0 0 255 0 +ak = get rk 0 +av = get rv 0 +at = get rt 0 +if eq ak 4 +av = matreg 4 av at +ak = ulong 1 +at = ulong 1 +end +rdval 0 0 255 0 +bk = get rk 0 +bv = get rv 0 +bt = get rt 0 +if eq bk 4 +bv = matreg 4 bv bt +bk = ulong 1 +bt = ulong 1 +end +if eq ak 2 +if eq bk 2 +fail 11 +end +range av bt at +at = bt +ak = ulong 3 +end +if eq bk 2 +range bv at bt +bt = at +bk = ulong 3 +end +if and ne c 41 ne c 42 +if ne at bt +fail 7 +end +end +x = mul get depth 0 32 +put fr x ak +put fr add x 1 av +put fr add x 2 at +put fr add x 3 bk +put fr add x 4 bv +put fr add x 5 bt +binop c dst x +vdec +end + +note cond: read a condition (a bool value); emit a branch taken when it is false: B.cond with the opposite +note condition (C6.2.34), or CBZ Xr (C6.2.78). Returns that branch's place. om4 COND. +fn cond to ulong +rdval 0 1 255 0 +if ne get rt 0 1 +fail 7 +end +if eq get rk 0 4 +at = get oc 0 +emit or 1409286144 xor get rv 0 1 +ret at +end +r = matreg get rk 0 get rv 0 get rt 0 +at = get oc 0 +emit or 3019898880 r +ret at +end + +note ======== statements, one per line (om4 STMT and the S_ parts) ======== +note skipnl: note ...: the rest of the line is not read (up to the newline, which tok reads). om4 S_NOTE. +fn skipnl to void +go = true +while go +n = ulong 0 +while and go lt n 999999 +if ge get cur 0 get inlen 0 +go = false +else +if eq get inp get cur 0 10 +go = false +else +put cur 0 add get cur 0 1 +end +end +n = add n 1 +end +end +end + +note s_long: a word over 8 characters at the start of a line: only a call of a void function. om4 S_LONG. +fn s_long to void +if eq get curret 0 0 +fail 13 +end +if ne get dead 0 0 +fail 17 +end +f = findfn get tw 0 get tl 0 get ts 0 +if eq f 0 +fail 13 +end +if ne get fn_ret sub f 1 10 +fail 7 +end +rdval 2 0 255 f +eol +end + +note blo: B.LO back to an earlier place (C6.2.34) +fn blo at ulong to void +d = disp19 get oc 0 at +emit or 1409286147 shl d 5 +end + +note sa_arr: x = new T N v: N elements of type T on the stack, each set to v; only in the function's +note outermost block, so the stack held by local arrays is known at every ret. SUB SP (C6.2.457); program +note mode: the stack check; MOV Xb, SP (ADD immediate, C6.2.5); then the fill loop: STR v, [Xb, Xi, LSL]; +note ADD Xi, Xi, #1; CMP Xi, #N or Xn; B.LO back (C6.2.34). om4 SA_ARR. +fn sa_arr w ulong to void +if ne get nb 0 0 +fail 9 +end +t = typeword +elemtype t +tok +if ne get tk 0 2 +fail 16 +end +n = get tw 0 +arrlen n +by = shl shr add shl n tlog t 15 4 4 +s = add get stkbytes 0 by +if gt s 4194304 +fail 23 +end +put stkbytes 0 s +r = alloc +put held 0 get nslot 0 +rdval 0 t 255 0 +if ne get rt 0 t +fail 7 +end +v = matreg get rk 0 get rv 0 get rt 0 +spsub by +stkchk +emit or 2432697312 r +i = alloc +emit or 3531603968 i +m = ulong 0 +if gt n 4095 +m = alloc +matconst m n +end +lp = get oc 0 +emit or or or stop t v shl r 5 shl i 16 +emit or or 2432697344 i shl i 5 +if le n 4095 +emit or or 4043309087 shl n 10 shl i 5 +else +emit or or 3942645791 shl m 16 shl i 5 +end +blo lp +addname w r t n 1 0 +end + +note s_assign: name [=] value (an existing scalar, or a new one), or name = new T N v. om4 S_ASSIGN. +fn s_assign w ulong to void +tok +if eq get tk 0 1 +if le get tl 0 8 +if eq kw get tw 0 73 +tok +end +end +end +e = findname w +if ne e 0 +i = sub e 1 +if ne get nm_kind i 0 +fail 7 +end +r = ulong get nm_reg i +t = ulong get nm_type i +rdval 1 t r 0 +if ne get rt 0 t +fail 7 +end +force get rk 0 get rv 0 get rt 0 r +eol +ret +end +if ne findfn w 0 0 0 +fail 10 +end +if eq get tk 0 1 +if le get tl 0 8 +if eq kw get tw 0 84 +sa_arr w +eol +ret +end +end +end +r = alloc +put held 0 get nslot 0 +rdval 1 0 r 0 +if eq get rk 0 2 +fail 11 +end +t = get rt 0 +force get rk 0 get rv 0 t r +addname w r t 0 0 0 +eol +end + +note s_name: a name at the start of a line: a call of a void function, or name [=] value. om4 S_NAME. +fn s_name w ulong to void +if ne findname w 0 +s_assign w +ret +end +f = findfn w get tl 0 0 +if eq f 0 +s_assign w +ret +end +if ne get fn_ret sub f 1 10 +fail 7 +end +rdval 2 0 255 f +eol +end + +note fn_p: the type of parameter np (name pw) of function f (index): T, or view / edit T N (an array: +note kind 2 / 3, element type, length 1 .. 2^24). om4 FN_P .. FN_ADD. +fn fn_p f ulong np ulong pw ulong to void +tok +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 16 +end +c = kw get tw 0 +t = ulong 0 +ln = ulong 0 +k = ulong 0 +if or eq c 57 eq c 58 +k = sub c 55 +t = typeword +elemtype t +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 2 +fail 16 +end +ln = get tw 0 +arrlen ln +else +if gt sub c 1 8 +fail 16 +end +t = c +end +addname pw poolc np t ln k 0 +p = add mul f 6 np +put fn_pt p uchar t +put fn_pl p ln +put fn_pk p uchar k +end + +note fn_to: to T | to void at the end of a fn line; the function's state starts. om4 FN_TO .. FN_T2. +fn fn_to f ulong np ulong to void +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 16 +end +c = kw get tw 0 +r = c +if eq c 76 +r = ulong 10 +else +if gt sub c 1 8 +fail 16 +end +end +put curret 0 r +put fn_ret f uchar r +put fn_np f uchar np +put stkbytes 0 0 +put dead 0 0 +put npar 0 np +put nslot 0 0 +put held 0 0 +put nb 0 0 +put nt 0 0 +eol +end + +note s_fn: fn name (param type | param view T N | param edit T N)* to type | void. om4 S_FN. +fn s_fn to void +if ne get curret 0 0 +fail 15 +end +tok +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 63 +fail 13 +end +w = get tw 0 +if ne kw w 0 +fail 16 +end +l = get tl 0 +s = get ts 0 +f = ulong 0 +if eq get scanning 0 1 +newname w l s +f = get nf 0 +if ge f 512 +fail 14 +end +put nf 0 add f 1 +put curfn 0 add f 1 +put lastfn 0 add f 1 +put fn_name f w +put fn_addr f get oc 0 +put fn_ret f 0 +put fn_np f 0 +put fn_nmlen f l +put fn_off f s +else +f = sub findfn w l s 1 +put curfn 0 add f 1 +put lastfn 0 add f 1 +put fn_addr f get oc 0 +end +put nn 0 get nglob 0 +np = ulong 0 +go = true +while go +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +pw = get tw 0 +c = kw pw +if eq c 65 +go = false +else +if ne c 0 +fail 16 +end +newname pw get tl 0 get ts 0 +if ge np 6 +fail 9 +end +fn_p f np pw +np = add np 1 +end +end +fn_to f np +if eq get scanning 0 1 +put curret 0 0 +put nn 0 0 +end +end + +note s_ret: ret [value]: the value into X0, give back the local arrays' stack, RET. om4 S_RET. +fn s_ret to void +r = get curret 0 +if eq r 10 +eol +epi +dead1 +ret +end +rdval 0 r 0 0 +if ne get rt 0 r +fail 7 +end +force get rk 0 get rv 0 get rt 0 0 +epi +dead1 +eol +end + +note s_exit: exit value (int): Linux exit (system call 93: MOVZ X8, #93, C6.2.285; SVC #0, C6.2.466); the +note path ends. om4 S_EXIT. +fn s_exit to void +rdval 0 8 255 0 +if ne get rt 0 8 +fail 7 +end +force get rk 0 get rv 0 get rt 0 0 +emit 3531606952 +emit 3556769793 +dead1 +eol +end + +note stel: the checked store of v (type t) at ea_b / ea_i (the STOP table: register offset, scaled) +fn stel t ulong v ulong to void +b = shl get ea_b 0 5 +i = shl get ea_i 0 16 +emit or or or stop t v b i +end + +note s_put: put A i v: index, then value, then the checked store (STOP table). om4 S_PUT. +fn s_put to void +e = arrname +k = get nm_kind sub e 1 +if or eq k 2 eq k 5 +fail 20 +end +rdval 0 5 255 0 +ik = get rk 0 +iv = get rv 0 +it = get rt 0 +t = ulong get nm_type sub e 1 +rdval 0 t 255 0 +if ne get rt 0 t +fail 7 +end +v = matreg get rk 0 get rv 0 get rt 0 +elemaddr e ik iv it +stel t v +eol +end + +note s_global: global NAME T N: a fixed pool of N elements, zero at start, in the read/write part of the +note program image after the 8 MiB stack pool (address 0x10800000 + pool bytes so far); at most 1 GiB of +note pools (error 23). om4 S_GLOBAL. +fn s_global to void +w = topname +t = typeword +elemtype t +tok +if ne get tk 0 2 +fail 16 +end +n = get tw 0 +arrlen n +by = shl shr add shl n tlog t 15 4 4 +pb = get poolb 0 +a = add 276824064 pb +s = add pb by +if gt s 1073741824 +fail 23 +end +put poolb 0 s +addname w 0 t n 4 a +put nglob 0 get nn 0 +eol +end + +note s_text: text NAME "...": read-only bytes in the program image (escapes \n \t \\ \", any other is error +note 22), padded to a word, with their length; address 0x400000 + its place. om4 S_TEXT. +fn s_text to void +w = topname +tok +if ne get tk 0 4 +fail 16 +end +a = add get oc 0 4194304 +p = get tw 0 +e = add p get tl 0 +n = ulong 0 +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p e +go = false +else +b = get inp p +p = add p 1 +if eq b 92 +b = get inp p +p = add p 1 +if eq b 110 +b = uchar 10 +else +if eq b 116 +b = uchar 9 +else +if and ne b 92 ne b 34 +fail 22 +end +end +end +end +emitb b +n = add n 1 +end +m = add m 1 +end +end +while ne and get oc 0 3 0 +emitb 0 +end +addname w 0 2 n 5 a +put nglob 0 get nn 0 +eol +end + +note s_if: if cond: the false branch is patched at else / end. om4 S_IF. +fn s_if to void +at = cond +pushb at 1 0 0 0 +pushnh get nn 0 get held 0 +eol +end + +note s_else: jump over the else part (B, C6.2.35); the if's false branch lands after that jump. om4 S_ELSE. +fn s_else to void +n = get nb 0 +if eq n 0 +fail 15 +end +i = sub n 1 +if ne get bkind i 1 +fail 15 +end +b = get oc 0 +emit 335544320 +patch19 get bbr i get oc 0 +put bkind i 2 +put bbr i b +put nn 0 get bnames i +put held 0 get bheld i +put bdead i get dead 0 +put dead 0 0 +eol +end + +note lpcnt: the hidden counter check of a loop: CMP Xc, #N (C6.2.96) or CMP Xc, Xn (C6.2.97); B.HS trap +note 4; ADD Xc, Xc, #1 (C6.2.5). om4 SW_NOB .. SW_G and the same in S_FOR. +fn lpcnt c ulong n ulong to void +if le n 4095 +emit or or 4043309087 shl n 10 shl c 5 +else +m = alloc +matconst m n +emit or or 3942645791 shl c 5 shl m 16 +end +trapc 2 4 +emit or or 2432697344 c shl c 5 +end + +note s_while: while cond [bound N]: hidden counter = 0; head: cond false -> exit; counter >= N -> trap 4; +note counter = counter + 1; body; B head. N is 1 .. 999999 (error 8), 1000000 with no bound. om4 S_WHILE. +fn s_while to void +sn = get nn 0 +sh = get held 0 +c = alloc +put held 0 get nslot 0 +emit or 3531603968 c +hd = get oc 0 +br = cond +n = ulong 1000000 +tok +k = get tk 0 +if and ne k 0 ne k 3 +if ne k 1 +fail 5 +end +if gt get tl 0 8 +fail 5 +end +if ne kw get tw 0 70 +fail 5 +end +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 2 +fail 16 +end +if ge sub get tw 0 1 999999 +fail 8 +end +n = get tw 0 +eol +end +lpcnt c n +pushb br 3 hd c 0 +pushnh sn sh +end + +note sf_br: B.HS (unsigned) or B.GE (signed) to the loop exit, C6.2.34 (distance filled at end); returns +note its place. om4 SF_BR. +fn sf_br t ulong to ulong +at = get oc 0 +if lt t 6 +emit 1409286146 +else +emit 1409286154 +end +ret at +end + +note sf_num: for i T K with K a number: i = 0 (MOVZ, C6.2.285); head: CMP Xi, #K or Xk; B.HS/B.GE exit. +note om4 SF_NUM .. SF_PUSH. +fn sf_num w ulong t ulong kk ulong sn ulong sh ulong to void +eol +i = alloc +put held 0 get nslot 0 +addname w i t 0 0 0 +emit or 3531603968 i +hd = get oc 0 +if le kk 4095 +emit or or 4043309087 shl kk 10 shl i 5 +else +k = alloc +matconst k kk +emit or or 3942645791 shl i 5 shl k 16 +end +br = sf_br t +pushb br 4 hd i t +pushnh sn sh +end + +note sf_val: for i T K with K a value of type T in register kr: i = 0; the hidden counter c = 0; head: CMP +note Xi, Xk; B.HS/B.GE exit; the counter guard of a while with no bound. om4 SF_VAL. +fn sf_val w ulong t ulong kr ulong sn ulong sh ulong to void +eol +i = alloc +put held 0 get nslot 0 +addname w i t 0 0 0 +emit or 3531603968 i +c = alloc +put held 0 get nslot 0 +emit or 3531603968 c +hd = get oc 0 +emit or or 3942645791 shl kr 16 shl i 5 +br = sf_br t +m = alloc +matconst m 1000000 +emit or or 3942645791 shl c 5 shl m 16 +trapc 2 4 +emit or or 2432697344 c shl c 5 +pushb br 4 hd i t +pushnh sn sh +end + +note s_for: for i T K: i = 0; head: not i < K -> exit; body; latch i = add i 1; B head. K a number, or a +note value of type T: a name is read at every pass, another value once before the loop. om4 S_FOR. +fn s_for to void +sn = get nn 0 +sh = get held 0 +tok +if eq get tk 0 0 +fail 4 +end +if ne get tk 0 1 +fail 16 +end +if gt get tl 0 8 +fail 13 +end +w = get tw 0 +if ne kw w 0 +fail 16 +end +newname w get tl 0 get ts 0 +t = typeword +if eq t 1 +fail 7 +end +tok +if eq get tk 0 0 +fail 4 +end +if eq get tk 0 2 +range get tw 0 t get tbig 0 +sf_num w t get tw 0 sn sh +ret +end +rdval 1 t 255 0 +if ne get rt 0 t +fail 7 +end +if eq get rk 0 3 +sf_num w t get rv 0 sn sh +ret +end +kr = matreg get rk 0 get rv 0 get rt 0 +sf_val w t kr sn sh +end + +note finish: end of a function: a function that needs a value must not reach its end (error 18), a void +note one returns; then the trap stubs: shared tail, function mode MOV X0, X7; LDR X16, [X7, #16]; BR X16 +note (C6.2.282, C6.2.216, C6.2.46: OscRt.trap); program mode ADD X0, X1, #100; MOVZ X8, #93; SVC #0 (exit +note 100 + code). Per trap code used: MOVZ X1, #code (C6.2.285); B tail. om4 FINISH. +fn finish to void +eol +if eq get dead 0 0 +if ne get curret 0 10 +fail 18 +end +epi +end +nt0 = get nt 0 +if ne nt0 0 +tail = get oc 0 +if eq get progmode 0 0 +emit 2852586464 +emit 4181723376 +emit 3592356352 +else +emit 2432798752 +emit 3531606952 +emit 3556769793 +end +code = ulong 1 +while le code 14 +st = ulong 0 +j = ulong 0 +while lt j nt0 +if eq get tcode j code +if eq st 0 +st = get oc 0 +emit or 3531603969 shl code 5 +back tail +end +patch19 get tsite j st +end +j = add j 1 +end +code = add code 1 +end +end +put curret 0 0 +put nn 0 get nglob 0 +put curfn 0 0 +end + +note s_end: close the innermost block (if: patch its branch; else: patch its jump; while: B head; for: i = +note add i 1, B head), or the function. om4 S_END. +fn s_end to void +n = get nb 0 +if eq n 0 +finish +ret +end +i = sub n 1 +put nb 0 i +k = get bkind i +if eq k 2 +put dead 0 and get dead 0 get bdead i +else +put dead 0 0 +end +if eq k 4 +put fr 0 1 +put fr 1 get breg i +put fr 2 get btyp i +put fr 3 3 +put fr 4 1 +put fr 5 get btyp i +binop 33 get breg i 0 +end +if ge k 3 +back get bhead i +end +if eq k 2 +patch26 get bbr i get oc 0 +else +patch19 get bbr i get oc 0 +end +put nn 0 get bnames i +put held 0 get bheld i +eol +end + +note ======== the end of the input: the output ======== +note writeout: the output from byte st to the end, to stdout (error 2), then exit 0. om4 WRITEOUT. +fn writeout st ulong to void +p = st +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p get oc 0 +go = false +else +n = write 1 out p sub get oc 0 p +if le n 0 +fail 2 +end +p = add p ulong n +end +m = add m 1 +end +end +exit int 0 +end + +note elfhdr: the 176-byte file header (om4 ELFHDR, 44 words): ELF64 little-endian, executable, AArch64, +note entry 0x4000b0 (the word after the header), 2 program headers: code read+execute from 0x400000, and +note the read/write pools from 0x10000000. Only the words that are not 0 (the output starts at 0). +fn elfhdr to void +wrword 0 1179403647 +wrword 4 65794 +wrword 16 11993090 +wrword 20 1 +wrword 24 4194480 +wrword 32 64 +wrword 52 3670080 +wrword 56 2 +wrword 64 1 +wrword 68 5 +wrword 80 4194304 +wrword 88 4194304 +wrword 112 4096 +wrword 120 1 +wrword 124 6 +wrword 136 268435456 +wrword 144 268435456 +wrword 168 4096 +end + +note eof_prog: program mode: start code = MOVZ X28, #0x1000, LSL 16 (stack pool floor); MOVZ X16, #0x1080, +note LSL 16; MOV SP, X16 (ADD immediate, C6.2.5); BL main (C6.2.43); [MOVZ X0, #0 for a void main]; MOVZ X8, +note #93; SVC #0. The entry word after the header is a B to it; the header gets the file and pool sizes. +note om4 EOF_PROG. +fn eof_prog to void +f = findfn 1852399981 4 0 +if eq f 0 +fail 16 +end +if ne get fn_np sub f 1 0 +fail 9 +end +wrword 176 or 335544320 and shr sub get oc 0 176 2 67108863 +if ne get hostargs 0 0 +note Preserve Linux's initial argument stack privately before installing Omega's bounded stack. +emit 2432697339 +end +emit 3533832220 +emit 3533836304 +emit 2432696863 +emit or 2483027968 and shr sub get fn_addr sub f 1 get oc 0 2 67108863 +if eq get fn_ret sub f 1 10 +emit 3531603968 +end +emit 3531606952 +emit 3556769793 +elfhdr +wrword 96 get oc 0 +wrword 104 get oc 0 +wrword 160 add get poolb 0 8388608 +writeout 0 +end + +note s_eof: end of input: no open function (error 15), some function (16); function mode: no globals or +note texts (9); one function: its bare words; more: the entry word, a B to the last function. om4 S_EOF. +note Resolve every call after all addresses are known. In function mode remove leaves of the call +note graph; any functions left after nf rounds form or reach a cycle (error 9). +fn resolve to void +n = get ncalls 0 +i = ulong 0 +while lt i n +s = get callsite i +f = sub get callto i 1 +wrword s or 2483027968 and shr sub get fn_addr f s 2 67108863 +i = add i 1 +end +if eq get progmode 0 0 +pass = ulong 0 +while lt pass get nf 0 +f = ulong 0 +while lt f get nf 0 +if eq get settled f 0 +ok = true +i = ulong 0 +while and ok lt i n +if eq get callfrom i add f 1 +if eq get settled sub get callto i 1 0 +ok = false +end +end +i = add i 1 +end +if ok +put settled f 1 +end +end +f = add f 1 +end +pass = add pass 1 +end +f = ulong 0 +while lt f get nf 0 +if eq get settled f 0 +fail 9 +end +f = add f 1 +end +end +end + +fn s_eof to void + +if ne get curret 0 0 +fail 15 +end +if eq get nf 0 0 +fail 16 +end +resolve +if ne get progmode 0 0 +eof_prog +end +if ne get nglob 0 0 +fail 9 +end +if eq get nf 0 1 +writeout 180 +end +a = get fn_addr sub get lastfn 0 1 +wrword 176 or 335544320 and shr sub a 176 2 67108863 +writeout 176 +end + +note stmt: one line. Returns 1 at the end of the input. om4 STMT. +fn stmt to ulong +put nslot 0 get held 0 +tok +k = get tk 0 +if eq k 0 +ret 0 +end +if eq k 3 +s_eof +ret 1 +end +if ne k 1 +fail 16 +end +if gt get tl 0 8 +s_long +ret 0 +end +w = get tw 0 +c = kw w +if eq c 83 +skipnl +ret 0 +end +if eq c 64 +s_fn +ret 0 +end +if eq get curret 0 0 +if eq c 78 +s_global +ret 0 +end +if eq c 79 +s_text +ret 0 +end +fail 16 +end +if eq c 66 +s_end +ret 0 +end +if eq c 68 +s_else +ret 0 +end +if ne get dead 0 0 +fail 17 +end +if eq c 0 +s_name w +ret 0 +end +if eq c 67 +s_if +ret 0 +end +if eq c 69 +s_while +ret 0 +end +if eq c 71 +s_for +ret 0 +end +if eq c 72 +s_ret +ret 0 +end +if eq c 80 +s_put +ret 0 +end +if eq c 82 +s_exit +ret 0 +end +if or or or eq c 77 eq c 78 eq c 79 eq c 81 +fail 9 +end +fail 16 +ret 0 +end + +note ======== program mode: some line is `fn main` (blanks, fn, blanks, main, then a blank or the end) ======== +note skipbl: the first place at or after q that is not a space or tab (or the end) +fn skipbl q ulong to ulong +e = get inlen 0 +p = q +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p e +go = false +else +b = get inp p +if or eq b 32 eq b 9 +p = add p 1 +else +go = false +end +end +m = add m 1 +end +end +ret p +end + +note skipln: the place after the next newline at or after q (or the end) +fn skipln q ulong to ulong +e = get inlen 0 +p = q +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p e +go = false +else +b = get inp p +p = add p 1 +if eq b 10 +go = false +end +end +m = add m 1 +end +end +ret p +end + +note ps_at: the line's first byte that is not blank is at p: 1 when the line is `fn main`, 2 when the input +note ends while deciding, else 0. om4 PS_LINE .. PS_YES. +fn ps_at p ulong to ulong +e = get inlen 0 +if ne get inp p 102 +ret 0 +end +q = add p 1 +if ge q e +ret 2 +end +if ne get inp q 110 +ret 0 +end +r = add q 1 +q = skipbl r +if ge q e +ret 2 +end +if eq q r +ret 0 +end +if gt add q 4 e +ret 0 +end +if ne get inp q 109 +ret 0 +end +if ne get inp add q 1 97 +ret 0 +end +if ne get inp add q 2 105 +ret 0 +end +if ne get inp add q 3 110 +ret 0 +end +if ge add q 4 e +ret 1 +end +if gt get inp add q 4 32 +ret 0 +end +ret 1 +end + +fn prescan to void +e = get inlen 0 +p = ulong 0 +go = true +while go +m = ulong 0 +while and go lt m 999999 +p = skipbl p +if ge p e +go = false +else +r = ps_at p +if eq r 1 +put progmode 0 1 +go = false +end +if eq r 2 +go = false +end +if go +p = skipln p +if ge p e +go = false +end +end +end +m = add m 1 +end +end +end + +note First collect signatures. Only fn headers are parsed here; other lines are read in the body pass. +fn namescan to void +put scanning 0 1 +put line 0 1 +go = true +while go +n = ulong 0 +while and go lt n 999999 +tok +if eq get tk 0 3 +go = false +else +if ne get tk 0 0 +if and eq get tk 0 1 eq get tw 0 28262 +s_fn +else +skipnl +end +end +end +n = add n 1 +end +end +put scanning 0 0 +put cur 0 0 +put line 0 1 +put nn 0 0 +put curfn 0 0 +put curret 0 0 +put npar 0 0 +put nslot 0 0 +put held 0 0 +end + +note main: read all of stdin +note (8 MiB at most, error 14; a read error is 1), find the mode, then one +note statement per line from output byte 180 (om4 START .. STMT) +fn main to int +off = ulong 0 +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge off len inp +fail 14 +end +n = read 0 inp off sub len inp off +if eq n 0 +go = false +else +if lt n 0 +fail 1 +end +off = add off ulong n +end +m = add m 1 +end +end +put inlen 0 off +prescan +namescan +put oc 0 180 +put line 0 1 +done = false +while not done +m = ulong 0 +while and not done lt m 999999 +if ne stmt 0 +done = true +end +m = add m 1 +end +end +ret 0 +end diff --git a/evidence/SECURITY-673/pure3/output.data b/evidence/SECURITY-673/pure3/output.data new file mode 100644 index 000000000..9e0f96a2a Binary files /dev/null and b/evidence/SECURITY-673/pure3/output.data differ diff --git a/evidence/SECURITY-673/pure3/output.err b/evidence/SECURITY-673/pure3/output.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/pure3/output.strace b/evidence/SECURITY-673/pure3/output.strace new file mode 100644 index 000000000..9ec32cd3a --- /dev/null +++ b/evidence/SECURITY-673/pure3/output.strace @@ -0,0 +1,9 @@ +3083030 prlimit64(0, RLIMIT_CPU, {rlim_cur=1, rlim_max=2}, NULL) = 0 +3083030 prlimit64(0, RLIMIT_FSIZE, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 +3083030 prlimit64(0, RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}, NULL) = 0 +3083030 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 +3083030 prlimit64(0, RLIMIT_NPROC, {rlim_cur=0, rlim_max=0}, NULL) = 0 +3083030 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4, rlim_max=4}, NULL) = 0 +3083030 prlimit64(0, RLIMIT_AS, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 +3083030 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1048577) = 1048576 +3083030 exit(0) = ? diff --git a/evidence/SECURITY-673/renames1/REPORT.md b/evidence/SECURITY-673/renames1/REPORT.md new file mode 100644 index 000000000..c64146945 --- /dev/null +++ b/evidence/SECURITY-673/renames1/REPORT.md @@ -0,0 +1,51 @@ +# Rename packed-list ingress for Omega #671 + +Date: 2026-10-23. Parent tracker: #673. Branch: `fix/security673-qualified`. +Platform: Linux AArch64, native execution. + +## Threat and protected property + +`renames` accepts a packed list and must consume exactly two nonempty path records before calling +`renameat2`. A truncated record, extra record, empty path, embedded zero or trailing byte must trap +before a kernel rename. The protected assets are the caller's filesystem namespace and the +correspondence between the supplied records and the two paths actually renamed. + +Enforcement is the existing `hpack` lowering in `seed/omc/omc.om` (line 2533), which is shared with +`execprog` and the other packed-list words. The test consumer is a normal compiler output. + +## Cases and results + +`renames-corpus.om` writes the packet; `renames-consumer.om` creates +`build/security673-native/ren-src`, then calls `renames pkt 0 n 0`. Exit 0 means the rename +succeeded; exit 103 is trap 3 before the rename. + +| Mode | Packet | Expected | Observed | Source after | +| --- | --- | --- | --- | --- | +| 0 | exactly `ren-src`, `ren-dst` | 0 | 0 | renamed to `ren-dst` | +| 1 | one record | 103 | 103 | remains | +| 2 | three records | 103 | 103 | remains | +| 3 | empty first record | 103 | 103 | remains | +| 4 | empty second record | 103 | 103 | remains | +| 5 | valid pair plus one trailing byte | 103 | 103 | remains | +| 6 | embedded NUL in first path | 103 | 103 | remains | + +Mode 0 is the positive control: the source disappears and the destination exists. Every malformed +mode leaves the source in place, so the trap occurred before the kernel rename. + +## Executed gates + +| Command | Result | +| --- | --- | +| `build/gate669` (normal) | exit 0, `GATE669 PASS` | +| `build/gate669 3` (source campaign) | exit 0, `GATE671 SOURCE PASS` | +| `sh seed/host/gate.sh` | exit 0, all host groups | + +Raw output is `gate-renames.log`; `identities.txt` binds the compiler, corpus, consumer, gate and log. + +## Residual limits + +- `execprog` and `renames` are qualified; `argread`, native path words and the legacy + manifest/receipt/RPC/model/trace/device parsers remain under `ingress-inventory.md`. +- The compiler, corpus and consumer share the seed lineage. No kernel fuzzing or general parser + proof is claimed. +- This does not close #671 or #673. diff --git a/evidence/SECURITY-673/renames1/gate-renames.err b/evidence/SECURITY-673/renames1/gate-renames.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/renames1/gate-renames.log b/evidence/SECURITY-673/renames1/gate-renames.log new file mode 100644 index 000000000..2904b5b1c --- /dev/null +++ b/evidence/SECURITY-673/renames1/gate-renames.log @@ -0,0 +1,427 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2245505 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4236417 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1068265 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +elapsed_ns=1068216 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1066873 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1098760 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=4238640 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1069273 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +elapsed_ns=1068072 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=1068152 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1066440 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1068248 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1066280 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1068025 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1066872 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1067512 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1066728 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1066376 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1067896 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +elapsed_ns=1070008 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1068872 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1069944 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1069545 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1022712 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1069336 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1067752 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +elapsed_ns=1068553 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1069336 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1085720 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1072216 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1071288 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1073240 +exit=62 expected=62 +build/security673-native/1002 < seed/qualification/security673/branch-forms.om > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1070633 +exit=0 expected=0 +build/security673-native/1048 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1062472 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1075480 +exit=0 expected=0 +build/security673-native/1051 < /dev/null > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1074248 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1072713 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1071560 +exit=0 expected=0 +build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1069304 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1069128 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +elapsed_ns=1071016 +exit=0 expected=0 +build/security673-native/1059 < /dev/null > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1069672 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1069944 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1062 > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1070616 +exit=0 expected=0 +build/security673-native/1063 < /dev/null > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=1087304 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1068616 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1069320 +exit=0 expected=0 +build/security673-native/1067 < /dev/null > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1069224 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1067833 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1069928 +exit=0 expected=0 +build/security673-native/1071 < /dev/null > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1066104 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +elapsed_ns=1067208 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +elapsed_ns=1068072 +exit=0 expected=0 +build/security673-native/1075 < /dev/null > build/security673-native/1076 2> build/security673-native/501076 +elapsed_ns=1066984 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +elapsed_ns=1066600 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +elapsed_ns=1065608 +exit=0 expected=0 +build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +elapsed_ns=1067544 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1081 > build/security673-native/1082 2> build/security673-native/501082 +elapsed_ns=1068889 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1082 > build/security673-native/1083 2> build/security673-native/501083 +elapsed_ns=1027752 +exit=0 expected=0 +build/security673-native/1083 < /dev/null > build/security673-native/1084 2> build/security673-native/501084 +elapsed_ns=1068440 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1085 > build/security673-native/1086 2> build/security673-native/501086 +elapsed_ns=1067752 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1086 > build/security673-native/1087 2> build/security673-native/501087 +elapsed_ns=1068232 +exit=0 expected=0 +build/security673-native/1087 < /dev/null > build/security673-native/1088 2> build/security673-native/501088 +elapsed_ns=1068265 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1089 > build/security673-native/1090 2> build/security673-native/501090 +elapsed_ns=1174601 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1090 > build/security673-native/1091 2> build/security673-native/501091 +elapsed_ns=1074120 +exit=0 expected=0 +build/security673-native/1091 < /dev/null > build/security673-native/1092 2> build/security673-native/501092 +elapsed_ns=1070312 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1093 > build/security673-native/1094 2> build/security673-native/501094 +elapsed_ns=1068073 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1094 > build/security673-native/1095 2> build/security673-native/501095 +elapsed_ns=1078408 +exit=0 expected=0 +build/security673-native/1095 < /dev/null > build/security673-native/1096 2> build/security673-native/501096 +elapsed_ns=1071800 +exit=21 expected=21 +build/security673-native/1048 < build/security673-native/1097 > build/security673-native/1098 2> build/security673-native/501098 +elapsed_ns=1084761 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1098 > build/security673-native/1099 2> build/security673-native/501099 +elapsed_ns=1082120 +exit=0 expected=0 +build/security673-native/1099 < /dev/null > build/security673-native/1100 2> build/security673-native/501100 +elapsed_ns=1071064 +exit=30 expected=30 +build/security673-native/1048 < build/security673-native/1101 > build/security673-native/1102 2> build/security673-native/501102 +elapsed_ns=1070120 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1102 > build/security673-native/1103 2> build/security673-native/501103 +elapsed_ns=1091480 +exit=0 expected=0 +build/security673-native/1103 < /dev/null > build/security673-native/1104 2> build/security673-native/501104 +elapsed_ns=1072536 +exit=107 expected=107 +build/security673-native/1048 < build/security673-native/1105 > build/security673-native/1106 2> build/security673-native/501106 +elapsed_ns=1070392 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1106 > build/security673-native/1107 2> build/security673-native/501107 +elapsed_ns=1061224 +exit=0 expected=0 +build/security673-native/1107 < /dev/null > build/security673-native/1108 2> build/security673-native/501108 +elapsed_ns=1069384 +exit=102 expected=102 +build/security673-native/1002 < seed/qualification/security673/packet-corpus.om > build/security673-native/1109 2> build/security673-native/501109 +elapsed_ns=1065128 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/pkt-consumer.om > build/security673-native/1110 2> build/security673-native/501110 +elapsed_ns=1067336 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1111 > build/security673-native/1112 2> build/security673-native/501112 +elapsed_ns=1070520 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1112 > build/security673-native/1113 2> build/security673-native/501113 +elapsed_ns=1069944 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1114 > build/security673-native/1115 2> build/security673-native/501115 +elapsed_ns=1065721 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1115 > build/security673-native/1116 2> build/security673-native/501116 +elapsed_ns=1065897 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1117 > build/security673-native/1118 2> build/security673-native/501118 +elapsed_ns=1066360 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1118 > build/security673-native/1119 2> build/security673-native/501119 +elapsed_ns=1065048 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1120 > build/security673-native/1121 2> build/security673-native/501121 +elapsed_ns=1064632 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1121 > build/security673-native/1122 2> build/security673-native/501122 +elapsed_ns=1066856 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1123 > build/security673-native/1124 2> build/security673-native/501124 +elapsed_ns=1066008 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1124 > build/security673-native/1125 2> build/security673-native/501125 +elapsed_ns=1065960 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1126 > build/security673-native/1127 2> build/security673-native/501127 +elapsed_ns=1068088 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1127 > build/security673-native/1128 2> build/security673-native/501128 +elapsed_ns=1067081 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1129 > build/security673-native/1130 2> build/security673-native/501130 +elapsed_ns=1067304 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1130 > build/security673-native/1131 2> build/security673-native/501131 +elapsed_ns=1066824 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1132 > build/security673-native/1133 2> build/security673-native/501133 +elapsed_ns=1176681 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1133 > build/security673-native/1134 2> build/security673-native/501134 +elapsed_ns=1061112 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1135 > build/security673-native/1136 2> build/security673-native/501136 +elapsed_ns=1034552 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1136 > build/security673-native/1137 2> build/security673-native/501137 +elapsed_ns=1057512 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-corpus.om > build/security673-native/1138 2> build/security673-native/501138 +elapsed_ns=1058360 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-consumer.om > build/security673-native/1139 2> build/security673-native/501139 +elapsed_ns=1062504 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1140 > build/security673-native/1141 2> build/security673-native/501141 +elapsed_ns=1059849 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1141 > build/security673-native/1142 2> build/security673-native/501142 +elapsed_ns=1057480 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1143 > build/security673-native/1144 2> build/security673-native/501144 +elapsed_ns=1060040 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1144 > build/security673-native/1145 2> build/security673-native/501145 +elapsed_ns=1059336 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1146 > build/security673-native/1147 2> build/security673-native/501147 +elapsed_ns=1057048 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1147 > build/security673-native/1148 2> build/security673-native/501148 +elapsed_ns=1058216 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1149 > build/security673-native/1150 2> build/security673-native/501150 +elapsed_ns=1057496 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1150 > build/security673-native/1151 2> build/security673-native/501151 +elapsed_ns=8427712 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1152 > build/security673-native/1153 2> build/security673-native/501153 +elapsed_ns=1012968 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1153 > build/security673-native/1154 2> build/security673-native/501154 +elapsed_ns=1058040 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1155 > build/security673-native/1156 2> build/security673-native/501156 +elapsed_ns=1057320 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1156 > build/security673-native/1157 2> build/security673-native/501157 +elapsed_ns=1057880 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1158 > build/security673-native/1159 2> build/security673-native/501159 +elapsed_ns=1058216 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1159 > build/security673-native/1160 2> build/security673-native/501160 +elapsed_ns=1058904 +exit=103 expected=103 +build/security673-native/1003 < build/security673-native/1161 > build/security673-native/1162 2> build/security673-native/501162 +elapsed_ns=1058024 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1162 > build/security673-native/1163 2> build/security673-native/501163 +elapsed_ns=1060200 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1163 < /dev/null > build/security673-native/1164 2> build/security673-native/501164 +elapsed_ns=3160072 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1164 > build/security673-native/1165 2> build/security673-native/501165 +elapsed_ns=1056872 +exit=0 expected=0 +build/security673-native/1163 < /dev/null > build/security673-native/1166 2> build/security673-native/501166 +elapsed_ns=1057496 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1167 > build/security673-native/1168 2> build/security673-native/501168 +elapsed_ns=75047900 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1168 > build/security673-native/1169 2> build/security673-native/501169 +elapsed_ns=71686242 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1169 < /dev/null > build/security673-native/1170 2> build/security673-native/501170 +elapsed_ns=223035203 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1170 > build/security673-native/1171 2> build/security673-native/501171 +elapsed_ns=37095483 +exit=0 expected=0 +build/security673-native/1169 < /dev/null > build/security673-native/1172 2> build/security673-native/501172 +elapsed_ns=1075256 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1173 > build/security673-native/1174 2> build/security673-native/501174 +elapsed_ns=84488948 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1174 > build/security673-native/1175 2> build/security673-native/501175 +elapsed_ns=72898507 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1176 > build/security673-native/1177 2> build/security673-native/501177 +elapsed_ns=150048296 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1177 > build/security673-native/1178 2> build/security673-native/501178 +elapsed_ns=127663453 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1179 > build/security673-native/1180 2> build/security673-native/501180 +elapsed_ns=85486859 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1180 > build/security673-native/1181 2> build/security673-native/501181 +elapsed_ns=63266882 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1182 > build/security673-native/1183 2> build/security673-native/501183 +elapsed_ns=85494220 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1183 > build/security673-native/1184 2> build/security673-native/501184 +elapsed_ns=63235986 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1185 > build/security673-native/1186 2> build/security673-native/501186 +elapsed_ns=85587068 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1186 > build/security673-native/1187 2> build/security673-native/501187 +elapsed_ns=80235507 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1188 2> build/security673-native/501188 +elapsed_ns=1087576 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1188 > build/security673-native/1189 2> build/security673-native/501189 +elapsed_ns=2132560 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1190 > build/security673-native/1191 2> build/security673-native/501191 +elapsed_ns=75086556 +exit=0 expected=0 +build/security673-native/1189 < build/security673-native/1191 > build/security673-native/1192 2> build/security673-native/501192 +elapsed_ns=54989668 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1192 < /dev/null > build/security673-native/1193 2> build/security673-native/501193 +elapsed_ns=209553117 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1193 > build/security673-native/1194 2> build/security673-native/501194 +elapsed_ns=52803747 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1191 > build/security673-native/1195 2> build/security673-native/501195 +elapsed_ns=55976155 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1196 2> build/security673-native/501196 +elapsed_ns=1070776 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/renames1/identities.txt b/evidence/SECURITY-673/renames1/identities.txt new file mode 100644 index 000000000..3ef6414c3 --- /dev/null +++ b/evidence/SECURITY-673/renames1/identities.txt @@ -0,0 +1,7 @@ +2e6e17680cfab319f28842fa68c9e6520e5412c4831f80ab109945087bdd0ad3 seed/omc/omc.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +9c44348b9cb258195be17e59318d90def4745327baed621b0fc46442f50ad883 seed/qualification/security673/renames-corpus.om +4fed8e605272e03994b565fd799136a96ab14239ccc8bc7526c819f3148e6c69 seed/qualification/security673/renames-consumer.om +d3d1044b0b0f2724d15f1590a00242380fca441ba1efa31bbe3a0084b41e701f seed/qualification/security673/gate669.om +09ec59a73c82adf5c28ebe96245bdb452f698033eee63240eeba16b21980df44 build/gate669-ren +25f05d29ee11c5bdc2cd5242d7cb07c75dccf03a724f8c3e2f5f2a623867b1e4 evidence/SECURITY-673/renames1/gate-renames.log diff --git a/evidence/SECURITY-673/trace1/REPORT.md b/evidence/SECURITY-673/trace1/REPORT.md new file mode 100644 index 000000000..df7da2af5 --- /dev/null +++ b/evidence/SECURITY-673/trace1/REPORT.md @@ -0,0 +1,39 @@ +# Local trace segment qualification + +Date: 2026-10-23. Branch: `fix/security673-qualified`. Platform: Linux AArch64, native execution. + +## Threat and property + +An interrupted append can leave a short tail; a damaged header can make a segment unreadable; a +writer can grow an unbounded file or silently overwrite earlier records. The protected assets are +the existing records and the ability to distinguish a complete record from a partial one. + +`seed/trace/segment.om` writes a 16-byte header and 64-byte records. Append is +`O_WRONLY|O_CREAT|O_APPEND` plus `fsync`. `segcount` accepts only complete 64-byte records and flags +a short tail. `segrecover` renames the damaged segment to `segment.bad` and creates a fresh header; +it never treats a partial record as complete. + +## Results + +| Case | Expected | Observed | +| --- | --- | --- | +| create header | 0 | 0 | +| append 100 records | 0 per append | 0 | +| count complete segment | 100, no tail | 100, 0 | +| append 10-byte partial tail | count 100, tail 1 | 100, 1 | +| recover | quarantine, fresh segment | 1, count 0, tail 0 | +| `segment.bad` exists | open succeeds | succeeds | +| append after recovery | 1 complete record | 1 | +| corrupt header | invalid magic, error 11 | 11 | +| recreate | 0 | 0 | + +`trace checks=117 000`, exit 0. The same program runs in `gate669` at exit 0. + +## Residual limits + +- No consent, exact-byte export, sanitization, retention, rotation or network path. Those remain + #607 and require a `.om` cryptographic digest plus the Open Humanity receiver contract. +- No concurrent-writer lock; a single writer is assumed. +- `fsync` is per append; throughput is not qualified. +- The test and writer share the seed lineage. This is a local component, not a whole-trace-system + claim. diff --git a/evidence/SECURITY-673/trace1/gate-trace.err b/evidence/SECURITY-673/trace1/gate-trace.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/trace1/gate-trace.log b/evidence/SECURITY-673/trace1/gate-trace.log new file mode 100644 index 000000000..a311e6319 --- /dev/null +++ b/evidence/SECURITY-673/trace1/gate-trace.log @@ -0,0 +1,487 @@ +seed/rung4/om4.bin < seed/omc/omc.om > build/security673-native/1001 2> build/security673-native/501001 +elapsed_ns=2115635 +exit=0 expected=0 +build/security673-native/1001 < seed/omc/omc.om > build/security673-native/1002 2> build/security673-native/501002 +elapsed_ns=4217301 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-corpus.om > build/security673-native/1003 2> build/security673-native/501003 +elapsed_ns=1056873 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-mutate.om > build/security673-native/1004 2> build/security673-native/501004 +elapsed_ns=1058393 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/branch-check.om > build/security673-native/1005 2> build/security673-native/501005 +elapsed_ns=1056073 +exit=0 expected=0 +build/security673-native/1004 0 < seed/omc/omc.om > build/security673-native/1006 2> build/security673-native/501006 +elapsed_ns=1055977 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1006 > build/security673-native/1007 2> build/security673-native/501007 +elapsed_ns=4213861 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1008 > build/security673-native/1009 2> build/security673-native/501009 +elapsed_ns=1055769 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1010 > build/security673-native/1011 2> build/security673-native/501011 +elapsed_ns=1057945 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1012 > build/security673-native/1013 2> build/security673-native/501013 +elapsed_ns=1055113 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1014 > build/security673-native/1015 2> build/security673-native/501015 +elapsed_ns=1056041 +exit=0 expected=0 +build/security673-native/1007 < build/security673-native/1016 > build/security673-native/1017 2> build/security673-native/501017 +elapsed_ns=1087641 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1018 > build/security673-native/1019 2> build/security673-native/501019 +elapsed_ns=1060457 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1020 > build/security673-native/1021 2> build/security673-native/501021 +elapsed_ns=1058329 +exit=24 expected=24 +build/security673-native/1007 < build/security673-native/1022 > build/security673-native/1023 2> build/security673-native/501023 +elapsed_ns=1061322 +exit=24 expected=24 +build/security673-native/1002 < seed/qualification/security673/array-fill.om > build/security673-native/1024 2> build/security673-native/501024 +elapsed_ns=1075482 +exit=0 expected=0 +build/security673-native/1024 < /dev/null > build/security673-native/1025 2> build/security673-native/501025 +elapsed_ns=1058266 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/oracle-corpus.om > build/security673-native/1026 2> build/security673-native/501026 +elapsed_ns=1056073 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1027 > build/security673-native/1028 2> build/security673-native/501028 +elapsed_ns=1058761 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1028 > build/security673-native/1029 2> build/security673-native/501029 +elapsed_ns=1056025 +exit=0 expected=0 +build/security673-native/1026 < build/security673-native/1030 > build/security673-native/1031 2> build/security673-native/501031 +elapsed_ns=1058553 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1031 > build/security673-native/1032 2> build/security673-native/501032 +elapsed_ns=1056457 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1033 > build/security673-native/1034 2> build/security673-native/501034 +elapsed_ns=1055353 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1034 > build/security673-native/1035 2> build/security673-native/501035 +elapsed_ns=1056666 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1036 > build/security673-native/1037 2> build/security673-native/501037 +elapsed_ns=1076458 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1037 > build/security673-native/1038 2> build/security673-native/501038 +elapsed_ns=1058681 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1039 > build/security673-native/1040 2> build/security673-native/501040 +elapsed_ns=1056841 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1040 > build/security673-native/1041 2> build/security673-native/501041 +elapsed_ns=1058409 +exit=62 expected=62 +build/security673-native/1026 < build/security673-native/1042 > build/security673-native/1043 2> build/security673-native/501043 +elapsed_ns=1056601 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1043 > build/security673-native/1044 2> build/security673-native/501044 +elapsed_ns=1058281 +exit=61 expected=61 +build/security673-native/1026 < build/security673-native/1045 > build/security673-native/1046 2> build/security673-native/501046 +elapsed_ns=1057225 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1046 > build/security673-native/1047 2> build/security673-native/501047 +elapsed_ns=1056682 +exit=62 expected=62 +build/security673-native/1002 < seed/qualification/security673/branch-forms.om > build/security673-native/1048 2> build/security673-native/501048 +elapsed_ns=1057881 +exit=0 expected=0 +build/security673-native/1048 < build/security673-native/1049 > build/security673-native/1050 2> build/security673-native/501050 +elapsed_ns=1057529 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1050 > build/security673-native/1051 2> build/security673-native/501051 +elapsed_ns=1070953 +exit=0 expected=0 +build/security673-native/1051 < /dev/null > build/security673-native/1052 2> build/security673-native/501052 +elapsed_ns=1072825 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1053 > build/security673-native/1054 2> build/security673-native/501054 +elapsed_ns=1061402 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1054 > build/security673-native/1055 2> build/security673-native/501055 +elapsed_ns=1058665 +exit=0 expected=0 +build/security673-native/1055 < /dev/null > build/security673-native/1056 2> build/security673-native/501056 +elapsed_ns=1057129 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1057 > build/security673-native/1058 2> build/security673-native/501058 +elapsed_ns=1057865 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1058 > build/security673-native/1059 2> build/security673-native/501059 +elapsed_ns=1058986 +exit=0 expected=0 +build/security673-native/1059 < /dev/null > build/security673-native/1060 2> build/security673-native/501060 +elapsed_ns=1056890 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1061 > build/security673-native/1062 2> build/security673-native/501062 +elapsed_ns=1025465 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1062 > build/security673-native/1063 2> build/security673-native/501063 +elapsed_ns=1059113 +exit=0 expected=0 +build/security673-native/1063 < /dev/null > build/security673-native/1064 2> build/security673-native/501064 +elapsed_ns=1057641 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1065 > build/security673-native/1066 2> build/security673-native/501066 +elapsed_ns=1058521 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1066 > build/security673-native/1067 2> build/security673-native/501067 +elapsed_ns=1058025 +exit=0 expected=0 +build/security673-native/1067 < /dev/null > build/security673-native/1068 2> build/security673-native/501068 +elapsed_ns=1057385 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1069 > build/security673-native/1070 2> build/security673-native/501070 +elapsed_ns=1058361 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1070 > build/security673-native/1071 2> build/security673-native/501071 +elapsed_ns=1057290 +exit=0 expected=0 +build/security673-native/1071 < /dev/null > build/security673-native/1072 2> build/security673-native/501072 +elapsed_ns=1056954 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1073 > build/security673-native/1074 2> build/security673-native/501074 +elapsed_ns=1056442 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1074 > build/security673-native/1075 2> build/security673-native/501075 +elapsed_ns=1057001 +exit=0 expected=0 +build/security673-native/1075 < /dev/null > build/security673-native/1076 2> build/security673-native/501076 +elapsed_ns=1057721 +exit=11 expected=11 +build/security673-native/1048 < build/security673-native/1077 > build/security673-native/1078 2> build/security673-native/501078 +elapsed_ns=1056617 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1078 > build/security673-native/1079 2> build/security673-native/501079 +elapsed_ns=1387404 +exit=0 expected=0 +build/security673-native/1079 < /dev/null > build/security673-native/1080 2> build/security673-native/501080 +elapsed_ns=1059721 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1081 > build/security673-native/1082 2> build/security673-native/501082 +elapsed_ns=1078889 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1082 > build/security673-native/1083 2> build/security673-native/501083 +elapsed_ns=1062377 +exit=0 expected=0 +build/security673-native/1083 < /dev/null > build/security673-native/1084 2> build/security673-native/501084 +elapsed_ns=1058282 +exit=12 expected=12 +build/security673-native/1048 < build/security673-native/1085 > build/security673-native/1086 2> build/security673-native/501086 +elapsed_ns=1061290 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1086 > build/security673-native/1087 2> build/security673-native/501087 +elapsed_ns=1058090 +exit=0 expected=0 +build/security673-native/1087 < /dev/null > build/security673-native/1088 2> build/security673-native/501088 +elapsed_ns=1057097 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1089 > build/security673-native/1090 2> build/security673-native/501090 +elapsed_ns=1057097 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1090 > build/security673-native/1091 2> build/security673-native/501091 +elapsed_ns=1057913 +exit=0 expected=0 +build/security673-native/1091 < /dev/null > build/security673-native/1092 2> build/security673-native/501092 +elapsed_ns=1058905 +exit=3 expected=3 +build/security673-native/1048 < build/security673-native/1093 > build/security673-native/1094 2> build/security673-native/501094 +elapsed_ns=1056089 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1094 > build/security673-native/1095 2> build/security673-native/501095 +elapsed_ns=1058777 +exit=0 expected=0 +build/security673-native/1095 < /dev/null > build/security673-native/1096 2> build/security673-native/501096 +elapsed_ns=1057353 +exit=21 expected=21 +build/security673-native/1048 < build/security673-native/1097 > build/security673-native/1098 2> build/security673-native/501098 +elapsed_ns=1024473 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1098 > build/security673-native/1099 2> build/security673-native/501099 +elapsed_ns=1059081 +exit=0 expected=0 +build/security673-native/1099 < /dev/null > build/security673-native/1100 2> build/security673-native/501100 +elapsed_ns=1056729 +exit=30 expected=30 +build/security673-native/1048 < build/security673-native/1101 > build/security673-native/1102 2> build/security673-native/501102 +elapsed_ns=1061753 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1102 > build/security673-native/1103 2> build/security673-native/501103 +elapsed_ns=1059897 +exit=0 expected=0 +build/security673-native/1103 < /dev/null > build/security673-native/1104 2> build/security673-native/501104 +elapsed_ns=1056185 +exit=107 expected=107 +build/security673-native/1048 < build/security673-native/1105 > build/security673-native/1106 2> build/security673-native/501106 +elapsed_ns=1055209 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1106 > build/security673-native/1107 2> build/security673-native/501107 +elapsed_ns=1056793 +exit=0 expected=0 +build/security673-native/1107 < /dev/null > build/security673-native/1108 2> build/security673-native/501108 +elapsed_ns=1057289 +exit=102 expected=102 +build/security673-native/1002 < seed/qualification/security673/packet-corpus.om > build/security673-native/1109 2> build/security673-native/501109 +elapsed_ns=1058874 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/pkt-consumer.om > build/security673-native/1110 2> build/security673-native/501110 +elapsed_ns=1064730 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1111 > build/security673-native/1112 2> build/security673-native/501112 +elapsed_ns=1058425 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1112 > build/security673-native/1113 2> build/security673-native/501113 +elapsed_ns=1063641 +exit=0 expected=0 +build/security673-native/1109 < build/security673-native/1114 > build/security673-native/1115 2> build/security673-native/501115 +elapsed_ns=1060073 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1115 > build/security673-native/1116 2> build/security673-native/501116 +elapsed_ns=1058922 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1117 > build/security673-native/1118 2> build/security673-native/501118 +elapsed_ns=1055881 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1118 > build/security673-native/1119 2> build/security673-native/501119 +elapsed_ns=1059002 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1120 > build/security673-native/1121 2> build/security673-native/501121 +elapsed_ns=1060346 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1121 > build/security673-native/1122 2> build/security673-native/501122 +elapsed_ns=1058410 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1123 > build/security673-native/1124 2> build/security673-native/501124 +elapsed_ns=1057306 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1124 > build/security673-native/1125 2> build/security673-native/501125 +elapsed_ns=1070778 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1126 > build/security673-native/1127 2> build/security673-native/501127 +elapsed_ns=1059065 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1127 > build/security673-native/1128 2> build/security673-native/501128 +elapsed_ns=1083209 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1129 > build/security673-native/1130 2> build/security673-native/501130 +elapsed_ns=1060425 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1130 > build/security673-native/1131 2> build/security673-native/501131 +elapsed_ns=1056969 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1132 > build/security673-native/1133 2> build/security673-native/501133 +elapsed_ns=1061497 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1133 > build/security673-native/1134 2> build/security673-native/501134 +elapsed_ns=1058185 +exit=103 expected=103 +build/security673-native/1109 < build/security673-native/1135 > build/security673-native/1136 2> build/security673-native/501136 +elapsed_ns=1094842 +exit=0 expected=0 +build/security673-native/1110 < build/security673-native/1136 > build/security673-native/1137 2> build/security673-native/501137 +elapsed_ns=2159443 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-corpus.om > build/security673-native/1138 2> build/security673-native/501138 +elapsed_ns=1075337 +exit=0 expected=0 +build/security673-native/1002 < seed/qualification/security673/renames-consumer.om > build/security673-native/1139 2> build/security673-native/501139 +elapsed_ns=1070586 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1140 > build/security673-native/1141 2> build/security673-native/501141 +elapsed_ns=1070330 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1141 > build/security673-native/1142 2> build/security673-native/501142 +elapsed_ns=1069097 +exit=0 expected=0 +build/security673-native/1138 < build/security673-native/1143 > build/security673-native/1144 2> build/security673-native/501144 +elapsed_ns=1076585 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1144 > build/security673-native/1145 2> build/security673-native/501145 +elapsed_ns=1072393 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1146 > build/security673-native/1147 2> build/security673-native/501147 +elapsed_ns=1071273 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1147 > build/security673-native/1148 2> build/security673-native/501148 +elapsed_ns=1069034 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1149 > build/security673-native/1150 2> build/security673-native/501150 +elapsed_ns=1070378 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1150 > build/security673-native/1151 2> build/security673-native/501151 +elapsed_ns=1069833 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1152 > build/security673-native/1153 2> build/security673-native/501153 +elapsed_ns=1071433 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1153 > build/security673-native/1154 2> build/security673-native/501154 +elapsed_ns=1058249 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1155 > build/security673-native/1156 2> build/security673-native/501156 +elapsed_ns=1093961 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1156 > build/security673-native/1157 2> build/security673-native/501157 +elapsed_ns=1088393 +exit=103 expected=103 +build/security673-native/1138 < build/security673-native/1158 > build/security673-native/1159 2> build/security673-native/501159 +elapsed_ns=1076410 +exit=0 expected=0 +build/security673-native/1139 < build/security673-native/1159 > build/security673-native/1160 2> build/security673-native/501160 +elapsed_ns=1071465 +exit=103 expected=103 +build/security673-native/1002 < seed/qualification/security673/path-consumer.om > build/security673-native/1161 2> build/security673-native/501161 +elapsed_ns=1071674 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1162 > build/security673-native/1163 2> build/security673-native/501163 +elapsed_ns=1089194 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1164 > build/security673-native/1165 2> build/security673-native/501165 +elapsed_ns=1073578 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1166 > build/security673-native/1167 2> build/security673-native/501167 +elapsed_ns=1071834 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1168 > build/security673-native/1169 2> build/security673-native/501169 +elapsed_ns=1083082 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1170 > build/security673-native/1171 2> build/security673-native/501171 +elapsed_ns=1071609 +exit=0 expected=0 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1172 > build/security673-native/1173 2> build/security673-native/501173 +elapsed_ns=1071913 +exit=103 expected=103 +build/security673-native/1161 seed/omc/omc.om < build/security673-native/1174 > build/security673-native/1175 2> build/security673-native/501175 +elapsed_ns=1070586 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/action-gate.om > build/security673-native/1176 2> build/security673-native/501176 +elapsed_ns=1070713 +exit=0 expected=0 +build/security673-native/1176 < /dev/null > build/security673-native/1177 2> build/security673-native/501177 +elapsed_ns=1073817 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/delegate-gate.om > build/security673-native/1178 2> build/security673-native/501178 +elapsed_ns=1093146 +exit=0 expected=0 +build/security673-native/1178 < /dev/null > build/security673-native/1179 2> build/security673-native/501179 +elapsed_ns=1033609 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/reuse-gate.om > build/security673-native/1180 2> build/security673-native/501180 +elapsed_ns=1098089 +exit=0 expected=0 +build/security673-native/1180 < /dev/null > build/security673-native/1181 2> build/security673-native/501181 +elapsed_ns=1077961 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/store-gate.om > build/security673-native/1182 2> build/security673-native/501182 +elapsed_ns=1072249 +exit=0 expected=0 +build/security673-native/1182 < /dev/null > build/security673-native/1183 2> build/security673-native/501183 +elapsed_ns=18426002 +exit=0 expected=0 +build/security673-native/1002 < seed/authority/dispatch-gate.om > build/security673-native/1184 2> build/security673-native/501184 +elapsed_ns=1074346 +exit=0 expected=0 +build/security673-native/1184 < /dev/null > build/security673-native/1185 2> build/security673-native/501185 +elapsed_ns=69784946 +exit=0 expected=0 +build/security673-native/1002 < seed/trace/segment-gate.om > build/security673-native/1186 2> build/security673-native/501186 +elapsed_ns=1077674 +exit=0 expected=0 +build/security673-native/1186 < /dev/null > build/security673-native/1187 2> build/security673-native/501187 +elapsed_ns=327325311 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1188 > build/security673-native/1189 2> build/security673-native/501189 +elapsed_ns=1074585 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1189 > build/security673-native/1190 2> build/security673-native/501190 +elapsed_ns=3208012 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1190 < /dev/null > build/security673-native/1191 2> build/security673-native/501191 +elapsed_ns=2138259 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1191 > build/security673-native/1192 2> build/security673-native/501192 +elapsed_ns=2132659 +exit=0 expected=0 +build/security673-native/1190 < /dev/null > build/security673-native/1193 2> build/security673-native/501193 +elapsed_ns=1066921 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1194 > build/security673-native/1195 2> build/security673-native/501195 +elapsed_ns=105020327 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1195 > build/security673-native/1196 2> build/security673-native/501196 +elapsed_ns=56253820 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1196 < /dev/null > build/security673-native/1197 2> build/security673-native/501197 +elapsed_ns=212062719 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1197 > build/security673-native/1198 2> build/security673-native/501198 +elapsed_ns=39005317 +exit=0 expected=0 +build/security673-native/1196 < /dev/null > build/security673-native/1199 2> build/security673-native/501199 +elapsed_ns=1077065 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1200 > build/security673-native/1201 2> build/security673-native/501201 +elapsed_ns=78106763 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1201 > build/security673-native/1202 2> build/security673-native/501202 +elapsed_ns=58858163 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1203 > build/security673-native/1204 2> build/security673-native/501204 +elapsed_ns=175237629 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1204 > build/security673-native/1205 2> build/security673-native/501205 +elapsed_ns=143306198 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1206 > build/security673-native/1207 2> build/security673-native/501207 +elapsed_ns=93265984 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1207 > build/security673-native/1208 2> build/security673-native/501208 +elapsed_ns=79540871 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1209 > build/security673-native/1210 2> build/security673-native/501210 +elapsed_ns=85727117 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1210 > build/security673-native/1211 2> build/security673-native/501211 +elapsed_ns=62572435 +exit=24 expected=24 +build/security673-native/1003 < build/security673-native/1212 > build/security673-native/1213 2> build/security673-native/501213 +elapsed_ns=86503204 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1213 > build/security673-native/1214 2> build/security673-native/501214 +elapsed_ns=63402954 +exit=24 expected=24 +build/security673-native/1004 1 < seed/omc/omc.om > build/security673-native/1215 2> build/security673-native/501215 +elapsed_ns=1073929 +exit=0 expected=0 +build/security673-native/1002 < build/security673-native/1215 > build/security673-native/1216 2> build/security673-native/501216 +elapsed_ns=4271318 +exit=0 expected=0 +build/security673-native/1003 < build/security673-native/1217 > build/security673-native/1218 2> build/security673-native/501218 +elapsed_ns=82476161 +exit=0 expected=0 +build/security673-native/1216 < build/security673-native/1218 > build/security673-native/1219 2> build/security673-native/501219 +elapsed_ns=77272500 +exit=0 expected=0 +/usr/bin/objdump -D -b binary -m aarch64 build/security673-native/1219 < /dev/null > build/security673-native/1220 2> build/security673-native/501220 +elapsed_ns=223438722 +exit=0 expected=0 +build/security673-native/1005 < build/security673-native/1220 > build/security673-native/1221 2> build/security673-native/501221 +elapsed_ns=37045764 +exit=61 expected=61 +build/security673-native/1002 < build/security673-native/1218 > build/security673-native/1222 2> build/security673-native/501222 +elapsed_ns=55223139 +exit=24 expected=24 +build/security673-native/1005 < /dev/null > build/security673-native/1223 2> build/security673-native/501223 +elapsed_ns=1081754 +exit=62 expected=62 +GATE669 PASS bounded Linux AArch64 execution and independent decoding only diff --git a/evidence/SECURITY-673/trace1/identities.txt b/evidence/SECURITY-673/trace1/identities.txt new file mode 100644 index 000000000..4ef294320 --- /dev/null +++ b/evidence/SECURITY-673/trace1/identities.txt @@ -0,0 +1,6 @@ +28216db450afcc8e4627fb127146c203882ed70bf9ea48489f72016ac462955a seed/trace/segment.om +91cfa7af50f0944fa34b1fe7a41281090aa9e3acbca22647b68e749fc444b1c6 seed/trace/segment-test.om +98533cf14d20591dfa8431db6012f15532c159a73ee0d54c339c756100f1e8b5 seed/trace/segment-gate.om +87542cfdf91e9666851b6e21d16c3a281547a8f7520dcedcd1f2a8e8540285e1 seed/out/omc +e19a8e7d62d50836a3c108998760c2b66402ccdcb174a738f5926b5b822f5d40 build/gate669-trace +3f6f85701f784d462894ddd82a5b0102767aeb704f66977296b86f889632d8fb evidence/SECURITY-673/trace1/gate-trace.log diff --git a/evidence/SECURITY-673/trace1/trace.err b/evidence/SECURITY-673/trace1/trace.err new file mode 100644 index 000000000..e69de29bb diff --git a/evidence/SECURITY-673/trace1/trace.out b/evidence/SECURITY-673/trace1/trace.out new file mode 100644 index 000000000..0b99094df --- /dev/null +++ b/evidence/SECURITY-673/trace1/trace.out @@ -0,0 +1 @@ +trace checks=117 000 diff --git a/native/.crumb b/native/.crumb index 5175e54de..e93d882b8 100644 --- a/native/.crumb +++ b/native/.crumb @@ -3,21 +3,21 @@ "generated": { "children": [ { - "digest": "08a6d043d8c3d315868a2415f346c332108491a56f20c4404b8fdb1d057a8c91", - "last_commit": "f5c9bd89a", + "digest": "5137f20fd5e69904101c27d836f1a7d510b890e9b6d393168367b67b39e1abe5", + "last_commit": "d3763c7f2", "name": "orig4", "purpose": "ORIG-4 shadow advice for the matvec arm chooser (omega-mv#731, spec/shadow-advice-v0.md): shadow" } ], - "children_root": "sha256:8d8462ddec80244dd18522403d371c46c412ad29f5215adc80e9198df32d247e", - "compiled_at": "2026-10-31T02:32:31Z", + "children_root": "sha256:a5ccc42d9358b20e3dbbe84e91118f2d701aa8fcae760f558262943e5aedcb0a", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:968629f559041774f86d45d87d153c0094ee23b46a67d63959de9c5d2fd7cd0a", + "digest": "sha256:622d98bd2dfcae7f3a0caab34e583cb63659a500afb4eb31264e839ce2529dc3", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 8, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:0b14995042a60ee0a2718a4a261054cb6368a6d5bb03375534e2d71cb0c99381" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:faccc3d6891e792898023e38bc228b7d3c2cee26fdd51af4452f7bbae0d11b43" } }, "name": "native", diff --git a/native/orig4/.crumb b/native/orig4/.crumb index 15569508f..75d12adfa 100644 --- a/native/orig4/.crumb +++ b/native/orig4/.crumb @@ -10,14 +10,14 @@ } ], "children_root": "sha256:9b96cd4261084406cb51d282dcb0f09dced193e22d37a5e279005f06baba4969", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:08a6d043d8c3d315868a2415f346c332108491a56f20c4404b8fdb1d057a8c91", + "digest": "sha256:5137f20fd5e69904101c27d836f1a7d510b890e9b6d393168367b67b39e1abe5", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 7, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:54ef84adb0c69d86b884ed3fc7881fec8bf4d288865f1e0934c7b8603d36c6a3" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:3c559098e5f24a0f2ad905ac01dd1712f1acbfbfabc066edb1a068fbe2d331e3" } }, "name": "orig4", diff --git a/native/orig4/orig4.pin b/native/orig4/orig4.pin index 5eb94f16d..0987382a6 100644 --- a/native/orig4/orig4.pin +++ b/native/orig4/orig4.pin @@ -11,7 +11,7 @@ # on aien-train main (evidence/ECOSYSTEM6/ref32-review/source, SHA256SUMS there). # image : an immutable candidate checkpoint under native/orig4/candidates # (byte-identical to aien-train evidence/SI19-ORIG2/candidates at the pinned commit). -omc 1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +omc 7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de unit 1 aien-train 5901724a6031718951d8c5d18514e8002f94e644 evidence/ECOSYSTEM6/ref32-review/source/native/ref32/add32.om 1de23561202b284e74690034cb07741ebcf9870bc464550b8382c85410478e95 unit 2 aien-train 5901724a6031718951d8c5d18514e8002f94e644 evidence/ECOSYSTEM6/ref32-review/source/native/ref32/mul32.om 9027090109e2050046c4b71fa51438c97ad94c23626c2ecc277844996b79c22e unit 3 omega dcccc02119dab1a2077cf1277cd21913850c626a native/ecosystem663/metadata.om f60b6d62c1bf90de42455effae977de66adeca1268669f6144809a3327aec7a4 diff --git a/neuralese/.crumb b/neuralese/.crumb index 2d6829b46..21c9e9176 100644 --- a/neuralese/.crumb +++ b/neuralese/.crumb @@ -10,14 +10,14 @@ } ], "children_root": "sha256:28401713f198d1dcce005e957b4337a0f1342e25cda0fcfc9a4377534b9c340d", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:1973c1d57f6cf961b5c11cd84b0ceebd3bbe5250a7abd40e05988a138e248185", + "digest": "sha256:ef71e3b8758de407b6644ae4d069c6eecea07849c57b7de1ce67ce03386ff2e8", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 181, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:10f3d4315f570961709b61465f3727f8011312d20b159585b8a4f001d6c99e22" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:77c405f58d4da18c508b87e83432364ba4fa7f9d924450771ef6414c02c98633" } }, "layer": "supplement", diff --git a/neuralese/README.md b/neuralese/README.md index 55ef07ef8..4b18afc0d 100644 --- a/neuralese/README.md +++ b/neuralese/README.md @@ -17,7 +17,7 @@ Authority: `docs/one_layer/OMEGESE.md`, sections 9, 10 and 12, and Current pin after the `cpufence`/`cpurelax` reseed (#946, 2026-10-30): committed `seed/out/omc` SHA-256 -`1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1`, compiler +`7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de`, compiler source SHA-256 `b25079742d1157cd614fe92eeb2dd5e9a5e3b19e978007c7ecb7a6105ab6c65d`. The previous pin, after merging main `62d1d0d668f897386a0e311374f8dbcc5c32dde8`, was `62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b` (source @@ -126,7 +126,7 @@ mkdir -p build if seed/out/omc < seed/qualification/om2/gate.om > build/neuralese-gate; then chmod +x build/neuralese-gate && build/neuralese-gate seed/out/omc \ - 1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 \ + 7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de \ neuralese/host.cases build/neuralese-host else exit 1 @@ -341,7 +341,7 @@ It is exactly the committed `seed/out/omc` introduced by the lock. Read-only `git show :seed/out/omc | sha256sum` resolved the older `2c824805...` at82a399b9 and `49923639...` at ec07d25d as different historical binaries. No compiler change is part of NL4. After the reseed -recorded at the top of this file, the committed compiler is `1578b357...`; the +recorded at the top of this file, the committed compiler is `7a8b84fc...`; the lock and receipt below keep the `d6290c76...` run unedited, and the command below uses the current pin because the conductor refuses any other hash. @@ -355,7 +355,7 @@ sha256sum build/nl4-deps/h.om build/nl4-deps/v.om # Refuse to continue unless both hashes equal nl4-dependencies.json. seed/out/omc < seed/qualification/om2/gate.om > build/nl4-gate chmod +x build/nl4-gate -build/nl4-gate seed/out/omc 1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 neuralese/nl4-host.cases build/nl4-host +build/nl4-gate seed/out/omc 7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de neuralese/nl4-host.cases build/nl4-host ``` The conductor hashes the compiler itself and requires a previously absent scratch @@ -387,7 +387,7 @@ and the inherited `host.cases` returned `OM2GATE PASS cases=54 pass=54 fail=0 invalid=0 not_run=0` (host CPU, Linux AArch64). Re-run on 2026-10-30 after the #946 reseed, with the same staged dependencies and -compiler `1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1`: +compiler `7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de`: `nl4-host.cases` returned `OM2GATE PASS cases=63 pass=63 fail=0 invalid=0 not_run=0` and `host.cases` returned `OM2GATE PASS cases=54 pass=54 fail=0 invalid=0 not_run=0`; the same conductor given the previous pin `62775d2a...` returned `OM2GATE INVALID diff --git a/om/aarch64/parity/run.sh b/om/aarch64/parity/run.sh index 6df112e60..78abe4391 100755 --- a/om/aarch64/parity/run.sh +++ b/om/aarch64/parity/run.sh @@ -12,7 +12,7 @@ # OMEGA_OMC seed-born omc, sha256 pinned below (exit 3 NOT_RUN without it) # OMEGA_BRIDGE optional: an aien-dev/omega-bridge checkout whose src/native.om matches the pin set -eu -OMC_PIN=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +OMC_PIN=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de NATIVE_PIN=2c2c53f61d4ab302f1a2092c3c32189335dd53f6cf2b388f47a475f99f2c3940 P=$(cd "$(dirname "$0")" && pwd) OM=$P/../aarch64.om diff --git a/om/codec/README.md b/om/codec/README.md index e9713623d..3a4250b25 100644 --- a/om/codec/README.md +++ b/om/codec/README.md @@ -125,7 +125,7 @@ such cycles on purpose. port uses its own SHA-256 (the FIPS code of `tools/zero-legacy/sha256.om`). The driver also checks every serialized graph's sha256 against Python's hashlib. -## Parity (pinned omc `1578b357…dbe1`) +## Parity (pinned omc `7a8b84fc…b2de`) `codec.om` sha256 is `c8e93310…a2e8`. It compiles to a 95,048-byte program, the same bytes as under the previous pin `62775d2a…712b`. The corpus is diff --git a/om/codec/parity/run.sh b/om/codec/parity/run.sh index b182fa537..d18b2f54a 100755 --- a/om/codec/parity/run.sh +++ b/om/codec/parity/run.sh @@ -9,7 +9,7 @@ # OMEGA_OMC the seed-born omc (default seed/out/omc in this checkout), sha256 pinned below # Exit 0 PASS, 1 FAIL, 3 NOT_RUN (no pinned omc or no python3). set -eu -OMC_PIN=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +OMC_PIN=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de HERE=$(cd "$(dirname "$0")" && pwd) ROOT=$(cd "$HERE/../../.." && pwd) OMC=${OMEGA_OMC:-$ROOT/seed/out/omc} diff --git a/om/evidence/README.md b/om/evidence/README.md index 33b082a08..f6ae81c03 100644 --- a/om/evidence/README.md +++ b/om/evidence/README.md @@ -60,7 +60,7 @@ because it is cached in a static. `physics_commit` reads a real `physics.lock` f types, modes, sizes and file sha256). In program mode the harness does the same effects with the same flags (`O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC`, mode 0444, directories 0755, umask 022). -omc sha256 `1578b357…dbe1` (the previous pin `62775d2a…712b` emits the same bytes). `evidence.om` compiles to a 35,032-byte program. +omc sha256 `7a8b84fc…b2de` (the previous pins `1578b357…dbe1` and `62775d2a…712b` emit the same bytes). `evidence.om` compiles to a 35,032-byte program. | stream | function(s) | records | result | |---|---|---|---| diff --git a/om/evidence/parity/run.sh b/om/evidence/parity/run.sh index f822fe5b5..8abdc7d33 100755 --- a/om/evidence/parity/run.sh +++ b/om/evidence/parity/run.sh @@ -14,7 +14,7 @@ # directory size (filesystem-dependent: ext4 4096, tmpfs 40..3800), so any TMPDIR works; the stream # directory is created 775 whatever the caller's umask. set -eu -OMC_PIN=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +OMC_PIN=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de NATIVE_PIN=2c2c53f61d4ab302f1a2092c3c32189335dd53f6cf2b388f47a475f99f2c3940 P=$(cd "$(dirname "$0")" && pwd) OM=$P/../evidence.om diff --git a/om/gpumath/README.md b/om/gpumath/README.md index 0ade09a30..05a0a8f83 100644 --- a/om/gpumath/README.md +++ b/om/gpumath/README.md @@ -90,7 +90,7 @@ fp8_api.h, `7e3c1779…105a` codegen_moe.h) compiled with from `src/omega_blackwell_matmul.c` and built with the same flags. `.text` sha256: hostmath `4061ecf7…6e2c`, fp8_pack `1cd43d3f…7cc3`, fmt `d06b83b7…92b7`. A /tmp driver feeds the corpus to these objects. `fma` records use the hardware `fmadd` (inline asm), and the fmt records are typed C -calls that `corpus.py --c-cases` generates. Compiler: omc sha256 `1578b357…dbe1`; `gpumath.om` at this +calls that `corpus.py --c-cases` generates. Compiler: omc sha256 `7a8b84fc…b2de`; `gpumath.om` at this commit compiles to a 29,836-byte program, the same bytes as under the previous pin `62775d2a…712b`. | stream | function(s) | inputs | result | diff --git a/om/gpumath/parity/run.sh b/om/gpumath/parity/run.sh index 5a58451af..844699c28 100755 --- a/om/gpumath/parity/run.sh +++ b/om/gpumath/parity/run.sh @@ -10,7 +10,7 @@ # OMEGA_OMC seed-born omc, sha256 pinned below (exit 3 NOT_RUN without it) # OMEGA_BRIDGE optional: an aien-dev/omega-bridge checkout whose src/native.om matches the pin set -eu -OMC_PIN=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +OMC_PIN=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de NATIVE_PIN=2c2c53f61d4ab302f1a2092c3c32189335dd53f6cf2b388f47a475f99f2c3940 P=$(cd "$(dirname "$0")" && pwd) OM=$P/../gpumath.om diff --git a/om/quantity/README.md b/om/quantity/README.md index 79a9ded3b..a66a47d28 100644 --- a/om/quantity/README.md +++ b/om/quantity/README.md @@ -42,7 +42,7 @@ Run from repository root on Linux AArch64. The only production unit is `quantity ```sh nice -n 19 sh seed/omega-from-seed.sh sha256sum seed/out/omc -# Required compiler hash: 1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +# Required compiler hash: 7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de # (the replay receipt below used the previous pin 62775d2a...; both emit the same bytes for these programs) mkdir -p /tmp/security756-replay cat om/quantity/quantity.om om/quantity/tests.om | nice -n 19 seed/out/omc > /tmp/security756-replay/tests diff --git a/om/receipt/README.md b/om/receipt/README.md index 02278744d..95ff480b2 100644 --- a/om/receipt/README.md +++ b/om/receipt/README.md @@ -61,7 +61,7 @@ unchanged: ## Build and run ``` -OMC=/path/to/seed/out/omc # pinned: sha256 1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +OMC=/path/to/seed/out/omc # pinned: sha256 7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de $OMC < om/receipt/receipt.om > receipt && chmod +x receipt python3 om/receipt/parity/corpus.py /tmp/corp && ./receipt < /tmp/corp/rust.bin ``` diff --git a/om/receipt/parity/run.sh b/om/receipt/parity/run.sh index d9d7b8a3b..dbdea2275 100755 --- a/om/receipt/parity/run.sh +++ b/om/receipt/parity/run.sh @@ -11,7 +11,7 @@ # OMEGA_OMC seed-born omc, sha256 pinned below (exit 3 NOT_RUN without it) # OMEGA_BRIDGE optional: an aien-dev/omega-bridge checkout whose src/native.om matches the pin set -eu -OMC_PIN=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +OMC_PIN=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de NATIVE_PIN=2c2c53f61d4ab302f1a2092c3c32189335dd53f6cf2b388f47a475f99f2c3940 P=$(cd "$(dirname "$0")" && pwd) OM=$P/../receipt.om diff --git a/om/units.sh b/om/units.sh index e72f75810..66f3d1b0f 100755 --- a/om/units.sh +++ b/om/units.sh @@ -18,7 +18,7 @@ # OMEGA_UNITS (the unit list, repo-relative or absolute) and OMEGA_UNITS_DEST (output directory, default src) # override the defaults; mk/om-encoder.mk uses them to build mutant encoders beside the real binding. set -eu -OMC_PIN=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +OMC_PIN=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de NATIVE_PIN=c77a5922f91d53d4a0bbd4e7b1c4703f7098263abc843be2918db1ece7496782 ROOT=$(cd "$(dirname "$0")/.." && pwd) # One generated library for all units: the bindings share one ABI runtime (ombr_enter). diff --git a/seed/README.md b/seed/README.md index 770bb1cb1..9cdc4d502 100644 --- a/seed/README.md +++ b/seed/README.md @@ -178,8 +178,8 @@ it came from. - 9 new programs in the old calling form that the C path can also express (signed divide and remainder at their limits, signed shifts, calls, computed loop counts, local arrays, a bad index): om4 and the C path give the same result or the same trap on all 69 inputs; - - 4 whole programs against twins written in C and built by gcc (gcc as the referee only): recursive - Fibonacci, sorting 1,000 numbers, echo of 50,000 random bytes, a byte copy that reverses its input: + - 4 whole programs against committed expected outputs (no C twin at runtime): recursive + Fibonacci, sorting 1,000 numbers, echo of 50,000 fixture bytes, a byte copy that reverses its input: same output every time; - 14 whole programs that must stop with a given status or value (among them 2^64 - 1 and 2^63 read as ulong numbers, fixed after the independent interpreter L412 found om4 refused them): divide by zero, bad index, read past the end, loop @@ -295,6 +295,14 @@ it came from. - Current size reporting measures the complete compiler only. Compiling incomplete source prefixes is not a valid per-function measurement in a compiler with forward references; that old diagnostic was removed. All parent, C-referee, wrong-word-mutant, fuzz and refusal checks remain mandatory. +- The branch-range gate is seeded `.om`, including its coordinator, generator, source mutator + and decoder-output checker. See `seed/qualification/security673/README.md` for reconstruction. + The compiler accepts the exact forward maximum and refuses larger conditional branches + before emitting an executable. Direct probes of the actual encoder cover both signed extrema + and misalignment; a local-array fixture exercises the current backward caller. GNU objdump + independently decodes accepted forward branches and catches a deliberately weakened limit. + Malformed-output controls and supervisor failures are separate from compiler correctness. + Corrected evidence is in `evidence/SECURITY-673/correction1/`; earlier evidence is historical. - Limits, said plainly: omc has om4's limits, because it copies om4 (names up to 8 characters, 16 registers per function, values nested up to 1,024 deep, 8 MiB of input). diff --git a/seed/authority/README.md b/seed/authority/README.md new file mode 100644 index 000000000..4bb356faf --- /dev/null +++ b/seed/authority/README.md @@ -0,0 +1,57 @@ +# Authority and reuse transitions in seeded `.om` + +These are the `.om` replacements for the transition logic currently held by the legacy C authority +and reuse owners (`src/runtime/rx_capq`, `rx_caproot`, `rx_semantic`). They are pure transition +functions: they validate a record, bind identities, check authority, and advance a state. They do +not mint authority, perform I/O, persist a transition or dispatch an effect. The durable store and +dispatcher are the next phase; the C owner remains active until every consumer is cut over. + +| File | Role | +| --- | --- | +| `action.om` | operation lifecycle: ready/in-flight/unknown/performed, attempts, limit, generation, expiry, identity binding | +| `delegate.om` | child capability derivation and subset checks | +| `reuse.om` | exact-key reuse checks, including whole-token prefix identity | +| `store.om` | durable 32-word record and generation file: temp write, fsync, atomic rename, exact 256-byte read; torn/short files refused | +| `dispatch.om` | persists in-flight, runs /bin/true and a static execpure effect, records performed/unknown, and marks unknown if the generation changes during the effect | +| `lock.om` | cross-process O_EXCL pid lock with bounded retry and stale-pid reclaim; serializes read-check-persist, not the effect | +| `lock-test.om` | exclusive acquire, busy refusal, release, forked waiter and stale-pid reclaim | +| `*-test.om` | transition and store checks; no provider simulation | +| `*-gate.om` | source + test concatenation for the current single-file compiler | + +`dispatch.om` holds `lock.om` across read, generation check, start and the in-flight write, releases +before the effect, and reacquires before recording the outcome. The dispatch gate therefore exercises +the locked path (37 checks). + +`action-gate.om`, `delegate-gate.om` and `reuse-gate.om` are committed concatenations because the +seeded compiler currently reads one source file. Module/import support is a compiler capability +dependency; it is not a reason to keep a legacy implementation. + +## Run + +``` +seed/out/omc < seed/authority/action-gate.om > build/action-gate +chmod +x build/action-gate +./build/action-gate +``` + +Expected output and exit: + +| Gate | Output | Exit | +| --- | --- | --- | +| action | `action checks=219 000` | 0 | +| delegate | `delegate checks=074 000` | 0 | +| reuse | `reuse checks=074 000` | 0 | +| store | `store checks=077 000` | 0 | +| dispatch | `dispatch checks=037 000` | 0 | +| lock | `lock checks=5 fails=0` | 0 | + +The authority gates and the standalone lock gate are run by +`seed/qualification/security673/gate669.om` as part of the security qualification; the dispatcher +also exercises the lock in its 37-check gate. A failure is a failed check count or a nonzero exit; a compile failure is +`INVALID`, not a pass. + +## Cutover rule + +The lock is integrated in the dispatcher, but no production consumer uses this store yet. The C authority/reuse +sources are deleted only after the `.om` owner has a durable store, dispatch, revocation and budget +behaviour, and every consumer uses it. A parallel production authority path is not an end state. diff --git a/seed/authority/action-gate.om b/seed/authority/action-gate.om new file mode 100644 index 000000000..70144c35b --- /dev/null +++ b/seed/authority/action-gate.om @@ -0,0 +1,400 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note OM-CONTROL-659 action contract v1. See ../README.md for the trusted-caller boundary. +note No I/O, authority minting or persistence. Caller serializes and durably commits transitions. +note Record words 0..7: version,state,attempt,limit,generation,epoch,expiry,reserved. +note Words 8..31: operation,request,scope,provider,policy,grant identities, four words each. +note State 1 ready,2 in-flight,3 unknown,4 performed. No timeout implies not performed. + +fn actvalid r view ulong 32 to ulong +if ne get r 0 1 +ret 11 +end +if or lt get r 1 1 gt get r 1 4 +ret 12 +end +if or eq get r 3 0 gt get r 3 1024 +ret 12 +end +if gt get r 2 get r 3 +ret 12 +end +if and ne get r 1 1 eq get r 2 0 +ret 12 +end +if or eq get r 4 0 eq get r 5 0 +ret 12 +end +if or eq get r 6 0 ne get r 7 0 +ret 12 +end +for g ulong 6 +bits = ulong 0 +for j ulong 4 +bits = or bits get r add 8 add mul g 4 j +end +if eq bits 0 +ret 12 +end +end +ret 0 +end + +fn actbind r view ulong 32 c view ulong 32 to ulong +for g ulong 6 +diff = ulong 0 +for j ulong 4 +at = add 8 add mul g 4 j +diff = or diff xor get r at get c at +end +if ne diff 0 +ret add 40 g +end +end +ret 0 +end + +fn actauth r view ulong 32 c view ulong 32 to ulong +if ne get c 0 1 +ret 11 +end +if or ne get c 3 0 or ne get c 6 0 ne get c 7 0 +ret 12 +end +if ne get c 1 1 +ret 30 +end +if ne get r 4 get c 4 +ret 31 +end +if ne get r 5 get c 5 +ret 32 +end +if ge get c 2 get r 6 +ret 33 +end +ret actbind r c +end + +fn actstart r edit ulong 32 c view ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if eq get r 1 3 +ret 21 +end +if eq get r 1 4 +ret 22 +end +if ne get r 1 1 +ret 20 +end +if ge get r 2 get r 3 +ret 23 +end +err = actauth r c +if ne err 0 +ret err +end +put r 2 add get r 2 1 +put r 1 2 +ret 0 +end + +fn actlost r edit ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if eq get r 1 3 +ret 0 +end +if ne get r 1 2 +ret 20 +end +put r 1 3 +ret 0 +end + +note A trusted receipt maps outcome 0 unknown,1 definitely not performed,2 performed. +note Not-found or timeout is outcome 0 unless the provider proves absence and quiescence. +note Receipt words 2/3: exact attempt and verification=1. Words 6/7 must be zero. +note Recording an observed outcome is permitted after expiry; another attempt is not. +fn actrecon r edit ulong 32 s view ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if not or eq get r 1 2 eq get r 1 3 +ret 20 +end +if ne get s 0 1 +ret 11 +end +if or gt get s 1 2 or ne get s 6 0 ne get s 7 0 +ret 12 +end +if ne get s 3 1 +ret 36 +end +if ne get s 2 get r 2 +ret 35 +end +if ne get s 4 get r 4 +ret 31 +end +if ne get s 5 get r 5 +ret 32 +end +err = actbind r s +if ne err 0 +ret err +end +if eq get s 1 0 +put r 1 3 +ret 21 +end +if eq get s 1 1 +put r 1 1 +else +put r 1 4 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Tests call the production transition functions. Provider/store I/O is not simulated as durable. +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "action checks=" + +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end + +fn plan r edit ulong 32 to void +for i ulong 32 +put r i 0 +end +put r 0 1 +put r 1 1 +put r 3 3 +put r 4 7 +put r 5 9 +put r 6 100 +for i ulong 24 +put r add i 8 add i 100 +end +end + +fn context c edit ulong 32 to void +for i ulong 32 +put c i 0 +end +put c 0 1 +put c 1 1 +put c 2 50 +put c 4 7 +put c 5 9 +for i ulong 24 +put c add i 8 add i 100 +end +end + +fn receipt s edit ulong 32 n ulong outcome ulong to void +context s +put s 1 outcome +put s 2 n +put s 3 1 +end + +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end + +fn main to int +r = new ulong 32 0 +c = new ulong 32 0 +s = new ulong 32 0 +plan r +context c +check actstart r c 0 +check get r 1 2 +check get r 2 1 +check actstart r c 20 +check get r 2 1 +check actlost r 0 +check get r 1 3 +check actlost r 0 +check actstart r c 21 +receipt s 1 0 +check actrecon r s 21 +check get r 1 3 +check actstart r c 21 +receipt s 1 2 +check actrecon r s 0 +check get r 1 4 +check actstart r c 22 +check actrecon r s 20 + +note An observed uncertain outcome also moves an in-flight record to unknown. +plan r +check actstart r c 0 +receipt s 1 0 +check actrecon r s 21 +check get r 1 3 +check actstart r c 21 + +note Confirmed not performed enables a new attempt only after a fresh admission check. +plan r +check actstart r c 0 +check actlost r 0 +receipt s 1 1 +check actrecon r s 0 +check get r 1 1 +check get r 2 1 +put c 1 0 +check actstart r c 30 +check get r 2 1 +context c +put c 4 8 +check actstart r c 31 +context c +put c 5 10 +check actstart r c 32 +context c +put c 2 100 +check actstart r c 33 +context c +check actstart r c 0 +check get r 2 2 +receipt s 1 2 +check actrecon r s 35 +check get r 1 2 +receipt s 2 2 +check actrecon r s 0 +check actstart r c 22 + +note Every word of every identity is checked before mutating the record. +for i ulong 24 +plan r +context c +put c add i 8 add get c add i 8 1 +check actstart r c add 40 div i 4 +check get r 1 1 +check get r 2 0 +end +note Receipt binding includes all identities and cannot resolve a different attempt. +for i ulong 24 +plan r +context c +check actstart r c 0 +receipt s 1 1 +put s add i 8 add get s add i 8 1 +check actrecon r s add 40 div i 4 +check get r 1 2 +end + +plan r +context c +put r 2 3 +check actstart r c 23 +put r 2 18446744073709551615 +check actstart r c 12 +check get r 2 18446744073709551615 +plan r +put r 3 0 +check actstart r c 12 +plan r +put r 3 1025 +check actstart r c 12 +plan r +put r 7 1 +check actstart r c 12 +plan r +put r 0 2 +check actstart r c 11 +plan r +put r 1 99 +check actstart r c 12 +plan r +put r 1 2 +check actstart r c 12 +plan r +context c +put c 0 2 +check actstart r c 11 +context c +put c 1 2 +check actstart r c 30 +context c +put c 3 1 +check actstart r c 12 +context c +for group ulong 6 +plan r +for j ulong 4 +put r add 8 add mul group 4 j 0 +end +check actstart r c 12 +end + +plan r +check actstart r c 0 +receipt s 1 1 +put s 3 0 +check actrecon r s 36 +check get r 1 2 +receipt s 1 1 +put s 4 8 +check actrecon r s 31 +receipt s 1 1 +put s 5 10 +check actrecon r s 32 +receipt s 1 3 +check actrecon r s 12 +receipt s 1 1 +put s 6 1 +check actrecon r s 12 +check actlost r 0 +check actstart r c 21 +receipt s 1 1 +check actrecon r s 0 +check actlost r 20 +check get r 1 1 + +note Limit is enforced across reconciliation cycles, without rotating operation identity. +plan r +for i ulong 3 +check actstart r c 0 +receipt s add i 1 1 +check actrecon r s 0 +end +check actstart r c 23 +check get r 2 3 +check get r 8 100 +ret summary +end diff --git a/seed/authority/action-test.om b/seed/authority/action-test.om new file mode 100644 index 000000000..2e5f11826 --- /dev/null +++ b/seed/authority/action-test.om @@ -0,0 +1,237 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Tests call the production transition functions. Provider/store I/O is not simulated as durable. +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "action checks=" + +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end + +fn plan r edit ulong 32 to void +for i ulong 32 +put r i 0 +end +put r 0 1 +put r 1 1 +put r 3 3 +put r 4 7 +put r 5 9 +put r 6 100 +for i ulong 24 +put r add i 8 add i 100 +end +end + +fn context c edit ulong 32 to void +for i ulong 32 +put c i 0 +end +put c 0 1 +put c 1 1 +put c 2 50 +put c 4 7 +put c 5 9 +for i ulong 24 +put c add i 8 add i 100 +end +end + +fn receipt s edit ulong 32 n ulong outcome ulong to void +context s +put s 1 outcome +put s 2 n +put s 3 1 +end + +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end + +fn main to int +r = new ulong 32 0 +c = new ulong 32 0 +s = new ulong 32 0 +plan r +context c +check actstart r c 0 +check get r 1 2 +check get r 2 1 +check actstart r c 20 +check get r 2 1 +check actlost r 0 +check get r 1 3 +check actlost r 0 +check actstart r c 21 +receipt s 1 0 +check actrecon r s 21 +check get r 1 3 +check actstart r c 21 +receipt s 1 2 +check actrecon r s 0 +check get r 1 4 +check actstart r c 22 +check actrecon r s 20 + +note An observed uncertain outcome also moves an in-flight record to unknown. +plan r +check actstart r c 0 +receipt s 1 0 +check actrecon r s 21 +check get r 1 3 +check actstart r c 21 + +note Confirmed not performed enables a new attempt only after a fresh admission check. +plan r +check actstart r c 0 +check actlost r 0 +receipt s 1 1 +check actrecon r s 0 +check get r 1 1 +check get r 2 1 +put c 1 0 +check actstart r c 30 +check get r 2 1 +context c +put c 4 8 +check actstart r c 31 +context c +put c 5 10 +check actstart r c 32 +context c +put c 2 100 +check actstart r c 33 +context c +check actstart r c 0 +check get r 2 2 +receipt s 1 2 +check actrecon r s 35 +check get r 1 2 +receipt s 2 2 +check actrecon r s 0 +check actstart r c 22 + +note Every word of every identity is checked before mutating the record. +for i ulong 24 +plan r +context c +put c add i 8 add get c add i 8 1 +check actstart r c add 40 div i 4 +check get r 1 1 +check get r 2 0 +end +note Receipt binding includes all identities and cannot resolve a different attempt. +for i ulong 24 +plan r +context c +check actstart r c 0 +receipt s 1 1 +put s add i 8 add get s add i 8 1 +check actrecon r s add 40 div i 4 +check get r 1 2 +end + +plan r +context c +put r 2 3 +check actstart r c 23 +put r 2 18446744073709551615 +check actstart r c 12 +check get r 2 18446744073709551615 +plan r +put r 3 0 +check actstart r c 12 +plan r +put r 3 1025 +check actstart r c 12 +plan r +put r 7 1 +check actstart r c 12 +plan r +put r 0 2 +check actstart r c 11 +plan r +put r 1 99 +check actstart r c 12 +plan r +put r 1 2 +check actstart r c 12 +plan r +context c +put c 0 2 +check actstart r c 11 +context c +put c 1 2 +check actstart r c 30 +context c +put c 3 1 +check actstart r c 12 +context c +for group ulong 6 +plan r +for j ulong 4 +put r add 8 add mul group 4 j 0 +end +check actstart r c 12 +end + +plan r +check actstart r c 0 +receipt s 1 1 +put s 3 0 +check actrecon r s 36 +check get r 1 2 +receipt s 1 1 +put s 4 8 +check actrecon r s 31 +receipt s 1 1 +put s 5 10 +check actrecon r s 32 +receipt s 1 3 +check actrecon r s 12 +receipt s 1 1 +put s 6 1 +check actrecon r s 12 +check actlost r 0 +check actstart r c 21 +receipt s 1 1 +check actrecon r s 0 +check actlost r 20 +check get r 1 1 + +note Limit is enforced across reconciliation cycles, without rotating operation identity. +plan r +for i ulong 3 +check actstart r c 0 +receipt s add i 1 1 +check actrecon r s 0 +end +check actstart r c 23 +check get r 2 3 +check get r 8 100 +ret summary +end diff --git a/seed/authority/action.om b/seed/authority/action.om new file mode 100644 index 000000000..81dc5cf22 --- /dev/null +++ b/seed/authority/action.om @@ -0,0 +1,163 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note OM-CONTROL-659 action contract v1. See ../README.md for the trusted-caller boundary. +note No I/O, authority minting or persistence. Caller serializes and durably commits transitions. +note Record words 0..7: version,state,attempt,limit,generation,epoch,expiry,reserved. +note Words 8..31: operation,request,scope,provider,policy,grant identities, four words each. +note State 1 ready,2 in-flight,3 unknown,4 performed. No timeout implies not performed. + +fn actvalid r view ulong 32 to ulong +if ne get r 0 1 +ret 11 +end +if or lt get r 1 1 gt get r 1 4 +ret 12 +end +if or eq get r 3 0 gt get r 3 1024 +ret 12 +end +if gt get r 2 get r 3 +ret 12 +end +if and ne get r 1 1 eq get r 2 0 +ret 12 +end +if or eq get r 4 0 eq get r 5 0 +ret 12 +end +if or eq get r 6 0 ne get r 7 0 +ret 12 +end +for g ulong 6 +bits = ulong 0 +for j ulong 4 +bits = or bits get r add 8 add mul g 4 j +end +if eq bits 0 +ret 12 +end +end +ret 0 +end + +fn actbind r view ulong 32 c view ulong 32 to ulong +for g ulong 6 +diff = ulong 0 +for j ulong 4 +at = add 8 add mul g 4 j +diff = or diff xor get r at get c at +end +if ne diff 0 +ret add 40 g +end +end +ret 0 +end + +fn actauth r view ulong 32 c view ulong 32 to ulong +if ne get c 0 1 +ret 11 +end +if or ne get c 3 0 or ne get c 6 0 ne get c 7 0 +ret 12 +end +if ne get c 1 1 +ret 30 +end +if ne get r 4 get c 4 +ret 31 +end +if ne get r 5 get c 5 +ret 32 +end +if ge get c 2 get r 6 +ret 33 +end +ret actbind r c +end + +fn actstart r edit ulong 32 c view ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if eq get r 1 3 +ret 21 +end +if eq get r 1 4 +ret 22 +end +if ne get r 1 1 +ret 20 +end +if ge get r 2 get r 3 +ret 23 +end +err = actauth r c +if ne err 0 +ret err +end +put r 2 add get r 2 1 +put r 1 2 +ret 0 +end + +fn actlost r edit ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if eq get r 1 3 +ret 0 +end +if ne get r 1 2 +ret 20 +end +put r 1 3 +ret 0 +end + +note A trusted receipt maps outcome 0 unknown,1 definitely not performed,2 performed. +note Not-found or timeout is outcome 0 unless the provider proves absence and quiescence. +note Receipt words 2/3: exact attempt and verification=1. Words 6/7 must be zero. +note Recording an observed outcome is permitted after expiry; another attempt is not. +fn actrecon r edit ulong 32 s view ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if not or eq get r 1 2 eq get r 1 3 +ret 20 +end +if ne get s 0 1 +ret 11 +end +if or gt get s 1 2 or ne get s 6 0 ne get s 7 0 +ret 12 +end +if ne get s 3 1 +ret 36 +end +if ne get s 2 get r 2 +ret 35 +end +if ne get s 4 get r 4 +ret 31 +end +if ne get s 5 get r 5 +ret 32 +end +err = actbind r s +if ne err 0 +ret err +end +if eq get s 1 0 +put r 1 3 +ret 21 +end +if eq get s 1 1 +put r 1 1 +else +put r 1 4 +end +ret 0 +end diff --git a/seed/authority/delegate-gate.om b/seed/authority/delegate-gate.om new file mode 100644 index 000000000..875fe2205 --- /dev/null +++ b/seed/authority/delegate-gate.om @@ -0,0 +1,268 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Attenuation predicate only. A trusted authority must verify the parent and issue the child. +note Words 0..7: version,rights,memory,fuel,expiry,remaining-depth,reserved,reserved. +note Words 8..23: exact resource scope,authority root,subject,grant identities, four words each. +note This profile supports the same resource only. No wildcard, path or network-subnet inference. + +fn capvalid p view ulong 24 to ulong +if ne get p 0 1 +ret 61 +end +if gt get p 5 64 +ret 62 +end +if or eq get p 4 0 or ne get p 6 0 ne get p 7 0 +ret 62 +end +for g ulong 4 +bits = ulong 0 +for j ulong 4 +bits = or bits get p add 8 add mul g 4 j +end +if eq bits 0 +ret 62 +end +end +ret 0 +end + +fn capeq p view ulong 24 c view ulong 24 off ulong to bool +diff = ulong 0 +for j ulong 4 +at = add off j +diff = or diff xor get p at get c at +end +ret eq diff 0 +end + +fn capchild p view ulong 24 c view ulong 24 now ulong to ulong +err = capvalid p +if ne err 0 +ret err +end +err = capvalid c +if ne err 0 +ret err +end +if ge now get p 4 +ret 64 +end +if ge now get c 4 +ret 65 +end +if ne and get c 1 get p 1 get c 1 +ret 66 +end +if gt get c 2 get p 2 +ret 67 +end +if gt get c 3 get p 3 +ret 68 +end +if gt get c 4 get p 4 +ret 69 +end +if not capeq p c 8 +ret 70 +end +if not capeq p c 12 +ret 71 +end +if eq get p 5 0 +ret 72 +end +if ge get c 5 get p 5 +ret 73 +end +if capeq p c 16 +ret 74 +end +if capeq p c 20 +ret 75 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "delegate checks=" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn parent p edit ulong 24 to void +for i ulong 24 +put p i 0 +end +put p 0 1 +put p 1 7 +put p 2 1024 +put p 3 200 +put p 4 100 +put p 5 4 +for i ulong 16 +put p add i 8 add i 100 +end +end +fn child c edit ulong 24 to void +parent c +put c 1 3 +put c 2 512 +put c 3 100 +put c 4 90 +put c 5 3 +put c 16 200 +put c 20 300 +end +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end +fn main to int +p = new ulong 24 0 +c = new ulong 24 0 +parent p +child c +check capchild p c 50 0 +put c 1 8 +check capchild p c 50 66 +child c +put c 2 1025 +check capchild p c 50 67 +child c +put c 3 201 +check capchild p c 50 68 +child c +put c 4 101 +check capchild p c 50 69 +child c +put c 5 4 +check capchild p c 50 73 +child c +put p 5 0 +check capchild p c 50 72 +parent p +child c +put c 4 50 +check capchild p c 50 65 +child c +check capchild p c 100 64 +child c +put c 1 0 +put c 2 0 +put c 3 0 +put c 5 0 +check capchild p c 50 0 +put p 1 0 +put p 2 0 +put p 3 0 +check capchild p c 50 0 +put c 1 1 +check capchild p c 50 66 + +for i ulong 8 +parent p +child c +put c add i 8 add get c add i 8 1 +check capchild p c 50 add 70 div i 4 +end +parent p +child c +for i ulong 4 +put c add i 16 get p add i 16 +end +check capchild p c 50 74 +child c +for i ulong 4 +put c add i 20 get p add i 20 +end +check capchild p c 50 75 +for group ulong 4 +parent p +child c +for j ulong 4 +put p add 8 add mul group 4 j 0 +end +check capchild p c 50 62 +parent p +for j ulong 4 +put c add 8 add mul group 4 j 0 +end +check capchild p c 50 62 +end + +parent p +child c +put p 0 2 +check capchild p c 50 61 +parent p +put c 0 2 +check capchild p c 50 61 +child c +put c 1 512 +check capchild p c 50 66 +child c +put c 6 1 +check capchild p c 50 62 +child c +put c 7 1 +check capchild p c 50 62 +child c +put c 5 18446744073709551615 +check capchild p c 50 62 +child c +put p 5 65 +check capchild p c 50 62 +parent p +child c +put p 5 1 +put c 5 0 +check capchild p c 50 0 +put p 2 18446744073709551615 +put c 2 18446744073709551615 +check capchild p c 50 0 +put p 2 18446744073709551614 +check capchild p c 50 67 +parent p +child c +put p 1 9223372036854775808 +put c 1 9223372036854775808 +check capchild p c 50 0 +put c 1 9223372036854775809 +check capchild p c 50 66 + +note Exhaust all subsets of the small rights profile, not only one happy case. +for rights ulong 32 +parent p +child c +put c 1 rights +want = ulong 66 +if lt rights 8 +want = 0 +end +check capchild p c 50 want +end +ret summary +end diff --git a/seed/authority/delegate-test.om b/seed/authority/delegate-test.om new file mode 100644 index 000000000..6f88a0d1d --- /dev/null +++ b/seed/authority/delegate-test.om @@ -0,0 +1,184 @@ +note SPDX-License-Identifier: AGPL-3.0-only +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "delegate checks=" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn parent p edit ulong 24 to void +for i ulong 24 +put p i 0 +end +put p 0 1 +put p 1 7 +put p 2 1024 +put p 3 200 +put p 4 100 +put p 5 4 +for i ulong 16 +put p add i 8 add i 100 +end +end +fn child c edit ulong 24 to void +parent c +put c 1 3 +put c 2 512 +put c 3 100 +put c 4 90 +put c 5 3 +put c 16 200 +put c 20 300 +end +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end +fn main to int +p = new ulong 24 0 +c = new ulong 24 0 +parent p +child c +check capchild p c 50 0 +put c 1 8 +check capchild p c 50 66 +child c +put c 2 1025 +check capchild p c 50 67 +child c +put c 3 201 +check capchild p c 50 68 +child c +put c 4 101 +check capchild p c 50 69 +child c +put c 5 4 +check capchild p c 50 73 +child c +put p 5 0 +check capchild p c 50 72 +parent p +child c +put c 4 50 +check capchild p c 50 65 +child c +check capchild p c 100 64 +child c +put c 1 0 +put c 2 0 +put c 3 0 +put c 5 0 +check capchild p c 50 0 +put p 1 0 +put p 2 0 +put p 3 0 +check capchild p c 50 0 +put c 1 1 +check capchild p c 50 66 + +for i ulong 8 +parent p +child c +put c add i 8 add get c add i 8 1 +check capchild p c 50 add 70 div i 4 +end +parent p +child c +for i ulong 4 +put c add i 16 get p add i 16 +end +check capchild p c 50 74 +child c +for i ulong 4 +put c add i 20 get p add i 20 +end +check capchild p c 50 75 +for group ulong 4 +parent p +child c +for j ulong 4 +put p add 8 add mul group 4 j 0 +end +check capchild p c 50 62 +parent p +for j ulong 4 +put c add 8 add mul group 4 j 0 +end +check capchild p c 50 62 +end + +parent p +child c +put p 0 2 +check capchild p c 50 61 +parent p +put c 0 2 +check capchild p c 50 61 +child c +put c 1 512 +check capchild p c 50 66 +child c +put c 6 1 +check capchild p c 50 62 +child c +put c 7 1 +check capchild p c 50 62 +child c +put c 5 18446744073709551615 +check capchild p c 50 62 +child c +put p 5 65 +check capchild p c 50 62 +parent p +child c +put p 5 1 +put c 5 0 +check capchild p c 50 0 +put p 2 18446744073709551615 +put c 2 18446744073709551615 +check capchild p c 50 0 +put p 2 18446744073709551614 +check capchild p c 50 67 +parent p +child c +put p 1 9223372036854775808 +put c 1 9223372036854775808 +check capchild p c 50 0 +put c 1 9223372036854775809 +check capchild p c 50 66 + +note Exhaust all subsets of the small rights profile, not only one happy case. +for rights ulong 32 +parent p +child c +put c 1 rights +want = ulong 66 +if lt rights 8 +want = 0 +end +check capchild p c 50 want +end +ret summary +end diff --git a/seed/authority/delegate.om b/seed/authority/delegate.om new file mode 100644 index 000000000..f94504083 --- /dev/null +++ b/seed/authority/delegate.om @@ -0,0 +1,84 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Attenuation predicate only. A trusted authority must verify the parent and issue the child. +note Words 0..7: version,rights,memory,fuel,expiry,remaining-depth,reserved,reserved. +note Words 8..23: exact resource scope,authority root,subject,grant identities, four words each. +note This profile supports the same resource only. No wildcard, path or network-subnet inference. + +fn capvalid p view ulong 24 to ulong +if ne get p 0 1 +ret 61 +end +if gt get p 5 64 +ret 62 +end +if or eq get p 4 0 or ne get p 6 0 ne get p 7 0 +ret 62 +end +for g ulong 4 +bits = ulong 0 +for j ulong 4 +bits = or bits get p add 8 add mul g 4 j +end +if eq bits 0 +ret 62 +end +end +ret 0 +end + +fn capeq p view ulong 24 c view ulong 24 off ulong to bool +diff = ulong 0 +for j ulong 4 +at = add off j +diff = or diff xor get p at get c at +end +ret eq diff 0 +end + +fn capchild p view ulong 24 c view ulong 24 now ulong to ulong +err = capvalid p +if ne err 0 +ret err +end +err = capvalid c +if ne err 0 +ret err +end +if ge now get p 4 +ret 64 +end +if ge now get c 4 +ret 65 +end +if ne and get c 1 get p 1 get c 1 +ret 66 +end +if gt get c 2 get p 2 +ret 67 +end +if gt get c 3 get p 3 +ret 68 +end +if gt get c 4 get p 4 +ret 69 +end +if not capeq p c 8 +ret 70 +end +if not capeq p c 12 +ret 71 +end +if eq get p 5 0 +ret 72 +end +if ge get c 5 get p 5 +ret 73 +end +if capeq p c 16 +ret 74 +end +if capeq p c 20 +ret 75 +end +ret 0 +end diff --git a/seed/authority/dispatch-gate.om b/seed/authority/dispatch-gate.om new file mode 100644 index 000000000..ee9e86d78 --- /dev/null +++ b/seed/authority/dispatch-gate.om @@ -0,0 +1,736 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note OM-CONTROL-659 action contract v1. See ../README.md for the trusted-caller boundary. +note No I/O, authority minting or persistence. Caller serializes and durably commits transitions. +note Record words 0..7: version,state,attempt,limit,generation,epoch,expiry,reserved. +note Words 8..31: operation,request,scope,provider,policy,grant identities, four words each. +note State 1 ready,2 in-flight,3 unknown,4 performed. No timeout implies not performed. + +fn actvalid r view ulong 32 to ulong +if ne get r 0 1 +ret 11 +end +if or lt get r 1 1 gt get r 1 4 +ret 12 +end +if or eq get r 3 0 gt get r 3 1024 +ret 12 +end +if gt get r 2 get r 3 +ret 12 +end +if and ne get r 1 1 eq get r 2 0 +ret 12 +end +if or eq get r 4 0 eq get r 5 0 +ret 12 +end +if or eq get r 6 0 ne get r 7 0 +ret 12 +end +for g ulong 6 +bits = ulong 0 +for j ulong 4 +bits = or bits get r add 8 add mul g 4 j +end +if eq bits 0 +ret 12 +end +end +ret 0 +end + +fn actbind r view ulong 32 c view ulong 32 to ulong +for g ulong 6 +diff = ulong 0 +for j ulong 4 +at = add 8 add mul g 4 j +diff = or diff xor get r at get c at +end +if ne diff 0 +ret add 40 g +end +end +ret 0 +end + +fn actauth r view ulong 32 c view ulong 32 to ulong +if ne get c 0 1 +ret 11 +end +if or ne get c 3 0 or ne get c 6 0 ne get c 7 0 +ret 12 +end +if ne get c 1 1 +ret 30 +end +if ne get r 4 get c 4 +ret 31 +end +if ne get r 5 get c 5 +ret 32 +end +if ge get c 2 get r 6 +ret 33 +end +ret actbind r c +end + +fn actstart r edit ulong 32 c view ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if eq get r 1 3 +ret 21 +end +if eq get r 1 4 +ret 22 +end +if ne get r 1 1 +ret 20 +end +if ge get r 2 get r 3 +ret 23 +end +err = actauth r c +if ne err 0 +ret err +end +put r 2 add get r 2 1 +put r 1 2 +ret 0 +end + +fn actlost r edit ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if eq get r 1 3 +ret 0 +end +if ne get r 1 2 +ret 20 +end +put r 1 3 +ret 0 +end + +note A trusted receipt maps outcome 0 unknown,1 definitely not performed,2 performed. +note Not-found or timeout is outcome 0 unless the provider proves absence and quiescence. +note Receipt words 2/3: exact attempt and verification=1. Words 6/7 must be zero. +note Recording an observed outcome is permitted after expiry; another attempt is not. +fn actrecon r edit ulong 32 s view ulong 32 to ulong +err = actvalid r +if ne err 0 +ret err +end +if not or eq get r 1 2 eq get r 1 3 +ret 20 +end +if ne get s 0 1 +ret 11 +end +if or gt get s 1 2 or ne get s 6 0 ne get s 7 0 +ret 12 +end +if ne get s 3 1 +ret 36 +end +if ne get s 2 get r 2 +ret 35 +end +if ne get s 4 get r 4 +ret 31 +end +if ne get s 5 get r 5 +ret 32 +end +err = actbind r s +if ne err 0 +ret err +end +if eq get s 1 0 +put r 1 3 +ret 21 +end +if eq get s 1 1 +put r 1 1 +else +put r 1 4 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Durable 32-word authority record store. Caller supplies the record and generation. +note Writes a temporary 256-byte file, fsyncs it, then atomically renames it into place. +note Reads require exactly 256 bytes; a short or torn file is refused. Store calls do not lock; the +note dispatcher holds lock.om around its read-check-persist window. +text recp "build/authority-store/rec" +text tmpp "build/authority-store/tmp" +text genp "build/authority-store/gen" +global sb uchar 256 +global spkt uchar 256 +global sn ulong 1 +global spath uchar 128 +global splen ulong 1 +global sgerr ulong 1 +fn put16 v ulong to void +put spkt get sn 0 uchar and v 255 +put spkt add get sn 0 1 uchar shr v 8 +put sn 0 add get sn 0 2 +end +fn setrec to void +put splen 0 len recp +for i ulong len recp +put spath i get recp i +end +end +fn settmp to void +put splen 0 len tmpp +for i ulong len tmpp +put spath i get tmpp i +end +end +fn setgen to void +put splen 0 len genp +for i ulong len genp +put spath i get genp i +end +end +fn pack2 to ulong +put sn 0 0 +put16 2 +put16 len tmpp +for i ulong len tmpp +put spkt add get sn 0 i get tmpp i +end +put sn 0 add get sn 0 len tmpp +put16 len recp +for i ulong len recp +put spkt add get sn 0 i get recp i +end +put sn 0 add get sn 0 len recp +ret get sn 0 +end +fn enc r view ulong 32 to void +for i ulong 32 +v = get r i +for j ulong 8 +put sb add mul i 8 j uchar and shr v mul j 8 255 +end +end +end +fn dec r edit ulong 32 to ulong +for i ulong 32 +v = ulong 0 +for j ulong 8 +v = or v shl ulong get sb add mul i 8 j mul j 8 +end +put r i v +end +ret 0 +end +fn writerec r view ulong 32 to ulong +enc r +settmp +fd = fopen spath 0 get splen 0 577 384 +if lt fd 0 +ret 10 +end +n = write int fd sb 0 256 +if ne n 256 +ret 11 +end +if ne fsync int fd 0 +ret 12 +end +if ne fclose int fd 0 +ret 13 +end +pn = pack2 +rr = renames spkt 0 pn 0 +if lt rr 0 +ret 14 +end +ret 0 +end +fn readrec r edit ulong 32 to ulong +setrec +fd = fopen spath 0 get splen 0 0 0 +if lt fd 0 +ret 20 +end +n = read int fd sb 0 256 +if ne fclose int fd 0 +ret 21 +end +if ne n 256 +ret 22 +end +dv = dec r +ret 0 +end +fn readgen to ulong +put sgerr 0 0 +setgen +fd = fopen spath 0 get splen 0 0 0 +if lt fd 0 +put sgerr 0 30 +ret 0 +end +n = read int fd sb 0 8 +if ne fclose int fd 0 +put sgerr 0 31 +ret 0 +end +if ne n 8 +put sgerr 0 32 +ret 0 +end +v = ulong 0 +for j ulong 8 +v = or v shl ulong get sb j mul j 8 +end +ret v +end +fn writegen v ulong to ulong +setgen +fd = fopen spath 0 get splen 0 577 384 +if lt fd 0 +ret 40 +end +for j ulong 8 +put sb j uchar and shr v mul j 8 255 +end +n = write int fd sb 0 8 +if ne n 8 +ret 41 +end +if ne fsync int fd 0 +ret 42 +end +if ne fclose int fd 0 +ret 43 +end +ret 0 +end +fn storevalid r view ulong 32 g ulong to ulong +if ne get r 0 1 +ret 51 +end +if ne get r 4 g +ret 52 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Cross-process lock for the authority store. A lock is an O_EXCL file containing the owner pid. +note A contending process retries with a bounded sleep; a lock whose pid is gone is reclaimed. +note This serializes the read-check-persist window. It does not serialize the effect itself. +global lb uchar 8 +text lpath "build/authority-store/lock" + +fn lpid p ulong to void +put lb 0 uchar and p 255 +put lb 1 uchar and shr p 8 255 +put lb 2 uchar and shr p 16 255 +put lb 3 uchar and shr p 24 255 +put lb 4 uchar and shr p 32 255 +put lb 5 uchar and shr p 40 255 +put lb 6 uchar and shr p 48 255 +put lb 7 uchar shr p 56 +end + +fn lget to ulong +v = ulong 0 +for i ulong 8 +v = or v shl ulong get lb i mul i 8 +end +ret v +end + +fn ltake p ulong to ulong +fd = fopen lpath 0 len lpath 193 384 +if lt fd 0 +if eq fd -17 +ret 20 +end +ret 40 +end +lpid p +n = write int fd lb 0 8 +if ne n 8 +if ne fclose int fd 0 +ret 30 +end +ret 31 +end +if ne fclose int fd 0 +ret 31 +end +ret 0 +end + +fn lread to ulong +fd = fopen lpath 0 len lpath 0 0 +if lt fd 0 +ret 32 +end +n = read int fd lb 0 8 +if ne fclose int fd 0 +ret 33 +end +if ne n 8 +ret 34 +end +ret lget +end + +fn lrm to ulong +r = unlink lpath 0 len lpath +if lt r 0 +ret 0 +end +ret 0 +end + +fn ltry p ulong to ulong +r = ltake p +if eq r 0 +ret 0 +end +if ne r 20 +ret r +end +q = lread +if or eq q 32 or eq q 33 eq q 34 +ret 40 +end +k = killpid int q 0 +if ne k -3 +ret 20 +end +r = lrm +if ne r 0 +ret 41 +end +ret ltake p +end + +fn lacq p ulong tries ulong to ulong +i = ulong 0 +while lt i tries +r = ltry p +if eq r 0 +ret 0 +end +if ne r 20 +ret r +end +if ne sleepns 1000000 0 +ret 42 +end +i = add i 1 +end +ret 22 +end + +fn lrel to ulong +ret lrm +end +note SPDX-License-Identifier: AGPL-3.0-only +note Single-effect dispatcher over the action contract and durable store. +note The state is persisted in-flight before the effect. A generation change during the effect +note marks the operation unknown; a duplicate or performed record is refused. The effect here is +note a synthetic fork child: mode '1' writes generation2, mode '2' exits1, mode '0' exits0. +global dstat uchar 4 +global dpkt uchar 256 +global dn ulong 1 +global dpath uchar 128 +global dplen ulong 1 +global dpid ulong 1 +text truep "/bin/true" +text strictp "seed/authority/effect-ok" +fn dput16 v ulong to void +put dpkt get dn 0 uchar and v 255 +put dpkt add get dn 0 1 uchar shr v 8 +put dn 0 add get dn 0 2 +end +fn dcopy to void +for i ulong get dplen 0 +put dpkt add get dn 0 i get dpath i +end +put dn 0 add get dn 0 get dplen 0 +end +fn packtrue to ulong +put dn 0 0 +dput16 1 +dput16 len truep +for i ulong len truep +put dpkt add get dn 0 i get truep i +end +put dn 0 add get dn 0 len truep +ret get dn 0 +end +fn doreceipt r view ulong 32 s edit ulong 32 outcome ulong to void +for i ulong 32 +put s i 0 +end +put s 0 1 +put s 1 outcome +put s 2 get r 2 +put s 3 1 +put s 4 get r 4 +put s 5 get r 5 +for i ulong 24 +put s add 8 i get r add 8 i +end +end +fn dispatch r edit ulong 32 c view ulong 32 mode uchar to ulong +err = readrec r +if ne err 0 +ret 70 +end +err = lacq get dpid 0 1000 +if ne err 0 +ret 80 +end +g = readgen +if ne get sgerr 0 0 +lk = lrel +ret 71 +end +err = storevalid r g +if ne err 0 +lk = lrel +ret err +end +err = actstart r c +if ne err 0 +lk = lrel +ret err +end +err = writerec r +if ne err 0 +lk = lrel +ret 72 +end +lk = lrel +if ne lk 0 +ret 78 +end +pid = fork +if lt pid 0 +ret 73 +end +if eq pid 0 +if eq mode 49 +e = writegen 2 +if ne e 0 +exit int 97 +end +end +if eq mode 50 +exit int 1 +end +if eq mode 51 +n = packtrue +rr = execprog dpkt 0 n +exit int 98 +end +if eq mode 52 +put dn 0 0 +dput16 1 +dput16 get dplen 0 +dcopy +rx = execpure dpkt 0 get dn 0 +exit int 98 +end +exit int 0 +end +wr = waitpid int pid dstat 0 len dstat 0 +if ne wr long pid +ret 74 +end +sig = ulong get dstat 0 +code = ulong get dstat 1 +g2 = readgen +if ne get sgerr 0 0 +ret 75 +end +if ne g2 g +err = lacq get dpid 0 1000 +if ne err 0 +ret 80 +end +err = actlost r +err = writerec r +lk = lrel +ret 60 +end +err = lacq get dpid 0 1000 +if ne err 0 +ret 80 +end +s = new ulong 32 0 +outcome = ulong 0 +if and eq sig 0 eq code 0 +outcome = ulong 2 +end +doreceipt r s outcome +err = actrecon r s +if ne err 0 +err = writerec r +lk = lrel +ret 76 +end +err = writerec r +lk = lrel +if ne err 0 +ret 77 +end +if eq outcome 0 +ret 61 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Dispatcher checks: valid performed, duplicate, in-flight, unknown, limit, revocation and stale. +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "dispatch checks=" +text bd "build" +text dir "build/authority-store" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn plan r edit ulong 32 to void +for i ulong 32 +put r i 0 +end +put r 0 1 +put r 1 1 +put r 3 3 +put r 4 1 +put r 5 9 +put r 6 100 +for i ulong 24 +put r add i 8 add i 100 +end +end +fn context c edit ulong 32 to void +for i ulong 32 +put c i 0 +end +put c 0 1 +put c 1 1 +put c 2 50 +put c 4 1 +put c 5 9 +for i ulong 24 +put c add i 8 add i 100 +end +end +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end +fn main to int +put dpid 0 ulong getpid +lk = lrel +mk = makedir bd 0 len bd 448 +if or eq mk 0 eq mk -17 +else +ret 90 +end +if ne makedir dir 0 len dir 448 0 +put sb 0 0 +end +r = new ulong 32 0 +c = new ulong 32 0 +plan r +context c +check writegen 1 0 +check writerec r 0 +check dispatch r c 48 0 +check readrec r 0 +check get r 1 4 +check get r 2 1 +check dispatch r c 48 22 +plan r +check writegen 1 0 +check writerec r 0 +check dispatch r c 51 0 +check readrec r 0 +check get r 1 4 +plan r +check writegen 1 0 +check writerec r 0 +for i ulong len strictp +put dpath i get strictp i +end +put dplen 0 len strictp +check dispatch r c 52 0 +check readrec r 0 +check get r 1 4 +plan r +put r 1 2 +put r 2 1 +check writerec r 0 +check dispatch r c 48 20 +plan r +put r 1 3 +put r 2 1 +check writerec r 0 +check dispatch r c 48 21 +plan r +put r 3 1 +put r 2 1 +check writerec r 0 +check dispatch r c 48 23 +plan r +check writegen 1 0 +check writerec r 0 +check dispatch r c 49 60 +check readrec r 0 +check get r 1 3 +check readgen 2 +check writegen 2 0 +plan r +check writerec r 0 +check dispatch r c 48 52 +plan r +put r 1 2 +put r 2 1 +check writerec r 0 +err = actlost r +check err 0 +check writerec r 0 +check readrec r 0 +check get r 1 3 +ret summary +end diff --git a/seed/authority/dispatch-test.om b/seed/authority/dispatch-test.om new file mode 100644 index 000000000..bca49e5ac --- /dev/null +++ b/seed/authority/dispatch-test.om @@ -0,0 +1,139 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Dispatcher checks: valid performed, duplicate, in-flight, unknown, limit, revocation and stale. +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "dispatch checks=" +text bd "build" +text dir "build/authority-store" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn plan r edit ulong 32 to void +for i ulong 32 +put r i 0 +end +put r 0 1 +put r 1 1 +put r 3 3 +put r 4 1 +put r 5 9 +put r 6 100 +for i ulong 24 +put r add i 8 add i 100 +end +end +fn context c edit ulong 32 to void +for i ulong 32 +put c i 0 +end +put c 0 1 +put c 1 1 +put c 2 50 +put c 4 1 +put c 5 9 +for i ulong 24 +put c add i 8 add i 100 +end +end +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end +fn main to int +put dpid 0 ulong getpid +lk = lrel +mk = makedir bd 0 len bd 448 +if or eq mk 0 eq mk -17 +else +ret 90 +end +if ne makedir dir 0 len dir 448 0 +put sb 0 0 +end +r = new ulong 32 0 +c = new ulong 32 0 +plan r +context c +check writegen 1 0 +check writerec r 0 +check dispatch r c 48 0 +check readrec r 0 +check get r 1 4 +check get r 2 1 +check dispatch r c 48 22 +plan r +check writegen 1 0 +check writerec r 0 +check dispatch r c 51 0 +check readrec r 0 +check get r 1 4 +plan r +check writegen 1 0 +check writerec r 0 +for i ulong len strictp +put dpath i get strictp i +end +put dplen 0 len strictp +check dispatch r c 52 0 +check readrec r 0 +check get r 1 4 +plan r +put r 1 2 +put r 2 1 +check writerec r 0 +check dispatch r c 48 20 +plan r +put r 1 3 +put r 2 1 +check writerec r 0 +check dispatch r c 48 21 +plan r +put r 3 1 +put r 2 1 +check writerec r 0 +check dispatch r c 48 23 +plan r +check writegen 1 0 +check writerec r 0 +check dispatch r c 49 60 +check readrec r 0 +check get r 1 3 +check readgen 2 +check writegen 2 0 +plan r +check writerec r 0 +check dispatch r c 48 52 +plan r +put r 1 2 +put r 2 1 +check writerec r 0 +err = actlost r +check err 0 +check writerec r 0 +check readrec r 0 +check get r 1 3 +ret summary +end diff --git a/seed/authority/dispatch.om b/seed/authority/dispatch.om new file mode 100644 index 000000000..5c4cdefca --- /dev/null +++ b/seed/authority/dispatch.om @@ -0,0 +1,156 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Single-effect dispatcher over the action contract and durable store. +note The state is persisted in-flight before the effect. A generation change during the effect +note marks the operation unknown; a duplicate or performed record is refused. The effect here is +note a synthetic fork child: mode '1' writes generation2, mode '2' exits1, mode '0' exits0. +global dstat uchar 4 +global dpkt uchar 256 +global dn ulong 1 +global dpath uchar 128 +global dplen ulong 1 +global dpid ulong 1 +text truep "/bin/true" +text strictp "seed/authority/effect-ok" +fn dput16 v ulong to void +put dpkt get dn 0 uchar and v 255 +put dpkt add get dn 0 1 uchar shr v 8 +put dn 0 add get dn 0 2 +end +fn dcopy to void +for i ulong get dplen 0 +put dpkt add get dn 0 i get dpath i +end +put dn 0 add get dn 0 get dplen 0 +end +fn packtrue to ulong +put dn 0 0 +dput16 1 +dput16 len truep +for i ulong len truep +put dpkt add get dn 0 i get truep i +end +put dn 0 add get dn 0 len truep +ret get dn 0 +end +fn doreceipt r view ulong 32 s edit ulong 32 outcome ulong to void +for i ulong 32 +put s i 0 +end +put s 0 1 +put s 1 outcome +put s 2 get r 2 +put s 3 1 +put s 4 get r 4 +put s 5 get r 5 +for i ulong 24 +put s add 8 i get r add 8 i +end +end +fn dispatch r edit ulong 32 c view ulong 32 mode uchar to ulong +err = readrec r +if ne err 0 +ret 70 +end +err = lacq get dpid 0 1000 +if ne err 0 +ret 80 +end +g = readgen +if ne get sgerr 0 0 +lk = lrel +ret 71 +end +err = storevalid r g +if ne err 0 +lk = lrel +ret err +end +err = actstart r c +if ne err 0 +lk = lrel +ret err +end +err = writerec r +if ne err 0 +lk = lrel +ret 72 +end +lk = lrel +if ne lk 0 +ret 78 +end +pid = fork +if lt pid 0 +ret 73 +end +if eq pid 0 +if eq mode 49 +e = writegen 2 +if ne e 0 +exit int 97 +end +end +if eq mode 50 +exit int 1 +end +if eq mode 51 +n = packtrue +rr = execprog dpkt 0 n +exit int 98 +end +if eq mode 52 +put dn 0 0 +dput16 1 +dput16 get dplen 0 +dcopy +rx = execpure dpkt 0 get dn 0 +exit int 98 +end +exit int 0 +end +wr = waitpid int pid dstat 0 len dstat 0 +if ne wr long pid +ret 74 +end +sig = ulong get dstat 0 +code = ulong get dstat 1 +g2 = readgen +if ne get sgerr 0 0 +ret 75 +end +if ne g2 g +err = lacq get dpid 0 1000 +if ne err 0 +ret 80 +end +err = actlost r +err = writerec r +lk = lrel +ret 60 +end +err = lacq get dpid 0 1000 +if ne err 0 +ret 80 +end +s = new ulong 32 0 +outcome = ulong 0 +if and eq sig 0 eq code 0 +outcome = ulong 2 +end +doreceipt r s outcome +err = actrecon r s +if ne err 0 +err = writerec r +lk = lrel +ret 76 +end +err = writerec r +lk = lrel +if ne err 0 +ret 77 +end +if eq outcome 0 +ret 61 +end +ret 0 +end diff --git a/seed/authority/effect-ok b/seed/authority/effect-ok new file mode 100755 index 000000000..680d8f3c7 Binary files /dev/null and b/seed/authority/effect-ok differ diff --git a/seed/authority/effect-ok.om b/seed/authority/effect-ok.om new file mode 100644 index 000000000..67a1e26c1 --- /dev/null +++ b/seed/authority/effect-ok.om @@ -0,0 +1,3 @@ +fn main to int +ret int 0 +end diff --git a/seed/authority/lock-gate.om b/seed/authority/lock-gate.om new file mode 100644 index 000000000..64f1e271d --- /dev/null +++ b/seed/authority/lock-gate.om @@ -0,0 +1,215 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Cross-process lock for the authority store. A lock is an O_EXCL file containing the owner pid. +note A contending process retries with a bounded sleep; a lock whose pid is gone is reclaimed. +note This serializes the read-check-persist window. It does not serialize the effect itself. +global lb uchar 8 +text lpath "build/authority-store/lock" + +fn lpid p ulong to void +put lb 0 uchar and p 255 +put lb 1 uchar and shr p 8 255 +put lb 2 uchar and shr p 16 255 +put lb 3 uchar and shr p 24 255 +put lb 4 uchar and shr p 32 255 +put lb 5 uchar and shr p 40 255 +put lb 6 uchar and shr p 48 255 +put lb 7 uchar shr p 56 +end + +fn lget to ulong +v = ulong 0 +for i ulong 8 +v = or v shl ulong get lb i mul i 8 +end +ret v +end + +fn ltake p ulong to ulong +fd = fopen lpath 0 len lpath 193 384 +if lt fd 0 +if eq fd -17 +ret 20 +end +ret 40 +end +lpid p +n = write int fd lb 0 8 +if ne n 8 +if ne fclose int fd 0 +ret 30 +end +ret 31 +end +if ne fclose int fd 0 +ret 31 +end +ret 0 +end + +fn lread to ulong +fd = fopen lpath 0 len lpath 0 0 +if lt fd 0 +ret 32 +end +n = read int fd lb 0 8 +if ne fclose int fd 0 +ret 33 +end +if ne n 8 +ret 34 +end +ret lget +end + +fn lrm to ulong +r = unlink lpath 0 len lpath +if lt r 0 +ret 0 +end +ret 0 +end + +fn ltry p ulong to ulong +r = ltake p +if eq r 0 +ret 0 +end +if ne r 20 +ret r +end +q = lread +if or eq q 32 or eq q 33 eq q 34 +ret 40 +end +k = killpid int q 0 +if ne k -3 +ret 20 +end +r = lrm +if ne r 0 +ret 41 +end +ret ltake p +end + +fn lacq p ulong tries ulong to ulong +i = ulong 0 +while lt i tries +r = ltry p +if eq r 0 +ret 0 +end +if ne r 20 +ret r +end +if ne sleepns 1000000 0 +ret 42 +end +i = add i 1 +end +ret 22 +end + +fn lrel to ulong +ret lrm +end +note SPDX-License-Identifier: AGPL-3.0-only +note Lock checks: exclusive acquire, busy refusal, release, a forked waiter, and stale-pid reclaim. +text passm "lock checks=5 fails=0\n" +global checks ulong 1 +global fails ulong 1 +global lbuf uchar 8 +global rb uchar 8 +text childf "build/authority-store/lock.child" +text bd "build" +text ad "build/authority-store" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn cbyte c uchar to void +r = fopen childf 0 len childf 0 0 +if lt r 0 +put rb 0 255 +ret +end +n = read int r rb 0 1 +if ne fclose int r 0 +ret +end +end +fn main to int +r = makedir bd 0 len bd 448 +if or eq r 0 eq r -17 +else +ret 90 +end +r = makedir ad 0 len ad 448 +if or eq r 0 eq r -17 +else +ret 91 +end +u = lrel +u = ltry ulong getpid +check u 0 +u = ltry ulong getpid +check u 20 +u = lrel +if ne u 0 +ret 92 +end +u = ltry ulong getpid +check u 0 +pid = fork +if lt pid 0 +ret 93 +end +if eq pid 0 +u = lacq ulong getpid 1000 +put lbuf 0 uchar u +fd = fopen childf 0 len childf 577 384 +if lt fd 0 +exit 94 +end +n = write int fd lbuf 0 1 +if ne n 1 +exit 95 +end +exit 0 +end +if ne sleepns 50000000 0 +ret 96 +end +u = lrel +if ne u 0 +ret 97 +end +wr = waitpid int pid lbuf 0 8 0 +if ne wr long pid +ret 98 +end +cbyte 0 +check ulong get rb 0 0 +lpid 999999 +fd = fopen lpath 0 len lpath 577 384 +if lt fd 0 +ret 99 +end +n = write int fd lb 0 8 +if ne n 8 +ret 100 +end +u = ltry ulong getpid +check u 0 +u = lrel +if ne get fails 0 0 +ret 1 +end +nw = write 1 passm 0 len passm +if ne nw long len passm +ret 2 +end +ret 0 +end diff --git a/seed/authority/lock-test.om b/seed/authority/lock-test.om new file mode 100644 index 000000000..9733f31e6 --- /dev/null +++ b/seed/authority/lock-test.om @@ -0,0 +1,100 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Lock checks: exclusive acquire, busy refusal, release, a forked waiter, and stale-pid reclaim. +text passm "lock checks=5 fails=0\n" +global checks ulong 1 +global fails ulong 1 +global lbuf uchar 8 +global rb uchar 8 +text childf "build/authority-store/lock.child" +text bd "build" +text ad "build/authority-store" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn cbyte c uchar to void +r = fopen childf 0 len childf 0 0 +if lt r 0 +put rb 0 255 +ret +end +n = read int r rb 0 1 +if ne fclose int r 0 +ret +end +end +fn main to int +r = makedir bd 0 len bd 448 +if or eq r 0 eq r -17 +else +ret 90 +end +r = makedir ad 0 len ad 448 +if or eq r 0 eq r -17 +else +ret 91 +end +u = lrel +u = ltry ulong getpid +check u 0 +u = ltry ulong getpid +check u 20 +u = lrel +if ne u 0 +ret 92 +end +u = ltry ulong getpid +check u 0 +pid = fork +if lt pid 0 +ret 93 +end +if eq pid 0 +u = lacq ulong getpid 1000 +put lbuf 0 uchar u +fd = fopen childf 0 len childf 577 384 +if lt fd 0 +exit 94 +end +n = write int fd lbuf 0 1 +if ne n 1 +exit 95 +end +exit 0 +end +if ne sleepns 50000000 0 +ret 96 +end +u = lrel +if ne u 0 +ret 97 +end +wr = waitpid int pid lbuf 0 8 0 +if ne wr long pid +ret 98 +end +cbyte 0 +check ulong get rb 0 0 +lpid 999999 +fd = fopen lpath 0 len lpath 577 384 +if lt fd 0 +ret 99 +end +n = write int fd lb 0 8 +if ne n 8 +ret 100 +end +u = ltry ulong getpid +check u 0 +u = lrel +if ne get fails 0 0 +ret 1 +end +nw = write 1 passm 0 len passm +if ne nw long len passm +ret 2 +end +ret 0 +end diff --git a/seed/authority/lock.om b/seed/authority/lock.om new file mode 100644 index 000000000..bc3acb723 --- /dev/null +++ b/seed/authority/lock.om @@ -0,0 +1,115 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Cross-process lock for the authority store. A lock is an O_EXCL file containing the owner pid. +note A contending process retries with a bounded sleep; a lock whose pid is gone is reclaimed. +note This serializes the read-check-persist window. It does not serialize the effect itself. +global lb uchar 8 +text lpath "build/authority-store/lock" + +fn lpid p ulong to void +put lb 0 uchar and p 255 +put lb 1 uchar and shr p 8 255 +put lb 2 uchar and shr p 16 255 +put lb 3 uchar and shr p 24 255 +put lb 4 uchar and shr p 32 255 +put lb 5 uchar and shr p 40 255 +put lb 6 uchar and shr p 48 255 +put lb 7 uchar shr p 56 +end + +fn lget to ulong +v = ulong 0 +for i ulong 8 +v = or v shl ulong get lb i mul i 8 +end +ret v +end + +fn ltake p ulong to ulong +fd = fopen lpath 0 len lpath 193 384 +if lt fd 0 +if eq fd -17 +ret 20 +end +ret 40 +end +lpid p +n = write int fd lb 0 8 +if ne n 8 +if ne fclose int fd 0 +ret 30 +end +ret 31 +end +if ne fclose int fd 0 +ret 31 +end +ret 0 +end + +fn lread to ulong +fd = fopen lpath 0 len lpath 0 0 +if lt fd 0 +ret 32 +end +n = read int fd lb 0 8 +if ne fclose int fd 0 +ret 33 +end +if ne n 8 +ret 34 +end +ret lget +end + +fn lrm to ulong +r = unlink lpath 0 len lpath +if lt r 0 +ret 0 +end +ret 0 +end + +fn ltry p ulong to ulong +r = ltake p +if eq r 0 +ret 0 +end +if ne r 20 +ret r +end +q = lread +if or eq q 32 or eq q 33 eq q 34 +ret 40 +end +k = killpid int q 0 +if ne k -3 +ret 20 +end +r = lrm +if ne r 0 +ret 41 +end +ret ltake p +end + +fn lacq p ulong tries ulong to ulong +i = ulong 0 +while lt i tries +r = ltry p +if eq r 0 +ret 0 +end +if ne r 20 +ret r +end +if ne sleepns 1000000 0 +ret 42 +end +i = add i 1 +end +ret 22 +end + +fn lrel to ulong +ret lrm +end diff --git a/seed/authority/reuse-gate.om b/seed/authority/reuse-gate.om new file mode 100644 index 000000000..68ac0eabe --- /dev/null +++ b/seed/authority/reuse-gate.om @@ -0,0 +1,228 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note KV reuse admission v1. This module hashes nothing and deserializes no payload. +note The store must hash the exact payload with its existing SHA-256 owner before calling. +note Header words 0..7: format,semantic-profile,prefix-tokens,context-size,layout,dtype,rope-profile,reserved. +note Seven four-word identities: model,weights,engine,tokenizer,scope,prefix-tokens,numeric-target-config. +note Saved words 36..39 are payload SHA-256. Expected words 36..39 must be zero. + +fn kvvalid p view ulong 40 to ulong +if ne get p 0 1 +ret 100 +end +if ne get p 7 0 +ret 102 +end +for i ulong 6 +if eq get p add i 1 0 +ret 103 +end +end +if gt get p 2 get p 3 +ret 103 +end +if gt get p 5 4 +ret 103 +end +for g ulong 7 +bits = ulong 0 +for j ulong 4 +bits = or bits get p add 8 add mul g 4 j +end +if eq bits 0 +ret 104 +end +end +ret 0 +end + +fn kvmatch s view ulong 40 w view ulong 40 h view ulong 4 to ulong +err = kvvalid s +if ne err 0 +ret err +end +err = kvvalid w +if ne err 0 +ret err +end +bits = ulong 0 +for i ulong 4 +if ne get w add i 36 0 +ret 128 +end +bits = or bits get s add i 36 +end +if eq bits 0 +ret 104 +end +for i ulong 6 +if ne get s add i 1 get w add i 1 +ret add 111 i +end +end +for g ulong 7 +diff = ulong 0 +for j ulong 4 +at = add 8 add mul g 4 j +diff = or diff xor get s at get w at +end +if ne diff 0 +ret add 120 g +end +end +diff = ulong 0 +for i ulong 4 +diff = or diff xor get s add i 36 get h i +end +if ne diff 0 +ret 127 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "reuse checks=" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn profile p edit ulong 40 to void +for i ulong 40 +put p i 0 +end +put p 0 1 +put p 1 1 +put p 2 32 +put p 3 4096 +put p 4 1 +put p 5 2 +put p 6 1 +for i ulong 28 +put p add i 8 add i 100 +end +end +fn saved s edit ulong 40 to void +profile s +for i ulong 4 +put s add i 36 add i 200 +end +end +fn payload h edit ulong 4 to void +for i ulong 4 +put h i add i 200 +end +end +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end +fn main to int +s = new ulong 40 0 +w = new ulong 40 0 +h = new ulong 4 0 +saved s +profile w +payload h +check kvmatch s w h 0 +for i ulong 6 +saved s +put s add i 1 add get s add i 1 1 +check kvmatch s w h add 111 i +end +for i ulong 28 +saved s +put s add i 8 add get s add i 8 1 +check kvmatch s w h add 120 div i 4 +end +for i ulong 4 +saved s +payload h +put h i add get h i 1 +check kvmatch s w h 127 +end +payload h +for g ulong 7 +saved s +profile w +for j ulong 4 +put s add 8 add mul g 4 j 0 +end +check kvmatch s w h 104 +saved s +for j ulong 4 +put w add 8 add mul g 4 j 0 +end +check kvmatch s w h 104 +end +profile w +saved s +put s 0 2 +check kvmatch s w h 100 +saved s +put w 0 2 +check kvmatch s w h 100 +profile w +put s 7 1 +check kvmatch s w h 102 +saved s +put w 7 1 +check kvmatch s w h 102 +profile w +for i ulong 6 +saved s +put s add i 1 0 +check kvmatch s w h 103 +end +saved s +put s 2 4097 +check kvmatch s w h 103 +saved s +put s 5 5 +check kvmatch s w h 103 +saved s +for i ulong 4 +put s add i 36 0 +end +check kvmatch s w h 104 +saved s +for i ulong 4 +profile w +put w add i 36 1 +check kvmatch s w h 128 +end +profile w +saved s +check kvmatch s w h 0 +note Whole-token prefix identity is required even if lengths match. +put w 28 999 +check kvmatch s w h 125 +profile w +put w 24 999 +check kvmatch s w h 124 +profile w +put w 16 999 +check kvmatch s w h 122 +ret summary +end diff --git a/seed/authority/reuse-test.om b/seed/authority/reuse-test.om new file mode 100644 index 000000000..a583bf124 --- /dev/null +++ b/seed/authority/reuse-test.om @@ -0,0 +1,148 @@ +note SPDX-License-Identifier: AGPL-3.0-only +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "reuse checks=" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn profile p edit ulong 40 to void +for i ulong 40 +put p i 0 +end +put p 0 1 +put p 1 1 +put p 2 32 +put p 3 4096 +put p 4 1 +put p 5 2 +put p 6 1 +for i ulong 28 +put p add i 8 add i 100 +end +end +fn saved s edit ulong 40 to void +profile s +for i ulong 4 +put s add i 36 add i 200 +end +end +fn payload h edit ulong 4 to void +for i ulong 4 +put h i add i 200 +end +end +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end +fn main to int +s = new ulong 40 0 +w = new ulong 40 0 +h = new ulong 4 0 +saved s +profile w +payload h +check kvmatch s w h 0 +for i ulong 6 +saved s +put s add i 1 add get s add i 1 1 +check kvmatch s w h add 111 i +end +for i ulong 28 +saved s +put s add i 8 add get s add i 8 1 +check kvmatch s w h add 120 div i 4 +end +for i ulong 4 +saved s +payload h +put h i add get h i 1 +check kvmatch s w h 127 +end +payload h +for g ulong 7 +saved s +profile w +for j ulong 4 +put s add 8 add mul g 4 j 0 +end +check kvmatch s w h 104 +saved s +for j ulong 4 +put w add 8 add mul g 4 j 0 +end +check kvmatch s w h 104 +end +profile w +saved s +put s 0 2 +check kvmatch s w h 100 +saved s +put w 0 2 +check kvmatch s w h 100 +profile w +put s 7 1 +check kvmatch s w h 102 +saved s +put w 7 1 +check kvmatch s w h 102 +profile w +for i ulong 6 +saved s +put s add i 1 0 +check kvmatch s w h 103 +end +saved s +put s 2 4097 +check kvmatch s w h 103 +saved s +put s 5 5 +check kvmatch s w h 103 +saved s +for i ulong 4 +put s add i 36 0 +end +check kvmatch s w h 104 +saved s +for i ulong 4 +profile w +put w add i 36 1 +check kvmatch s w h 128 +end +profile w +saved s +check kvmatch s w h 0 +note Whole-token prefix identity is required even if lengths match. +put w 28 999 +check kvmatch s w h 125 +profile w +put w 24 999 +check kvmatch s w h 124 +profile w +put w 16 999 +check kvmatch s w h 122 +ret summary +end diff --git a/seed/authority/reuse.om b/seed/authority/reuse.om new file mode 100644 index 000000000..38a16bb0c --- /dev/null +++ b/seed/authority/reuse.om @@ -0,0 +1,80 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note KV reuse admission v1. This module hashes nothing and deserializes no payload. +note The store must hash the exact payload with its existing SHA-256 owner before calling. +note Header words 0..7: format,semantic-profile,prefix-tokens,context-size,layout,dtype,rope-profile,reserved. +note Seven four-word identities: model,weights,engine,tokenizer,scope,prefix-tokens,numeric-target-config. +note Saved words 36..39 are payload SHA-256. Expected words 36..39 must be zero. + +fn kvvalid p view ulong 40 to ulong +if ne get p 0 1 +ret 100 +end +if ne get p 7 0 +ret 102 +end +for i ulong 6 +if eq get p add i 1 0 +ret 103 +end +end +if gt get p 2 get p 3 +ret 103 +end +if gt get p 5 4 +ret 103 +end +for g ulong 7 +bits = ulong 0 +for j ulong 4 +bits = or bits get p add 8 add mul g 4 j +end +if eq bits 0 +ret 104 +end +end +ret 0 +end + +fn kvmatch s view ulong 40 w view ulong 40 h view ulong 4 to ulong +err = kvvalid s +if ne err 0 +ret err +end +err = kvvalid w +if ne err 0 +ret err +end +bits = ulong 0 +for i ulong 4 +if ne get w add i 36 0 +ret 128 +end +bits = or bits get s add i 36 +end +if eq bits 0 +ret 104 +end +for i ulong 6 +if ne get s add i 1 get w add i 1 +ret add 111 i +end +end +for g ulong 7 +diff = ulong 0 +for j ulong 4 +at = add 8 add mul g 4 j +diff = or diff xor get s at get w at +end +if ne diff 0 +ret add 120 g +end +end +diff = ulong 0 +for i ulong 4 +diff = or diff xor get s add i 36 get h i +end +if ne diff 0 +ret 127 +end +ret 0 +end diff --git a/seed/authority/store-gate.om b/seed/authority/store-gate.om new file mode 100644 index 000000000..3861e397b --- /dev/null +++ b/seed/authority/store-gate.om @@ -0,0 +1,242 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Durable 32-word authority record store. Caller supplies the record and generation. +note Writes a temporary 256-byte file, fsyncs it, then atomically renames it into place. +note Reads require exactly 256 bytes; a short or torn file is refused. No lock is claimed. +text recp "build/authority-store/rec" +text tmpp "build/authority-store/tmp" +text genp "build/authority-store/gen" +global sb uchar 256 +global spkt uchar 256 +global sn ulong 1 +global spath uchar 128 +global splen ulong 1 +fn put16 v ulong to void +put spkt get sn 0 uchar and v 255 +put spkt add get sn 0 1 uchar shr v 8 +put sn 0 add get sn 0 2 +end +fn setrec to void +put splen 0 len recp +for i ulong len recp +put spath i get recp i +end +end +fn settmp to void +put splen 0 len tmpp +for i ulong len tmpp +put spath i get tmpp i +end +end +fn setgen to void +put splen 0 len genp +for i ulong len genp +put spath i get genp i +end +end +fn pack2 to ulong +put sn 0 0 +put16 2 +put16 len tmpp +for i ulong len tmpp +put spkt add get sn 0 i get tmpp i +end +put sn 0 add get sn 0 len tmpp +put16 len recp +for i ulong len recp +put spkt add get sn 0 i get recp i +end +put sn 0 add get sn 0 len recp +ret get sn 0 +end +fn enc r view ulong 32 to void +for i ulong 32 +v = get r i +for j ulong 8 +put sb add mul i 8 j uchar and shr v mul j 8 255 +end +end +end +fn dec r edit ulong 32 to ulong +for i ulong 32 +v = ulong 0 +for j ulong 8 +v = or v shl ulong get sb add mul i 8 j mul j 8 +end +put r i v +end +ret 0 +end +fn writerec r view ulong 32 to ulong +enc r +settmp +fd = fopen spath 0 get splen 0 577 384 +if lt fd 0 +ret 10 +end +n = write int fd sb 0 256 +if ne n 256 +ret 11 +end +if ne fsync int fd 0 +ret 12 +end +if ne fclose int fd 0 +ret 13 +end +pn = pack2 +rr = renames spkt 0 pn 0 +if lt rr 0 +ret 14 +end +ret 0 +end +fn readrec r edit ulong 32 to ulong +setrec +fd = fopen spath 0 get splen 0 0 0 +if lt fd 0 +ret 20 +end +n = read int fd sb 0 256 +if ne fclose int fd 0 +ret 21 +end +if ne n 256 +ret 22 +end +dv = dec r +ret 0 +end +fn readgen to ulong +setgen +fd = fopen spath 0 get splen 0 0 0 +if lt fd 0 +ret 30 +end +n = read int fd sb 0 8 +if ne fclose int fd 0 +ret 31 +end +if ne n 8 +ret 32 +end +v = ulong 0 +for j ulong 8 +v = or v shl ulong get sb j mul j 8 +end +ret v +end +fn writegen v ulong to ulong +setgen +fd = fopen spath 0 get splen 0 577 384 +if lt fd 0 +ret 40 +end +for j ulong 8 +put sb j uchar and shr v mul j 8 255 +end +n = write int fd sb 0 8 +if ne n 8 +ret 41 +end +if ne fsync int fd 0 +ret 42 +end +if ne fclose int fd 0 +ret 43 +end +ret 0 +end +fn storevalid r view ulong 32 g ulong to ulong +if ne get r 0 1 +ret 51 +end +if ne get r 4 g +ret 52 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Store checks: exact read/write, torn file refusal, generation mismatch and atomic replace. +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "store checks=" +text dir "build/authority-store" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn fill r edit ulong 32 seed ulong gen ulong to void +for i ulong 32 +put r i add seed i +end +put r 0 1 +put r 1 1 +put r 3 8 +put r 4 gen +end +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end +fn main to int +if ne makedir dir 0 len dir 448 0 +put sb 0 0 +end +r = new ulong 32 0 +q = new ulong 32 0 +fill r 100 1 +check writerec r 0 +fill q 0 0 +check readrec q 0 +for i ulong 32 +check get q i get r i +end +check storevalid q 1 0 +check writegen 1 0 +check readgen 1 +check storevalid q 2 52 +setrec +fd = fopen spath 0 get splen 0 577 384 +if lt fd 0 +check 0 1 +else +n = write int fd sb 0 3 +if ne fclose int fd 0 +check 0 1 +end +check readrec q 22 +end +check writerec r 0 +check writegen 2 0 +check readgen 2 +fill r 200 2 +check writerec r 0 +check readrec q 0 +for i ulong 32 +check get q i get r i +end +check storevalid q 2 0 +ret summary +end diff --git a/seed/authority/store-test.om b/seed/authority/store-test.om new file mode 100644 index 000000000..fd603e664 --- /dev/null +++ b/seed/authority/store-test.om @@ -0,0 +1,85 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Store checks: exact read/write, torn file refusal, generation mismatch and atomic replace. +global checks ulong 1 +global fails ulong 1 +global report uchar 64 +text title "store checks=" +text dir "build/authority-store" +fn check got ulong want ulong to void +put checks 0 add get checks 0 1 +if ne got want +put fails 0 add get fails 0 1 +end +end +fn fill r edit ulong 32 seed ulong gen ulong to void +for i ulong 32 +put r i add seed i +end +put r 0 1 +put r 1 1 +put r 3 8 +put r 4 gen +end +fn summary to int +for i ulong len title +put report i get title i +end +n = get checks 0 +at = len title +put report at uchar add 48 div n 100 +put report add at 1 uchar add 48 rem div n 10 10 +put report add at 2 uchar add 48 rem n 10 +put report add at 3 32 +put report add at 4 uchar add 48 div get fails 0 100 +put report add at 5 uchar add 48 rem div get fails 0 10 10 +put report add at 6 uchar add 48 rem get fails 0 10 +put report add at 7 10 +w = write 1 report 0 add at 8 +if ne w long add at 8 +ret 2 +end +if ne get fails 0 0 +ret 1 +end +ret 0 +end +fn main to int +if ne makedir dir 0 len dir 448 0 +put sb 0 0 +end +r = new ulong 32 0 +q = new ulong 32 0 +fill r 100 1 +check writerec r 0 +fill q 0 0 +check readrec q 0 +for i ulong 32 +check get q i get r i +end +check storevalid q 1 0 +check writegen 1 0 +check readgen 1 +check storevalid q 2 52 +setrec +fd = fopen spath 0 get splen 0 577 384 +if lt fd 0 +check 0 1 +else +n = write int fd sb 0 3 +if ne fclose int fd 0 +check 0 1 +end +check readrec q 22 +end +check writerec r 0 +check writegen 2 0 +check readgen 2 +fill r 200 2 +check writerec r 0 +check readrec q 0 +for i ulong 32 +check get q i get r i +end +check storevalid q 2 0 +ret summary +end diff --git a/seed/authority/store.om b/seed/authority/store.om new file mode 100644 index 000000000..3a50b8c2b --- /dev/null +++ b/seed/authority/store.om @@ -0,0 +1,163 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Durable 32-word authority record store. Caller supplies the record and generation. +note Writes a temporary 256-byte file, fsyncs it, then atomically renames it into place. +note Reads require exactly 256 bytes; a short or torn file is refused. Store calls do not lock; the +note dispatcher holds lock.om around its read-check-persist window. +text recp "build/authority-store/rec" +text tmpp "build/authority-store/tmp" +text genp "build/authority-store/gen" +global sb uchar 256 +global spkt uchar 256 +global sn ulong 1 +global spath uchar 128 +global splen ulong 1 +global sgerr ulong 1 +fn put16 v ulong to void +put spkt get sn 0 uchar and v 255 +put spkt add get sn 0 1 uchar shr v 8 +put sn 0 add get sn 0 2 +end +fn setrec to void +put splen 0 len recp +for i ulong len recp +put spath i get recp i +end +end +fn settmp to void +put splen 0 len tmpp +for i ulong len tmpp +put spath i get tmpp i +end +end +fn setgen to void +put splen 0 len genp +for i ulong len genp +put spath i get genp i +end +end +fn pack2 to ulong +put sn 0 0 +put16 2 +put16 len tmpp +for i ulong len tmpp +put spkt add get sn 0 i get tmpp i +end +put sn 0 add get sn 0 len tmpp +put16 len recp +for i ulong len recp +put spkt add get sn 0 i get recp i +end +put sn 0 add get sn 0 len recp +ret get sn 0 +end +fn enc r view ulong 32 to void +for i ulong 32 +v = get r i +for j ulong 8 +put sb add mul i 8 j uchar and shr v mul j 8 255 +end +end +end +fn dec r edit ulong 32 to ulong +for i ulong 32 +v = ulong 0 +for j ulong 8 +v = or v shl ulong get sb add mul i 8 j mul j 8 +end +put r i v +end +ret 0 +end +fn writerec r view ulong 32 to ulong +enc r +settmp +fd = fopen spath 0 get splen 0 577 384 +if lt fd 0 +ret 10 +end +n = write int fd sb 0 256 +if ne n 256 +ret 11 +end +if ne fsync int fd 0 +ret 12 +end +if ne fclose int fd 0 +ret 13 +end +pn = pack2 +rr = renames spkt 0 pn 0 +if lt rr 0 +ret 14 +end +ret 0 +end +fn readrec r edit ulong 32 to ulong +setrec +fd = fopen spath 0 get splen 0 0 0 +if lt fd 0 +ret 20 +end +n = read int fd sb 0 256 +if ne fclose int fd 0 +ret 21 +end +if ne n 256 +ret 22 +end +dv = dec r +ret 0 +end +fn readgen to ulong +put sgerr 0 0 +setgen +fd = fopen spath 0 get splen 0 0 0 +if lt fd 0 +put sgerr 0 30 +ret 0 +end +n = read int fd sb 0 8 +if ne fclose int fd 0 +put sgerr 0 31 +ret 0 +end +if ne n 8 +put sgerr 0 32 +ret 0 +end +v = ulong 0 +for j ulong 8 +v = or v shl ulong get sb j mul j 8 +end +ret v +end +fn writegen v ulong to ulong +setgen +fd = fopen spath 0 get splen 0 577 384 +if lt fd 0 +ret 40 +end +for j ulong 8 +put sb j uchar and shr v mul j 8 255 +end +n = write int fd sb 0 8 +if ne n 8 +ret 41 +end +if ne fsync int fd 0 +ret 42 +end +if ne fclose int fd 0 +ret 43 +end +ret 0 +end +fn storevalid r view ulong 32 g ulong to ulong +if ne get r 0 1 +ret 51 +end +if ne get r 4 g +ret 52 +end +ret 0 +end diff --git a/seed/equiv/.crumb b/seed/equiv/.crumb index c1f1ddce3..185f3bd20 100644 --- a/seed/equiv/.crumb +++ b/seed/equiv/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:dc54c161dbd2a16a262e0845d98de059aa2da20e6a24aaaa480761d8b38b756a", + "digest": "sha256:a3f917cdffb24692964e96e9dff03a6e72cb8507b857dc7c517a4ce6b9672bfe", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 9, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:a62d530d6b0dbf8977d2e4df242f2f18adbedeec56a104b7a062c6e2ce16bd88" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:b6609361b5aef8d8b0fa25e2ce9e74e105d99674abde3f150a0360122619fcca" } }, "layer": "seed", diff --git a/seed/equiv/gate-irequiv.sh b/seed/equiv/gate-irequiv.sh index 7de1f9979..cceca7fef 100755 --- a/seed/equiv/gate-irequiv.sh +++ b/seed/equiv/gate-irequiv.sh @@ -6,7 +6,7 @@ set -eu cd "$(dirname "$0")/../.." [ "$(uname -m)" = aarch64 ] || { echo "SKIP gate-irequiv: needs aarch64 (omc emits AArch64)"; exit 0; } OMC=seed/out/omc -PIN=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +PIN=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de [ "$(sha256sum "$OMC" | cut -d' ' -f1)" = "$PIN" ] || { echo "FAIL pin: $OMC"; exit 1; } B=build/seed/equiv mkdir -p "$B" diff --git a/seed/host/README.md b/seed/host/README.md index f0db7ef43..af31fa20c 100644 --- a/seed/host/README.md +++ b/seed/host/README.md @@ -27,11 +27,15 @@ On a machine without the Spark build coordinator, run the script directly. The script rebuilds the seed chain, proves compiler self-reproduction, runs native Omega fixtures, rejects malformed inputs, and compares the original fixture corpus against the original native parent. It does not run the older -C-reference gate scripts. +C-reference gate scripts. The fixture gate itself is `seed/host/gate.om`, +compiled by `seed/out/omc`; the remaining shell step only builds and launches +it. Verified on the Spark on 2026-10-23: - Native file create/read/write/seek/sync/chmod/close/unlink and errno checks. +- Current-directory change, file creation below it and unlink through the + native `chdir` word. - Monotonic nanoseconds, realtime nanoseconds and a measured native sleep. - Argument copying, including empty arguments, spaces, UTF-8 bytes, and refusal of short output buffers without modifying them. @@ -99,7 +103,7 @@ negative error. The lowering and positive-PID assertion are corrected here. Run the candidate host gate without replacing the committed compiler: ```sh -OMC=/absolute/path/to/candidate-omc nice -n 19 ionice -c3 sh seed/host/gate.sh +nice -n 19 ionice -c3 sh -c 'seed/out/omc < seed/host/gate.om > build/seed/host/gate && chmod +x build/seed/host/gate && build/seed/host/gate /absolute/path/to/candidate-omc' OMC=/absolute/path/to/candidate-omc nice -n 19 ionice -c3 sh seed/host/negative.sh nice -n 19 ionice -c3 python3 seed/host/net-mutant.py nice -n 19 ionice -c3 sh seed/omc/gate18.sh @@ -111,9 +115,9 @@ or hardware qualification. Compiler integration owns the batch reseed. wrong-word source through the committed seed (or `OMC` override), then requires the real fixture to pass the original and exit 1 for the mutant. Its controls restore the wrong `getppid` syscall and turn an option refusal into success. -The host gate's `OMC` selector applies to every compilation, including nested -device/mapping refusal programs and generated identity fixtures; early -candidate-only logs from before that correction contain mixed-compiler evidence. +The host gate's compiler argument (`gate.om` argv[1]) applies to every compilation, +including nested device/mapping refusal programs and generated identity fixtures; +early candidate-only logs from before that correction contain mixed-compiler evidence. The Linux interface authorities are `asm-generic/unistd.h` (`ppoll` 73, `getsockopt` 209, `sendmsg` 211), `asm-generic/socket.h`, and `linux/tcp.h`. Instruction emission uses the existing Arm ARM forms; `STR` unsigned-offset diff --git a/seed/host/check.sh b/seed/host/check.sh index 7fa032f9a..31ef71f28 100644 --- a/seed/host/check.sh +++ b/seed/host/check.sh @@ -103,7 +103,10 @@ sed '1d' "$run/native.out" > "$run/native.rows" [ "$(wc -l < "$run/oracle.rows")" = "$(wc -l < seed/omc/contracts/parity.inputs)" ] cmp "$run/oracle.rows" "$run/native.rows" echo 'PASS contract C parity: exact values, canonical bits and traps' -sh seed/host/gate.sh +mkdir -p build/seed/host +seed/out/omc < seed/host/gate.om > build/seed/host/gate +chmod +x build/seed/host/gate +build/seed/host/gate sh seed/host/negative.sh sh seed/host/regression.sh sh seed/host/cpufence.sh diff --git a/seed/host/gate.om b/seed/host/gate.om new file mode 100644 index 000000000..ad27b7fca --- /dev/null +++ b/seed/host/gate.om @@ -0,0 +1,837 @@ +note Native host fixture gate. Run from the repository root. +note An optional argv[1] names the candidate compiler (absolute, or relative to the root); +note the default is seed/out/omc. That compiler builds every fixture and every generated +note identity program, and the compiler-refusal fixture receives it as its argv[1]. +note Fixtures run in a fresh stage directory: any earlier stage is removed first, each child +note exit status and timeout is checked, required leftovers are checked, and after a pass the +note stage is removed. A failure prints the fixture and keeps the stage for inspection. +note The environment fixture runs as /usr/bin/env OMTEST=hello ./environment because +note execprog passes an empty environment. Identity fixtures are judged against the real +note and effective ids that /proc/self/status reports, not against the words under test. +om2 + +text omcdef "seed/out/omc" +text up4 "../../../../" +text b1 "build" +text b2 "build/seed" +text b3 "build/seed/host" +text stage "build/seed/host/run" +text slash "/" +text dotslash "./" +text tests "seed/host/tests/" +text dotom ".om" +text argsbin "build/seed/host/run/args" +text echild "build/seed/host/run/exec-child" +text idom "build/seed/host/run/id.om" +text idbin "build/seed/host/run/id.bin" +text idname "id.bin" +text pself "/proc/self/status" +text kuid "\nUid:\t" +text kgid "\nGid:\t" +text envbin "/usr/bin/env" +text omtest "OMTEST=hello" +text envfx "./environment" +text empty "" +text twowords "two words" +text pi "π" +text tcp "tcp" +text c1 "1" +text c2 "2" +text c3 "3" +text nfiles "files" +text nargs "args" +text nnetwork "network" +text nprocess "process" +text ndirs "directories" +text nerrors "errors" +text nloc "location" +text nsockopt "sockopt" +text nnetdata "netdata" +text nnetpeer "netpeer" +text ndevice "device" +text ndevcall "devcall" +text nuvmctl "uvmctl" +text nmapping "mapping" +text nmapio "mapio" +text nreserve "reserve" +text nmemchk "memcheck" +text nstruct "structfile" +text nrandom "random" +text nenv "environment" +text nchdir "chdir" +text ntrunc "trunc" +text nstat "stat" +text nstatsh "stat_short" +text nlinks "links" +text nlinksh "links_short" +text nchmod "chmod" +text nchown "chown" +text nfaccess "faccess" +text nfchdir "fchdir" +text nfdsync "fdsync" +text npio "pio" +text npsync "psync" +text nflock "flock" +text npgroup "pgroup" +text nlstat "lstat" +text ntrnc "truncate" +text nenvtrap "environment_trap" +text srcuid "fn main to int\nret int getuid\nend\n" +text srceuid "fn main to int\nret int geteuid\nend\n" +text srcgid "fn main to int\nret int getgid\nend\n" +text srcegid "fn main to int\nret int getegid\nend\n" +text srcpp1 "fn main to int\nret int rem getppid long 256\nend\n" +text srcpp2 "fn main to int\nret int rem getppid long 251\nend\n" +text lprobe "probe.bin" +text lsock "native.sock" +text ladir "adir" +text lbefore "before" +text lafter "after" +text lregular "regular-file" +text lnetdata "netdata.sock" +text lnetpeer "netpeer.sock" +text lmapped "mapped.bin" +text lreserve "reserve.bin" +text lstruct "structfile.tmp" +text lsubin "sub/inside" +text lsubdir "subdir/inside" +text lflock "flock.tmp" +text fm "PASS native files, errno, exclusive creation, permissions, seek, sync and monotonic time\n" +text am "PASS native argument access, empty arguments, UTF-8 bytes and short-buffer refusal\n" +text nm "PASS native socket exchange, poll timeout, fork, accept and child reaping\n" +text tm "PASS native TCP loopback exchange on an OS-assigned port\n" +text pm "PASS native exec with exact arguments, exec failure, pipes, descriptor duplication, sleep, kill and wait\n" +text dm "PASS native directory enumeration, file metadata and rename without overwriting\n" +text em "PASS native syscall errors and nested expression register preservation\n" +text lm "PASS native cwd and readlnk offsets, counts, truncation, errno and private path copy\n" +text sm "PASS native socket options with independent bind behavior, readonly input and errno\n" +text ndm "PASS native network slice bounds and poll record-size refusal\n" +text dvm "PASS native checked device ioctl composed with host files and pipes\n" +text sfm "PASS struct values and native file operations in one program\n" +text rdm "PASS native random: exact count, non-zero, two calls differ, invalid flags refused\n" +text evm "PASS native environment: count, entry bytes, short-buffer refusal\n" +text cdm "PASS native chdir: relative file created in the new directory; missing path refused\n" +text trm "PASS native ftrunc: write, shorten, rewind, read 4 then EOF; closed fd refused\n" +text stm "PASS native stat: size field, missing path errno, 128-byte structure\n" +text ssm "PASS native stat: short output traps 3 before the kernel\n" +text lkm "PASS native link/symlnk: hard link nlink 2, symlink target, unlink\n" +text lsm "PASS native link: one-record packed list traps 3\n" +text chm "PASS native chmod: 0600 mode in st_mode; missing path errno\n" +text com "PASS native chown: owner uid kept in st_uid; missing path errno\n" +text fam "PASS native faccess: existing path accepted, missing path refused\n" +text idm "PASS native identity: getuid/geteuid/getgid/getegid match /proc/self/status\n" +text fcm "PASS native fchdir/umask/getppid: directory fd, 0777 under mask 0, parent id\n" +text ppm "PASS native getppid: parent id equals the gate process pid (mod 256 and mod 251)\n" +text fdm "PASS native fdsync/memfd: data sync, closed fd refused, anonymous file rw\n" +text pim "PASS native pread/pwrite: positioned I/O, bytes intact, closed fd refused\n" +text psm "PASS native getsid/syncfs/shutdown: session id, filesystem sync, non-socket refusal\n" +text flm "PASS native flock: exclusive lock blocks a second open (EWOULDBLOCK), unlock, shared, EINVAL, EBADF\n" +text pgm "PASS native process groups: getpgid/setpgid, setsid or EPERM\n" +text lstm "PASS native lstat: stat follows the link, lstat reports S_IFLNK\n" +text tcm "PASS native truncate: path length set to 4; missing path errno\n" +text etm "PASS native environment: index at the count traps 3\n" +text failp "GATE-HOST FAIL " +text fails "; retained stage build/seed/host/run\n" +text usage "usage: gate [compiler]\n" + +global omcp uchar 4096 +global omcn ulong 1 +global cur uchar 64 +global curn ulong 1 +global path uchar 4096 +global pathn ulong 1 +global wpath uchar 4096 +global argv uchar 8192 +global argc ulong 1 +global apos ulong 1 +global alast ulong 1 +global statbuf uchar 4 +global copybuf uchar 4096 +global pst uchar 8192 +global pstn ulong 1 + +fn stop to void +r = write 2 failp 0 len failp +r = write 2 cur 0 get curn 0 +r = write 2 fails 0 len fails +exit 99 +end + +fn setcur t view uchar * to void +n = len t +if gt n 64 +n = ulong 64 +end +for i ulong n +put cur i get t i +end +put curn 0 n +end + +fn setomc to void +c = argcnt +if eq c 1 +for i ulong len omcdef +put omcp i get omcdef i +end +put omcn 0 len omcdef +ret +end +if ne c 2 +r = write 2 usage 0 len usage +exit 2 +end +n = argread 1 omcp 0 4096 +if le n 0 +r = write 2 usage 0 len usage +exit 2 +end +put omcn 0 ulong n +end + +fn mkd t view uchar * to void +r = makedir t 0 len t 448 +if or eq r 0 eq r -17 +else +stop +end +end + +fn pclear to void +put pathn 0 0 +end + +fn pcat t view uchar * to void +p = get pathn 0 +n = len t +if gt add p n 4096 +stop +end +for i ulong n +put path add p i get t i +end +put pathn 0 add p n +end + +fn spath t view uchar * to void +pclear +pcat stage +pcat slash +pcat t +end + +fn gone t view uchar * to void +spath t +r = unlink path 0 get pathn 0 +if ne r -2 +stop +end +end + +fn goned t view uchar * to void +spath t +r = rmdir path 0 get pathn 0 +if ne r -2 +stop +end +end + +fn here t view uchar * to void +spath t +r = unlink path 0 get pathn 0 +if ne r 0 +stop +end +end + +fn wname d view uchar * o ulong base ulong to ulong +k = add o 19 +if eq get d k 46 +if eq get d add k 1 0 +ret 0 +end +if eq get d add k 1 46 +if eq get d add k 2 0 +ret 0 +end +end +end +put wpath base 47 +p = add base 1 +while ne get d k 0 +if ge p 4095 +stop +end +put wpath p get d k +p = add p 1 +k = add k 1 +end +ret p +end + +fn wone d view uchar * o ulong base ulong depth ulong to ulong +rl = or ulong get d add o 16 shl ulong get d add o 17 8 +if eq rl 0 +stop +end +q = wname view d o base +if eq q 0 +ret rl +end +r = unlink wpath 0 q +if eq r -21 +if eq depth 0 +stop +end +wipe q sub depth 1 +r = rmdir wpath 0 q +end +if ne r 0 +stop +end +ret rl +end + +fn wipe base ulong depth ulong to void +d = new uchar 8192 0 +fd = fopen wpath 0 base 16384 0 +if lt fd 0 +stop +end +while true +n = getdnts int fd d 0 len d +if lt n 0 +stop +end +if eq n 0 +break +end +o = ulong 0 +while lt o ulong n +o = add o wone view d o base depth +end +end +if ne fclose int fd 0 +stop +end +end + +fn wstage to void +setcur stage +for i ulong len stage +put wpath i get stage i +end +wipe len stage 2 +end + +fn areset to void +put argc 0 0 +put apos 0 2 +put argv 0 0 +put argv 1 0 +end + +fn afix to void +p = get apos 0 +q = get alast 0 +m = sub sub p q 2 +if gt m 65535 +stop +end +put argv q uchar and m 255 +put argv add q 1 uchar shr m 8 +end + +fn anew to void +p = get apos 0 +if gt add p 2 8192 +stop +end +put alast 0 p +put apos 0 add p 2 +afix +c = add get argc 0 1 +put argc 0 c +put argv 0 uchar and c 255 +put argv 1 uchar shr c 8 +end + +fn amore t view uchar * to void +p = get apos 0 +n = len t +if gt add p n 8192 +stop +end +for i ulong n +put argv add p i get t i +end +put apos 0 add p n +afix +end + +fn aomc rel ulong to void +anew +if eq rel 1 +if ne get omcp 0 47 +amore up4 +end +end +p = get apos 0 +n = get omcn 0 +if gt add p n 8192 +stop +end +for i ulong n +put argv add p i get omcp i +end +put apos 0 add p n +afix +end + +fn aadd t view uchar * to void +anew +amore t +end + +fn astart t view uchar * to void +areset +anew +amore dotslash +amore t +end + +fn araw t view uchar * to void +areset +aadd t +end + +fn waitx pid int want ulong lim long to void +start = monons +if lt start 0 +stop +end +while true +r = waitpid pid statbuf 0 4 1 +if eq r long pid +if ne get statbuf 0 0 +stop +end +if ne ulong get statbuf 1 want +stop +end +ret +end +if ne r 0 +stop +end +now = monons +if gt sub now start lim +r = killpid pid 9 +r = waitpid pid statbuf 0 4 0 +stop +end +r = sleepns 1000000 +if ne r 0 +stop +end +end +end + +fn go want ulong lim long to void +pid = fork +if lt pid 0 +stop +end +if eq pid 0 +r = chdir stage 0 len stage +if ne r 0 +stop +end +r = execprog argv 0 get apos 0 +exit 98 +end +waitx int pid want lim +end + +fn run t view uchar * to void +astart t +go 0 120000000000 +end + +fn runt t view uchar * to void +astart t +go 0 10000000000 +end + +fn trap3 t view uchar * to void +astart t +go 103 120000000000 +end + +fn compx sfd int ofd int to void +areset +aomc 0 +pid = fork +if lt pid 0 +stop +end +if eq pid 0 +if ne dupfd sfd 0 0 long 0 +stop +end +if ne dupfd ofd 1 0 long 1 +stop +end +r = execprog argv 0 get apos 0 +exit 98 +end +if ne fclose sfd 0 +stop +end +if ne fclose ofd 0 +stop +end +waitx int pid 0 120000000000 +end + +fn comp t view uchar * to void +setcur t +spath t +ofd = fopen path 0 get pathn 0 577 448 +if lt ofd 0 +stop +end +if ne fchmod int ofd 448 0 +stop +end +pclear +pcat tests +pcat t +pcat dotom +sfd = fopen path 0 get pathn 0 0 0 +if lt sfd 0 +stop +end +compx int sfd int ofd +end + +fn copyexec to void +s = fopen argsbin 0 len argsbin 0 0 +if lt s 0 +stop +end +d = fopen echild 0 len echild 577 448 +if lt d 0 +stop +end +if ne fchmod int d 448 0 +stop +end +while true +n = read int s copybuf 0 len copybuf +if lt n 0 +stop +end +if eq n 0 +if ne fclose int d 0 +stop +end +if ne fclose int s 0 +stop +end +ret +end +r = write int d copybuf 0 ulong n +if ne r n +stop +end +end +end + +fn loadst to void +fd = fopen pself 0 len pself 0 0 +if lt fd 0 +stop +end +n = read int fd pst 0 8192 +if le n 0 +stop +end +if ge n 8192 +stop +end +put pstn 0 ulong n +if ne fclose int fd 0 +stop +end +end + +fn idnum p ulong fld ulong to ulong +q = p +f = fld +while gt f 0 +while ne get pst q 9 +q = add q 1 +end +q = add q 1 +f = sub f 1 +end +v = ulong 0 +d = ulong 0 +while true +c = ulong get pst q +if or lt c 48 gt c 57 +break +end +v = add mul v 10 sub c 48 +q = add q 1 +d = add d 1 +end +if eq d 0 +stop +end +ret v +end + +fn idval key view uchar * fld ulong to ulong +n = get pstn 0 +k = len key +i = ulong 0 +while le add i k n +j = ulong 0 +while lt j k +if ne get pst add i j get key j +break +end +j = add j 1 +end +if eq j k +ret and idnum add i k fld 255 +end +i = add i 1 +end +stop +ret 0 +end + +fn idcase src view uchar * want ulong to void +fd = fopen idom 0 len idom 577 384 +if lt fd 0 +stop +end +r = write int fd src 0 len src +if ne r long len src +stop +end +if ne fclose int fd 0 +stop +end +sfd = fopen idom 0 len idom 0 0 +if lt sfd 0 +stop +end +ofd = fopen idbin 0 len idbin 577 448 +if lt ofd 0 +stop +end +if ne fchmod int ofd 448 0 +stop +end +compx int sfd int ofd +astart idname +go want 120000000000 +end + +fn say t view uchar * to void +r = write 1 t 0 len t +end + +fn part1 to void +comp nfiles +run nfiles +gone lprobe +say fm +comp nargs +astart nargs +aadd empty +aadd twowords +aadd pi +go 0 120000000000 +copyexec +say am +comp nnetwork +runt nnetwork +gone lsock +say nm +astart nnetwork +aadd tcp +go 0 10000000000 +say tm +comp nprocess +runt nprocess +say pm +comp ndirs +run ndirs +goned ladir +gone lbefore +gone lafter +say dm +comp nerrors +run nerrors +say em +comp nloc +run nloc +gone lregular +say lm +comp nsockopt +runt nsockopt +say sm +end + +fn part2 to void +comp nnetdata +runt nnetdata +gone lnetdata +astart nnetdata +aadd c1 +go 103 10000000000 +astart nnetdata +aadd c2 +go 103 10000000000 +astart nnetdata +aadd c3 +go 103 10000000000 +say ndm +comp nnetpeer +runt nnetpeer +gone lnetpeer +comp ndevice +run ndevice +say dvm +comp ndevcall +run ndevcall +comp nuvmctl +run nuvmctl +comp nmapping +run nmapping +gone lmapped +comp nmapio +run nmapio +comp nreserve +run nreserve +gone lreserve +comp nmemchk +astart nmemchk +aomc 1 +go 0 120000000000 +comp nstruct +run nstruct +gone lstruct +say sfm +comp nrandom +run nrandom +say rdm +end + +fn part3 to void +comp nenv +araw envbin +aadd omtest +aadd envfx +go 0 120000000000 +say evm +comp nchdir +run nchdir +here lsubin +say cdm +comp ntrunc +run ntrunc +say trm +comp nstat +run nstat +say stm +comp nstatsh +trap3 nstatsh +say ssm +comp nlinks +run nlinks +say lkm +comp nlinksh +trap3 nlinksh +say lsm +comp nchmod +run nchmod +say chm +comp nchown +run nchown +say com +comp nfaccess +run nfaccess +say fam +end + +fn part4 to void +setcur idname +loadst +idcase srcuid idval kuid 0 +idcase srceuid idval kuid 1 +idcase srcgid idval kgid 0 +idcase srcegid idval kgid 1 +say idm +comp nfchdir +run nfchdir +here lsubdir +say fcm +note getppid must name this gate, the direct parent of the forked child that execs id.bin: compare +note the parent id with getpid modulo 256 and modulo 251. They are coprime, so a wrong id passes only +note if it is congruent to the gate pid modulo 64256; the child's own pid and constants fail. +setcur idname +me = getpid +idcase srcpp1 ulong rem me long 256 +idcase srcpp2 ulong rem me long 251 +say ppm +comp nfdsync +run nfdsync +say fdm +comp npio +run npio +say pim +comp npsync +run npsync +say psm +comp nflock +runt nflock +gone lflock +say flm +comp npgroup +run npgroup +say pgm +comp nlstat +run nlstat +say lstm +comp ntrnc +run ntrnc +say tcm +comp nenvtrap +trap3 nenvtrap +say etm +end + +fn main to int +setomc +mkd b1 +mkd b2 +mkd b3 +mkd stage +wstage +part1 +part2 +part3 +part4 +wstage +r = rmdir stage 0 len stage +if ne r 0 +stop +end +ret 0 +end diff --git a/seed/host/gate.sh b/seed/host/gate.sh deleted file mode 100644 index c1c917d23..000000000 --- a/seed/host/gate.sh +++ /dev/null @@ -1,190 +0,0 @@ -#!/bin/sh -# Native seed compiler, native Omega fixtures, shell orchestration only. -set -eu -cd "$(dirname "$0")/../.." -root=$PWD -OMC=${OMC:-"$root/seed/out/omc"} -mkdir -p build/seed/host -stage=$(mktemp -d "$root/build/seed/host/run.XXXXXX") -trap 'rm -rf "$stage"' EXIT HUP INT TERM -compile() { - "$OMC" < "$root/seed/host/tests/$1.om" > "$stage/$1" - chmod +x "$stage/$1" -} -compile files -(cd "$stage"; ./files) -test ! -e "$stage/probe.bin" -printf 'PASS native files, errno, exclusive creation, permissions, seek, sync and monotonic time\n' -compile args -"$stage/args" '' 'two words' 'π' -printf 'PASS native argument access, empty arguments, UTF-8 bytes and short-buffer refusal\n' -compile network -(cd "$stage"; timeout 10 ./network) -test ! -e "$stage/native.sock" -printf 'PASS native socket exchange, poll timeout, fork, accept and child reaping\n' -(cd "$stage"; timeout 10 ./network tcp) -printf 'PASS native TCP loopback exchange on an OS-assigned port\n' -cp "$stage/args" "$stage/exec-child" -compile process -(cd "$stage"; timeout 10 ./process) -printf 'PASS native exec with exact arguments, exec failure, pipes, descriptor duplication, sleep, kill and wait\n' -compile directories -(cd "$stage"; ./directories) -test ! -e "$stage/adir" -test ! -e "$stage/before" -test ! -e "$stage/after" -printf 'PASS native directory enumeration, file metadata and rename without overwriting\n' -compile errors -"$stage/errors" -printf 'PASS native syscall errors and nested expression register preservation\n' -compile location -(cd "$stage"; ./location) -test ! -e "$stage/regular-file" -printf 'PASS native cwd and readlnk offsets, counts, truncation, errno and private path copy\n' -compile sockopt -(cd "$stage"; timeout 10 ./sockopt) -printf 'PASS native socket options with independent bind behavior, readonly input and errno\n' -compile netdata -(cd "$stage"; timeout 10 ./netdata) -test ! -e "$stage/netdata.sock" -for case in 1 2 3; do - set +e - "$stage/netdata" "$case" - rc=$? - set -e - [ "$rc" = 103 ] || { printf 'FAIL: netdata case %s exit %s, wanted 103\n' "$case" "$rc" >&2; exit 1; } -done -printf 'PASS native network slice bounds and poll record-size refusal\n' -compile netpeer -(cd "$stage"; timeout 10 ./netpeer) -test ! -e "$stage/netpeer.sock" -compile device -"$stage/device" -printf 'PASS native checked device ioctl composed with host files and pipes\n' -compile devcall -"$stage/devcall" -compile uvmctl -"$stage/uvmctl" -compile mapping -(cd "$stage"; ./mapping) -test ! -e "$stage/mapped.bin" -compile mapio -"$stage/mapio" -compile reserve -(cd "$stage"; ./reserve) -test ! -e "$stage/reserve.bin" -compile memcheck -(cd "$stage"; ./memcheck "$OMC") -compile structfile -(cd "$stage"; ./structfile) -test ! -e "$stage/structfile.tmp" -printf 'PASS struct values and native file operations in one program\n' -compile random -"$stage/random" -printf 'PASS native random: exact count, non-zero, two calls differ, invalid flags refused\n' -compile environment -(cd "$stage"; env OMTEST=hello ./environment) -printf 'PASS native environment: count, entry bytes, short-buffer refusal\n' -compile chdir -(cd "$stage"; ./chdir) -test -f "$stage/sub/inside" -printf 'PASS native chdir: relative file created in the new directory; missing path refused\n' -compile trunc -(cd "$stage"; ./trunc) -printf 'PASS native ftrunc: write, shorten, rewind, read 4 then EOF; closed fd refused\n' -compile stat -(cd "$stage"; ./stat) -printf 'PASS native stat: size field, missing path errno, 128-byte structure\n' -compile stat_short -set +e -(cd "$stage"; ./stat_short) -src=$? -set -e -[ "$src" = 103 ] || { printf 'FAIL: stat short output exit %s, wanted 103\n' "$src" >&2; exit 1; } -printf 'PASS native stat: short output traps 3 before the kernel\n' -compile links -(cd "$stage"; ./links) -printf 'PASS native link/symlnk: hard link nlink 2, symlink target, unlink\n' -compile links_short -set +e -(cd "$stage"; ./links_short) -lrc=$? -set -e -[ "$lrc" = 103 ] || { printf 'FAIL: one-record link list exit %s, wanted 103\n' "$lrc" >&2; exit 1; } -printf 'PASS native link: one-record packed list traps 3\n' -compile chmod -(cd "$stage"; ./chmod) -printf 'PASS native chmod: 0600 mode in st_mode; missing path errno\n' -compile chown -(cd "$stage"; ./chown) -printf 'PASS native chown: owner uid kept in st_uid; missing path errno\n' -compile faccess -(cd "$stage"; ./faccess) -printf 'PASS native faccess: existing path accepted, missing path refused\n' -uid=$(id -u) -gid=$(id -g) -for pair in "getuid:$uid" "geteuid:$uid" "getgid:$gid" "getegid:$gid"; do - word=${pair%%:*} - val=${pair#*:} - want=$((val % 256)) - printf 'fn main to int\nret int %s\nend\n' "$word" > "$stage/id.om" - "$OMC" < "$stage/id.om" > "$stage/id.bin" 2> "$stage/id.err" || { - printf 'FAIL: %s did not compile: %s\n' "$word" "$(cat "$stage/id.err")" >&2 - exit 1 - } - chmod +x "$stage/id.bin" - set +e - "$stage/id.bin" - got=$? - set -e - [ "$got" = "$want" ] || { printf 'FAIL: %s exit %s, wanted %s (id %s mod 256)\n' "$word" "$got" "$want" "$val" >&2; exit 1; } -done -printf 'PASS native identity: getuid/geteuid/getgid/getegid match id\n' -compile fchdir -(cd "$stage"; ./fchdir) -test -f "$stage/subdir/inside" -printf 'PASS native fchdir/umask/getppid: directory fd, 0777 under mask 0, parent id\n' -# getppid must name this shell, the direct parent of a simple command: compare the parent id -# with $$ modulo 256 and modulo 251. They are coprime, so a wrong id passes only if it is -# congruent to $$ modulo 64256; getpid (the child, a few ids above $$) and constants fail. -for m in 256 251; do - printf 'fn main to int\nret int rem getppid long %s\nend\n' "$m" > "$stage/ppid.om" - "$OMC" < "$stage/ppid.om" > "$stage/ppid.bin" - chmod +x "$stage/ppid.bin" - set +e - "$stage/ppid.bin" - got=$? - set -e - want=$(($$ % m)) - [ "$got" = "$want" ] || { printf 'FAIL: getppid mod %s exit %s, wanted %s (shell pid %s)\n' "$m" "$got" "$want" "$$" >&2; exit 1; } -done -printf 'PASS native getppid: parent id equals the gate shell pid (mod 256 and mod 251)\n' -compile fdsync -(cd "$stage"; ./fdsync) -printf 'PASS native fdsync/memfd: data sync, closed fd refused, anonymous file rw\n' -compile pio -(cd "$stage"; ./pio) -printf 'PASS native pread/pwrite: positioned I/O, bytes intact, closed fd refused\n' -compile psync -(cd "$stage"; ./psync) -printf 'PASS native getsid/syncfs/shutdown: session id, filesystem sync, non-socket refusal\n' -compile flock -(cd "$stage"; timeout 10 ./flock) -test ! -e "$stage/flock.tmp" -printf 'PASS native flock: exclusive lock blocks a second open (EWOULDBLOCK), unlock, shared, EINVAL, EBADF\n' -compile pgroup -(cd "$stage"; ./pgroup) -printf 'PASS native process groups: getpgid/setpgid, setsid or EPERM\n' -compile lstat -(cd "$stage"; ./lstat) -printf 'PASS native lstat: stat follows the link, lstat reports S_IFLNK\n' -compile truncate -(cd "$stage"; ./truncate) -printf 'PASS native truncate: path length set to 4; missing path errno\n' -compile environment_trap -set +e -(cd "$stage"; ./environment_trap) -erc=$? -set -e -[ "$erc" = 103 ] || { printf 'FAIL: environment_trap exit %s, wanted 103\n' "$erc" >&2; exit 1; } -printf 'PASS native environment: index at the count traps 3\n' diff --git a/seed/json/.crumb b/seed/json/.crumb index 875660661..993cee09c 100644 --- a/seed/json/.crumb +++ b/seed/json/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:e15b2bc1a5e49086c54f081046f2e30f07ad5cfa0d433c42dce74dae5c688ddf", + "digest": "sha256:38ad4f8b599656ca397f834b8b0f80a1b7283d4dd4b3983f9217fd6517c053a2", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 7, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:48961d7437f210bcb9b664ff242a0c7af5a71e6ea586fe1cfe58485f72ea7df5" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:a5f8fb88c72e2656cf7573ff0d8ca353e18ebe310c78060b2af94097be993e81" } }, "layer": "seed", diff --git a/seed/json/tests/gate-json.sh b/seed/json/tests/gate-json.sh index ae5fb6250..91d91af76 100755 --- a/seed/json/tests/gate-json.sh +++ b/seed/json/tests/gate-json.sh @@ -6,7 +6,7 @@ cd "$(dirname "$0")/../../.." B=${JSON_BUILD:-build/seed/json} OMC=${OMC:-seed/out/omc} # Compiler pin recorded independently before any reseed; update together with seed/out/omc. -PIN=${JSON_OMC_PIN:-1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1} +PIN=${JSON_OMC_PIN:-7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de} J=seed/json fail() { printf 'JSONGATE FAIL %s\n' "$*"; exit 1; } notrun() { printf 'JSONGATE NOT_RUN %s\n' "$*"; exit 3; } diff --git a/seed/nki/.crumb b/seed/nki/.crumb index ca00cd2e4..4984329dc 100644 --- a/seed/nki/.crumb +++ b/seed/nki/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:b2e2525809648acd30463d236c57e7f96e396d1925a4c6cc75f32d0a907ff3fa", + "digest": "sha256:413c7a2bdbf00433fc87daad62413e88dfdcd0f26e0ffbdd887033862e59c9bb", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 7, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:433ac455804224387c64077fa277e25abf8e638e5bc9e971ebacdb643dd8c5d5" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:ddaaf7a87c9a45c6e058c0087ac270ca763b4d6f67ac603edc42ee55325ce81a" } }, "layer": "seed", diff --git a/seed/nki/gate-irnki.sh b/seed/nki/gate-irnki.sh index 12133f07f..ae7ecd4e7 100755 --- a/seed/nki/gate-irnki.sh +++ b/seed/nki/gate-irnki.sh @@ -19,7 +19,7 @@ fail() { say "FAIL $*"; exit 1; } notrun() { say "NOT_RUN $*"; exit 3; } [ "$(uname -m)" = aarch64 ] || notrun 'requires AArch64 Linux (seed/out/omc emits AArch64)' OMC=${OMC:-seed/out/omc} -pin=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +pin=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de [ -f "$OMC" ] || fail "compiler $OMC missing" [ "$(sha256sum "$OMC" | cut -d ' ' -f 1)" = "$pin" ] || fail 'compiler pin differs' D=${NKI_ORACLE_DIR:-} diff --git a/seed/omc/gate18.sh b/seed/omc/gate18.sh index a588881b9..f7a20e93e 100755 --- a/seed/omc/gate18.sh +++ b/seed/omc/gate18.sh @@ -33,12 +33,12 @@ cmp -s "$T/chain.pairs" "$T/gen.pairs" || { bad "generated keyword packs differ from the committed chain" } n=$(wc -l < "$T/gen.pairs") -[ "$n" = 160 ] || bad "compared $n literal pairs, wanted 160" +[ "$n" = 161 ] || bad "compared $n literal pairs, wanted 161" grep -q '^ret 133$' seed/omc/omc.om || bad "committed chain lacks readlnk (133)" grep -q '^ret 134$' seed/omc/omc.om || bad "committed chain lacks sockopt (134)" grep -q 'readlnk:133' seed/omc/genkw.awk || bad "generator lacks readlnk:133" grep -q 'sockopt:134' seed/omc/genkw.awk || bad "generator lacks sockopt:134" -printf 'PASS gate18 160 literal packs and both computed entries match the committed chain\n' +printf 'PASS gate18 161 literal packs and both computed entries match the committed chain\n' exit 0 diff --git a/seed/omc/genkw.awk b/seed/omc/genkw.awk index 4b309fd09..bbd48db2f 100644 --- a/seed/omc/genkw.awk +++ b/seed/omc/genkw.awk @@ -1,7 +1,7 @@ # genkw.awk -- prints the keyword lookup of seed/omc/omc.om (fn kw): one `if eq w ` per # word of om4's KWTAB, same order and codes. The language has no hex numbers and no data tables, so the -# packed words are written as decimals. The list covers every id, including the host words 100-177, flock 197 -# and the host CPU ordering words cpufence 199 / cpurelax 200; +# packed words are written as decimals. The list covers every id, including the host words 100-177, flock 197, +# execpure 198 and the host CPU ordering words cpufence 199 / cpurelax 200; # pack uses decimal string arithmetic so 64-bit packs print exactly. Text generator only: its output # is pasted into omc.om, the source. function muladd(s, m, a, r,carry,i,d,t){ @@ -14,7 +14,7 @@ function pack(w, s,i,c){ s="0"; for(i=length(w);i>=1;i--){ c=index(ORD,substr(w BEGIN{ ORD="" for(i=32;i<127;i++) ORD=ORD sprintf("%c",i) - n=split("bool:1 uchar:2 u8:2 ushort:3 u16:3 uint:4 u32:4 ulong:5 u64:5 byte:6 i8:6 short:7 i16:7 int:8 i32:8 long:9 i64:9 add:33 sub:34 mul:35 div:36 rem:37 and:38 or:39 xor:40 shl:41 shr:42 eq:43 ne:44 lt:45 le:46 gt:47 ge:48 neg:49 not:50 get:51 len:52 read:53 write:54 true:55 false:56 view:57 edit:58 fn:64 to:65 end:66 if:67 else:68 while:69 bound:70 for:71 ret:72 =:73 (:74 ):75 void:76 global:78 text:79 put:80 free:81 exit:82 note:83 new:84 struct:85 break:86 trap:87 own:77 f32:88 f64:89 bitcast:90 fsqrt:91 fabs:92 fmin:93 fmax:94 sizeof:95 offsetof:96 continue:97 fclose:100 fsync:101 fchmod:102 fseek:103 socknew:104 listen:105 accept:106 fork:107 dupfd:108 monons:109 fopen:110 unlink:111 makedir:112 getdnts:113 connect:114 bind:115 waitpid:116 fstat:117 recv:118 send:119 sleepns:120 argcnt:121 argread:122 waitio:123 execprog:124 renames:125 rmdir:126 killpid:127 pipefds:128 getpid:129 realns:130 sockname:131 cwd:132 readlnk:133 sockopt:134 random:135 envcnt:136 envread:137 chdir:138 ftrunc:139 stat:140 link:141 symlnk:142 chmod:143 faccess:144 getuid:145 geteuid:146 getgid:147 getegid:148 lstat:149 truncate:150 chown:151 const:152 fchdir:153 getppid:154 umask:155 fdsync:156 memfd:157 setsid:158 getpgid:159 setpgid:160 pread:161 pwrite:162 getsid:163 syncfs:164 shutdown:165 devctl:166 mapnew:167 mapdrop:168 mapread:169 mapwrite:170 devcall:171 uvmctl:172 mapaddr:173 mapget:174 mapset:175 maphold:176 mapbind:177 flock:197", a, " ") + n=split("bool:1 uchar:2 u8:2 ushort:3 u16:3 uint:4 u32:4 ulong:5 u64:5 byte:6 i8:6 short:7 i16:7 int:8 i32:8 long:9 i64:9 add:33 sub:34 mul:35 div:36 rem:37 and:38 or:39 xor:40 shl:41 shr:42 eq:43 ne:44 lt:45 le:46 gt:47 ge:48 neg:49 not:50 get:51 len:52 read:53 write:54 true:55 false:56 view:57 edit:58 fn:64 to:65 end:66 if:67 else:68 while:69 bound:70 for:71 ret:72 =:73 (:74 ):75 void:76 global:78 text:79 put:80 free:81 exit:82 note:83 new:84 struct:85 break:86 trap:87 own:77 f32:88 f64:89 bitcast:90 fsqrt:91 fabs:92 fmin:93 fmax:94 sizeof:95 offsetof:96 continue:97 fclose:100 fsync:101 fchmod:102 fseek:103 socknew:104 listen:105 accept:106 fork:107 dupfd:108 monons:109 fopen:110 unlink:111 makedir:112 getdnts:113 connect:114 bind:115 waitpid:116 fstat:117 recv:118 send:119 sleepns:120 argcnt:121 argread:122 waitio:123 execprog:124 renames:125 rmdir:126 killpid:127 pipefds:128 getpid:129 realns:130 sockname:131 cwd:132 readlnk:133 sockopt:134 random:135 envcnt:136 envread:137 chdir:138 ftrunc:139 stat:140 link:141 symlnk:142 chmod:143 faccess:144 getuid:145 geteuid:146 getgid:147 getegid:148 lstat:149 truncate:150 chown:151 const:152 fchdir:153 getppid:154 umask:155 fdsync:156 memfd:157 setsid:158 getpgid:159 setpgid:160 pread:161 pwrite:162 getsid:163 syncfs:164 shutdown:165 devctl:166 mapnew:167 mapdrop:168 mapread:169 mapwrite:170 devcall:171 uvmctl:172 mapaddr:173 mapget:174 mapset:175 maphold:176 mapbind:177 flock:197 execpure:198", a, " ") for(k=1;k<=n;k++){ split(a[k],p,":"); printf "if eq w %s\nret %d\nend\n", pack(p[1]), p[2] } n=split("peercred:220 pollfds:221 sendmsg:222 qty:223 cpufence:199 cpurelax:200", a, " ") for(k=1;k<=n;k++){ split(a[k],p,":"); printf "if eq w %s\nret %d\nend\n", pack(p[1]), p[2] } diff --git a/seed/omc/omc.om b/seed/omc/omc.om index 6aa8042aa..ce7270d99 100644 --- a/seed/omc/omc.om +++ b/seed/omc/omc.om @@ -592,6 +592,8 @@ end note tok_num: the word at [ts,cur) is [-]decimal, at most 20 digits, from -2^63 to 2^64 - 1 (error 6 note bad number, 8 out of range). tw = its raw 64 bits (a negative one as two's complement); tbig = 1 note when it is 2^63 or more (only a ulong holds it), else 0. As om4's TK_NUM. +note The float-marker scan walks the word in chunks of at most 999999 bytes: a single loop's hidden +note 1000000-pass guard trapped 4 on a decimal word of 1000001 digits, which must refuse with error 6 (#671). fn tok_num to void if ne get om2 0 0 if ne tok_hex 0 @@ -600,14 +602,20 @@ end end p = get ts 0 e = get cur 0 -i = p fl = false +i = p while lt i e -b = get inp i +c = sub e i +if gt c 999999 +c = ulong 999999 +end +for k ulong c +b = get inp add i k if or or or eq b 46 eq b 101 eq b 69 eq b 102 fl = true end -i = add i 1 +end +i = add i c end if fl put tk 0 5 @@ -805,9 +813,12 @@ put tkb 0 get inlen 0 put tk 0 3 end -note ======== keyword lookup (original om4 KWTAB plus native host words 100..177 and flock 197) ======== +note ======== keyword lookup (original om4 KWTAB plus native host words 100..177, flock 197 and execpure 198) ======== note genkw.awk describes the original om4 table only; retain the native host extension on regeneration. fn kw w ulong to ulong +if eq w 7310034270740117605 +ret 198 +end if eq w 6584163 ret 132 end @@ -5938,6 +5949,8 @@ note A packed argument list is u16 count followed by count (u16 length, bytes) r note Byte order is little-endian. The packet is at most 4096 bytes and 64 records. note The decoder constructs kernel pointers only in private stack memory. fn hpack c ulong dst ulong x ulong to void +errs = new ulong 16 0 +tbl = new ulong 27 0 e = harray x 0 if eq c 125 harg x 2 8 @@ -5984,7 +5997,7 @@ emit 3506440357 e3 3942645760 31 12 5 trapc 8 3 note A program path and both rename paths must be nonempty. -if eq c 124 +if or eq c 124 eq c 198 emit 4043309375 notfirst = get oc 0 emit 1409286145 @@ -6019,11 +6032,204 @@ patch19 done get oc 0 emit 4043309247 trapc 1 3 emit 4177527167 -if eq c 124 +if or eq c 124 eq c 198 +note Exec admits only the caller-assigned standard streams. Linux close_range with UNSHARE +note closes every descriptor >=3 in a private table. Failure returns without executing a child; +note no guessed descriptor ceiling or permissive fallback. This is not filesystem isolation. +matconst 0 3 +matconst 1 4294967295 +matconst 2 2 +hsys 436 +emit 4043309087 +note outer and done are dead after the packet scan; they are reused for the two branch sites here. +done = get oc 0 +emit 1409286145 +if eq c 198 +note execpure strict stdio profile: Linux UAPI layouts in 640 private guest stack bytes, never an +note exposed native pointer. sock_filter is u16 code,u8 jt,u8 jf,u32 k; sock_fprog has its length at +note 0 and its pointer at 8 on AArch64. A Landlock path rule is a packed u64 allowed_access plus an +note s32 parent_fd; prlimit64 takes two u64s. Each step that returns a negative value branches (B.LT) +note to the common restore with the kernel error in x0. ADD x16,SP,#k then STR x0,[x16] stores a word. +n = ulong 0 +spsub 640 +stkchk +mimmed 2432697312 16 0 632 +e3 4177526784 11 16 0 +note Extra descriptors are already closed in a private table. Pin the executable as descriptor 3. +matconst 0 18446744073709551516 +mimmed 2432697312 1 0 640 +matconst 2 2621440 +matconst 3 0 +hsys 56 +emit 4043309087 +put errs n get oc 0 +emit 1409286155 +n = add n 1 +note ABI3 rights through TRUNCATE are all handled, with only read/execute of that one inode allowed. +matconst 0 32767 +mimmed 2432697312 16 0 0 +e3 4177526784 0 16 0 +mimmed 2432697312 0 0 0 +matconst 1 8 +matconst 2 0 +hsys 444 +emit 4043309087 +put errs n get oc 0 +emit 1409286155 +n = add n 1 +matconst 0 5 +mimmed 2432697312 16 0 16 +e3 4177526784 0 16 0 +matconst 0 3 +mimmed 2432697312 16 0 24 +e3 4177526784 0 16 0 +matconst 0 4 +matconst 1 1 +mimmed 2432697312 2 0 16 +matconst 3 0 +hsys 445 +emit 4043309087 +put errs n get oc 0 +emit 1409286155 +n = add n 1 +matconst 0 38 +matconst 1 1 +matconst 2 0 +matconst 3 0 +matconst 4 0 +hsys 167 +emit 4043309087 +put errs n get oc 0 +emit 1409286155 +n = add n 1 +matconst 0 4 +matconst 1 0 +hsys 446 +emit 4043309087 +put errs n get oc 0 +emit 1409286155 +n = add n 1 +matconst 0 4 +hsys 57 +emit 4043309087 +put errs n get oc 0 +emit 1409286155 +n = add n 1 +note Per-process ceilings as (resource, soft, hard): CPU, FSIZE, STACK, CORE, NPROC, NOFILE, AS. +note Pipe-output and wall budgets additionally require the trusted supervisor. +put tbl 1 1 +put tbl 2 2 +put tbl 3 1 +put tbl 4 1048576 +put tbl 5 1048576 +put tbl 6 3 +put tbl 7 8388608 +put tbl 8 8388608 +put tbl 9 4 +put tbl 12 6 +put tbl 15 7 +put tbl 16 4 +put tbl 17 4 +put tbl 18 9 +put tbl 19 134217728 +put tbl 20 134217728 +for i ulong 7 +matconst 0 get tbl add mul i 3 1 +mimmed 2432697312 16 0 48 +e3 4177526784 0 16 0 +matconst 0 get tbl add mul i 3 2 +mimmed 2432697312 16 0 56 +e3 4177526784 0 16 0 +matconst 0 0 +matconst 1 get tbl mul i 3 +mimmed 2432697312 2 0 48 +matconst 3 0 +hsys 261 +emit 4043309087 +put errs n get oc 0 +emit 1409286155 +n = add n 1 +end +note Validate architecture, then read only 0, write only 1/2, exit/exit_group. Everything else is EPERM. +note execveat is restricted to descriptor 3 and AT_EMPTY_PATH; Landlock also binds execution to inode 3. +note The inode rule is essential: an absolute execveat path otherwise ignores its dirfd argument. +note Entry i = code | jt<<16 | jf<<24 | k<<32, stored at SP+128+8i. (code jt jf k) rows in order: +note (32 0 0 4) (21 1 0 3221225655) (6 0 0 2147483648) (32 0 0 0) (21 0 3 63) (32 0 0 16) (21 0 1 0) (6 0 0 2147418112) (32 0 0 0) +note (21 0 4 64) (32 0 0 16) (21 1 0 1) (21 0 1 2) (6 0 0 2147418112) (32 0 0 0) (21 0 1 93) (6 0 0 2147418112) (21 0 1 94) +note (6 0 0 2147418112) (32 0 0 0) (21 0 5 281) (32 0 0 16) (21 0 3 3) (32 0 0 48) (21 0 1 4096) (6 0 0 2147418112) (6 0 0 327681) +put tbl 0 ulong 17179869216 +put tbl 1 ulong 13835058841261244437 +put tbl 2 ulong 9223372036854775814 +put tbl 3 ulong 32 +put tbl 4 ulong 270633271317 +put tbl 5 ulong 68719476768 +put tbl 6 ulong 16777237 +put tbl 7 ulong 9223090561878065158 +put tbl 8 ulong 32 +put tbl 9 ulong 274945015829 +put tbl 10 ulong 68719476768 +put tbl 11 ulong 4295032853 +put tbl 12 ulong 8606711829 +put tbl 13 ulong 9223090561878065158 +put tbl 14 ulong 32 +put tbl 15 ulong 399448735765 +put tbl 16 ulong 9223090561878065158 +put tbl 17 ulong 403743703061 +put tbl 18 ulong 9223090561878065158 +put tbl 19 ulong 32 +put tbl 20 ulong 1206969696277 +put tbl 21 ulong 68719476768 +put tbl 22 ulong 12935233557 +put tbl 23 ulong 206158430240 +put tbl 24 ulong 17592202821653 +put tbl 25 ulong 9223090561878065158 +put tbl 26 ulong 1407379178520582 +for i ulong 27 +matconst 0 get tbl i +mimmed 2432697312 16 0 add 128 mul i 8 +e3 4177526784 0 16 0 +end +matconst 0 27 +mimmed 2432697312 16 0 80 +e3 4177526784 0 16 0 +mimmed 2432697312 0 0 128 +mimmed 2432697312 16 0 88 +e3 4177526784 0 16 0 +matconst 0 1 +matconst 1 0 +mimmed 2432697312 2 0 80 +hsys 277 +emit 4043309087 +put errs n get oc 0 +emit 1409286155 +n = add n 1 +note Restore the original packet stack before entering the pinned executable. Descriptor 3 is CLOEXEC. +mimmed 2432697312 16 0 632 +e3 4181721088 11 16 0 +spadd 640 +matconst 0 3 +e3 2852126720 1 31 11 +emit 2436892642 +e3 2852126720 3 31 11 +matconst 4 4096 +hsys 281 +outer = get oc 0 +emit 335544320 +while gt n 0 +n = sub n 1 +patch19 get errs n get oc 0 +end +mimmed 2432697312 16 0 632 +e3 4181721088 11 16 0 +spadd 640 +patch26 outer get oc 0 +else emit 2432697312 emit 2436892641 e3 2852126720 2 31 11 hsys 221 +end +patch19 done get oc 0 else if eq c 125 emit 2436892656 @@ -6823,6 +7029,11 @@ if eq c 197 hscalar c dst x ret end +note execpure 198 is dispatched here, before the ge c 173 mapped-memory range below would claim it. +if eq c 198 +hpack c dst x +ret +end if eq c 220 hpeercr dst x ret @@ -7265,7 +7476,7 @@ end if or eq c 77 eq c 193 fail 9 end -if or or and ge c 100 le c 177 eq c 197 and ge c 220 le c 222 +if or or and ge c 100 le c 177 and ge c 197 le c 198 and ge c 220 le c 222 hostval c dst ret end @@ -11698,14 +11909,30 @@ global ir_fnn ulong 8 note ir_bbig: tbig of the bare number in ir_bare, for the range check once its type is known (error 8). global ir_bbig ulong 1 +note ir_lead: 1 when the first line is "ir" (after blanks). Both scans run as nested 999999-pass loops, +note so more than 1000000 leading blanks or first-line bytes are read, not trapped 4 (#671). fn ir_lead to ulong p = ulong 0 -while and lt p get inlen 0 le get inp p 32 -if eq get inp p 10 +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge p get inlen 0 +go = false +else +c = get inp p +if gt c 32 +go = false +else +if eq c 10 ret 0 end p = add p 1 end +end +m = add m 1 +end +end if ge add p 3 get inlen 0 ret 0 end @@ -11719,9 +11946,22 @@ if gt get inp add p 2 32 ret 0 end q = add p 2 -while and lt q get inlen 0 ne get inp q 10 +go = true +while go +m = ulong 0 +while and go lt m 999999 +if ge q get inlen 0 +go = false +else +if eq get inp q 10 +go = false +else q = add q 1 end +end +m = add m 1 +end +end if lt q get inlen 0 q = add q 1 end @@ -14207,10 +14447,19 @@ xtrap 1 3 ximm 0 0 xmem 137 0 12 0 if eq c 124 +note As on AArch64: close_range(3, ~0U, CLOSE_RANGE_UNSHARE) first; a nonzero result skips execve +note and returns that kernel error. RDI/RSI/RDX are reloaded after the call; R12 holds the argv end. +ximm 7 3 +ximm 6 4294967295 +ximm 2 2 +xhcall 436 +xrr 133 0 0 +p = xbranch 1 xmem 139 7 4 4096 xmem 141 6 4 4096 xrr 137 2 12 xhcall 59 +xpatch p get oc 0 else xmem 139 6 4 4096 xmem 139 10 4 4104 @@ -14698,6 +14947,10 @@ end if eq get progmode 0 0 fail 9 end +note execpure (198) has no x86 strict-profile lowering; refuse it rather than run an unconfined exec. +if eq c 198 +fail 25 +end x = mul get depth 0 32 put fr add x 7 get nslot 0 if or eq c 220 eq c 222 diff --git a/seed/omc/size-history.tsv b/seed/omc/size-history.tsv index 7571580f4..201ea4c53 100644 --- a/seed/omc/size-history.tsv +++ b/seed/omc/size-history.tsv @@ -21,3 +21,4 @@ FR9-x86-growth-bound OM-2 x86 byte emission enforces the existing per-function e FR9-batch3-current FR9 on current batch3 and qty/diagnostic audit; Wolfram (477524 - 176)/4 = 119337 words 15618 512 119337 2190b5a37cc4cc73362657766cccd67d65d9eff951c8a3ba9507669af97ac36b FR9-acceptance-fixes FR9 quantity unary refusals and empty text; Wolfram (477612 - 176)/4 = 119359 words 15624 512 119359 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b cpufence-939 host CPU ordering words cpufence 199 / cpurelax 200, inline in stmt (om4 holds 512 functions); Wolfram (478164 - 176)/4 = 119497 words 15656 512 119497 1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +security673-execpure fix/security673-qualified merged with main through #946: exec 124 close_range(3,~0,UNSHARE) before execve; execpure keyword id 198 (AArch64 strict profile; x86 refuses with error 25); #671 lexer scans of tok_num and ir_lead nested under the loop guard; om4 holds 512 functions; Wolfram (494932 - 176)/4 = 123689 words 15909 512 123689 7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de diff --git a/seed/out/omc b/seed/out/omc index 6951a8f9d..ab2e18edc 100755 Binary files a/seed/out/omc and b/seed/out/omc differ diff --git a/seed/out/omc.sha256 b/seed/out/omc.sha256 index 7f12ff18e..743f0a9de 100644 --- a/seed/out/omc.sha256 +++ b/seed/out/omc.sha256 @@ -1 +1 @@ -1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 seed/out/omc +7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de seed/out/omc diff --git a/seed/qualification/security673/.crumb b/seed/qualification/security673/.crumb index eff67d47a..eb04e18a9 100644 --- a/seed/qualification/security673/.crumb +++ b/seed/qualification/security673/.crumb @@ -4,20 +4,20 @@ "children": [ { "digest": "474d06e1d689d1e6f6738a526ab4e5b8927a46349be8493d63d550f1440dcb7e", - "last_commit": "5d08c95e1", + "last_commit": "f5c9bd89a", "name": "packets", "purpose": "Packed-list fixtures for #671: generated packet bytes (proven equal to packet-corpus.om), expect" } ], "children_root": "sha256:f41d6df2f8ad3022a730e903b841378e27265d8aa2553318ec209b4ede234b2b", - "compiled_at": "2026-10-30T18:10:55Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:f09988006d9e4e37b74317b16ea7c7850da4989d38b724d5124b4d123efe5ae9", + "digest": "sha256:f61b83bd16e26c180bf91e66e9c28095085f3a0756c3fead4a87e09ac3e90b22", "evidence_files": 1320, "evidence_root": "sha256:10232d8c64af6b0c77b53ca0d23ccc3a14bcad54b28430e469615b93567f1f96", - "files": 1419, - "generated_at_commit": "76a6ceeefb359cc68f58f87898f5b3a46c0686fc", - "source_tree": "sha256:3e974ae0fad5439c02a14842fcec742e3ca1f9b53046b879efac31e451aa067b" + "files": 1432, + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:c6c007e80b7b468f58b91d6fcb1b0c4c8f9d10671d2f0d058a2da79ef0eb0831" } }, "name": "security673", diff --git a/seed/qualification/security673/README.md b/seed/qualification/security673/README.md index 3b5bb4947..a0e8c3538 100644 --- a/seed/qualification/security673/README.md +++ b/seed/qualification/security673/README.md @@ -48,3 +48,85 @@ format and rejects the enumerated malformed/missing/duplicate/wrong-target contr a full disassembly grammar or authentication of attacker-supplied text. The checker and runner share the seed compiler lineage. Binary equality and SHA256 identities are reproducibility and identity evidence, not diverse compilation or proof of general semantic correctness. + +## Branch-form semantics (#669) + +`branch-forms.om` adds fifteen small programs covering every source conditional form: `eq`, `ne`, +`lt`, `le`, `gt` and `ge`; the CBZ path for a value compared with zero; `while` and `for` back +edges; the unconditional B over an `else`; a branch inside a called function; and the shift-width +and divide-by-zero trap sites. The coordinator compiles and executes each and compares the exit +with the fixed table in `formwant`. These cases check target selection, while `boundaries`, +`positive`, `negative`, `array-fill` and `mutant` continue to check the imm19 range and refusal. + +All imm19 writes still flow through `disp19`/`patch19`. The compiler does not expand or relax a +branch: a target outside the signed 19-bit word displacement, or an unaligned target, is refused +with error 24 before an artifact is accepted. Unconditional B uses `patch26` and the inspected +8 MiB output-pool capacity. Evidence is `evidence/SECURITY-673/branchforms1`. + +## Strict launch profile (#670) + +`execpure` (native host word 198) pins one executable as descriptor 3 and then applies a fixed +kernel profile before `execveat(AT_EMPTY_PATH)`: Landlock execute/read only beneath that inode, +`PR_SET_NO_NEW_PRIVS`, CPU/file/stack/core/process/descriptor/address-space limits, and a seccomp +filter that allows only stdin read, stdout/stderr write, the pinned exec and exit. Any setup +failure returns the kernel error; there is no weaker fallback. + +`pure-child.om` is the hostile consumer; `pure-launch.om` is the caller; `pure-raw.om` emits four +fixed native images for absolute exec, raw open, raw getpid and a 1 GiB mmap. Build the launcher and +child with the rebuilt compiler, create `build/security673-pure/private.data` and `judge.data`, then +run `pure-launch build/security673-pure/pure-child` with `public-input` on stdin. Every assertion +must pass and the protected files must be unchanged. Evidence and traces are +`evidence/SECURITY-673/pure2`. This is a fixed strict profile, not a general sandbox; grant +generations, revocation and durable budgets remain open under #670/#649. + +Descriptor scope is deliberate: generic `execprog` admits only descriptors 0, 1 and 2; +`execpure` adds exactly one pinned executable descriptor (3). Arbitrary high-descriptor handoff is +not part of the supported profile. A caller that needs other resources passes paths or data, not +inherited authority, so numeric descriptor reuse cannot resurrect an old grant. + +Bypass controls remove one enforcement step at a time with `branch-mutate.om` and require the named +result: seccomp removed lets raw getpid through (71), Landlock restriction removed lets the second +image execute (77), CPU exhaustion dies with SIGXCPU (152), and a 1,048,577-byte write stops at the +1 MiB file limit (0, 1,048,576 bytes). An unavailable close_range refuses the launch with 38. +`pure-raw.om` accepts an optional absolute target path for the second-image and fixed-inode +controls. Evidence is `evidence/SECURITY-673/pure3`; the earlier author run is `pure1`. + +## Bounded source ingress (#671) + +With fresh scratch, `build/gate669 3` runs eighteen source cases through the real rebuilt compiler. +The generator is `hostile-corpus.om`; the existing coordinator is reused. The campaign covers +decimal length, nested values, nested blocks, large literals, function count, invalid control byte, +oversized pool, unterminated quote, unknown name, long whitespace and input capacity. Eight +accepted fixed-compiler programs execute with expected exits; ten refused inputs leave empty +artifacts. Both parities of the nested Boolean expression are exercised. + +A separately compiled numeric-limit mutant changes the existing20-digit rule to21. It accepts +the21-zero source, violating the published profile; the fixed compiler refuses6. That mutant's +program is format-inspected and retained, not executed. The independent report records the +distinction. The gate logs elapsed nanoseconds for each child. External `/usr/bin/time -v` can +record observed campaign wall time and maximum resident memory; those observations do not +establish a general complexity bound or enforce a kernel memory limit. + +This is a deterministic bounded source campaign. Other ingress paths, broad grammar/mutation +fuzzing, authenticated canonicalization and kernel resource limits remain under their existing +owners. Current evidence and independent review are `evidence/SECURITY-673/hostile1` and +`independent671`. Earlier failed development fixtures are preserved and excluded from PASS. + +The same gate also runs nine packed-list cases through a compiled consumer. `packet-corpus.om` +builds valid, empty-count, over-count, truncated-record, trailing-byte, empty-path, embedded-NUL +and oversized-record packets; `pkt-consumer.om` reads one packet and calls `execprog`. Accepted +modes execute `/bin/true`; malformed modes trap 3 with exit 103 before any kernel exec. Evidence is +`evidence/SECURITY-673/packet1`; the wider ingress map is `evidence/SECURITY-673/ingress-inventory.md`. + +`renames` is qualified by seven cases: the accepted pair must rename the source and leave the +destination, while one record, three records, either empty path, a trailing byte and an embedded NUL +each trap 3 before the kernel rename. The consumer creates the source under the scratch directory, +so the positive case also proves the packet was consumed exactly. Evidence is +`evidence/SECURITY-673/renames1`. + +Path and argument boundaries are covered by seven more cases: a valid `fopen`; embedded-zero and +4096-byte paths trap 3; an empty path returns the kernel's negative errno; `argread` into a short +buffer returns -105 without changing the slice; an invalid index traps 3; and an exact-capacity +read returns the length. Evidence is `evidence/SECURITY-673/paths1`. Path traversal is not confined +by `fopen`; the strict launch profile is the confined path. Legacy manifest, receipt, RPC, model, +trace and device parsers remain NOT_RUN. diff --git a/seed/qualification/security673/branch-forms.om b/seed/qualification/security673/branch-forms.om new file mode 100644 index 000000000..ef9b5f70a --- /dev/null +++ b/seed/qualification/security673/branch-forms.om @@ -0,0 +1,131 @@ +note Synthetic issue669 branch-form corpus. Reads one mode byte on stdin and writes one program. +note Covers B.cond, CBZ, unconditional B, while/for back edges, a function boundary and trap sites. +note Every program returns a fixed exit code; the coordinator compares the actual exit. +global mode uchar 1 +text p0 "fn main to int\nx = ulong 1\nif eq x 1\nret int 11\nend\nret int 12\nend\n" +text p1 "fn main to int\nx = ulong 1\nif ne x 1\nret int 11\nend\nret int 12\nend\n" +text p2 "fn main to int\nx = ulong 1\nif lt x 2\nret int 11\nend\nret int 12\nend\n" +text p3 "fn main to int\nx = ulong 2\nif le x 2\nret int 11\nend\nret int 12\nend\n" +text p4 "fn main to int\nx = ulong 2\nif gt x 1\nret int 11\nend\nret int 12\nend\n" +text p5 "fn main to int\nx = ulong 2\nif ge x 2\nret int 11\nend\nret int 12\nend\n" +text p6 "fn main to int\nx = ulong 0\nif eq x 0\nret int 11\nend\nret int 12\nend\n" +text p7 "fn main to int\nx = ulong 0\nif ne x 0\nret int 11\nend\nret int 12\nend\n" +text p8 "fn main to int\nx = ulong 0\nif eq x 1\nret int 11\nend\nret int 12\nend\n" +text p9 "fn main to int\ni = ulong 0\nwhile lt i 3\ni = add i 1\nend\nret int i\nend\n" +text p10 "fn main to int\ns = ulong 0\nfor i ulong 3\ns = add s i\nend\nret int s\nend\n" +text p11 "fn main to int\nx = ulong 1\nif eq x 2\nret int 20\nelse\nret int 21\nend\nend\n" +text p12 "fn f v ulong to int\nif eq v 7\nret int 30\nend\nret int 31\nend\nfn main to int\nx = ulong 7\nr = f x\nret r\nend\n" +text p13 "fn main to int\nx = ulong 1\ns = ulong 64\ny = shl x s\nret int 0\nend\n" +text p14 "fn main to int\nx = ulong 5\ny = ulong 0\nz = div x y\nret int 0\nend\n" +fn main to int +if ne read 0 mode 0 1 1 +ret 90 +end +m = ulong get mode 0 +if eq m 0 +r = write 1 p0 0 len p0 +if ne r long len p0 +ret 91 +end +ret 0 +end +if eq m 1 +r = write 1 p1 0 len p1 +if ne r long len p1 +ret 91 +end +ret 0 +end +if eq m 2 +r = write 1 p2 0 len p2 +if ne r long len p2 +ret 91 +end +ret 0 +end +if eq m 3 +r = write 1 p3 0 len p3 +if ne r long len p3 +ret 91 +end +ret 0 +end +if eq m 4 +r = write 1 p4 0 len p4 +if ne r long len p4 +ret 91 +end +ret 0 +end +if eq m 5 +r = write 1 p5 0 len p5 +if ne r long len p5 +ret 91 +end +ret 0 +end +if eq m 6 +r = write 1 p6 0 len p6 +if ne r long len p6 +ret 91 +end +ret 0 +end +if eq m 7 +r = write 1 p7 0 len p7 +if ne r long len p7 +ret 91 +end +ret 0 +end +if eq m 8 +r = write 1 p8 0 len p8 +if ne r long len p8 +ret 91 +end +ret 0 +end +if eq m 9 +r = write 1 p9 0 len p9 +if ne r long len p9 +ret 91 +end +ret 0 +end +if eq m 10 +r = write 1 p10 0 len p10 +if ne r long len p10 +ret 91 +end +ret 0 +end +if eq m 11 +r = write 1 p11 0 len p11 +if ne r long len p11 +ret 91 +end +ret 0 +end +if eq m 12 +r = write 1 p12 0 len p12 +if ne r long len p12 +ret 91 +end +ret 0 +end +if eq m 13 +r = write 1 p13 0 len p13 +if ne r long len p13 +ret 91 +end +ret 0 +end +if eq m 14 +r = write 1 p14 0 len p14 +if ne r long len p14 +ret 91 +end +ret 0 +end +ret 90 +end diff --git a/seed/qualification/security673/branch-mutate.om b/seed/qualification/security673/branch-mutate.om index 8665a57a1..8aa6e2a17 100644 --- a/seed/qualification/security673/branch-mutate.om +++ b/seed/qualification/security673/branch-mutate.om @@ -1,6 +1,7 @@ note Exact-source qualification transform. Mode0 exposes the real disp19 through a new main. -note Mode1 weakens the forward limit by two instructions. No transformed artifact is a production compiler. -global src uchar 262144 +note Mode1 weakens the forward limit;mode2 makes close_range unavailable;mode3 admits21-digit numbers. +note No transformed artifact is a production compiler. +global src uchar 1048576 global used ulong 1 global mode uchar 8 global needle uchar 64 @@ -9,6 +10,13 @@ text entry "fn main to int" text renamed "fn prev to int" text limit "gt diff 1048572" text weak "gt diff 1048580" +text seal "hsys 436" +text noseal "hsys 999" +text digits "if gt ndig 20" +text longer "if gt ndig 21" +text filter "hsys 277" +text fence "hsys 446" +text bypass "hsys 172" text probe "\nfn main to int\nn = read 0 msg 0 1\nif ne n 1\nret 90\nend\nm = get msg 0\na = ulong 0\nt = ulong 0\ne = ulong 0\nif eq m 0\nt = ulong 1048572\ne = ulong 262143\nend\nif eq m 1\na = ulong 1048576\ne = ulong 262144\nend\nif eq m 2\na = ulong 1024\ne = ulong 524032\nend\nif eq m 3\na = ulong 1028\ne = ulong 524031\nend\nif eq m 4\nt = ulong 1048576\nend\nif eq m 5\na = ulong 1048580\nend\nif eq m 6\nt = ulong 2\nend\nif eq m 7\na = ulong 2\nend\nv = disp19 a t\nif ge m 4\nret 81\nend\nif ne v e\nret 82\nend\nret 0\nend\n" fn matches i ulong to bool for j ulong get used 0 @@ -32,7 +40,7 @@ if ne r 1 ret 90 end m = get mode 0 -if and ne m 48 ne m 49 +if or lt m 48 gt m 53 ret 90 end if eq m 48 @@ -41,13 +49,42 @@ for i ulong len entry put needle i get entry i put repl i get renamed i end -else +end +if eq m 49 put used 0 len limit for i ulong len limit put needle i get limit i put repl i get weak i end end +if eq m 50 +put used 0 len seal +for i ulong len seal +put needle i get seal i +put repl i get noseal i +end +end +if eq m 51 +put used 0 len digits +for i ulong len digits +put needle i get digits i +put repl i get longer i +end +end +if eq m 52 +put used 0 len filter +for i ulong len filter +put needle i get filter i +put repl i get bypass i +end +end +if eq m 53 +put used 0 len fence +for i ulong len fence +put needle i get fence i +put repl i get bypass i +end +end n = ulong 0 go = true while go diff --git a/seed/qualification/security673/exec-child.om b/seed/qualification/security673/exec-child.om new file mode 100644 index 000000000..f0ab11f16 --- /dev/null +++ b/seed/qualification/security673/exec-child.om @@ -0,0 +1,24 @@ +note A real executed consumer. Extra descriptors must be absent, assigned stdin/stdout must work. +global data uchar 16 +text input "public-input" +text output "public-output" +fn main to int +if ne read 3 data 0 1 neg long 9 +ret 42 +end +if ne read 65537 data 0 1 neg long 9 +ret 43 +end +if ne read 0 data 0 len input long len input +ret 44 +end +for i ulong len input +if ne get data i get input i +ret 45 +end +end +if ne write 1 output 0 len output long len output +ret 46 +end +ret 0 +end diff --git a/seed/qualification/security673/exec-parent.om b/seed/qualification/security673/exec-parent.om new file mode 100644 index 000000000..d2aaa8020 --- /dev/null +++ b/seed/qualification/security673/exec-parent.om @@ -0,0 +1,176 @@ +note Disposable integration parent. No private input, network, devices, or external service. +note Modes0 success,1 missing executable,2 isolate high-descriptor leak,3 unavailable-kernel mutant. +note Parent retains its own descriptor table; this is not a sandbox or resource-fencing test. +text secret "synthetic-secret" +text public "public-input" +text answer "public-output" +text name "synthetic-secret.data" +text child "./exec-child" +text absent "./no-such-executable" +global packet uchar 4096 +global bytes uchar 64 +global fds uchar 8 +global status uchar 4 +global mode uchar 1 +fn fdword off ulong to int +x = ulong 0 +for i ulong 4 +x = or x shl ulong get fds add off i mul i 8 +end +ret int x +end +fn addpath missing bool to ulong +put packet 0 1 +if missing +put packet 2 uchar len absent +for i ulong len absent +put packet add i 4 get absent i +end +ret add 4 len absent +end +put packet 2 uchar len child +for i ulong len child +put packet add i 4 get child i +end +ret add 4 len child +end +fn childrun rd int wr int missing bool to int +if ne dupfd rd 0 0 0 +ret 51 +end +if ne dupfd wr 1 0 1 +ret 52 +end +if eq get mode 0 2 +if ne fclose 3 0 +ret 57 +end +end +n = addpath missing +r = execprog packet 0 n +if eq get mode 0 3 +if ne r neg long 38 +ret 58 +end +ret 0 +end +if not missing +ret 53 +end +if ne r neg long 2 +ret 54 +end +if ne read 3 bytes 0 1 neg long 9 +ret 55 +end +if ne read 65537 bytes 0 1 neg long 9 +ret 56 +end +ret 0 +end +fn parent pid long inputfd int outputfd int fd int missing bool to int +if ne fclose inputfd 0 +ret 61 +end +if ne fclose outputfd 0 +ret 62 +end +if ne waitpid int pid status 0 len status 0 pid +ret 63 +end +if ne get status 0 0 +ret 64 +end +if ne get status 1 0 +ret int get status 1 +end +if ne fseek fd 0 0 0 +ret 65 +end +if ne read fd bytes 0 len secret long len secret +ret 66 +end +for i ulong len secret +if ne get bytes i get secret i +ret 67 +end +end +ret 0 +end +fn main to int +if ne read 0 mode 0 1 1 +ret 90 +end +if gt get mode 0 3 +ret 90 +end +missing = eq get mode 0 1 +fd = fopen name 0 len name 194 384 +if lt fd 0 +ret 1 +end +if ne fd 3 +ret 2 +end +if ne write int fd secret 0 len secret long len secret +ret 3 +end +if ne fseek int fd 0 0 0 +ret 4 +end +if ne dupfd int fd 65537 0 65537 +ret 5 +end +if ne pipefds fds 0 len fds 0 0 +ret 6 +end +rd = fdword 0 +wr = fdword 4 +if ne write wr public 0 len public long len public +ret 7 +end +if ne fclose wr 0 +ret 8 +end +if ne pipefds fds 0 len fds 0 0 +ret 9 +end +outread = fdword 0 +outwrite = fdword 4 +pid = fork +if lt pid 0 +ret 10 +end +if eq pid 0 +ret childrun rd outwrite missing +end +rc = parent pid rd outwrite int fd missing +if ne rc 0 +ret rc +end +n = read outread bytes 0 len bytes +if or missing eq get mode 0 3 +if ne n 0 +ret 70 +end +else +if ne n long len answer +ret 71 +end +for i ulong len answer +if ne get bytes i get answer i +ret 72 +end +end +end +if ne fclose outread 0 +ret 73 +end +if ne fclose 65537 0 +ret 74 +end +if ne fclose int fd 0 +ret 75 +end +ret 0 +end diff --git a/seed/qualification/security673/gate669.om b/seed/qualification/security673/gate669.om index b0c941f16..40ae22e09 100644 --- a/seed/qualification/security673/gate669.om +++ b/seed/qualification/security673/gate669.om @@ -1,9 +1,10 @@ note Native issue669 qualification coordinator. Run from repository root; scratch must not exist. note All child exits are observed; signal, timeout, failed build, malformed oracle output fail closed. note GNU objdump is an independent decoder. Hashes identify artifacts and do not prove correctness. +text bd "build" text scratch "build/security673-native" text prefix "build/security673-native/" -text names "seed/omc/omc.om\nseed/qualification/security673/branch-corpus.om\nseed/qualification/security673/branch-mutate.om\nseed/qualification/security673/branch-check.om\n/usr/bin/objdump\n-D\n-b\nbinary\n-m\naarch64\n0\n1\n/dev/null\nseed/rung4/om4.bin\nseed/qualification/security673/array-fill.om\nseed/qualification/security673/oracle-corpus.om\nseed/qualification/security673/gate-child.om\n" +text names "seed/omc/omc.om\nseed/qualification/security673/branch-corpus.om\nseed/qualification/security673/branch-mutate.om\nseed/qualification/security673/branch-check.om\n/usr/bin/objdump\n-D\n-b\nbinary\n-m\naarch64\n0\n1\n/dev/null\nseed/rung4/om4.bin\nseed/qualification/security673/array-fill.om\nseed/qualification/security673/oracle-corpus.om\nseed/qualification/security673/gate-child.om\nseed/qualification/security673/hostile-corpus.om\n3\nseed/qualification/security673/branch-forms.om\nseed/qualification/security673/packet-corpus.om\nseed/qualification/security673/pkt-consumer.om\nseed/qualification/security673/renames-corpus.om\nseed/qualification/security673/renames-consumer.om\nseed/qualification/security673/path-consumer.om\nseed/authority/action-gate.om\nseed/authority/delegate-gate.om\nseed/authority/reuse-gate.om\nseed/authority/store-gate.om\nseed/authority/dispatch-gate.om\nseed/trace/sha256-gate.om\nseed/authority/lock-gate.om\n" text input " < " text output " > " text errors " 2> " @@ -12,6 +13,9 @@ text statusm "exit=" text expect " expected=" text signalm "INVALID child wait low-byte=" text timeoutm "INVALID child deadline exceeded; sent SIGKILL; wait low-byte=" +text elapsedm "elapsed_ns=" +text ingress "GATE671 SOURCE PASS bounded synthetic source families only\n" +text numred "NEGATIVE CONTROL: compiled numeric-limit bypass admits21 digits; this violates the20-digit profile. Fixed compiler refuses6.\n" text passed "GATE669 PASS bounded Linux AArch64 execution and independent decoding only\n" text failed "GATE669 FAIL; retain all scratch files and command output\n" global pathbuf uchar 4096 @@ -150,6 +154,9 @@ end while true r = waitpid pid statbuf 0 len statbuf 1 if eq r long pid +r = write 1 elapsedm 0 len elapsedm +num ulong sub monons start +r = write 1 nl 0 1 if ne get statbuf 0 0 r = write 1 signalm 0 len signalm num ulong get statbuf 0 @@ -370,10 +377,190 @@ command child result = run p 0 stop end +fn ingresscase cc ulong gen ulong mode uchar count ulong wanted ulong result ulong to void +src = fixture gen mode count +elf = compile cc src wanted +if eq wanted 0 +command elf +outid = run 13 result +empty outid +end +end +fn hostile cc ulong to void +gen = compile cc 18 0 +ingresscase cc gen 0 20 0 0 +ingresscase cc gen 0 21 6 0 +ingresscase cc gen 0 1000001 6 0 +ingresscase cc gen 1 1000 0 0 +ingresscase cc gen 1 1021 0 1 +ingresscase cc gen 1 1022 0 0 +ingresscase cc gen 1 1023 14 0 +ingresscase cc gen 2 512 0 0 +ingresscase cc gen 2 513 14 0 +ingresscase cc gen 3 1000001 0 0 +ingresscase cc gen 4 4095 0 0 +ingresscase cc gen 4 4096 14 0 +ingresscase cc gen 5 0 16 0 +ingresscase cc gen 6 0 23 0 +ingresscase cc gen 7 0 22 0 +ingresscase cc gen 8 0 3 0 +ingresscase cc gen 9 1000001 0 0 +ingresscase cc gen 10 8388608 14 0 +mut = compile cc 3 0 +command mut +argument 19 +changed = run 1 0 +badcc = compile cc changed 0 +sample = fixture gen 0 21 +badelf = compile badcc sample 0 +refused = compile cc sample 6 +r = write 1 numred 0 len numred +if ne r long len numred +stop +end +r = write 1 ingress 0 len ingress +if ne r long len ingress +stop +end +end +fn formwant m ulong to ulong +if eq m 0 +ret 11 +end +if eq m 1 +ret 12 +end +if eq m 2 +ret 11 +end +if eq m 3 +ret 11 +end +if eq m 4 +ret 11 +end +if eq m 5 +ret 11 +end +if eq m 6 +ret 11 +end +if eq m 7 +ret 12 +end +if eq m 8 +ret 12 +end +if eq m 9 +ret 3 +end +if eq m 10 +ret 3 +end +if eq m 11 +ret 21 +end +if eq m 12 +ret 30 +end +if eq m 13 +ret 107 +end +if eq m 14 +ret 102 +end +ret 90 +end +fn forms cc ulong to void +gen = compile cc 20 0 +for m ulong 15 +p = params uchar m 0 1 +command gen +src = run p 0 +elf = compile cc src 0 +command elf +outid = run 13 formwant m +empty outid +end +end +fn packetwant m ulong to ulong +if eq m 0 +ret 0 +end +if eq m 8 +ret 0 +end +ret 103 +end +fn packets cc ulong to void +gen = compile cc 21 0 +cons = compile cc 22 0 +for m ulong 9 +p = params uchar m 0 1 +command gen +src = run p 0 +command cons +outid = run src packetwant m +empty outid +end +end +fn renameswant m ulong to ulong +if eq m 0 +ret 0 +end +ret 103 +end +fn renamescc cc ulong to void +gen = compile cc 23 0 +cons = compile cc 24 0 +for m ulong 7 +p = params uchar m 0 1 +command gen +src = run p 0 +command cons +outid = run src renameswant m +empty outid +end +end +fn pathwant m ulong to ulong +if or or eq m 1 eq m 2 eq m 5 +ret 103 +end +ret 0 +end +fn pathcc cc ulong to void +cons = compile cc 25 0 +for m ulong 7 +p = params uchar m 0 1 +command cons +argument 1 +outid = run p pathwant m +empty outid +end +end +fn authone cc ulong id ulong to void +elf = compile cc id 0 +command elf +outid = run 13 0 +end +fn authority cc ulong to void +authone cc 26 +authone cc 27 +authone cc 28 +authone cc 29 +authone cc 30 +authone cc 31 +authone cc 32 +end fn main to int if or lt argcnt 1 gt argcnt 2 ret 90 end +mk = makedir bd 0 len bd 448 +if or eq mk 0 eq mk -17 +else +ret 91 +end if ne makedir scratch 0 len scratch 448 0 ret 91 end @@ -381,6 +568,13 @@ cc1 = compile 14 1 0 cc2 = compile cc1 1 0 equal cc1 cc2 if eq argcnt 2 +if ne argread 1 buf 0 1 1 +stop +end +if eq get buf 0 51 +hostile cc2 +ret 0 +end control cc2 ret 99 end @@ -392,6 +586,11 @@ array = compile cc2 15 0 command array result = run 13 0 oracle cc2 checker +forms cc2 +packets cc2 +renamescc cc2 +pathcc cc2 +authority cc2 positive cc2 gen checker 16 positive cc2 gen checker 262142 negative cc2 gen 0 262143 diff --git a/seed/qualification/security673/hostile-corpus.om b/seed/qualification/security673/hostile-corpus.om new file mode 100644 index 000000000..6ef7d8bea --- /dev/null +++ b/seed/qualification/security673/hostile-corpus.om @@ -0,0 +1,197 @@ +note Synthetic source ingress campaign. Binary stdin is mode plus little-endian u32 count, no tail. +note Output is source only. This generator grants no execution authority and uses no private data. +global args uchar 5 +global extra uchar 1 +global buf uchar 4096 +global nums uchar 32 +text mainpre "fn main to int\n" +text done "ret 0\nend\n" +text numpre "fn main to int\nx = ulong " +text numend "\nret 0\nend\n" +text exprpre "fn main to int\nx = int 0\nif " +text addword "not " +text exprend "eq x 0\nret 0\nelse\nret 1\nend\nend\n" +text ifword "if true\n" +text endword "end\n" +text textpre "text data \"" +text textend "\"\nfn main to int\nret 0\nend\n" +note Function names are g: f32 and f64 are type keywords, so f made the count fixture fail on f32. +text fnpre "fn g" +text fnpost " to int\nret 0\nend\n" +text array "global data uchar 16777217\nfn main to int\nret 0\nend\n" +text quote "text data \"abc" +text unknown "fn main to int\nret unknown\nend\n" +fn fill b uchar count ulong to void +for i ulong len buf +put buf i b +end +n = count +while ne n 0 +chunk = n +if gt chunk len buf +chunk = len buf +end +if ne write 1 buf 0 chunk long chunk +exit 91 +end +n = sub n chunk +end +end +fn putnum v ulong to void +x = v +n = ulong 0 +while ge x 10 +put nums n uchar add 48 rem x 10 +x = div x 10 +n = add n 1 +end +put nums n uchar add 48 x +n = add n 1 +for i ulong n +if ne write 1 nums sub sub n i 1 1 1 +exit 91 +end +end +end +fn numeric n ulong to void +if ne write 1 numpre 0 len numpre long len numpre +exit 91 +end +fill 48 n +if ne write 1 numend 0 len numend long len numend +exit 91 +end +end +fn nested n ulong to void +if ne write 1 exprpre 0 len exprpre long len exprpre +exit 91 +end +for i ulong n +if ne write 1 addword 0 len addword long len addword +exit 91 +end +end +if ne write 1 exprend 0 len exprend long len exprend +exit 91 +end +end +fn blocks n ulong to void +if ne write 1 mainpre 0 len mainpre long len mainpre +exit 91 +end +for i ulong n +if ne write 1 ifword 0 len ifword long len ifword +exit 91 +end +end +for i ulong n +if ne write 1 endword 0 len endword long len endword +exit 91 +end +end +if ne write 1 done 0 len done long len done +exit 91 +end +end +fn literal n ulong to void +if ne write 1 textpre 0 len textpre long len textpre +exit 91 +end +fill 97 n +if ne write 1 textend 0 len textend long len textend +exit 91 +end +end +fn funcs n ulong to void +for i ulong n +if ne write 1 fnpre 0 len fnpre long len fnpre +exit 91 +end +putnum i +if ne write 1 fnpost 0 len fnpost long len fnpost +exit 91 +end +end +if ne write 1 mainpre 0 len mainpre long len mainpre +exit 91 +end +if ne write 1 done 0 len done long len done +exit 91 +end +end +fn main to int +p = ulong 0 +while lt p 5 +r = read 0 args p sub 5 p +if le r 0 +ret 90 +end +p = add p ulong r +end +if ne read 0 extra 0 1 0 +ret 90 +end +m = get args 0 +if gt m 10 +ret 90 +end +n = ulong 0 +for i ulong 4 +n = or n shl ulong get args add i 1 mul i 8 +end +if gt n 8388608 +ret 90 +end +if eq m 0 +numeric n +end +if eq m 1 +if gt n 2048 +ret 90 +end +nested n +end +if eq m 2 +if gt n 1024 +ret 90 +end +blocks n +end +if eq m 3 +literal n +end +if eq m 4 +if gt n 4096 +ret 90 +end +funcs n +end +if eq m 5 +fill 0 1 +end +if eq m 6 +if ne write 1 array 0 len array long len array +ret 91 +end +end +if eq m 7 +if ne write 1 quote 0 len quote long len quote +ret 91 +end +end +if eq m 8 +if ne write 1 unknown 0 len unknown long len unknown +ret 91 +end +end +if ge m 9 +fill 32 n +if ne write 1 mainpre 0 len mainpre long len mainpre +ret 91 +end +if ne write 1 done 0 len done long len done +ret 91 +end +end +ret 0 +end diff --git a/seed/qualification/security673/path-consumer.om b/seed/qualification/security673/path-consumer.om new file mode 100644 index 000000000..a8726e970 --- /dev/null +++ b/seed/qualification/security673/path-consumer.om @@ -0,0 +1,67 @@ +note Synthetic issue671 path and argread boundary consumer. Mode byte on stdin. +note Modes0-3 exercise fopen; modes4-6 exercise argread with the first argument. +global mode uchar 1 +global buf uchar 4096 +text ok "build/security673-native/path-ok" +text data "x" +fn main to int +if ne read 0 mode 0 1 1 +ret 90 +end +m = ulong get mode 0 +if eq m 0 +fd = fopen ok 0 len ok 577 384 +if lt fd 0 +ret 91 +end +r = write int fd data 0 1 +if ne r 1 +ret 92 +end +if ne fclose int fd 0 +ret 93 +end +ret 0 +end +if eq m 1 +for i ulong len ok +put buf i get ok i +end +put buf 5 0 +r = fopen buf 0 len ok 0 0 +ret 94 +end +if eq m 2 +for i ulong 4096 +put buf i 97 +end +r = fopen buf 0 4096 0 0 +ret 95 +end +if eq m 3 +r = fopen buf 0 0 0 0 +if lt r 0 +ret 0 +end +ret 96 +end +if eq m 4 +n = argread 1 buf 0 1 +if ne n neg long 105 +ret 97 +end +ret 0 +end +if eq m 5 +n = argread 99 buf 0 4 +ret 98 +end +if eq m 6 +n = argread 1 buf 0 len buf +if le n 0 +ret 99 +end +ret 0 +end +ret 98 +end diff --git a/seed/qualification/security673/pure-busy.om b/seed/qualification/security673/pure-busy.om new file mode 100644 index 000000000..615574692 --- /dev/null +++ b/seed/qualification/security673/pure-busy.om @@ -0,0 +1,10 @@ +note Deliberate CPU exhaustion. The supervisor expects SIGXCPU from the installed one-second limit. +global total ulong 1 +fn main to int +for i ulong 999999 +for j ulong 999999 +put total 0 add get total 0 add i j +end +end +ret 81 +end diff --git a/seed/qualification/security673/pure-child.om b/seed/qualification/security673/pure-child.om new file mode 100644 index 000000000..2855e45f0 --- /dev/null +++ b/seed/qualification/security673/pure-child.om @@ -0,0 +1,51 @@ +note Actual hostile consumer under execpure. Every path and payload here is synthetic. +global buf uchar 32 +global packet uchar 64 +text input "public-input" +text output "public-output" +text private "build/security673-pure/private.data" +text judge "build/security673-pure/judge.data" +text other "/usr/bin/true" +fn main to int +if ne read 0 buf 0 len input long len input +ret 41 +end +for i ulong len input +if ne get buf i get input i +ret 42 +end +end +if ne read 3 buf 0 1 neg long 1 +ret 43 +end +if ne write 0 buf 0 1 neg long 1 +ret 44 +end +if ne read 1 buf 0 1 neg long 1 +ret 45 +end +if ne fopen private 0 len private 0 0 neg long 1 +ret 46 +end +if ne fopen judge 0 len judge 513 384 neg long 1 +ret 47 +end +if ne socknew 2 1 0 neg long 1 +ret 48 +end +if ne fork neg long 1 +ret 49 +end +put packet 0 1 +put packet 2 uchar len other +for i ulong len other +put packet add i 4 get other i +end +if ne execprog packet 0 add 4 len other neg long 1 +ret 50 +end +if ne write 1 output 0 len output long len output +ret 51 +end +ret 0 +end diff --git a/seed/qualification/security673/pure-launch.om b/seed/qualification/security673/pure-launch.om new file mode 100644 index 000000000..7ebe87283 --- /dev/null +++ b/seed/qualification/security673/pure-launch.om @@ -0,0 +1,26 @@ +note Trusted launch adapter for strict-profile tests. Invoke only as a fresh supervised child. +note Failure may already have restricted this process; report the error and exit, never fall back. +global path uchar 1024 +global packet uchar 4096 +text error "PURE_LAUNCH_REFUSED\n" +fn main to int +if ne argcnt 2 +ret 90 +end +n = argread 1 path 0 len path +if or le n 0 gt n 1024 +ret 90 +end +put packet 0 1 +put packet 2 uchar and ulong n 255 +put packet 3 uchar shr ulong n 8 +for i ulong ulong n +put packet add i 4 get path i +end +r = execpure packet 0 add 4 ulong n +s = write 2 error 0 len error +if lt r 0 +ret int neg r +end +ret 99 +end diff --git a/seed/qualification/security673/pure-other.om b/seed/qualification/security673/pure-other.om new file mode 100644 index 000000000..1215e5cba --- /dev/null +++ b/seed/qualification/security673/pure-other.om @@ -0,0 +1,4 @@ +note Harmless unassigned executable used only as the missing-inode-fence negative control. +fn main to int +ret 77 +end diff --git a/seed/qualification/security673/pure-output.om b/seed/qualification/security673/pure-output.om new file mode 100644 index 000000000..84371e6cd --- /dev/null +++ b/seed/qualification/security673/pure-output.om @@ -0,0 +1,9 @@ +note One write to a disposable regular output file must stop at the installed one-MiB file limit. +global bytes uchar 1048577 +fn main to int +n = write 1 bytes 0 len bytes +if ne n 1048576 +ret 82 +end +ret 0 +end diff --git a/seed/qualification/security673/pure-raw.om b/seed/qualification/security673/pure-raw.om new file mode 100644 index 000000000..e122e87c8 --- /dev/null +++ b/seed/qualification/security673/pure-raw.om @@ -0,0 +1,153 @@ +note Fixed hostile native fixtures, emitted as data by seeded Omega. Not a general source translator. +note Input is the identified212-byte minimal seeded ELF. Only its176-byte ELF header is retained. +note Modes0 absolute execveat to unassigned inode;1 raw openat;2 raw getpid;3 raw mmap. +global image uchar 512 +global mode uchar 8 +global pos ulong 1 +global target uchar 192 +text path "/usr/bin/true" +fn set64 off ulong value ulong to void +for i ulong 8 +put image add off i uchar and shr value mul i 8 255 +end +end +fn word value ulong to void +p = get pos 0 +for i ulong 4 +put image add p i uchar and shr value mul i 8 255 +end +put pos 0 add p 4 +end +fn mov reg ulong value ulong to void +word or or 3531603968 reg shl value 5 +end +fn pathptr to void +mov 1 320 +note MOVK x1,#64,LSL16, giving the fixed RX mapping address0x400140. +word 4070574081 +end +fn execraw to void +mov 0 3 +pathptr +mov 2 0 +mov 3 0 +mov 4 4096 +mov 8 281 +end +fn openraw to void +mov 0 0 +note SUB x0,x0,#100, AT_FDCWD. +word 3506540544 +pathptr +mov 2 0 +mov 3 0 +mov 8 56 +end +fn mmapraw to void +mov 0 0 +note MOVZ x1,#16384,LSL16 gives1GiB; MAP_PRIVATE|MAP_ANONYMOUS with no file. +word 3534225409 +mov 2 3 +mov 3 34 +note MOVN x4,#0 gives descriptor-1. +word 2457862148 +mov 5 0 +mov 8 222 +end +fn main to int +if and ne argcnt 2 ne argcnt 3 +ret 90 +end +if ne argread 1 mode 0 len mode 1 +ret 90 +end +m = get mode 0 +if or lt m 48 gt m 51 +ret 90 +end +n = ulong 0 +more = true +while more +if eq n len image +ret 92 +end +r = read 0 image n sub len image n +if lt r 0 +ret 91 +end +if eq r 0 +if ne n 212 +ret 92 +end +more = false +else +n = add n ulong r +end +end +if or ne get image 0 127 ne get image 1 69 +ret 92 +end +if or ne get image 2 76 ne get image 3 70 +ret 92 +end +if or ne get image 18 183 ne get image 56 2 +ret 92 +end +for i ulong 336 +put image add 176 i 0 +end +set64 96 512 +set64 104 512 +put pos 0 176 +if eq m 48 +execraw +end +if eq m 49 +openraw +end +if eq m 50 +mov 8 172 +end +if eq m 51 +mmapraw +end +word 3556769793 +want = ulong 1 +if eq m 48 +want = ulong 13 +end +note CMN x0,#wanted errno; branch to exit0 only for the exact expected refusal. +word or 2969567263 shl want 10 +word 1409286240 +mov 0 71 +word 335544322 +mov 0 0 +mov 8 93 +word 3556769793 +sz = ulong len path +for i ulong sz +put target i get path i +end +if eq argcnt 3 +t = argread 2 target 0 len target +if or le t 0 ge t long len target +ret 94 +end +if ne get target 0 47 +ret 94 +end +sz = ulong t +end +for i ulong sz +put image add 320 i get target i +end +p = ulong 0 +while lt p len image +r = write 1 image p sub len image p +if le r 0 +ret 93 +end +p = add p ulong r +end +ret 0 +end diff --git a/seed/qualification/security673/renames-consumer.om b/seed/qualification/security673/renames-consumer.om new file mode 100644 index 000000000..f77d46e87 --- /dev/null +++ b/seed/qualification/security673/renames-consumer.om @@ -0,0 +1,21 @@ +note Synthetic issue671 renames consumer. Creates a source file, then renames from stdin packet. +note A malformed packet traps 3; a valid packet renames without replacing. +global pkt uchar 4096 +text src "build/security673-native/ren-src" +text data "x" +fn main to int +fd = fopen src 0 len src 577 384 +if lt fd 0 +ret 90 +end +r = write int fd data 0 1 +if ne r 1 +ret 91 +end +if ne fclose int fd 0 +ret 92 +end +n = ulong read 0 pkt 0 4096 +r = renames pkt 0 n 0 +ret int r +end diff --git a/seed/qualification/security673/renames-corpus.om b/seed/qualification/security673/renames-corpus.om new file mode 100644 index 000000000..5c98e4303 --- /dev/null +++ b/seed/qualification/security673/renames-corpus.om @@ -0,0 +1,96 @@ +note Synthetic issue671 renames packet corpus. Reads one mode byte and writes one packed list. +note Mode0 is accepted; modes1..6 must trap before any kernel rename. +global pkt uchar 4096 +global n ulong 1 +global name uchar 64 +global namelen ulong 1 +text old "build/security673-native/ren-src" +text dst "build/security673-native/ren-dst" +fn put16 v ulong to void +put pkt get n 0 uchar and v 255 +put pkt add get n 0 1 uchar shr v 8 +put n 0 add get n 0 2 +end +fn recname to void +put16 get namelen 0 +for i ulong get namelen 0 +put pkt add get n 0 i get name i +end +put n 0 add get n 0 get namelen 0 +end +fn setold to void +put namelen 0 len old +for i ulong len old +put name i get old i +end +end +fn setnew to void +put namelen 0 len dst +for i ulong len dst +put name i get dst i +end +end +fn main to int +if ne read 0 pkt 0 1 1 +ret 90 +end +m = ulong get pkt 0 +put n 0 0 +if eq m 0 +put16 2 +setold +recname +setnew +recname +end +if eq m 1 +put16 1 +setold +recname +end +if eq m 2 +put16 3 +setold +recname +setnew +recname +setnew +recname +end +if eq m 3 +put16 2 +put namelen 0 0 +recname +setnew +recname +end +if eq m 4 +put16 2 +setold +recname +put namelen 0 0 +recname +end +if eq m 5 +put16 2 +setold +recname +setnew +recname +put pkt get n 0 0 +put n 0 add get n 0 1 +end +if eq m 6 +setold +put name 5 0 +put16 2 +recname +setnew +recname +end +r = write 1 pkt 0 get n 0 +if ne r long get n 0 +ret 91 +end +ret 0 +end diff --git a/seed/rung4/gate4.sh b/seed/rung4/gate4.sh index dbb4f3879..d645cd397 100644 --- a/seed/rung4/gate4.sh +++ b/seed/rung4/gate4.sh @@ -1,7 +1,7 @@ #!/bin/sh # gate4.sh -- the checks of rung 4 (seed/README.md). Run from the repo root: sh seed/rung4/gate4.sh # Needs build/omegese/omegese and build/omega_emit/omega_emit (the C path, built by make through -# quiet-build), cc for the reference runner and gcc for the C twins of the program tests. Oracles only: +# quiet-build), cc for the reference runner and committed expected outputs for the program tests. Oracles only: # none of them writes a byte of seed/; om4.bin is made by asm2 alone. Results: evidence/SEED-0/rung4/. set -eu R=seed/rung4; B=build/seed/r4; E=evidence/SEED-0/rung4; X=$R/tests @@ -72,19 +72,18 @@ for f in fm1 fm2 fm3 fm4 fm5 fm6 fm7 fm8 fm9; do done cat "$tab" >> "$E/gate4.log" -# 6. program mode (hand-laid ELF, no linker) against gcc-built C twins (gcc = oracle, named here): +# 6. program mode (hand-laid ELF, no linker) against committed expected outputs: # recursive fib, a 1000-entry sort, echo stdin -> stdout, byte copy (reversed) for p in fib sort echo bytecopy; do $R/om4.bin < $X/$p.om > $B/$p; chmod +x $B/$p; done -head -c 50000 /dev/urandom > $B/in.bin -for p in fib sort bytecopy; do gcc -O1 -o $B/$p.ref $X/$p.c; done -./$B/fib > $B/fib.out; ./$B/fib.ref > $B/fib.ref.out -cmp -s $B/fib.out $B/fib.ref.out && say "PASS fib (recursion): 26 lines = gcc twin" || bad "fib differs from its gcc twin" -./$B/sort > $B/sort.out; ./$B/sort.ref > $B/sort.ref.out -cmp -s $B/sort.out $B/sort.ref.out && say "PASS sort 1000: checksum, sorted count, first, last = gcc twin ($(tr '\n' ' ' < $B/sort.out))" || bad "sort differs" +cp $X/in.bin $B/in.bin +./$B/fib > $B/fib.out +cmp -s $B/fib.out $X/fib.want && say "PASS fib (recursion): 26 lines = expected output" || bad "fib differs from expected output" +./$B/sort > $B/sort.out +cmp -s $B/sort.out $X/sort.want && say "PASS sort 1000: checksum, sorted count, first, last = expected output ($(tr '\n' ' ' < $B/sort.out))" || bad "sort differs" ./$B/echo < $B/in.bin > $B/echo.out -cmp -s $B/in.bin $B/echo.out && say "PASS echo: 50000 random bytes stdin -> stdout unchanged" || bad "echo" -./$B/bytecopy < $B/in.bin > $B/bc.out; ./$B/bytecopy.ref < $B/in.bin > $B/bc.ref.out -cmp -s $B/bc.out $B/bc.ref.out && say "PASS byte copy: 50000 bytes reversed = gcc twin" || bad "bytecopy" +cmp -s $B/in.bin $B/echo.out && say "PASS echo: 50000 fixture bytes stdin -> stdout unchanged" || bad "echo" +./$B/bytecopy < $B/in.bin > $B/bc.out +cmp -s $B/bc.out $X/bytecopy.want && say "PASS byte copy: 50000 bytes reversed = expected output" || bad "bytecopy" cases=$((cases + 4)) for p in fib sort echo bytecopy; do cp $B/$p $E/$p.elf; done # program-mode traps and exit: status 100 + trap code, or the exit value diff --git a/seed/rung4/tests/bytecopy.c b/seed/rung4/tests/bytecopy.c deleted file mode 100644 index fe8a38c16..000000000 --- a/seed/rung4/tests/bytecopy.c +++ /dev/null @@ -1,8 +0,0 @@ -/* bytecopy.c -- REFERENCE TWIN ONLY (gcc oracle) of seed/rung4/tests/bytecopy.om: stdin reversed. */ -#include -#include -static unsigned char s[65536], d[65536]; -int main(void) { size_t t = 0; ssize_t k; - while (t < sizeof s && (k = read(0, s + t, sizeof s - t)) > 0) t += (size_t)k; - for (size_t i = 0; i < t; i++) d[t - i - 1] = s[i]; - fwrite(d, 1, t, stdout); return 0; } diff --git a/seed/rung4/tests/bytecopy.want b/seed/rung4/tests/bytecopy.want new file mode 100644 index 000000000..030a4e369 Binary files /dev/null and b/seed/rung4/tests/bytecopy.want differ diff --git a/seed/rung4/tests/fib.c b/seed/rung4/tests/fib.c deleted file mode 100644 index c2b3dd8bb..000000000 --- a/seed/rung4/tests/fib.c +++ /dev/null @@ -1,4 +0,0 @@ -/* fib.c -- REFERENCE TWIN ONLY (gcc oracle) of seed/rung4/tests/fib.om. */ -#include -static unsigned long long fib(unsigned long long n) { return n < 2 ? n : fib(n - 1) + fib(n - 2); } -int main(void) { for (unsigned long long i = 0; i < 26; i++) printf("%llu\n", fib(i)); return 0; } diff --git a/seed/rung4/tests/fib.want b/seed/rung4/tests/fib.want new file mode 100644 index 000000000..6650d350f --- /dev/null +++ b/seed/rung4/tests/fib.want @@ -0,0 +1,26 @@ +0 +1 +1 +2 +3 +5 +8 +13 +21 +34 +55 +89 +144 +233 +377 +610 +987 +1597 +2584 +4181 +6765 +10946 +17711 +28657 +46368 +75025 diff --git a/seed/rung4/tests/in.bin b/seed/rung4/tests/in.bin new file mode 100644 index 000000000..e594c0781 Binary files /dev/null and b/seed/rung4/tests/in.bin differ diff --git a/seed/rung4/tests/sort.c b/seed/rung4/tests/sort.c deleted file mode 100644 index 28f6b68dc..000000000 --- a/seed/rung4/tests/sort.c +++ /dev/null @@ -1,15 +0,0 @@ -/* sort.c -- REFERENCE TWIN ONLY (gcc oracle) of seed/rung4/tests/sort.om: same generator, same sort. */ -#include -#include -static uint64_t a[1000]; -int main(void) { - uint64_t x = 12345, s = 0, bad = 0; - for (int i = 0; i < 1000; i++) { x = (x * 1103515245u + 12345u) % 2147483648u; a[i] = x % 100000; } - for (int j = 0; j < 1000; j++) { uint64_t v = a[j]; int k = j; - while (k > 0 && a[k-1] > v) { a[k] = a[k-1]; k--; } a[k] = v; } - for (int i = 0; i < 1000; i++) s += a[i] * (uint64_t)(i + 1); - for (int i = 0; i < 999; i++) if (a[i] > a[i+1]) bad++; - printf("%llu\n%llu\n%llu\n%llu\n", (unsigned long long)s, (unsigned long long)bad, - (unsigned long long)a[0], (unsigned long long)a[999]); - return 0; -} diff --git a/seed/rung4/tests/sort.want b/seed/rung4/tests/sort.want new file mode 100644 index 000000000..867f548da --- /dev/null +++ b/seed/rung4/tests/sort.want @@ -0,0 +1,4 @@ +33342746882 +0 +20 +99900 diff --git a/seed/spirv/.crumb b/seed/spirv/.crumb index a8177fc22..eb7062077 100644 --- a/seed/spirv/.crumb +++ b/seed/spirv/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:743d2cf0390f0d4655f11b6c5dda48c34d2991175311b3ef740ed09d04058107", + "digest": "sha256:167fc3fd7bed73780c8b0d9961867023fc7383603c0737616ee44ac1bc7fad77", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 9, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:6cfeb8febd9b7026b66520fdf979e087eae0ba19b88eb7116e2f2419edad49bb" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:5c79b94f9b1ebfa47392428c1000ef8cd3156d75e496c089424afa30eab9f4c9" } }, "layer": "seed", diff --git a/seed/spirv/gate-irspirv.sh b/seed/spirv/gate-irspirv.sh index 5f85512f4..b75a3ba31 100755 --- a/seed/spirv/gate-irspirv.sh +++ b/seed/spirv/gate-irspirv.sh @@ -21,7 +21,7 @@ SPIRV_VAL=${SPIRV_VAL:-spirv-val} PYTHON=${PYTHON:-python3} command -v "$SPIRV_VAL" >/dev/null || notrun "requires spirv-val ($SPIRV_VAL)" command -v "$PYTHON" >/dev/null || notrun "requires Python parity oracle ($PYTHON)" -pin=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +pin=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de [ -f "$OMC" ] || fail "compiler $OMC missing" [ "$(sha256sum "$OMC" | cut -d ' ' -f 1)" = "$pin" ] || fail 'compiler pin differs' case "${POCL_LIBRARY:-}" in /*/libpocl.so*) ;; *) notrun 'POCL_LIBRARY must name the absolute trusted PoCL shared library' ;; esac diff --git a/seed/stablehlo/.crumb b/seed/stablehlo/.crumb index 56259496f..60ed6ad61 100644 --- a/seed/stablehlo/.crumb +++ b/seed/stablehlo/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:fb6894e7d4b9cf00bbcc990f436ee1c798b5030d524c8e51463c6442ac9ea73c", + "digest": "sha256:85645e776fd8464701e42e7201d803196b0ee7044afe57808fd9f883d05a87d6", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 7, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:b5775962e6ac210e50b1a9c4749c3df388a6352ef58655c12bf90448ef483750" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:35587f9b36d66c0d9c0faea2ada00237661d43621854dec24e4f6859983be2e9" } }, "layer": "seed", diff --git a/seed/stablehlo/gate-irstablehlo.sh b/seed/stablehlo/gate-irstablehlo.sh index 7a3669577..7d24695bc 100755 --- a/seed/stablehlo/gate-irstablehlo.sh +++ b/seed/stablehlo/gate-irstablehlo.sh @@ -19,7 +19,7 @@ PYTHON=${PYTHON:-$(command -v python3 || true)} [ -n "$IREE_RUN" ] && [ -x "$IREE_RUN" ] || notrun 'requires iree-run-module oracle' [ -n "$PYTHON" ] && "$PYTHON" -c 'import jax, jaxlib, numpy' 2>/dev/null || notrun 'requires jaxlib PJRT CPU oracle' OMC=seed/out/omc -pin=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +pin=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de [ "$(sha256sum "$OMC" | cut -d ' ' -f 1)" = "$pin" ] || fail 'compiler pin differs' rm -rf "$B" mkdir -p "$B" diff --git a/seed/tensix/.crumb b/seed/tensix/.crumb index 0980322da..1270b5d45 100644 --- a/seed/tensix/.crumb +++ b/seed/tensix/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:03dcab1ea27e67541c3727c73e688a5f16a4b268cb99898277aec21a2f89f5c0", + "digest": "sha256:c58ac43845029977a5ff90c892401ae8e7afe90a5e1f7dce44fb1ca9ca250413", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 19, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:3f6d856a8e38782d91cd096cf0869ccd23cbec8b53dac5cd61f472b2f125eaa6" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:70d283a4a9b4f053fc3f220d132b17db84859f2eabd5fadf4900c24e1eecc1b6" } }, "layer": "seed", diff --git a/seed/tensix/gate-tensix.sh b/seed/tensix/gate-tensix.sh index b961d03b9..befa7071f 100755 --- a/seed/tensix/gate-tensix.sh +++ b/seed/tensix/gate-tensix.sh @@ -30,7 +30,7 @@ ASM=seed/rung2/asm2.bin TAB=$R/rv32im.tbl ASM_PIN=6988abe072fac3cdef2240d5ad13a3ecd8fb576fa09112d344b9e7c2315969c4 OMC=seed/out/omc -OMC_PIN=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +OMC_PIN=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de TTSIM_VERSION=v1.15.0 TTSIM_WH_PIN=e2a56ffe04072a10d477db1ef85cdbd5d392d9fc52043bb949b90a4c01ff6b4f TTSIM_BH_PIN=2367dccc964c0ce4a20b14520e5f7ac6191bb227fb20e87aca1e94bf7432ced2 diff --git a/seed/trace/README.md b/seed/trace/README.md index d34a2a62d..d501c0eb5 100644 --- a/seed/trace/README.md +++ b/seed/trace/README.md @@ -106,3 +106,20 @@ writers are not supported either: there is no lock, and the unit assumes a singl The CLI above is a separate program. It does not add an index, rotation, retention, an async writer, consent, redaction, or a query-scaling measurement. + +## One-shot SHA-256 digest (security673) + +`sha256.om` is a one-shot FIPS 180-4 SHA-256 over at most 4096 input bytes. It holds 32-bit words +in `ulong`, masks every addition, and writes 32 big-endian output bytes. `sha256-test.om` checks the +empty, `abc`, 56-byte, 112-byte and 1000-byte vectors. It is separate from `tsha.om` (the streaming +copy of `om/evidence/evidence.om` that `tracecli.om` uses). + +``` +seed/out/omc < seed/trace/sha256-gate.om > build/sha256-gate +chmod +x build/sha256-gate +./build/sha256-gate +``` + +Expected: `sha256 vectors=5 fails=0`, exit 0. The same gate is compiled and run by +`seed/qualification/security673/gate669.om`. The segment writer is qualified by `gate.sh` above, +not by `gate669`. diff --git a/seed/trace/sha256-gate.om b/seed/trace/sha256-gate.om new file mode 100644 index 000000000..840b7c35a --- /dev/null +++ b/seed/trace/sha256-gate.om @@ -0,0 +1,290 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note SHA-256, one-shot over a byte slice, in seeded .om. +note The digest is the standard FIPS 180-4 construction with 32-bit words held in ulong and +note masked after every addition. It has no host crypto dependency and no network path. +global h ulong 8 +global w ulong 64 +global k ulong 64 +global blk uchar 64 +global kset ulong 1 + +fn mask x ulong to ulong +ret and x 4294967295 +end + +fn ror x ulong n ulong to ulong +ret mask or shr x n shl x sub 32 n +end + +fn ch e ulong f ulong g ulong to ulong +ret xor and e f and xor e 4294967295 g +end + +fn maj a ulong b ulong c ulong to ulong +ret xor and a b xor and a c and b c +end + +fn bs0 x ulong to ulong +ret xor ror x 2 xor ror x 13 ror x 22 +end + +fn bs1 x ulong to ulong +ret xor ror x 6 xor ror x 11 ror x 25 +end + +fn ss0 x ulong to ulong +ret xor ror x 7 xor ror x 18 shr x 3 +end + +fn ss1 x ulong to ulong +ret xor ror x 17 xor ror x 19 shr x 10 +end + +fn kinit to void +if ne get kset 0 0 +ret +end +put k 0 ulong 1116352408 +put k 1 ulong 1899447441 +put k 2 ulong 3049323471 +put k 3 ulong 3921009573 +put k 4 ulong 961987163 +put k 5 ulong 1508970993 +put k 6 ulong 2453635748 +put k 7 ulong 2870763221 +put k 8 ulong 3624381080 +put k 9 ulong 310598401 +put k 10 ulong 607225278 +put k 11 ulong 1426881987 +put k 12 ulong 1925078388 +put k 13 ulong 2162078206 +put k 14 ulong 2614888103 +put k 15 ulong 3248222580 +put k 16 ulong 3835390401 +put k 17 ulong 4022224774 +put k 18 ulong 264347078 +put k 19 ulong 604807628 +put k 20 ulong 770255983 +put k 21 ulong 1249150122 +put k 22 ulong 1555081692 +put k 23 ulong 1996064986 +put k 24 ulong 2554220882 +put k 25 ulong 2821834349 +put k 26 ulong 2952996808 +put k 27 ulong 3210313671 +put k 28 ulong 3336571891 +put k 29 ulong 3584528711 +put k 30 ulong 113926993 +put k 31 ulong 338241895 +put k 32 ulong 666307205 +put k 33 ulong 773529912 +put k 34 ulong 1294757372 +put k 35 ulong 1396182291 +put k 36 ulong 1695183700 +put k 37 ulong 1986661051 +put k 38 ulong 2177026350 +put k 39 ulong 2456956037 +put k 40 ulong 2730485921 +put k 41 ulong 2820302411 +put k 42 ulong 3259730800 +put k 43 ulong 3345764771 +put k 44 ulong 3516065817 +put k 45 ulong 3600352804 +put k 46 ulong 4094571909 +put k 47 ulong 275423344 +put k 48 ulong 430227734 +put k 49 ulong 506948616 +put k 50 ulong 659060556 +put k 51 ulong 883997877 +put k 52 ulong 958139571 +put k 53 ulong 1322822218 +put k 54 ulong 1537002063 +put k 55 ulong 1747873779 +put k 56 ulong 1955562222 +put k 57 ulong 2024104815 +put k 58 ulong 2227730452 +put k 59 ulong 2361852424 +put k 60 ulong 2428436474 +put k 61 ulong 2756734187 +put k 62 ulong 3204031479 +put k 63 ulong 3329325298 +put kset 0 1 +end + +fn hinit to void +put h 0 ulong 1779033703 +put h 1 ulong 3144134277 +put h 2 ulong 1013904242 +put h 3 ulong 2773480762 +put h 4 ulong 1359893119 +put h 5 ulong 2600822924 +put h 6 ulong 528734635 +put h 7 ulong 1541459225 +end + +fn compress to void +kinit +for i ulong 16 +v = ulong 0 +for j ulong 4 +v = or shl v 8 ulong get blk add mul i 4 j +end +put w i v +end +for i ulong 48 +j = add i 16 +v = add ss1 get w sub j 2 add ss0 get w sub j 15 add get w sub j 7 get w sub j 16 +put w j mask v +end +a = ulong get h 0 +b = ulong get h 1 +c = ulong get h 2 +d = ulong get h 3 +e = ulong get h 4 +f = ulong get h 5 +g = ulong get h 6 +hh = ulong get h 7 +for i ulong 64 +x = ch e f g +x = add x get k i +x = add x get w i +x = add x bs1 e +x = add x hh +t1 = mask x +x = maj a b c +x = add bs0 a x +hh = g +g = f +f = e +e = mask add d t1 +d = c +c = b +b = a +a = mask add t1 x +end +put h 0 mask add get h 0 a +put h 1 mask add get h 1 b +put h 2 mask add get h 2 c +put h 3 mask add get h 3 d +put h 4 mask add get h 4 e +put h 5 mask add get h 5 f +put h 6 mask add get h 6 g +put h 7 mask add get h 7 hh +end + +fn sha256 data view uchar 4096 n ulong out edit uchar 32 to void +hinit +full = div n 64 +for b ulong full +for i ulong 64 +put blk i get data add mul b 64 i +end +compress +end +left = rem n 64 +for i ulong 64 +put blk i 0 +end +for i ulong left +put blk i get data add mul full 64 i +end +put blk left 128 +if ge left 56 +compress +for i ulong 64 +put blk i 0 +end +end +bits = mul n 8 +for i ulong 8 +sh = mul sub 7 i 8 +v = shr bits sh +v = and v 255 +put blk add 56 i uchar v +end +compress +for i ulong 8 +v = ulong get h i +for j ulong 4 +sh = mul sub 3 j 8 +x = shr v sh +x = and x 255 +put out add mul i 4 j uchar x +end +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note Standard SHA-256 vectors: empty, abc, one-block boundary, two blocks and 1000 bytes. +global fails ulong 1 +global checks ulong 1 +text digs "0123456789abcdef" +text v0 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" +text e1 "abc" +text v1 "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad" +text e2 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" +text v2 "248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1" +text e3 "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu" +text v3 "cf5b16a778af8380036ce59e7b0492370b249b11e8f07a51afac45037afee9d1" +text v4 "41edece42d63e8d9bf515a9ba6932e1c20cbc9f5a5d134645adb5db1b9737ea3" +text passm "sha256 vectors=5 fails=0\n" + +fn hi b uchar to uchar +ret get digs shr b 4 +end +fn lo b uchar to uchar +ret get digs and b 15 +end +fn hexout d view uchar 32 o edit uchar 64 to void +for i ulong 32 +put o mul i 2 hi get d i +put o add mul i 2 1 lo get d i +end +end +fn cmp a view uchar 64 b view uchar 64 to void +for i ulong 64 +if ne get a i get b i +put fails 0 add get fails 0 1 +end +end +put checks 0 add get checks 0 1 +end +fn main to int +buf = new uchar 4096 0 +out = new uchar 32 0 +hxb = new uchar 64 0 +sha256 buf 0 out +hexout out hxb +cmp hxb v0 +for i ulong len e1 +put buf i get e1 i +end +sha256 buf len e1 out +hexout out hxb +cmp hxb v1 +for i ulong len e2 +put buf i get e2 i +end +sha256 buf len e2 out +hexout out hxb +cmp hxb v2 +for i ulong len e3 +put buf i get e3 i +end +sha256 buf len e3 out +hexout out hxb +cmp hxb v3 +for i ulong 1000 +put buf i 97 +end +sha256 buf 1000 out +hexout out hxb +cmp hxb v4 +if ne get fails 0 0 +ret 1 +end +nw = write 1 passm 0 len passm +if ne nw long len passm +ret 2 +end +ret 0 +end diff --git a/seed/trace/sha256-test.om b/seed/trace/sha256-test.om new file mode 100644 index 000000000..42d37b535 --- /dev/null +++ b/seed/trace/sha256-test.om @@ -0,0 +1,75 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Standard SHA-256 vectors: empty, abc, one-block boundary, two blocks and 1000 bytes. +global fails ulong 1 +global checks ulong 1 +text digs "0123456789abcdef" +text v0 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" +text e1 "abc" +text v1 "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad" +text e2 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" +text v2 "248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1" +text e3 "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu" +text v3 "cf5b16a778af8380036ce59e7b0492370b249b11e8f07a51afac45037afee9d1" +text v4 "41edece42d63e8d9bf515a9ba6932e1c20cbc9f5a5d134645adb5db1b9737ea3" +text passm "sha256 vectors=5 fails=0\n" + +fn hi b uchar to uchar +ret get digs shr b 4 +end +fn lo b uchar to uchar +ret get digs and b 15 +end +fn hexout d view uchar 32 o edit uchar 64 to void +for i ulong 32 +put o mul i 2 hi get d i +put o add mul i 2 1 lo get d i +end +end +fn cmp a view uchar 64 b view uchar 64 to void +for i ulong 64 +if ne get a i get b i +put fails 0 add get fails 0 1 +end +end +put checks 0 add get checks 0 1 +end +fn main to int +buf = new uchar 4096 0 +out = new uchar 32 0 +hxb = new uchar 64 0 +sha256 buf 0 out +hexout out hxb +cmp hxb v0 +for i ulong len e1 +put buf i get e1 i +end +sha256 buf len e1 out +hexout out hxb +cmp hxb v1 +for i ulong len e2 +put buf i get e2 i +end +sha256 buf len e2 out +hexout out hxb +cmp hxb v2 +for i ulong len e3 +put buf i get e3 i +end +sha256 buf len e3 out +hexout out hxb +cmp hxb v3 +for i ulong 1000 +put buf i 97 +end +sha256 buf 1000 out +hexout out hxb +cmp hxb v4 +if ne get fails 0 0 +ret 1 +end +nw = write 1 passm 0 len passm +if ne nw long len passm +ret 2 +end +ret 0 +end diff --git a/seed/trace/sha256.om b/seed/trace/sha256.om new file mode 100644 index 000000000..fcefa6504 --- /dev/null +++ b/seed/trace/sha256.om @@ -0,0 +1,215 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note SHA-256, one-shot over a byte slice, in seeded .om. +note The digest is the standard FIPS 180-4 construction with 32-bit words held in ulong and +note masked after every addition. It has no host crypto dependency and no network path. +global h ulong 8 +global w ulong 64 +global k ulong 64 +global blk uchar 64 +global kset ulong 1 + +fn mask x ulong to ulong +ret and x 4294967295 +end + +fn ror x ulong n ulong to ulong +ret mask or shr x n shl x sub 32 n +end + +fn ch e ulong f ulong g ulong to ulong +ret xor and e f and xor e 4294967295 g +end + +fn maj a ulong b ulong c ulong to ulong +ret xor and a b xor and a c and b c +end + +fn bs0 x ulong to ulong +ret xor ror x 2 xor ror x 13 ror x 22 +end + +fn bs1 x ulong to ulong +ret xor ror x 6 xor ror x 11 ror x 25 +end + +fn ss0 x ulong to ulong +ret xor ror x 7 xor ror x 18 shr x 3 +end + +fn ss1 x ulong to ulong +ret xor ror x 17 xor ror x 19 shr x 10 +end + +fn kinit to void +if ne get kset 0 0 +ret +end +put k 0 ulong 1116352408 +put k 1 ulong 1899447441 +put k 2 ulong 3049323471 +put k 3 ulong 3921009573 +put k 4 ulong 961987163 +put k 5 ulong 1508970993 +put k 6 ulong 2453635748 +put k 7 ulong 2870763221 +put k 8 ulong 3624381080 +put k 9 ulong 310598401 +put k 10 ulong 607225278 +put k 11 ulong 1426881987 +put k 12 ulong 1925078388 +put k 13 ulong 2162078206 +put k 14 ulong 2614888103 +put k 15 ulong 3248222580 +put k 16 ulong 3835390401 +put k 17 ulong 4022224774 +put k 18 ulong 264347078 +put k 19 ulong 604807628 +put k 20 ulong 770255983 +put k 21 ulong 1249150122 +put k 22 ulong 1555081692 +put k 23 ulong 1996064986 +put k 24 ulong 2554220882 +put k 25 ulong 2821834349 +put k 26 ulong 2952996808 +put k 27 ulong 3210313671 +put k 28 ulong 3336571891 +put k 29 ulong 3584528711 +put k 30 ulong 113926993 +put k 31 ulong 338241895 +put k 32 ulong 666307205 +put k 33 ulong 773529912 +put k 34 ulong 1294757372 +put k 35 ulong 1396182291 +put k 36 ulong 1695183700 +put k 37 ulong 1986661051 +put k 38 ulong 2177026350 +put k 39 ulong 2456956037 +put k 40 ulong 2730485921 +put k 41 ulong 2820302411 +put k 42 ulong 3259730800 +put k 43 ulong 3345764771 +put k 44 ulong 3516065817 +put k 45 ulong 3600352804 +put k 46 ulong 4094571909 +put k 47 ulong 275423344 +put k 48 ulong 430227734 +put k 49 ulong 506948616 +put k 50 ulong 659060556 +put k 51 ulong 883997877 +put k 52 ulong 958139571 +put k 53 ulong 1322822218 +put k 54 ulong 1537002063 +put k 55 ulong 1747873779 +put k 56 ulong 1955562222 +put k 57 ulong 2024104815 +put k 58 ulong 2227730452 +put k 59 ulong 2361852424 +put k 60 ulong 2428436474 +put k 61 ulong 2756734187 +put k 62 ulong 3204031479 +put k 63 ulong 3329325298 +put kset 0 1 +end + +fn hinit to void +put h 0 ulong 1779033703 +put h 1 ulong 3144134277 +put h 2 ulong 1013904242 +put h 3 ulong 2773480762 +put h 4 ulong 1359893119 +put h 5 ulong 2600822924 +put h 6 ulong 528734635 +put h 7 ulong 1541459225 +end + +fn compress to void +kinit +for i ulong 16 +v = ulong 0 +for j ulong 4 +v = or shl v 8 ulong get blk add mul i 4 j +end +put w i v +end +for i ulong 48 +j = add i 16 +v = add ss1 get w sub j 2 add ss0 get w sub j 15 add get w sub j 7 get w sub j 16 +put w j mask v +end +a = ulong get h 0 +b = ulong get h 1 +c = ulong get h 2 +d = ulong get h 3 +e = ulong get h 4 +f = ulong get h 5 +g = ulong get h 6 +hh = ulong get h 7 +for i ulong 64 +x = ch e f g +x = add x get k i +x = add x get w i +x = add x bs1 e +x = add x hh +t1 = mask x +x = maj a b c +x = add bs0 a x +hh = g +g = f +f = e +e = mask add d t1 +d = c +c = b +b = a +a = mask add t1 x +end +put h 0 mask add get h 0 a +put h 1 mask add get h 1 b +put h 2 mask add get h 2 c +put h 3 mask add get h 3 d +put h 4 mask add get h 4 e +put h 5 mask add get h 5 f +put h 6 mask add get h 6 g +put h 7 mask add get h 7 hh +end + +fn sha256 data view uchar 4096 n ulong out edit uchar 32 to void +hinit +full = div n 64 +for b ulong full +for i ulong 64 +put blk i get data add mul b 64 i +end +compress +end +left = rem n 64 +for i ulong 64 +put blk i 0 +end +for i ulong left +put blk i get data add mul full 64 i +end +put blk left 128 +if ge left 56 +compress +for i ulong 64 +put blk i 0 +end +end +bits = mul n 8 +for i ulong 8 +sh = mul sub 7 i 8 +v = shr bits sh +v = and v 255 +put blk add 56 i uchar v +end +compress +for i ulong 8 +v = ulong get h i +for j ulong 4 +sh = mul sub 3 j 8 +x = shr v sh +x = and x 255 +put out add mul i 4 j uchar x +end +end +end diff --git a/seed/wasm/.crumb b/seed/wasm/.crumb index 7bb5a3375..b68711820 100644 --- a/seed/wasm/.crumb +++ b/seed/wasm/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:32:31Z", + "compiled_at": "2026-10-31T03:22:28Z", "compiler": "crumb-compile/1", - "digest": "sha256:67bac7e17fdb8645ef1ccfd542c4821b2a7636e0237628e5026d3c5d384b71af", + "digest": "sha256:639c990f1aeddebed5ea4a72ba57f4197292bdfa922feff6f53c8615a290d372", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 44, - "generated_at_commit": "834d4159742288b5fe2628ad325c801eb68f800d", - "source_tree": "sha256:b2a0471ac206220eef31375951d7dba3cd3759b19f5a752d410a11b6b97e2738" + "generated_at_commit": "d3763c7f271e123765c88cbbf837030a1ac95c94", + "source_tree": "sha256:27cd13d0e85cfe324f96a472e8757f99d2407b9887ec06434877a2715f45b1a9" } }, "layer": "seed", diff --git a/seed/wasm/gate-irwasm.sh b/seed/wasm/gate-irwasm.sh index 095e6f012..732a1cacf 100755 --- a/seed/wasm/gate-irwasm.sh +++ b/seed/wasm/gate-irwasm.sh @@ -8,7 +8,7 @@ fail() { printf 'FAIL %s\n' "$*"; exit 1; } [ "$(uname -m)" = aarch64 ] || { echo 'NOT_RUN requires AArch64 Linux'; exit 3; } command -v node >/dev/null || { echo 'NOT_RUN requires Node WebAssembly oracle'; exit 3; } OMC=seed/out/omc -pin=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 +pin=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de [ "$(sha256sum "$OMC" | cut -d ' ' -f 1)" = "$pin" ] || fail 'compiler pin differs' printf 'SOURCE %s\n' "$(git rev-parse HEAD)" printf 'COMPILER %s\n' "$pin" diff --git a/src/.crumb b/src/.crumb index acf215898..20f4a0c60 100644 --- a/src/.crumb +++ b/src/.crumb @@ -188,14 +188,14 @@ } ], "children_root": "sha256:6ade3e583c9df260fbfc768469dae662b88153725b14f7086431861419cfffe3", - "compiled_at": "2026-10-31T04:21:57Z", + "compiled_at": "2026-10-31T04:29:18Z", "compiler": "crumb-compile/1", - "digest": "sha256:cd8f78e6b6ca22288d7f77a7e6438a1f085c5fbf5ad7cc3bf0254627d2e71015", + "digest": "sha256:7d8a7c8029dba378d0c59047ad32885348baf084b3ad9dbc06921b6bb490659e", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 599, - "generated_at_commit": "5a8bb29a2c1be2c004377e386dcc4000c24b938d", - "source_tree": "sha256:c9d14042ce2222dc91ad4fbf3e21b9f67a28e04acd826b489827ec1dae2a4334" + "generated_at_commit": "6aadea5b1b2d91ae91d6db636e96bc2b6df6c393", + "source_tree": "sha256:531641d8ef4b58544a47a8d7ec1b75828c85163993d40d665a23ff239f36975b" }, "owner_lane": "", "provenance": { diff --git a/src/omega_native.h b/src/omega_native.h index 305c8c24a..72358e02d 100644 --- a/src/omega_native.h +++ b/src/omega_native.h @@ -15,7 +15,7 @@ extern "C" { #define OMEGA_REENTRY 33u #define OMEGA_BAD_RT 34u #define OMEGA_NO_STACK 35u -#define OMEGA2_IDENT_sha256_om2 "omega-ident 1 unit=sha256_om2 abi=2 profile=OM-2 src=dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb omc=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1" +#define OMEGA2_IDENT_sha256_om2 "omega-ident 1 unit=sha256_om2 abi=2 profile=OM-2 src=dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb omc=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de" const char *omega2_ident_sha256_om2(void); /* export fn sha256_init c edit shactx to void */ uint32_t omega2_sha256_init(uint64_t *result, uint8_t *o_c); diff --git a/src/omega_om_units.c b/src/omega_om_units.c index 5ce532c91..2671d5c63 100644 --- a/src/omega_om_units.c +++ b/src/omega_om_units.c @@ -193,7 +193,7 @@ static uint32_t ombr2_run(const void *code, uint64_t *args, uint64_t *result, in return s; } __asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.globl ombr2_code_sha256_om2\n.hidden ombr2_code_sha256_om2\nombr2_code_sha256_om2:\n.byte 0x60,0x10,0x00,0x14,0xb6,0x11,0x00,0x14,0xef,0x11,0x00,0x14,0x4a,0x13,0x00,0x14,0x01,0xf3,0x85,0xd2,0x41,0x51,0xa8,0xf2,0x01,0x00,0x00,0xb9,0x21,0x92,0x88,0xd2,0xe1,0x26,0xae,0xf2,0x01,0x04,0x00,0xb9,0xe1,0x79,0x9f,0xd2,0x01,0xb8,0xb6,0xf2,0x01,0x08,0x00,0xb9,0xa1,0x74,0x9b,0xd2,0xa1,0x36,0xbd,0xf2,0x01,0x0c,0x00,0xb9,0x61,0x4b,0x98,0xd2,0xc1,0x2a,0xa7,0xf2,0x01,0x10,0x00,0xb9,0x21,0x3e,0x82,0xd2,0x21,0x3e,0xab,0xf2,0x01,0x14,0x00,0xb9,0x81,0x54,0x90,0xd2,0xe1,0x47,0xb2,0xf2,0x01,0x18,0x00,0xb9,0xa1,0xda,0x8b,0xd2,0x81,0x63,0xb5,0xf2,0x01,0x1c,0x00,0xb9,0x01,0x53,0x95,0xd2,0xe1,0x00,0xbb,0xf2,0x01,0x20,0x00,0xb9,0x21,0x60,0x8b,0xd2,0x61,0x50,0xa2,0xf2,0x01,0x24,0x00,0xb9,0xc1,0xb7,0x90,0xd2,0x21,0x86,0xa4,0xf2,0x01,0x28,0x00,0xb9,0x61,0xb8,0x8f,0xd2,0x81,0xa1,0xaa,0xf2,0x01,0x2c,0x00,0xb9,0x81,0xae,0x8b,0xd2,0xc1,0x57,0xae,0xf2,0x01,0x30,0x00,0xb9,0xc1,0x3f,0x96,0xd2,0xc1,0x1b,0xb0,0xf2,0x01,0x34,0x00,0xb9,0xe1,0xd4,0x80,0xd2,0x81,0x7b,0xb3,0xf2,0x01,0x38,0x00,0xb9,0x81,0x2e,0x9e,0xd2,0x61,0x33,0xb8,0xf2,0x01,0x3c,0x00,0xb9,0x21,0x38,0x8d,0xd2,0x61,0x93,0xbc,0xf2,0x01,0x40,0x00,0xb9,0xc1,0xf0,0x88,0xd2,0xc1,0xf7,0xbd,0xf2,0x01,0x44,0x00,0xb9,0xc1,0xb8,0x93,0xd2,0x21,0xf8,0xa1,0xf2,0x01,0x48,0x00,0xb9,0x81,0x39,0x94,0xd2,0x81,0x81,0xa4,0xf2,0x01,0x4c,0x00,0xb9,0xe1,0x8d,0x85,0xd2,0x21,0xbd,0xa5,0xf2,0x01,0x50,0x00,0xb9,0x41,0x95,0x90,0xd2,0x81,0x4e,0xa9,0xf2,0x01,0x54,0x00,0xb9,0x81,0x3b,0x95,0xd2,0x01,0x96,0xab,0xf2,0x01,0x58,0x00,0xb9,0x41,0x1b,0x91,0xd2,0x21,0xdf,0xae,0xf2,0x01,0x5c,0x00,0xb9,0x41,0x2a,0x8a,0xd2,0xc1,0x07,0xb3,0xf2,0x01,0x60,0x00,0xb9,0xa1,0xcd,0x98,0xd2,0x21,0x06,0xb5,0xf2,0x01,0x64,0x00,0xb9,0x01,0xf9,0x84,0xd2,0x61,0x00,0xb6,0xf2,0x01,0x68,0x00,0xb9,0xe1,0xf8,0x8f,0xd2,0x21,0xeb,0xb7,0xf2,0x01,0x6c,0x00,0xb9,0x61,0x7e,0x81,0xd2,0x01,0xdc,0xb8,0xf2,0x01,0x70,0x00,0xb9,0xe1,0x28,0x92,0xd2,0xe1,0xb4,0xba,0xf2,0x01,0x74,0x00,0xb9,0x21,0x6a,0x8c,0xd2,0x41,0xd9,0xa0,0xf2,0x01,0x78,0x00,0xb9,0xe1,0x2c,0x85,0xd2,0x21,0x85,0xa2,0xf2,0x01,0x7c,0x00,0xb9,0xa1,0x50,0x81,0xd2,0xe1,0xf6,0xa4,0xf2,0x01,0x80,0x00,0xb9,0x01,0x27,0x84,0xd2,0x61,0xc3,0xa5,0xf2,0x01,0x84,0x00,0xb9,0x81,0xbf,0x8d,0xd2,0x81,0xa5,0xa9,0xf2,0x01,0x88,0x00,0xb9,0x61,0xa2,0x81,0xd2,0x01,0x67,0xaa,0xf2,0x01,0x8c,0x00,0xb9,0x81,0x6a,0x8e,0xd2,0x41,0xa1,0xac,0xf2,0x01,0x90,0x00,0xb9,0x61,0x57,0x81,0xd2,0x41,0xcd,0xae,0xf2,0x01,0x94,0x00,0xb9,0xc1,0x25,0x99,0xd2,0x41,0x38,0xb0,0xf2,0x01,0x98,0x00,0xb9,0xa1,0x90,0x85,0xd2,0x41,0x4e,0xb2,0xf2,0x01,0x9c,0x00,0xb9,0x21,0x14,0x9d,0xd2,0xe1,0x57,0xb4,0xf2,0x01,0xa0,0x00,0xb9,0x61,0xc9,0x8c,0xd2,0x41,0x03,0xb5,0xf2,0x01,0xa4,0x00,0xb9,0x01,0x6e,0x91,0xd2,0x61,0x49,0xb8,0xf2,0x01,0xa8,0x00,0xb9,0x61,0x34,0x8a,0xd2,0x81,0xed,0xb8,0xf2,0x01,0xac,0x00,0xb9,0x21,0x03,0x9d,0xd2,0x41,0x32,0xba,0xf2,0x01,0xb0,0x00,0xb9,0x81,0xc4,0x80,0xd2,0x21,0xd3,0xba,0xf2,0x01,0xb4,0x00,0xb9,0xa1,0xb0,0x86,0xd2,0xc1,0x81,0xbe,0xf2,0x01,0xb8,0x00,0xb9,0x01,0x0e,0x94,0xd2,0x41,0x0d,0xa2,0xf2,0x01,0xbc,0x00,0xb9,0xc1,0x22,0x98,0xd2,0x81,0x34,0xa3,0xf2,0x01,0xc0,0x00,0xb9,0x01,0x81,0x8d,0xd2,0xe1,0xc6,0xa3,0xf2,0x01,0xc4,0x00,0xb9,0x81,0xe9,0x8e,0xd2,0x01,0xe9,0xa4,0xf2,0x01,0xc8,0x00,0xb9,0xa1,0x96,0x97,0xd2,0x01,0x96,0xa6,0xf2,0x01,0xcc,0x00,0xb9,0x61,0x96,0x81,0xd2,0x81,0x23,0xa7,0xf2,0x01,0xd0,0x00,0xb9,0x41,0x49,0x95,0xd2,0x01,0xdb,0xa9,0xf2,0x01,0xd4,0x00,0xb9,0xe1,0x49,0x99,0xd2,0x81,0x73,0xab,0xf2,0x01,0xd8,0x00,0xb9,0x61,0xfe,0x8d,0xd2,0xc1,0x05,0xad,0xf2,0x01,0xdc,0x00,0xb9,0xc1,0x5d,0x90,0xd2,0xe1,0x91,0xae,0xf2,0x01,0xe0,0x00,0xb9,0xe1,0x6d,0x8c,0xd2,0xa1,0x14,0xaf,0xf2,0x01,0xe4,0x00,0xb9,0x81,0x02,0x8f,0xd2,0x01,0x99,0xb0,0xf2,0x01,0xe8,0x00,0xb9,0x01,0x41,0x80,0xd2,0xe1,0x98,0xb1,0xf2,0x01,0xec,0x00,0xb9,0x41,0xff,0x9f,0xd2,0xc1,0x17,0xb2,0xf2,0x01,0xf0,0x00,0xb9,0x61,0x9d,0x8d,0xd2,0x01,0x8a,0xb4,0xf2,0x01,0xf4,0x00,0xb9,0xe1,0x7e,0x94,0xd2,0x21,0xdf,0xb7,0xf2,0x01,0xf8,0x00,0xb9,0x41,0x1e,0x8f,0xd2,0x21,0xce,0xb8,0xf2,0x01,0xfc,0x00,0xb9,0xc0,0x03,0x5f,0xd6,0xe1,0xcc,0x9c,0xd2,0x21,0x41,0xad,0xf2,0x01,0x00,0x00,0xb9,0xa1,0xd0,0x95,0xd2,0xe1,0x6c,0xb7,0xf2,0x01,0x04,0x00,0xb9,0x41,0x6e,0x9e,0xd2,0xc1,0x8d,0xa7,0xf2,0x01,0x08,0x00,0xb9,0x41,0xa7,0x9e,0xd2,0xe1,0xa9,0xb4,0xf2,0x01,0x0c,0x00,0xb9,0xe1,0x4f,0x8a,0xd2,0xc1,0x21,0xaa,0xf2,0x01,0x10,0x00,0xb9,0x81,0x11,0x8d,0xd2,0xa1,0x60,0xb3,0xf2,0x01,0x14,0x00,0xb9,0x61,0x35,0x9b,0xd2,0x61,0xf0,0xa3,0xf2,0x01,0x18,0x00,0xb9,0x21,0xa3,0x99,0xd2,0x01,0x7c,0xab,0xf2,0x01,0x1c,0x00,0xb9,0xc0,0x03,0x5f,0xd6,0x04,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0x64,0x00,0x00,0x91,0x9f,0x00,0x02,0xeb,0x42,0xa2,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x62,0xa1,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x82,0xa0,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0xa2,0x9f,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x00,0x00,0xb9,0x64,0x10,0x00,0x91,0x9f,0x00,0x02,0xeb,0xe2,0x9e,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x02,0x9e,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x22,0x9d,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x42,0x9c,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x04,0x00,0xb9,0x64,0x20,0x00,0x91,0x9f,0x00,0x02,0xeb,0x82,0x9b,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0xa2,0x9a,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0xc2,0x99,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0xe2,0x98,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x08,0x00,0xb9,0x64,0x30,0x00,0x91,0x9f,0x00,0x02,0xeb,0x22,0x98,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x42,0x97,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x62,0x96,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x82,0x95,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x0c,0x00,0xb9,0x64,0x40,0x00,0x91,0x9f,0x00,0x02,0xeb,0xc2,0x94,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0xe2,0x93,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x02,0x93,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x22,0x92,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x10,0x00,0xb9,0x64,0x50,0x00,0x91,0x9f,0x00,0x02,0xeb,0x62,0x91,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x82,0x90,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0xa2,0x8f,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0xc2,0x8e,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x14,0x00,0xb9,0x64,0x60,0x00,0x91,0x9f,0x00,0x02,0xeb,0x02,0x8e,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x22,0x8d,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x42,0x8c,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x62,0x8b,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x18,0x00,0xb9,0x64,0x70,0x00,0x91,0x9f,0x00,0x02,0xeb,0xa2,0x8a,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0xc2,0x89,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0xe2,0x88,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x02,0x88,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x1c,0x00,0xb9,0x64,0x80,0x00,0x91,0x9f,0x00,0x02,0xeb,0x42,0x87,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x62,0x86,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x82,0x85,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0xa2,0x84,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x20,0x00,0xb9,0x64,0x90,0x00,0x91,0x9f,0x00,0x02,0xeb,0xe2,0x83,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x02,0x83,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x22,0x82,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x42,0x81,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x24,0x00,0xb9,0x64,0xa0,0x00,0x91,0x9f,0x00,0x02,0xeb,0x82,0x80,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0xa2,0x7f,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0xc2,0x7e,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0xe2,0x7d,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x28,0x00,0xb9,0x64,0xb0,0x00,0x91,0x9f,0x00,0x02,0xeb,0x22,0x7d,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x42,0x7c,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x62,0x7b,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x82,0x7a,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x2c,0x00,0xb9,0x64,0xc0,0x00,0x91,0x9f,0x00,0x02,0xeb,0xc2,0x79,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0xe2,0x78,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x02,0x78,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x22,0x77,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x30,0x00,0xb9,0x64,0xd0,0x00,0x91,0x9f,0x00,0x02,0xeb,0x62,0x76,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x82,0x75,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0xa2,0x74,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0xc2,0x73,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x34,0x00,0xb9,0x64,0xe0,0x00,0x91,0x9f,0x00,0x02,0xeb,0x02,0x73,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0x22,0x72,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0x42,0x71,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x62,0x70,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x38,0x00,0xb9,0x64,0xf0,0x00,0x91,0x9f,0x00,0x02,0xeb,0xa2,0x6f,0x00,0x54,0x28,0x68,0x64,0x38,0xe5,0x03,0x08,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x04,0x00,0x91,0x3f,0x01,0x02,0xeb,0xc2,0x6e,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x08,0x00,0x91,0x3f,0x01,0x02,0xeb,0xe2,0x6d,0x00,0x54,0x2a,0x68,0x69,0x38,0x05,0x01,0x0a,0xaa,0xa8,0xdc,0x78,0xd3,0x08,0x7d,0x40,0xd3,0x89,0x0c,0x00,0x91,0x3f,0x01,0x02,0xeb,0x02,0x6d,0x00,0x54,0x2a,0x68,0x69,0x38,0x0b,0x01,0x0a,0xaa,0x0b,0x3c,0x00,0xb9,0x05,0x04,0x40,0xb9,0x06,0x38,0x40,0xb9,0x08,0x00,0x40,0xb9,0x09,0x24,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x40,0x00,0xb9,0x05,0x08,0x40,0xb9,0x06,0x3c,0x40,0xb9,0x08,0x04,0x40,0xb9,0x09,0x28,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x44,0x00,0xb9,0x05,0x0c,0x40,0xb9,0x06,0x40,0x40,0xb9,0x08,0x08,0x40,0xb9,0x09,0x2c,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x48,0x00,0xb9,0x05,0x10,0x40,0xb9,0x06,0x44,0x40,0xb9,0x08,0x0c,0x40,0xb9,0x09,0x30,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x4c,0x00,0xb9,0x05,0x14,0x40,0xb9,0x06,0x48,0x40,0xb9,0x08,0x10,0x40,0xb9,0x09,0x34,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x50,0x00,0xb9,0x05,0x18,0x40,0xb9,0x06,0x4c,0x40,0xb9,0x08,0x14,0x40,0xb9,0x09,0x38,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x54,0x00,0xb9,0x05,0x1c,0x40,0xb9,0x06,0x50,0x40,0xb9,0x08,0x18,0x40,0xb9,0x09,0x3c,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x58,0x00,0xb9,0x05,0x20,0x40,0xb9,0x06,0x54,0x40,0xb9,0x08,0x1c,0x40,0xb9,0x09,0x40,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x5c,0x00,0xb9,0x05,0x24,0x40,0xb9,0x06,0x58,0x40,0xb9,0x08,0x20,0x40,0xb9,0x09,0x44,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x60,0x00,0xb9,0x05,0x28,0x40,0xb9,0x06,0x5c,0x40,0xb9,0x08,0x24,0x40,0xb9,0x09,0x48,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x64,0x00,0xb9,0x05,0x2c,0x40,0xb9,0x06,0x60,0x40,0xb9,0x08,0x28,0x40,0xb9,0x09,0x4c,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x68,0x00,0xb9,0x05,0x30,0x40,0xb9,0x06,0x64,0x40,0xb9,0x08,0x2c,0x40,0xb9,0x09,0x50,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x6c,0x00,0xb9,0x05,0x34,0x40,0xb9,0x06,0x68,0x40,0xb9,0x08,0x30,0x40,0xb9,0x09,0x54,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x70,0x00,0xb9,0x05,0x38,0x40,0xb9,0x06,0x6c,0x40,0xb9,0x08,0x34,0x40,0xb9,0x09,0x58,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x74,0x00,0xb9,0x05,0x3c,0x40,0xb9,0x06,0x70,0x40,0xb9,0x08,0x38,0x40,0xb9,0x09,0x5c,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x78,0x00,0xb9,0x05,0x40,0x40,0xb9,0x06,0x74,0x40,0xb9,0x08,0x3c,0x40,0xb9,0x09,0x60,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x7c,0x00,0xb9,0x05,0x44,0x40,0xb9,0x06,0x78,0x40,0xb9,0x08,0x40,0x40,0xb9,0x09,0x64,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x80,0x00,0xb9,0x05,0x48,0x40,0xb9,0x06,0x7c,0x40,0xb9,0x08,0x44,0x40,0xb9,0x09,0x68,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x84,0x00,0xb9,0x05,0x4c,0x40,0xb9,0x06,0x80,0x40,0xb9,0x08,0x48,0x40,0xb9,0x09,0x6c,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x88,0x00,0xb9,0x05,0x50,0x40,0xb9,0x06,0x84,0x40,0xb9,0x08,0x4c,0x40,0xb9,0x09,0x70,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x8c,0x00,0xb9,0x05,0x54,0x40,0xb9,0x06,0x88,0x40,0xb9,0x08,0x50,0x40,0xb9,0x09,0x74,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x90,0x00,0xb9,0x05,0x58,0x40,0xb9,0x06,0x8c,0x40,0xb9,0x08,0x54,0x40,0xb9,0x09,0x78,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x94,0x00,0xb9,0x05,0x5c,0x40,0xb9,0x06,0x90,0x40,0xb9,0x08,0x58,0x40,0xb9,0x09,0x7c,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x98,0x00,0xb9,0x05,0x60,0x40,0xb9,0x06,0x94,0x40,0xb9,0x08,0x5c,0x40,0xb9,0x09,0x80,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0x9c,0x00,0xb9,0x05,0x64,0x40,0xb9,0x06,0x98,0x40,0xb9,0x08,0x60,0x40,0xb9,0x09,0x84,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xa0,0x00,0xb9,0x05,0x68,0x40,0xb9,0x06,0x9c,0x40,0xb9,0x08,0x64,0x40,0xb9,0x09,0x88,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xa4,0x00,0xb9,0x05,0x6c,0x40,0xb9,0x06,0xa0,0x40,0xb9,0x08,0x68,0x40,0xb9,0x09,0x8c,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xa8,0x00,0xb9,0x05,0x70,0x40,0xb9,0x06,0xa4,0x40,0xb9,0x08,0x6c,0x40,0xb9,0x09,0x90,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xac,0x00,0xb9,0x05,0x74,0x40,0xb9,0x06,0xa8,0x40,0xb9,0x08,0x70,0x40,0xb9,0x09,0x94,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xb0,0x00,0xb9,0x05,0x78,0x40,0xb9,0x06,0xac,0x40,0xb9,0x08,0x74,0x40,0xb9,0x09,0x98,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xb4,0x00,0xb9,0x05,0x7c,0x40,0xb9,0x06,0xb0,0x40,0xb9,0x08,0x78,0x40,0xb9,0x09,0x9c,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xb8,0x00,0xb9,0x05,0x80,0x40,0xb9,0x06,0xb4,0x40,0xb9,0x08,0x7c,0x40,0xb9,0x09,0xa0,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xbc,0x00,0xb9,0x05,0x84,0x40,0xb9,0x06,0xb8,0x40,0xb9,0x08,0x80,0x40,0xb9,0x09,0xa4,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xc0,0x00,0xb9,0x05,0x88,0x40,0xb9,0x06,0xbc,0x40,0xb9,0x08,0x84,0x40,0xb9,0x09,0xa8,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xc4,0x00,0xb9,0x05,0x8c,0x40,0xb9,0x06,0xc0,0x40,0xb9,0x08,0x88,0x40,0xb9,0x09,0xac,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xc8,0x00,0xb9,0x05,0x90,0x40,0xb9,0x06,0xc4,0x40,0xb9,0x08,0x8c,0x40,0xb9,0x09,0xb0,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xcc,0x00,0xb9,0x05,0x94,0x40,0xb9,0x06,0xc8,0x40,0xb9,0x08,0x90,0x40,0xb9,0x09,0xb4,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xd0,0x00,0xb9,0x05,0x98,0x40,0xb9,0x06,0xcc,0x40,0xb9,0x08,0x94,0x40,0xb9,0x09,0xb8,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xd4,0x00,0xb9,0x05,0x9c,0x40,0xb9,0x06,0xd0,0x40,0xb9,0x08,0x98,0x40,0xb9,0x09,0xbc,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xd8,0x00,0xb9,0x05,0xa0,0x40,0xb9,0x06,0xd4,0x40,0xb9,0x08,0x9c,0x40,0xb9,0x09,0xc0,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xdc,0x00,0xb9,0x05,0xa4,0x40,0xb9,0x06,0xd8,0x40,0xb9,0x08,0xa0,0x40,0xb9,0x09,0xc4,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xe0,0x00,0xb9,0x05,0xa8,0x40,0xb9,0x06,0xdc,0x40,0xb9,0x08,0xa4,0x40,0xb9,0x09,0xc8,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xe4,0x00,0xb9,0x05,0xac,0x40,0xb9,0x06,0xe0,0x40,0xb9,0x08,0xa8,0x40,0xb9,0x09,0xcc,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xe8,0x00,0xb9,0x05,0xb0,0x40,0xb9,0x06,0xe4,0x40,0xb9,0x08,0xac,0x40,0xb9,0x09,0xd0,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xec,0x00,0xb9,0x05,0xb4,0x40,0xb9,0x06,0xe8,0x40,0xb9,0x08,0xb0,0x40,0xb9,0x09,0xd4,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xf0,0x00,0xb9,0x05,0xb8,0x40,0xb9,0x06,0xec,0x40,0xb9,0x08,0xb4,0x40,0xb9,0x09,0xd8,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xf4,0x00,0xb9,0x05,0xbc,0x40,0xb9,0x06,0xf0,0x40,0xb9,0x08,0xb8,0x40,0xb9,0x09,0xdc,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xf8,0x00,0xb9,0x05,0xc0,0x40,0xb9,0x06,0xf4,0x40,0xb9,0x08,0xbc,0x40,0xb9,0x09,0xe0,0x40,0xb9,0x0a,0x01,0x09,0x0b,0xab,0x1c,0x85,0x13,0xac,0x48,0x85,0x13,0x6d,0x01,0x0c,0xca,0xae,0xfc,0x43,0xd3,0xaf,0x01,0x0e,0xca,0x45,0x01,0x0f,0x0b,0xc8,0x44,0x86,0x13,0xc9,0x4c,0x86,0x13,0x0a,0x01,0x09,0xca,0xcb,0xfc,0x4a,0xd3,0x4c,0x01,0x0b,0xca,0xad,0x00,0x0c,0x0b,0x0d,0xfc,0x00,0xb9,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x03,0x00,0x40,0xb9,0x04,0x04,0x40,0xb9,0x05,0x08,0x40,0xb9,0x06,0x0c,0x40,0xb9,0x08,0x10,0x40,0xb9,0x09,0x14,0x40,0xb9,0x0a,0x18,0x40,0xb9,0x0b,0x1c,0x40,0xb9,0x0c,0x00,0x80,0xd2,0x4d,0x00,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x00,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x04,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x04,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x08,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x08,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x0c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x0c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x10,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x10,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x14,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x14,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x18,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x18,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x1c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x1c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x20,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x20,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x24,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x24,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x28,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x28,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x2c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x2c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x30,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x30,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x34,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x34,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x38,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x38,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x3c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x3c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x40,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x40,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x44,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x44,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x48,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x48,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x4c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x4c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x50,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x50,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x54,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x54,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x58,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x58,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x5c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x5c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x60,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x60,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x64,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x64,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x68,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x68,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x6c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x6c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x70,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x70,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x74,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x74,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x78,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x78,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x7c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x7c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x80,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x80,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x84,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x84,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x88,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x88,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x8c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x8c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x90,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x90,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x94,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x94,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x98,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x98,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0x9c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0x9c,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xa0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xa0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xa4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xa4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xa8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xa8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xac,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xac,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xb0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xb0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xb4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xb4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xb8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xb8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xbc,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xbc,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xc0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xc0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xc4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xc4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xc8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xc8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xcc,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xcc,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xd0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xd0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xd4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xd4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xd8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xd8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xdc,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xdc,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xe0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xe0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xe4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xe4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xe8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xe8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xec,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xec,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xf0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xf0,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xf4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xf4,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xf8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xf8,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x4d,0xfc,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x2d,0xfc,0x40,0xb9,0x6b,0x01,0x0d,0x0b,0x0d,0x19,0x88,0x13,0x0e,0x2d,0x88,0x13,0xac,0x01,0x0e,0xca,0x0d,0x65,0x88,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x2d,0x01,0x0a,0xca,0x0e,0x01,0x0d,0x8a,0x4f,0x01,0x0e,0xca,0x6b,0x01,0x0f,0x0b,0xc6,0x00,0x0b,0x0b,0x6d,0x08,0x83,0x13,0x6e,0x34,0x83,0x13,0xac,0x01,0x0e,0xca,0x6d,0x58,0x83,0x13,0x8c,0x01,0x0d,0xca,0x6b,0x01,0x0c,0x0b,0x6d,0x00,0x04,0xaa,0xac,0x00,0x0d,0x8a,0x6d,0x00,0x04,0x8a,0xae,0x01,0x0c,0xaa,0x6b,0x01,0x0e,0x0b,0xec,0x03,0x0b,0xaa,0xeb,0x03,0x0a,0xaa,0xea,0x03,0x09,0xaa,0xe9,0x03,0x08,0xaa,0xe8,0x03,0x06,0xaa,0xe6,0x03,0x05,0xaa,0xe5,0x03,0x04,0xaa,0xe4,0x03,0x03,0xaa,0xe3,0x03,0x0c,0xaa,0x0d,0x00,0x40,0xb9,0xae,0x01,0x03,0x0b,0x0e,0x00,0x00,0xb9,0x0d,0x04,0x40,0xb9,0xae,0x01,0x04,0x0b,0x0e,0x04,0x00,0xb9,0x0d,0x08,0x40,0xb9,0xae,0x01,0x05,0x0b,0x0e,0x08,0x00,0xb9,0x0d,0x0c,0x40,0xb9,0xae,0x01,0x06,0x0b,0x0e,0x0c,0x00,0xb9,0x0d,0x10,0x40,0xb9,0xae,0x01,0x08,0x0b,0x0e,0x10,0x00,0xb9,0x0d,0x14,0x40,0xb9,0xae,0x01,0x09,0x0b,0x0e,0x14,0x00,0xb9,0x0d,0x18,0x40,0xb9,0xae,0x01,0x0a,0x0b,0x0e,0x18,0x00,0xb9,0x0d,0x1c,0x40,0xb9,0xae,0x01,0x0b,0x0b,0x0e,0x1c,0x00,0xb9,0xc0,0x03,0x5f,0xd6,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x0f,0x40,0xf9,0xe2,0x13,0x40,0xf9,0xe3,0x17,0x40,0xf9,0xf9,0xf1,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0xf6,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x85,0xfc,0x46,0xd3,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0xdf,0x00,0x05,0xeb,0xa2,0x04,0x00,0x54,0x09,0x48,0x88,0xd2,0xe9,0x01,0xa0,0xf2,0x1f,0x01,0x09,0xeb,0xa2,0x04,0x00,0x54,0x08,0x05,0x00,0x91,0xc9,0xe4,0x7a,0xd3,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xfe,0x27,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x23,0x40,0xf9,0xba,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x27,0x40,0xf9,0xff,0x43,0x01,0x91,0xc6,0x04,0x00,0x91,0xdb,0xff,0xff,0x17,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x81,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x05,0x00,0x80,0xd2,0x86,0xfc,0x6c,0xd3,0x08,0x00,0x80,0xd2,0x09,0x00,0x80,0xd2,0x1f,0x01,0x06,0xeb,0xe2,0x06,0x00,0x54,0x0a,0x48,0x88,0xd2,0xea,0x01,0xa0,0xf2,0x3f,0x01,0x0a,0xeb,0x42,0x12,0x00,0x54,0x29,0x05,0x00,0x91,0x0a,0x00,0x80,0xd2,0x0b,0x01,0xa0,0xd2,0x5f,0x01,0x0b,0xeb,0x82,0x05,0x00,0x54,0x0b,0x40,0xa0,0xd2,0xbf,0x00,0x04,0xeb,0x08,0x11,0x00,0x54,0x8c,0x00,0x05,0xcb,0x7f,0x01,0x0c,0xeb,0xa8,0x10,0x00,0x54,0x6c,0x00,0x05,0x8b,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xfe,0x33,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x2f,0x40,0xf9,0xe4,0x2b,0x40,0xf9,0xa8,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x33,0x40,0xf9,0xff,0xc3,0x01,0x91,0x0b,0x40,0xa0,0xd2,0xa5,0x00,0x0b,0x8b,0x4a,0x05,0x00,0x91,0xd3,0xff,0xff,0x17,0x08,0x05,0x00,0x91,0xc9,0xff,0xff,0x17,0x86,0xfc,0x59,0xd3,0xe8,0xff,0x9f,0xd2,0xe8,0x00,0xa0,0xf2,0xc9,0x00,0x08,0x8a,0x0a,0x00,0x80,0xd2,0x0b,0x00,0x80,0xd2,0x5f,0x01,0x09,0xeb,0x62,0x06,0x00,0x54,0x0c,0x48,0x88,0xd2,0xec,0x01,0xa0,0xf2,0x7f,0x01,0x0c,0xeb,0x82,0x0a,0x00,0x54,0x6b,0x05,0x00,0x91,0x0c,0x40,0xa0,0xd2,0xbf,0x00,0x04,0xeb,0xc8,0x09,0x00,0x54,0x8d,0x00,0x05,0xcb,0x9f,0x01,0x0d,0xeb,0x68,0x09,0x00,0x54,0x6d,0x00,0x05,0x8b,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xed,0x33,0x00,0xf9,0xfe,0x37,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x33,0x40,0xf9,0xe4,0x2f,0x40,0xf9,0x6d,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xfe,0x37,0x40,0xf9,0xff,0xc3,0x01,0x91,0x0c,0x40,0xa0,0xd2,0xa5,0x00,0x0c,0x8b,0x4a,0x05,0x00,0x91,0xcd,0xff,0xff,0x17,0x86,0x00,0x05,0xcb,0xbf,0x00,0x04,0xeb,0x28,0x04,0x00,0x54,0x88,0x00,0x05,0xcb,0xdf,0x00,0x08,0xeb,0xc8,0x03,0x00,0x54,0x68,0x00,0x05,0x8b,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x1f,0x40,0xf9,0xe4,0x1b,0x40,0xf9,0x45,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x06,0x10,0x80,0xd2,0x9f,0x00,0x02,0xf1,0x62,0x11,0x00,0x54,0x66,0x68,0x24,0x38,0x06,0x08,0x80,0xd2,0x9f,0xe0,0x00,0xf1,0x43,0x00,0x00,0x54,0x06,0x10,0x80,0xd2,0xa8,0xf0,0x7d,0xd3,0xc9,0x04,0x00,0xd1,0x0a,0xfd,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x10,0x00,0xb5,0x3f,0x01,0x02,0xf1,0xa2,0x0f,0x00,0x54,0x6c,0x68,0x29,0x38,0xc9,0x08,0x00,0xd1,0x0a,0xfd,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x0d,0x0f,0x00,0xb5,0x3f,0x01,0x02,0xf1,0x82,0x0e,0x00,0x54,0x6c,0x68,0x29,0x38,0xc9,0x0c,0x00,0xd1,0x0a,0xfd,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x0d,0x00,0xb5,0x3f,0x01,0x02,0xf1,0x62,0x0d,0x00,0x54,0x6c,0x68,0x29,0x38,0xc9,0x10,0x00,0xd1,0x0a,0xfd,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xcd,0x0c,0x00,0xb5,0x3f,0x01,0x02,0xf1,0x42,0x0c,0x00,0x54,0x6c,0x68,0x29,0x38,0xc9,0x14,0x00,0xd1,0x0a,0xfd,0x60,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x0b,0x00,0xb5,0x3f,0x01,0x02,0xf1,0x22,0x0b,0x00,0x54,0x6c,0x68,0x29,0x38,0xc9,0x18,0x00,0xd1,0x0a,0xfd,0x68,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x8d,0x0a,0x00,0xb5,0x3f,0x01,0x02,0xf1,0x02,0x0a,0x00,0x54,0x6c,0x68,0x29,0x38,0xc9,0x1c,0x00,0xd1,0x0a,0xfd,0x70,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x09,0x00,0xb5,0x3f,0x01,0x02,0xf1,0xe2,0x08,0x00,0x54,0x6c,0x68,0x29,0x38,0xc9,0x20,0x00,0xd1,0x0a,0xfd,0x78,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x4d,0x08,0x00,0xb5,0x3f,0x01,0x02,0xf1,0xc2,0x07,0x00,0x54,0x6c,0x68,0x29,0x38,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0x04,0x10,0x80,0xd2,0x05,0x00,0x80,0xd2,0xa9,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0xdf,0x00,0x02,0xf1,0x81,0x03,0x00,0x54,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0x04,0x10,0x80,0xd2,0x05,0x08,0x80,0xd2,0x8c,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x02,0x00,0x80,0xd2,0xff,0x83,0x00,0xd1,0xe1,0x03,0x00,0x91,0x03,0x00,0x80,0xd2,0x22,0x78,0x23,0xb8,0x63,0x04,0x00,0x91,0x7f,0x20,0x00,0xf1,0xa3,0xff,0xff,0x54,0xff,0x83,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xfe,0x0b,0x00,0xf9,0xe0,0x07,0x40,0xf9,0x58,0xf0,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xfe,0x0b,0x40,0xf9,0xff,0x83,0x00,0x91,0x22,0x00,0x40,0xb9,0x03,0x00,0x80,0xd2,0x02,0x68,0x23,0xb8,0x22,0x04,0x40,0xb9,0x83,0x00,0x80,0xd2,0x02,0x68,0x23,0xb8,0x22,0x08,0x40,0xb9,0x03,0x01,0x80,0xd2,0x02,0x68,0x23,0xb8,0x22,0x0c,0x40,0xb9,0x83,0x01,0x80,0xd2,0x02,0x68,0x23,0xb8,0x22,0x10,0x40,0xb9,0x03,0x02,0x80,0xd2,0x02,0x68,0x23,0xb8,0x22,0x14,0x40,0xb9,0x83,0x02,0x80,0xd2,0x02,0x68,0x23,0xb8,0x22,0x18,0x40,0xb9,0x03,0x03,0x80,0xd2,0x02,0x68,0x23,0xb8,0x22,0x1c,0x40,0xb9,0x83,0x03,0x80,0xd2,0x02,0x68,0x23,0xb8,0x02,0x00,0x80,0xd2,0x03,0x04,0x80,0xd2,0x02,0x68,0x23,0xf8,0xff,0x83,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0xdf,0x00,0x05,0xeb,0x42,0x02,0x00,0x54,0x09,0x48,0x88,0xd2,0xe9,0x01,0xa0,0xf2,0x1f,0x01,0x09,0xeb,0x82,0x02,0x00,0x54,0x08,0x05,0x00,0x91,0x29,0x00,0x06,0x8b,0x8a,0x00,0x06,0x8b,0x5f,0x01,0x03,0xeb,0xa2,0x01,0x00,0x54,0x4b,0x68,0x6a,0x38,0x3f,0x01,0x01,0xf1,0x42,0x01,0x00,0x54,0x0c,0x05,0x80,0xd2,0x8c,0x01,0x09,0x8b,0x0b,0x68,0x2c,0x38,0xc6,0x04,0x00,0x91,0xee,0xff,0xff,0x17,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xe4,0x03,0x02,0xaa,0x06,0x00,0x80,0xd2,0xff,0x83,0x00,0xd1,0xe5,0x03,0x00,0x91,0x08,0x00,0x80,0xd2,0xa6,0x78,0x28,0xb8,0x08,0x05,0x00,0x91,0x1f,0x21,0x00,0xf1,0xa3,0xff,0xff,0x54,0x08,0x00,0x80,0xd2,0xff,0x03,0x04,0xd1,0xe6,0x03,0x00,0x91,0x09,0x00,0x80,0xd2,0xc8,0x78,0x29,0xb8,0x29,0x05,0x00,0x91,0x3f,0x01,0x01,0xf1,0xa3,0xff,0xff,0x54,0x09,0x00,0x80,0xd2,0xff,0x03,0x04,0xd1,0xe8,0x03,0x00,0x91,0x0a,0x00,0x80,0xd2,0x09,0x79,0x2a,0xb8,0x4a,0x05,0x00,0x91,0x5f,0x01,0x01,0xf1,0xa3,0xff,0xff,0x54,0x0a,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xe9,0x03,0x00,0x91,0x0b,0x00,0x80,0xd2,0x2a,0x69,0x2b,0x38,0x6b,0x05,0x00,0x91,0x7f,0x01,0x01,0xf1,0xa3,0xff,0xff,0x54,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xfe,0x27,0x00,0xf9,0xe0,0x1f,0x40,0xf9,0x2b,0xef,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xfe,0x27,0x40,0xf9,0xff,0x43,0x01,0x91,0x0a,0x00,0x80,0xd2,0x0b,0x68,0x6a,0xb8,0xab,0x00,0x00,0xb9,0x8a,0x00,0x80,0xd2,0x0b,0x68,0x6a,0xb8,0xab,0x04,0x00,0xb9,0x0a,0x01,0x80,0xd2,0x0b,0x68,0x6a,0xb8,0xab,0x08,0x00,0xb9,0x8a,0x01,0x80,0xd2,0x0b,0x68,0x6a,0xb8,0xab,0x0c,0x00,0xb9,0x0a,0x02,0x80,0xd2,0x0b,0x68,0x6a,0xb8,0xab,0x10,0x00,0xb9,0x8a,0x02,0x80,0xd2,0x0b,0x68,0x6a,0xb8,0xab,0x14,0x00,0xb9,0x0a,0x03,0x80,0xd2,0x0b,0x68,0x6a,0xb8,0xab,0x18,0x00,0xb9,0x8a,0x03,0x80,0xd2,0x0b,0x68,0x6a,0xb8,0xab,0x1c,0x00,0xb9,0x0a,0x00,0x80,0xd2,0x7f,0x00,0x00,0xf1,0xe9,0x08,0x00,0x54,0x0b,0x08,0x80,0xd2,0x6a,0x01,0x03,0xcb,0x0b,0x00,0x80,0xd2,0x0c,0x00,0x80,0xd2,0x7f,0x01,0x03,0xeb,0x02,0x02,0x00,0x54,0x0d,0x48,0x88,0xd2,0xed,0x01,0xa0,0xf2,0x9f,0x01,0x0d,0xeb,0x82,0x15,0x00,0x54,0x8c,0x05,0x00,0x91,0x7f,0x01,0x01,0xf1,0xe2,0x14,0x00,0x54,0x0d,0x05,0x80,0xd2,0xad,0x01,0x0b,0x8b,0x0e,0x68,0x6d,0x38,0x7f,0x01,0x01,0xf1,0x42,0x14,0x00,0x54,0x2e,0x69,0x2b,0x38,0x6b,0x05,0x00,0x91,0xf0,0xff,0xff,0x17,0x0b,0x00,0x80,0xd2,0x0c,0x00,0x80,0xd2,0x7f,0x01,0x0a,0xeb,0xe2,0x01,0x00,0x54,0x0d,0x48,0x88,0xd2,0xed,0x01,0xa0,0xf2,0x9f,0x01,0x0d,0xeb,0x22,0x13,0x00,0x54,0x8c,0x05,0x00,0x91,0x6d,0x00,0x0b,0x8b,0x7f,0x01,0x02,0xeb,0x62,0x12,0x00,0x54,0x2e,0x68,0x6b,0x38,0xbf,0x01,0x01,0xf1,0x02,0x12,0x00,0x54,0x2e,0x69,0x2d,0x38,0x6b,0x05,0x00,0x91,0xf1,0xff,0xff,0x17,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xfe,0x2b,0x00,0xf9,0xe0,0x17,0x40,0xf9,0xe1,0x1b,0x40,0xf9,0xe2,0x1f,0x40,0xf9,0xe3,0x23,0x40,0xf9,0x04,0x08,0x80,0xd2,0x05,0x00,0x80,0xd2,0xa0,0xfd,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x2b,0x40,0xf9,0xff,0x83,0x01,0x91,0x8c,0x00,0x0a,0xcb,0x8b,0xfd,0x46,0xd3,0x6c,0xe5,0x7a,0xd3,0x5f,0x01,0x02,0xeb,0x28,0x0d,0x00,0x54,0x4d,0x00,0x0a,0xcb,0x9f,0x01,0x0d,0xeb,0xc8,0x0c,0x00,0x54,0x2d,0x00,0x0a,0x8b,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xed,0x33,0x00,0xf9,0xfe,0x37,0x00,0xf9,0xe0,0x17,0x40,0xf9,0xe1,0x1b,0x40,0xf9,0xe2,0x1f,0x40,0xf9,0xe3,0x33,0x40,0xf9,0xe4,0x2f,0x40,0xf9,0xcf,0xfd,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xfe,0x37,0x40,0xf9,0xff,0xc3,0x01,0x91,0x6c,0xe5,0x7a,0xd3,0x4a,0x01,0x0c,0x8b,0x8c,0x00,0x0a,0xcb,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xfe,0x33,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x01,0x00,0x80,0xd2,0xe2,0x07,0x40,0xf9,0xe3,0x0b,0x40,0xf9,0xe4,0x27,0x40,0xf9,0xe5,0x2f,0x40,0xf9,0x07,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xfe,0x33,0x40,0xf9,0xff,0xc3,0x01,0x91,0xac,0x00,0x40,0xb9,0x0d,0x00,0x80,0xd2,0x0c,0x68,0x2d,0xb8,0xac,0x04,0x40,0xb9,0x8d,0x00,0x80,0xd2,0x0c,0x68,0x2d,0xb8,0xac,0x08,0x40,0xb9,0x0d,0x01,0x80,0xd2,0x0c,0x68,0x2d,0xb8,0xac,0x0c,0x40,0xb9,0x8d,0x01,0x80,0xd2,0x0c,0x68,0x2d,0xb8,0xac,0x10,0x40,0xb9,0x0d,0x02,0x80,0xd2,0x0c,0x68,0x2d,0xb8,0xac,0x14,0x40,0xb9,0x8d,0x02,0x80,0xd2,0x0c,0x68,0x2d,0xb8,0xac,0x18,0x40,0xb9,0x0d,0x03,0x80,0xd2,0x0c,0x68,0x2d,0xb8,0xac,0x1c,0x40,0xb9,0x8d,0x03,0x80,0xd2,0x0c,0x68,0x2d,0xb8,0xff,0x83,0x09,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xe3,0x03,0x02,0xaa,0x05,0x04,0x80,0xd2,0x04,0x68,0x65,0xf8,0xe6,0x07,0x80,0xd2,0x85,0x00,0x06,0x8a,0x86,0x00,0x03,0x8b,0x08,0x04,0x80,0xd2,0x06,0x68,0x28,0xf8,0x06,0x08,0x80,0xd2,0xc8,0x00,0x05,0xcb,0x7f,0x00,0x08,0xeb,0x22,0x03,0x00,0x54,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x17,0x40,0xf9,0xe2,0x07,0x40,0xf9,0xe3,0x0b,0x40,0xf9,0x04,0x00,0x80,0xd2,0xe5,0x0f,0x40,0xf9,0xbe,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x17,0x40,0xf9,0xc5,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x03,0x00,0x80,0xd2,0xff,0x83,0x00,0xd1,0xe2,0x03,0x00,0x91,0x04,0x00,0x80,0xd2,0x43,0x78,0x24,0xb8,0x84,0x04,0x00,0x91,0x9f,0x20,0x00,0xf1,0xa3,0xff,0xff,0x54,0x04,0x00,0x80,0xd2,0xff,0x03,0x04,0xd1,0xe3,0x03,0x00,0x91,0x05,0x00,0x80,0xd2,0x64,0x78,0x25,0xb8,0xa5,0x04,0x00,0x91,0xbf,0x00,0x01,0xf1,0xa3,0xff,0xff,0x54,0x05,0x00,0x80,0xd2,0xff,0x03,0x04,0xd1,0xe4,0x03,0x00,0x91,0x06,0x00,0x80,0xd2,0x85,0x78,0x26,0xb8,0xc6,0x04,0x00,0x91,0xdf,0x00,0x01,0xf1,0xa3,0xff,0xff,0x54,0x06,0x00,0x80,0xd2,0xff,0x03,0x02,0xd1,0xe5,0x03,0x00,0x91,0x08,0x00,0x80,0xd2,0xa6,0x68,0x28,0x38,0x08,0x05,0x00,0x91,0x1f,0x01,0x02,0xf1,0xa3,0xff,0xff,0x54,0x06,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xfe,0x1f,0x00,0xf9,0xe0,0x13,0x40,0xf9,0xe8,0xed,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x1f,0x40,0xf9,0xff,0x03,0x01,0x91,0x08,0x00,0x80,0xd2,0x09,0x68,0x68,0xb8,0x49,0x00,0x00,0xb9,0x88,0x00,0x80,0xd2,0x09,0x68,0x68,0xb8,0x49,0x04,0x00,0xb9,0x08,0x01,0x80,0xd2,0x09,0x68,0x68,0xb8,0x49,0x08,0x00,0xb9,0x88,0x01,0x80,0xd2,0x09,0x68,0x68,0xb8,0x49,0x0c,0x00,0xb9,0x08,0x02,0x80,0xd2,0x09,0x68,0x68,0xb8,0x49,0x10,0x00,0xb9,0x88,0x02,0x80,0xd2,0x09,0x68,0x68,0xb8,0x49,0x14,0x00,0xb9,0x08,0x03,0x80,0xd2,0x09,0x68,0x68,0xb8,0x49,0x18,0x00,0xb9,0x88,0x03,0x80,0xd2,0x09,0x68,0x68,0xb8,0x49,0x1c,0x00,0xb9,0x09,0x04,0x80,0xd2,0x08,0x68,0x69,0xf8,0xea,0x07,0x80,0xd2,0x09,0x01,0x0a,0x8a,0x0a,0x00,0x80,0xd2,0x0b,0x00,0x80,0xd2,0x5f,0x01,0x09,0xeb,0x02,0x02,0x00,0x54,0x0c,0x48,0x88,0xd2,0xec,0x01,0xa0,0xf2,0x7f,0x01,0x0c,0xeb,0x02,0x20,0x00,0x54,0x6b,0x05,0x00,0x91,0x5f,0x01,0x01,0xf1,0x62,0x1f,0x00,0x54,0x0c,0x05,0x80,0xd2,0x8c,0x01,0x0a,0x8b,0x0d,0x68,0x6c,0x38,0x5f,0x01,0x02,0xf1,0xc2,0x1e,0x00,0x54,0xad,0x68,0x2a,0x38,0x4a,0x05,0x00,0x91,0xf0,0xff,0xff,0x17,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xfe,0x27,0x00,0xf9,0xe0,0x0b,0x40,0xf9,0xe1,0x0f,0x40,0xf9,0xe2,0x13,0x40,0xf9,0xe3,0x17,0x40,0xf9,0xe4,0x23,0x40,0xf9,0xe5,0x1f,0x40,0xf9,0x69,0xfd,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xfe,0x27,0x40,0xf9,0xff,0x43,0x01,0x91,0x4a,0x00,0x40,0xb9,0xe6,0x03,0x0a,0xaa,0xca,0xfc,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x1a,0x00,0xb5,0x2c,0x00,0x00,0x39,0xca,0xfc,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x19,0x00,0xb5,0x2c,0x04,0x00,0x39,0xca,0xfc,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x18,0x00,0xb5,0x2c,0x08,0x00,0x39,0xca,0xfc,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x18,0x00,0xb5,0x2c,0x0c,0x00,0x39,0x4a,0x04,0x40,0xb9,0xe6,0x03,0x0a,0xaa,0xca,0xfc,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x17,0x00,0xb5,0x2c,0x10,0x00,0x39,0xca,0xfc,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x16,0x00,0xb5,0x2c,0x14,0x00,0x39,0xca,0xfc,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x15,0x00,0xb5,0x2c,0x18,0x00,0x39,0xca,0xfc,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x14,0x00,0xb5,0x2c,0x1c,0x00,0x39,0x4a,0x08,0x40,0xb9,0xe6,0x03,0x0a,0xaa,0xca,0xfc,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x13,0x00,0xb5,0x2c,0x20,0x00,0x39,0xca,0xfc,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x13,0x00,0xb5,0x2c,0x24,0x00,0x39,0xca,0xfc,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x12,0x00,0xb5,0x2c,0x28,0x00,0x39,0xca,0xfc,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x11,0x00,0xb5,0x2c,0x2c,0x00,0x39,0x4a,0x0c,0x40,0xb9,0xe6,0x03,0x0a,0xaa,0xca,0xfc,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x10,0x00,0xb5,0x2c,0x30,0x00,0x39,0xca,0xfc,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x0f,0x00,0xb5,0x2c,0x34,0x00,0x39,0xca,0xfc,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x0f,0x00,0xb5,0x2c,0x38,0x00,0x39,0xca,0xfc,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x0e,0x00,0xb5,0x2c,0x3c,0x00,0x39,0x4a,0x10,0x40,0xb9,0xe6,0x03,0x0a,0xaa,0xca,0xfc,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x0d,0x00,0xb5,0x2c,0x40,0x00,0x39,0xca,0xfc,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x0c,0x00,0xb5,0x2c,0x44,0x00,0x39,0xca,0xfc,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x0b,0x00,0xb5,0x2c,0x48,0x00,0x39,0xca,0xfc,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x0b,0x00,0xb5,0x2c,0x4c,0x00,0x39,0x4a,0x14,0x40,0xb9,0xe6,0x03,0x0a,0xaa,0xca,0xfc,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x0a,0x00,0xb5,0x2c,0x50,0x00,0x39,0xca,0xfc,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x09,0x00,0xb5,0x2c,0x54,0x00,0x39,0xca,0xfc,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x08,0x00,0xb5,0x2c,0x58,0x00,0x39,0xca,0xfc,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x07,0x00,0xb5,0x2c,0x5c,0x00,0x39,0x4a,0x18,0x40,0xb9,0xe6,0x03,0x0a,0xaa,0xca,0xfc,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x06,0x00,0xb5,0x2c,0x60,0x00,0x39,0xca,0xfc,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x06,0x00,0xb5,0x2c,0x64,0x00,0x39,0xca,0xfc,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x05,0x00,0xb5,0x2c,0x68,0x00,0x39,0xca,0xfc,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x04,0x00,0xb5,0x2c,0x6c,0x00,0x39,0x4a,0x1c,0x40,0xb9,0xe6,0x03,0x0a,0xaa,0xca,0xfc,0x58,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xad,0x03,0x00,0xb5,0x2c,0x70,0x00,0x39,0xca,0xfc,0x50,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0xed,0x02,0x00,0xb5,0x2c,0x74,0x00,0x39,0xca,0xfc,0x48,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x2d,0x02,0x00,0xb5,0x2c,0x78,0x00,0x39,0xca,0xfc,0x40,0xd3,0xeb,0x1f,0x80,0xd2,0x4c,0x01,0x0b,0x8a,0x8d,0xfd,0x48,0xd3,0x6d,0x01,0x00,0xb5,0x2c,0x7c,0x00,0x39,0xff,0x83,0x0a,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xf8,0xff,0xff,0x17,0x04,0x00,0x80,0xd2,0xff,0x83,0x00,0xd1,0xe3,0x03,0x00,0x91,0x05,0x00,0x80,0xd2,0x64,0x78,0x25,0xb8,0xa5,0x04,0x00,0x91,0xbf,0x20,0x00,0xf1,0xa3,0xff,0xff,0x54,0x05,0x00,0x80,0xd2,0xff,0x03,0x04,0xd1,0xe4,0x03,0x00,0x91,0x06,0x00,0x80,0xd2,0x85,0x78,0x26,0xb8,0xc6,0x04,0x00,0x91,0xdf,0x00,0x01,0xf1,0xa3,0xff,0xff,0x54,0x06,0x00,0x80,0xd2,0xff,0x03,0x04,0xd1,0xe5,0x03,0x00,0x91,0x08,0x00,0x80,0xd2,0xa6,0x78,0x28,0xb8,0x08,0x05,0x00,0x91,0x1f,0x01,0x01,0xf1,0xa3,0xff,0xff,0x54,0x08,0x00,0x80,0xd2,0xff,0x03,0x02,0xd1,0xe6,0x03,0x00,0x91,0x09,0x00,0x80,0xd2,0xc8,0x68,0x29,0x38,0x29,0x05,0x00,0x91,0x3f,0x01,0x02,0xf1,0xa3,0xff,0xff,0x54,0x08,0x00,0x80,0xd2,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x17,0x40,0xf9,0x8b,0xec,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x0f,0x40,0xf9,0x36,0xed,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0xe9,0x03,0x01,0xaa,0x2a,0xfd,0x46,0xd3,0x0b,0x00,0x80,0xd2,0x4c,0xe5,0x7a,0xd3,0x7f,0x01,0x01,0xeb,0x48,0x26,0x00,0x54,0x2d,0x00,0x0b,0xcb,0x9f,0x01,0x0d,0xeb,0xe8,0x25,0x00,0x54,0x0d,0x00,0x0b,0x8b,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xed,0x33,0x00,0xf9,0xfe,0x37,0x00,0xf9,0xe0,0x0f,0x40,0xf9,0xe1,0x13,0x40,0xf9,0xe2,0x17,0x40,0xf9,0xe3,0x33,0x40,0xf9,0xe4,0x2f,0x40,0xf9,0x7a,0xfb,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x37,0x40,0xf9,0xff,0xc3,0x01,0x91,0x4b,0xe5,0x7a,0xd3,0x2c,0x01,0x0b,0xcb,0x0d,0x00,0x80,0xd2,0x0e,0x00,0x80,0xd2,0xbf,0x01,0x0c,0xeb,0xe2,0x01,0x00,0x54,0x0f,0x48,0x88,0xd2,0xef,0x01,0xa0,0xf2,0xdf,0x01,0x0f,0xeb,0xa2,0x20,0x00,0x54,0xce,0x05,0x00,0x91,0x6f,0x01,0x0d,0x8b,0xff,0x01,0x01,0xeb,0xe2,0x1f,0x00,0x54,0x11,0x68,0x6f,0x38,0xbf,0x01,0x02,0xf1,0x82,0x1f,0x00,0x54,0xd1,0x68,0x2d,0x38,0xad,0x05,0x00,0x91,0xf1,0xff,0xff,0x17,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xfe,0x33,0x00,0xf9,0xe0,0x0f,0x40,0xf9,0xe1,0x13,0x40,0xf9,0xe2,0x17,0x40,0xf9,0xe3,0x1b,0x40,0xf9,0xe4,0x2f,0x40,0xf9,0xe5,0x23,0x40,0xf9,0xe2,0xfb,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xfe,0x33,0x40,0xf9,0xff,0xc3,0x01,0x91,0x6d,0x00,0x40,0xb9,0xe8,0x03,0x0d,0xaa,0x0d,0xfd,0x58,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x71,0x1a,0x00,0xb5,0x4f,0x00,0x00,0x39,0x0d,0xfd,0x50,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xb1,0x19,0x00,0xb5,0x4f,0x04,0x00,0x39,0x0d,0xfd,0x48,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xf1,0x18,0x00,0xb5,0x4f,0x08,0x00,0x39,0x0d,0xfd,0x40,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x31,0x18,0x00,0xb5,0x4f,0x0c,0x00,0x39,0x6d,0x04,0x40,0xb9,0xe8,0x03,0x0d,0xaa,0x0d,0xfd,0x58,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x31,0x17,0x00,0xb5,0x4f,0x10,0x00,0x39,0x0d,0xfd,0x50,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x71,0x16,0x00,0xb5,0x4f,0x14,0x00,0x39,0x0d,0xfd,0x48,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xb1,0x15,0x00,0xb5,0x4f,0x18,0x00,0x39,0x0d,0xfd,0x40,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xf1,0x14,0x00,0xb5,0x4f,0x1c,0x00,0x39,0x6d,0x08,0x40,0xb9,0xe8,0x03,0x0d,0xaa,0x0d,0xfd,0x58,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xf1,0x13,0x00,0xb5,0x4f,0x20,0x00,0x39,0x0d,0xfd,0x50,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x31,0x13,0x00,0xb5,0x4f,0x24,0x00,0x39,0x0d,0xfd,0x48,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x71,0x12,0x00,0xb5,0x4f,0x28,0x00,0x39,0x0d,0xfd,0x40,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xb1,0x11,0x00,0xb5,0x4f,0x2c,0x00,0x39,0x6d,0x0c,0x40,0xb9,0xe8,0x03,0x0d,0xaa,0x0d,0xfd,0x58,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xb1,0x10,0x00,0xb5,0x4f,0x30,0x00,0x39,0x0d,0xfd,0x50,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xf1,0x0f,0x00,0xb5,0x4f,0x34,0x00,0x39,0x0d,0xfd,0x48,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x31,0x0f,0x00,0xb5,0x4f,0x38,0x00,0x39,0x0d,0xfd,0x40,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x71,0x0e,0x00,0xb5,0x4f,0x3c,0x00,0x39,0x6d,0x10,0x40,0xb9,0xe8,0x03,0x0d,0xaa,0x0d,0xfd,0x58,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x71,0x0d,0x00,0xb5,0x4f,0x40,0x00,0x39,0x0d,0xfd,0x50,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xb1,0x0c,0x00,0xb5,0x4f,0x44,0x00,0x39,0x0d,0xfd,0x48,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xf1,0x0b,0x00,0xb5,0x4f,0x48,0x00,0x39,0x0d,0xfd,0x40,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x31,0x0b,0x00,0xb5,0x4f,0x4c,0x00,0x39,0x6d,0x14,0x40,0xb9,0xe8,0x03,0x0d,0xaa,0x0d,0xfd,0x58,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x31,0x0a,0x00,0xb5,0x4f,0x50,0x00,0x39,0x0d,0xfd,0x50,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x71,0x09,0x00,0xb5,0x4f,0x54,0x00,0x39,0x0d,0xfd,0x48,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xb1,0x08,0x00,0xb5,0x4f,0x58,0x00,0x39,0x0d,0xfd,0x40,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xf1,0x07,0x00,0xb5,0x4f,0x5c,0x00,0x39,0x6d,0x18,0x40,0xb9,0xe8,0x03,0x0d,0xaa,0x0d,0xfd,0x58,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xf1,0x06,0x00,0xb5,0x4f,0x60,0x00,0x39,0x0d,0xfd,0x50,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x31,0x06,0x00,0xb5,0x4f,0x64,0x00,0x39,0x0d,0xfd,0x48,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x71,0x05,0x00,0xb5,0x4f,0x68,0x00,0x39,0x0d,0xfd,0x40,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xb1,0x04,0x00,0xb5,0x4f,0x6c,0x00,0x39,0x6d,0x1c,0x40,0xb9,0xe8,0x03,0x0d,0xaa,0x0d,0xfd,0x58,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xb1,0x03,0x00,0xb5,0x4f,0x70,0x00,0x39,0x0d,0xfd,0x50,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0xf1,0x02,0x00,0xb5,0x4f,0x74,0x00,0x39,0x0d,0xfd,0x48,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x31,0x02,0x00,0xb5,0x4f,0x78,0x00,0x39,0x0d,0xfd,0x40,0xd3,0xee,0x1f,0x80,0xd2,0xaf,0x01,0x0e,0x8a,0xf1,0xfd,0x48,0xd3,0x71,0x01,0x00,0xb5,0x4f,0x7c,0x00,0x39,0xff,0x83,0x0a,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xf8,0xff,0xff,0x17\n.previous\n"); -static const char ombr2_ident_sha256_om2[] = "omega-ident 1 unit=sha256_om2 abi=2 profile=OM-2 src=dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb omc=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1"; +static const char ombr2_ident_sha256_om2[] = "omega-ident 1 unit=sha256_om2 abi=2 profile=OM-2 src=dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb omc=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de"; __attribute__((visibility("default"))) const char *omega2_ident_sha256_om2(void) { return ombr2_ident_sha256_om2; diff --git a/src/omega_om_units.ident b/src/omega_om_units.ident index 5c68088f0..dc1f83e68 100644 --- a/src/omega_om_units.ident +++ b/src/omega_om_units.ident @@ -1,3 +1,3 @@ -omega-ident 1 unit=sha256_om2 abi=2 profile=OM-2 src=dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb omc=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 path=om/sha256/sha256-om2.om -omega-ident 1 unit=b3unit abi=1 profile=OM-1 src=124c19e6343133d45146e565eeb9307bbe7350a07fca01a736d6da8c3e5d4863 omc=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 path=om/blake3/b3unit.om -omega-ident 1 unit=bw_enc_sm121 abi=1 profile=OM-1 src=12369bf1e383e79a4926e7758aaf5f3f778f2945c91327ce0aa570babffc05e6 omc=1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1 path=om/encoder/bw_enc_sm121.om +omega-ident 1 unit=sha256_om2 abi=2 profile=OM-2 src=dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb omc=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de path=om/sha256/sha256-om2.om +omega-ident 1 unit=b3unit abi=1 profile=OM-1 src=124c19e6343133d45146e565eeb9307bbe7350a07fca01a736d6da8c3e5d4863 omc=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de path=om/blake3/b3unit.om +omega-ident 1 unit=bw_enc_sm121 abi=1 profile=OM-1 src=12369bf1e383e79a4926e7758aaf5f3f778f2945c91327ce0aa570babffc05e6 omc=7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de path=om/encoder/bw_enc_sm121.om