Per-thread graph sections
The section follower uses one libc-independent build. Its input is the version 2 site table, an executable graph, probe-recorded subsets, and proven executable bindings. A musl program and an Eyra program differ in their data and blind-section sizes, not in runtime code.
The pinned consumer is heimdall_graph::section_bindings::read. It checks the image, graph, site-table and node-map digests, recomputes required proof failures, and consumes version 2 node-map kernel IPs and explicit hole/return nodes. It does not derive syscall IPs from call instruction addresses or trust a cached enforce_ready flag. Every needed MIR edge and continuation must be proven. A shared hole instruction has separate bindings for each graph entry.
Direct-copy removal additionally requires the executable bytes. The checker checks their image pin, executable ranges, named function starts, instruction boundaries, relative transfer targets and call return addresses. Missing bytes, a wrong pin, or an unavailable direct-image verifier refuses removal; the image hash alone is insufficient. Source-position and complete-copy obligations still apply. Exact symbol aliases that this check cannot establish stay refused.
A call through a pointer can share its exec block with a call site (node ids <instance>#<block>:hole and <instance>#<block>). Its proof is then the call site's instruction binding (hole-site), so the call-site row must itself be accepted, with the same addresses and the same copies. A row whose node names a system call is accepted with its proven kernel IPs. A row whose node names none has no kernel IP to prove; it is accepted on its instruction evidence alone when all of these hold: the graph gives the node an empty call set, and the node is neither open nor marked uncertain; the row lists no kernel IP, carries no kernel-IP proof and gives the map's reason the node names no system call; its proof is site or site-pointer and its kind is call, pointer-constant or tail-jump; every address lies in the image's executable ranges. These rows are kept in a set of their own: a node that names a system call still needs its kernel IPs. The instruction of an unreached pointer call beside such a row is explained the same way. For a reached pointer call no premise is added: the row's addresses are already counted under line-origin.
"Names no system call" means only that the call site's own call set is empty. It does not mean that nothing behind the call reaches a system call: a callee's system calls sit in the callee's own nodes, and what runs behind the pointer call is bounded at run time by its blind section in the site table, not by this row. An accepted row of this kind gives the kernel no address and permits nothing by itself.
An instruction accepted as unreached opens no boundary, so its address is in no boundary list. Accepting it rests on two premises, and the consumer's premise report names the address under both: exec-reach (no start of the program leads to its block) and line-origin (the debug line ties the instruction to that block). This holds for every pointer call of the image accepted as unreached, with or without a call-site row beside it.
An unreached pointer call with proof hole-site needs the row of its block whether the map's entry for the instruction lists that row or not. The row is found by the block's name. Its node must be on no path, the row must be accepted (with proven kernel IPs, or as a row whose node names no system call), and it must hold the pointer call's own addresses and copies with a call kind: the test a reached pointer call's row is held to. An entry that lists no row steps around nothing.
The row of the block is found by the block's name, and it must be the only call-site row with that name. Two rows with one name are no row, wherever they stand in the map and whether or not one of them fits: the pointer call is then refused like one whose block has no row.
Every line of the premise report is in the machine form of the premise table, premise <name>: <kind>: <text>: a premise of nornir's table with its kind (premise exec-reach: trusted-compiler-abi: rules exec; 0 functions, 3 addresses), and Heimdall's own three, rows of Heimdall's own section (heimdall_seccomp::premise::HEIMDALL), all trusted-compiler-abi: rust-v0-symbol-identity and llvm-renamed-local-name below, and report-resolved-targets of a call the report resolved.
The named premise rust-v0-symbol-identity means that a valid Rust v0 symbol was emitted for the instance it names, including a local symbol. The consumer reports this premise from validated image uses. The map's human-readable diagnostic premise list also names potential uses in refused rows; those annotations do not grant acceptance.
The named premise llvm-renamed-local-name means that a symbol named <name>.llvm.<digits> is the function emitted as <name>: LLVM gives that ending to a local function it makes visible to its other code units, while the exec row keeps the plain name. The direct-image check uses it only when the row's name is a valid Rust v0 name with no ending of its own, the target carries exactly that name plus one .llvm.<digits> ending (at least one digit, nothing after the digits), and no other definition in the symbol table carries the same plain name, as it is or with such an ending. A second carrier refuses as direct-image-renamed-name-not-unique; every other difference between the two names stays direct-image-target-function. A target that carries the row's name as it is does not use this premise. The consumer reports the premise from validated image uses only.
The same rule, in the same words of the code, answers for a target of a call the binary report resolved (below): a function at a target of the site table that carries none of the exec row's names as it is, but one of them plus the one ending, with no second carrier. There the refusals are named report-call-renamed-name-not-unique and report-call-target-function, and the call's address is counted in the premise's line.
A thread start bound by its spawn site also requires the executable bytes. The node map says which graph entry the new thread runs; the checker reads what stands at the instruction after the spawn site's syscall: a test of the call's answer (test eax, eax or test rax, rax), a jne to the address right after the new thread's code, at most 16 instructions from a short list that neither transfer control nor enter the kernel, and one direct jmp to the address the map binds the entry's function to, which the executable's symbol table must name as the map does. Missing bytes, a wrong pin, an unavailable direct-image verifier or any other bytes refuse the thread start as spawn <address> child code <reason>.
The new thread has no caller, so its entry function must have no way back: a return there would take whatever the code above left on the new stack. The checker reads the entry function too, over the extent the executable's symbol table gives it. It refuses (... child code jumps to an entry function that <reason>) a return, a jump through a register or memory, a jump or branch that leaves the extent or lands between two of its instructions, bytes that do not decode, and code that runs on into what follows it: the last instruction must be a jump that stays inside or a trap (ud2, int3), or a trap must stand right after the extent (the compiler's padding after a call that does not come back). A trap ends its path, as in the binary report. A call needs no rule here, under the second premise below.
The producer may mark the system call of such a thread start sure, and only a reader that makes the checks above may take that mark. The producer therefore writes the exec tables as format 4 (mimir.exec; the columns of format 3), and this consumer reads that one format in the proof chain: tables of format 3 are refused as unsupported exec format "3", and a graph made before the step must be made again.
The named premise kernel-clone-child means that a system call that starts a thread or a process comes back once or twice, each time at the instruction after syscall, as the kernel itself answers it: in its caller with eax not 0 (the new one's id, or an error number when the call failed and started nothing), and when it started one, in the new thread or process with rax 0. It does not hold where a filter or a tracer answers such a call in the kernel's place with 0; Heimdall's own filters answer only with error numbers. No tool checks it. The consumer reports it once, with the number of thread starts that rest on it.
The named premise sysv-abi-callees (the name nornir's binary half gives the same rule of the System V ABI) means that a function called in the entry function of a new thread comes back to the instruction after its call, or not at all: none leaves through the entry's frame (an unwinder, a jump to a saved context). It also means that no signal handler takes the thread on from a trap that ends the entry's code (ud2, int3, also the int3 right after the extent): a SIGTRAP handler that returns resumes after the int3, and a handler that writes another address into the signal frame resumes there. No tool checks it. The consumer reports it once, with the number of thread starts that rest on it.
Image pin, ELF loading mode and executable-extent faults invalidate the image. A direct-row fault is reported as hole node <site> direct-image-<reason>; every row is checked, failed rows remain uncontracted, and valid rows can still be contracted for diagnostics. Any failed row continues to refuse runtime preparation.
The pure reference is heimdall_graph::sections::Model; the bounded compiler is section_tables::compile. Each thread owns its cursor. Exact cursors follow graph edges, filtered by the actual syscall instruction pointer. Blind cursors check that section's possible set. A shared syscall address never restores exact mode or gives another thread the blind thread's allowance.
A trusted hole observation and its actual target select a blind section. For a call, its proven continuation restores the saved cursor. Tail transfers have no new continuation and retain any outer return. Observing a hole narrows ambiguous positions to those from which that hole is possible. Signal delivery pushes a separate activation; rt_sigreturn restores the interrupted activation, including pending hole observations and return state. Each stack is bounded to eight frames; overflow refuses without inventing a state.
Every call first passes the existing SITE floor, including argument rules. Recorded numbers outside a section's possible set refuse model construction with an explicit static-analysis alarm. An observed call outside that bound is also an alarm. Within the possible set, a deployment chooses:
| Policy | Unrecorded call |
| Static | Allow |
| Notify | Allow and retain a bounded record |
| Kill | Report a graph violation; Enforce kills |
Audit reports violations and leaves the graph cursor unchanged. Enforce requests SIGKILL on a violation; it does not reinterpret an invalid call as a transition. This tracepoint kill may be late by the current syscall. The SITE seccomp floor remains the pre-call gate; graph Enforce does not guarantee preventing the violating syscall itself. Kernel-implied base calls retain the existing follower semantics.
Runtime attachment
heimdall_follower_core::sections is allocation-free and shared with the eBPF object. Maps hold per-thread frames and immutable transition tables. Uprobes observe hole, target and continuation addresses on the sealed executable inode. Kernel lifecycle hooks assign a child its proven spawn-continuation role; static candidate functions or a union of thread entries are not trusted role assignments. An ordinary fork copies the parent's cursor. Unknown bindings refuse.
section_loader::Plan validates tables and role bindings before allocation. loader::Plan::attach_persistent_sections attaches lifecycle and section hooks in one pin transaction while the initial launcher remains held. Any partial failure rolls back. Success retains every map and link in bpffs, so dropping userspace program/link handles does not remove enforcement. The caller owns exclusive cgroup admission, releases the private launch barrier only after successful attachment, drains the whole cgroup before detaching, and validates diagnostics and section_loader::require_drained before accepting a receipt.
Notify records are in SECTION_UNRECORDED: key [tid, cursor, syscall_ip, syscall_number], value occurrence count. Decode cursor with Plan::section_name from the immutable loaded plan. These are retained observations, not messages sent to an operator. The map holds at most 4096 keys; loss or counter overflow invalidates completed evidence. A TID is the kernel ID at observation time, not a globally unique thread-lifetime identifier.
Evidence and current boundary
runtime/graph-events/sections-validation.toml records artifact and log digests. The disposable-VM gate covers exact order, static-bound alarms, a lifetime blind worker alongside an exact parent, signal interruption/restoration, Notify and Kill policy, persistent enforcement after all userspace program/link handles are dropped, and empty per-thread maps after exit. Deliberate mutants remove the return hook, turn off enforcement, and widen the parent's list; all must fail. The allocation-free core is also compared to the pure reference on randomized two-thread runs with calls, holes, returns and signals.
Build sections-bpf.Containerfile from the documented Heimdall toolchain, then run build-ebpf.sh in that container. Build the host gate with cargo build --bin section-gate from runtime/graph-events, and compile the fixtures with cargo xtask sections build-fixtures OUTPUT_DIRECTORY. Only in a disposable VM with tracefs, bpffs and cgroup2 mounted, set HEIMDALL_TEST_VM=1 and run xtask sections gate SECTION_GATE PAYLOAD_DIRECTORY. The payload contains follower-sections.o and the four fixture executables with their nm files. Use cargo xtask sections prepare-stub HEIMDALL STUB VDSO VDSO_REPORT OUTPUT with a fresh output directory. When preparing the stub, heimdall graph bin can write its report and return 1 for analysis refusals in unrelated code. An && chain would then skip the site-table and stub-proof steps. Retain that exit status and its diagnostics; only continue from a complete report bound to the pinned image. Generate the site table and require heimdall graph sites --stub-proof to succeed separately. Exit 1 is not a successful proof, and an absent report, a host/usage error or a failed stub proof still stops preparation.
Do not run the gate or fixtures on a build host. A container shares its host's kernel; the recorded guest uses the explicitly validated 7.0.0-43-generic kernel.
The production OCI runner accepts a complete pinned node-map/3 through Binding.sections. It verifies the graph, executable, site table, node map and launcher pins, opens the program through the verified OCI root, and seals the target and launcher inputs. OCI loading uses heimdall-plain::image and edda's store. The confined executor checks the named target again under its DAC and Landlock policy before entering the held SITE stub. The parent waits for the held report, verifies the runtime task's stub inode and namespace PID, attaches and persists every hook, then releases the stub. A missing proof or failed attachment refuses the launch.
For a map containing direct copies, Binding.sections.executable must name an operator-supplied Object with an absolute host path and SHA-256 for the exact executable. Its pin must equal Binding.executable, which also pins the sealed OCI program. The container's graph-image feature supplies static verification; graph-follower enables it. The host never interprets the workload's program path as the source of these static bytes. An omitted object cannot fall back to hash-only direct-copy acceptance.
The shim is the sole container entry point. Its section executor passes profile, program sites, launcher sites, target, hold socket and self image on reserved FDs 1015 through 1020. All five file inputs are sealed; only the hold socket is mutable. The stub receives the original program argv after --. The shim does not install the SITE filter before this handoff: the static launcher installs it after the parent's release, then executes the admitted target. The focused handoff regression runs in a separate test process and checks seals, bytes, inheritance flags, self-image inode, release delivery and argv preservation.
Legacy graph launches without sections still use their barrier and ExecSelf. Migrating them requires the later flat launcher contract: sealed profile, target and self descriptors plus --hold, an explicit flat mode without site tables, and a versioned held report naming the target inode/hash, profile/floor digest, mode and exec IP. The parent must match those values to its admitted inputs and runtime PID/inode, attach and persist hooks before release, and require successful initial install/exec before accepting completion. A failed install must trap; no allocating/reporting call may occur after install. The flat contract must specify its post-report syscall sequence so INITIAL_EXEC can validate it. This section-path change does not implement that flat mode.
OCI gate preparation has one launcher recipe: cargo xtask sections prepare-oci HEIMDALL VDSO VDSO_REPORT OUTPUT. It runs cargo xtask site-stub, then the independent graph/table/stub-proof checks above, and copies the proven launcher to OUTPUT/launcher beside OUTPUT/stub.sites.json. Supply those two files to the VM gate.
Use the reference container image sha256:223cac73e030f61c8bb45640cb8bb986f140a08e9457069f67bda6b55f40caca (rustc 1.97.1, cargo 1.97.1), with the clean source at /src, an empty target directory at /tgt, and a registry-only cargo home at /ch. Preparation fixes CARGO_HOME=/ch, CARGO_TARGET_DIR=/tgt, CARGO_INCREMENTAL=0 and removes compiler wrappers and inherited Rust flags for the canonical subcommand. Keep the host's build lock, load brake, CPU/memory limits and heat guard. Record the source SHA and artifact hashes with this recipe. The historical 253c297 reference for this recipe is a6b7aa07f6df8215712113c316b2d31c471df548fe1ceaa9336bbd293fcf3d65; it is not a reference for changed source. The old 4f47d03c recipe is retired. Kernel use of a new dwarf artifact still requires the approved matching-build hash evidence; preparation and unit checks do not establish a kernel verdict.
The ignored sections_oci_vm integration test builds its image twice with edda Level 1 and compares the manifest digests. It exercises Audit/Enforce and valid/ invalid calls with broker Off/Auto, verifies the signed section digest and checks that pins are removed after completion. Run its binary only inside the disposable VM, with HEIMDALL_TEST_VM=1, cgroup v2 memory/pids/cpu controllers delegated, and the following absolute paths supplied as environment variables:
HEIMDALL_SECTION_FIXTUREandHEIMDALL_SECTION_SYMBOLS: the staticsections-fixtureexecutable and its nm output.HEIMDALL_SECTION_STUBandHEIMDALL_SECTION_STUB_SITES: the exact static held stub and its proven site table.HEIMDALL_FOLLOWER_OBJECT: the shared section follower object.HEIMDALL_OCI_IMAGE_BUILD: the independently built, pinned edda builder.HEIMDALL_CONTAINER_SHIM: the shim built withyouki,graph-follower.
The read-only section_check example takes node/edge/site/map paths followed by image/graph/site/map SHA-256 pins. It checks bindings and never executes the guarded image. The 2026-11-15 eyra-dbg-g2 snapshot from producer 4104a0e has 212 required unproven obligations; graph import still refuses ordinary unmapped asm, FnOnce, memchr and fma rows before binding validation. Its input pins and refusal log are retained separately from the earlier historical validation receipt. Real Eyra/musl Enforce and production cost are not claimed. Unproven unwind/nonlocal continuations, replacement executables and unsupported image/kernel layouts remain refusals.
Completed records
A section launch binds the pinned site table, node map, launcher and per-section recorded-call policy through Protection::Graph.sections_digest. Result wire version 4 and start wire version 3 encode this field with protection tag 4. Legacy graph records retain tag 3 and their original bytes and versions. A section record with a legacy version is refused; a changed section digest fails signature verification. The pre-install held report alone never completes a record: successful INITIAL_EXEC admission, persistent hooks and drained counters are also required.
Holes with no target list
A proven hole may open one explicit blind section whose entries list is empty. Its sites and possible list remain the bound for that hole. Global fallback, multiple section choices and mixtures with targeted rows are refused. The ordinary node-map/3 instruction, continuation and CFG-edge proof requirements still apply; an empty MIR target list is not itself a proof.
The follower enters this section at the proven hole instruction, saves its proven continuation, and restores the previous cursor only at that return. Each thread and signal frame keeps its own state. Compiled boundary target zero is an internal tag for this operation, never an address; the loader creates no target probe for it. Known-target holes still require the paired hole and target hooks. Unrecorded-call policy, static bounds, nesting limits and Audit/Enforce behavior are unchanged.
This path is validated with synthetic injected bindings. Producer d49b2ba0 supplies the targetless exec-node shape, but real readiness still requires the explicit per-hole section and proven node map. The producer lane is stopped today; no Eyra readiness or kernel execution is claimed.
The changed eBPF hook passes cargo check for bpfel-unknown-none. Strict eBPF Clippy retains 87 baseline diagnostics (85 needless generic borrows, one manual range check, one collapsible if), identical in kind and location with the old hook. Clippy passes with only those three existing lint classes allowed on the command line; no source lint allowances were added. Graph, core and host strict Clippy pass. No object was loaded or kernel verifier/matrix verdict produced.
Readiness and proof identifiers
The node-map producer and the section consumer call the same contextual validation gate. The producer uses finish_for(graph, sites, image); the row-only finish() is a conservative diagnostic for injected fixtures, not an installation verdict. The cached readiness boolean is never trusted.
Proofs use the ProofKind enum's kebab-case identifiers on the wire. Legacy descriptions can still be read. Unknown identifiers remain refused. Knowing a producer rule does not mean the runtime implements it: unsupported inlined, quiet, tail-return and empty-IP bindings remain visible as refusals.
A call through a pointer that left no instruction in the image has proof hole-no-call. That no call was found at the node's line is not this proof: the debug data may have put the call on another line, so such a row stays refused (no-instruction). The proof is a whole-copy certificate on the row (no_call): every decoded instruction of every copy of the node's instance, and every decoded instruction of the rest of the function around each copy, in the record the inlined form has (version 2). The shared rule (mimir_node_map::inline::check_no_call) does not read the node's line. It takes the node as absent only when all of this holds:
- the list of each copy is complete, no instruction of it is a call, a jump through a pointer or a system call instruction, and no scope stands at the call's position (that is the inlined form, with its own certificate);
- every direct jump of a copy lands on the start of an instruction of the copy or of the rest of its function;
- the rest of the function around each copy is listed from end to end, and the function is in one range;
- every call or jump through a pointer in that rest is another node's call: at a line, in a scope of another instance, held by exactly one other node under a rule that reads the line;
- that rest holds no direct call, and no direct jump but one with no name that stays in the function.
"No call in any listed copy" alone would not do: nothing says that the debug data puts every instruction of an instance inside a copy's ranges. So the whole function around each copy is read, and outside those functions the consumer already holds every call through a pointer of the image to a node.
The consumer asks that rule with the row it imported from the pinned exec tables (instance, file, line, column, targets), never with the certificate's own copy of them. It then holds what the certificate lists against its own tables:
- the copy and the function around it lie in the image's executable ranges, and the copy holds none of the site table's calls through a pointer and none of its system call instructions (
no-call-copy-executable-coverage); - the function around the copy is one function of the site table, with the same bounds (
no-call-function-bounds): the certificate's ranges are the debug data's; - every call through a pointer the site table has in that function, outside the copy, is one the certificate lists (
no-call-function-pointer-call-unlisted); - who holds each listed one is what the map's own rows say, node and proof, and the holder's row in the pinned exec tables is of the instance, the file and the line the certificate gives the instruction (
no-call-holder-mismatch); - no node the report rule holds (
hole-report, a function with no debug data, bound by count) is of an instance whose call closure in the pinned exec.reached holds the certified instance, and each such closure can be read (no-call-report-holder): that function lists no copy, so the instance's call could be folded into its one call. A holder whose rows are allnaked(a naked function, emitted as its written assembly) is not asked.
A failure is the whole-map refusal hole node N <name> with one of those names or the rule's own refusal name. An accepted node and its return are taken out of the order graph as for the inlined form.
Taking such a node out can put two call sites next to each other that the pinned graph does not have so: the node is one node for every call site of its function, so the call site before it in one place meets the call site after it in another. The executor's order never pairs those two (it is computed with matched calls and returns, and its first pass makes every call through a pointer a plain call of its targets). Rule silent-chain (heimdal's rulings of 2026-11-19, the amended E4 of PLAN-EXEC-FORMAT-3; nornir mimir_node_map::silent_chain) leaves such a pair out instead of refusing it, when every path that makes it passes a silent node (one with the whole-copy certificate, or a leaf node, hole-leaf-targets: exec.edges holds every run's pair through a leaf call straight, heimdal's order of 2026-11-19), every node on every such path is one the map takes out under its own accepted proof (inlined, direct, no-call, leaf targets), and the executor has no open item at any of them (exec.evidence's column open; evidence without the column counts as open). The premise report names each pair left out:
rule silent-chain: the pair <before> -> <after> is left out in <n> entries
(<entries>): no pair of the executor's order, made only by taking out a
silent node; chain <node> [<proof>] -> ... -> <node> [<proof>, kept] -> ...;
on any way that makes it: <node> [<proof>], <node> [<proof>, kept], ...
The chain is one shortest path that makes the pair; after it comes every node on any path that makes it, the paths the check covered (heimdal's ruling of 2026-11-19: the set is bounded by the node count, and a node off the shortest path, kept or taken out, is named too). <proof> is the identifier the map file writes for the proof the node was taken out under (hole-no-call, hole-leaf-targets, hole-inlined, hole-direct); a return is named with its call's. A chain may also pass a node that stays in the order with its own pairs and may be stepped around (made direct in some of its copies only); the report marks it kept (heimdal's widening of Limit 1, 2026-11-19). It keeps the pair from the call site before it to its call and from its return to the call site after it, so leaving out the pair that steps around it hides none of its calls. It is no premise: the trust is the executor's own order. Any other such pair, one made also without a silent node's leaving or through a node the executor has an open item at, is still refused. The nodes a chain may pass are the map's own removed and kept nodes of that run, so a node put back into the order stops the chain and nothing is left out through it.
A refused pair no longer throws the whole contraction away (the limited fallback, heimdal's approval of 2026-11-19; nornir mimir_node_map::limited). Only the nodes taken out on that pair's paths in its entry go back into the order (when the paths pass none, the nodes stepped around are no longer stepped around), and the contraction runs again until nothing is refused. Each hole node put back is a refused place of its own:
hole node <site> contraction-restored (entry <e>: the pair <before> ->
<after> is made through it, and the executor's order does not hold it; it
stays in the order)
and the list of open places shows it with the reason contraction-restored. The map is not ready while any such place is open. With no refused pair the result is the same as before, byte for byte. Any other refusal of the contraction (a position the graph lacks, a call site taken out) still refuses the whole map.
The map builder (nornir-mimir-bin) asks the same order rule before it writes the map and offers the certificate only to a node whose leaving makes no pair the rule refuses. A node that would stays a position: no proof, no certificate, and the reason unpinned-call-pair, which names the two call sites and the entry; the list of open places shows that name.
The rule rests on two named premises, code-origin and line-origin, each in its stated direction: the code read is the code of the functions the debug data names, and an instruction that a line rule gives to another node is that node's. Nothing is assumed about where the call's own instruction lies. A call that left no instruction has no address, so the premise report counts both at the first address of each copy the certificate lists. The consumer does not decode the copy's bytes itself; the instruction lists are the producer's, as for the inlined form.
A call through a pointer that left nothing at its line, which the whole-copy rule cannot take (its copy holds direct calls), has proof hole-leaf-targets when every target of the call is a leaf of the pinned reach. The rule reads no instruction. Where the call went is not known, but what it may enter is: the exec row's targets, under target-set-complete, the premise such a row already carries. That a leaf's machine code makes only the calls of its exec.reached row, and the memory functions, is code-origin, which the rule names too. Entering a leaf and coming back is nothing the kernel sees, so the node and its return are no position wherever the call's instruction is, or whether it is left at all. A call instruction left somewhere unseen is a direct call to a leaf, or a call through a pointer of the site table, which this consumer holds to a node of its own.
The row's record (leaf_targets, version 1) lists what the producer read. The shared rule (mimir_node_map::leaf_targets::proves) takes it whole: the node holds no instruction (no address, no folded position, no direct copy, no copy counted with the call, no other certificate); each target has one row, which has a body, is reached and not cut, makes no call through a pointer and calls nothing but the memory functions every reached body calls; the evidence leaves nothing open and the reach holds exactly the targets; and in some entry the node has pairs out, all to its own return. The consumer then holds each part against its own pinned tables, never against the record's copy:
- the targets are those of the imported exec row (
leaf-targets-mismatch); - each target's row is its one row of exec.reached (by its pin), as listed (
leaf-row-mismatch,leaf-reached-evidence); - the memory functions every reached body calls are computed again, each by its name (
mimir_node_map::leaf_targets::MEMORY_FUNCTIONS), with a body, reached, not cut and no node of the relation, and are the ones the record lists (leaf-common-calls). Their own calls are not read: the exec graph holds a call of a memory function in the order only when the function is quiet, and else makes it an open place, a node of its own. On the pinned cell origin's memset, memcpy, memmove, bcmp and strlen are such functions; - every name of that list a function of the site table carries is one of those functions (
leaf-memory-unread): a leaf's machine code may call any memory function the image defines, and one with no such row (a C library's) is code nothing read; - no node of the relation is of a target's instance (
leaf-target-has-nodes); - the node's exec.evidence and the exec.candidates its rows name (each by its pin) leave nothing open and hold the targets (
leaf-evidence); - in the relation every pair out of the node goes to its own return, in exactly the entries the record names (
leaf-pair-out). The union of the thread entries, which the import adds and exec.edges does not hold, is held the same way but is no entry of the record; - no hole of the site table is bound to the node (
leaf-bound-instruction); - no node the report rule holds has a call closure in the pinned exec.reached that holds the node's instance, or one that cannot be read (
leaf-report-holder, the same check as the whole-copy certificate'sno-call-report-holder).
A record the shared rule refuses is leaf-record-refused. A build without the decode feature reads no exec table and refuses every such node (leaf-tables-not-read). The list of open places names such a node proof-not-accepted:hole-leaf-targets. An accepted node leaves the order graph as a whole-copy one does, and the producer's order pass takes the record back from a node that would join two call sites (unpinned-call-pair). On the pinned Eyra cell the rule is for print_to::<Stderr> (S023).
The open_sites list retains each distinct exec.nodes.unmapped call, including calls with no known syscall names. An instruction binding does not close an unknown effect. Unknown syscall names are errors, never a smaller syscall bound.
With no binary inputs, both graph import paths use the exec digest. A binary half still changes the digest and cannot be substituted under an exec-only node map. Exec format 4 (the tables of format 3, whose possible set names its premises) is the one exec format with these columns; format 3 is refused by name.
Section recordings use heimdall.sections-recorded/2 and pin the compact typed JSON of the complete site table. Reading requires that table; equal image and format names do not authorize reuse against changed sections.
Draft status: no compile, RED/GREEN or saved-cell replay has run for this change. The ignored saved_cell_consumer_readiness_count test reads the pinned saved cell and prints the old count, open calls and the shared gate's count. Until that replay, the audit's 212 is not a consumer readiness measurement.
Assembly bindings may carry site-report or hole-report. They name facts of a unique report symbol-table extent where no DWARF copy exists. Node-map construction verifies the site table's report SHA-256 before using these facts; runtime preparation still verifies the site-table, image, graph and node-map pins and applies the common acceptance rule.
A hole-report call whose targets the binary report resolved has no hole in the site table: the table follows those targets as direct reach. So the map holds no instruction row for the call and no run-time boundary can stand there. The site table lists the call among its resolved_transfers (site-floor.md): the report's block, the return address, the targets and the entry place that the report names as the pointer's source. The table is the consumer's own file, made from the pinned report, and "resolved" and the target list are read from it, never from the map. The consumer takes that row as the binding only after it has read the program file:
- the pinned exec row names one hole of one function, and that name is a valid Rust v0 name with one definition and no part under a dotted ending of it;
- the whole function decodes; the instruction at the bound address is a call through a register or memory that ends at the bound return address; the function holds no other
callof any kind and nojmpthat is not a relative jump. Only calls and jumps are looked at: aret, also one that follows apushof a register and so goes where the register points, is not held against this rule; - the site table lists exactly one resolved transfer that returns at the bound return address; its block lies in that function, starts on an instruction boundary at or before the call, and has targets (
report-call-table-row); the report names the entry place the pointer comes from (report-call-source); - in the map's edges every call edge of the function leaves that block, and the block has a successor at the return address (
report-call-report-block); - the map's call edges of the function are equal to the table's targets: none left out, none added, none twice (
report-call-map-edges); - every target of the table is the start of a function that carries a valid Rust v0 name the exec row lists (
report-call-target-function), as it is or, by the rulellvm-renamed-local-nameabove, with one.llvm.<digits>ending that no other definition shares (report-call-renamed-name-not-uniquewhen one does).
A hole-site call whose targets the report resolved binds by the same row of the site table. Its node is tied to the instruction by the mapped call site of its own exec block: the one row of the block's name, with the same addresses and copies, a call kind and an instruction proof. The gate takes that tie only while that call site is itself bound, and it asks that in one place, the same for this rule and for every hole-site node: the row is accepted with its kernel addresses, or its node names no system call and the row is accepted on its instruction evidence (the rule above for a block that makes no system call). The second is the case of dl_iterate_phdr of c-scape and of every hole-site node of the standard cell. A call site that names a system call and has no accepted kernel addresses is not bound; where the call site is not bound, the gate starts again with the call kept in the relation, and the node keeps conflicting direct or same-block evidence. For such a node the first point above does not apply, and the second asks for the call alone: the function is the one of the symbol table that holds the call (report-call-function-owner when none or more than one does), whatever its name and its other calls. The map holds edges only of functions without DWARF. Where it holds none of this function, the two edge points have nothing to compare; where it holds any, the call edges that leave the block must equal the table's targets and the block must have its successor at the return address. This rule is the only one that drops the boundary of a hole-site node; as a direct copy such a node is still refused (contraction-same-block-unproven). A node that claims to be quiet or unreached is never taken by this rule, for either proof: the gate judges that claim.
The node pair then leaves the relation by the same contraction as a direct copy, which refuses any call pair the retained order lacks. The premise report names report-resolved-targets, one line per rule and entry place: premise report-resolved-targets: trusted-compiler-abi: rules <hole-report or hole-site>; binary report's entry-value pass, pointer handed in <place>, completeness not checked here; <n> addresses. The premise is that the binary report's list is complete: its entry-value pass (nornir mimir-bin, entry_values) found one of the listed functions handed in that place on every way into the function. That pass reads the linked program; it is not the value pass over the compiler's MIR (mimir-exec, values.rs), and no change there proves or weakens this premise. The gate does not check the list's completeness. It checks that the list is the pinned site table's, that the map's edges are equal to it, and that every listed target is a function the exec row names, so a target that the exec row lacks refuses. The call is also counted under rust-v0-symbol-identity. A failed check keeps the refusal and names it: hole <address> has no binary instruction binding: report-call-<reason>. Without the program file, and in a build without the program-file reader, the plain refusal stays and nothing is read for this rule. When no direct copy asks for the file and the reader cannot take the file as a whole (not the pinned file, not a static non-PIE x86-64 ELF), every other refusal stays as it is without the file and the call names report-call-program-file (<what the reader refused>). A hole-report call that is a hole of the site table keeps the instruction-row rule unchanged.
Named premises and receipt coverage
A filter with premises is proven under named premises, never simply "proven". The node map records each premise, its rule and the function or boundary addresses where it is used. The consumer rejects unknown names, missing records and records inconsistent with the binding rules.
The signed Protection::Graph.sections_digest already covers the serialized section request, including the node map's SHA-256. The node-map hash covers its exact bytes, including its premise records. Resolve that section request and then its pinned node map to inspect the premises of a signed run. Changing or removing a premise record changes the node-map hash and therefore the section digest. Neither the signed record shape nor the digest recipe changes here.
Readiness diagnostics and the existing unsigned launch receipt show one line per premise: its name, rules and function/address counts. These lines come from the validated binding; they are a readable view, not signed evidence. A diagnostic map can list premises while remaining unready.
Diagnostic refusals
The node map keeps unknown syscall bounds as open sites and reports the runtime import refusal. It never substitutes a closed empty bound for an unknown number; the runtime importer still refuses the original graph.
The typed binding_refusals lists name report functions with unknown extents and R1 candidate addresses affected by them. These are diagnostic facts, not proofs. Without every caller extent, R1 cannot establish its exhaustive no-stand-in check, so its candidate addresses keep merged-unknown-extent and no merged binding. An affected address is not thereby assigned to an extentless function. Other independent binding rules still run, and the shared rule produces the final count.