code wiki / _hdl_build / nx_fwdconst_scan_gate.nx

nx_fwdconst_scan_gate.nx

buildroot/runtime/_hdl_build/nx_fwdconst_scan_gate.nx

4123 B70 linesdepth 3pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_fwdconst_scan_gate.nx -- GATE for the forward-const detector (4 teeth incl embedded negatives). PREREQ: stage _offc/nx_fwdconst_scan.elf first. Run from nxc2 root. ONE scanner fork total. T1 exactly one FWDCONST row on the 5-fixture dir | T2 the row names bad.nx + const=BADC | T3 summary files=5 flagged=1 | T4 negatives: good(decl-above), cmt(comment-line mention), str(quoted mention), sub(word-boundary FOOX vs FOO) all UNFLAGGED. Mutation proof (manual): drop the word-boundary check in fw_first_use -> sub.nx flags -> T1+T3 RED. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 5 imports · 0 importers

nx_seat_drive_lib.nx nx_seg_store.nx nx_deploy_lib.nx nx_syscalls.nx nx_gate_verdict.nx nx_fwdconst_scan_gate.nx

imports: nx_seat_drive_lib.nxnx_seg_store.nxnx_deploy_lib.nxnx_syscalls.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mkdir ss_writefile sys_openat_wr sys_write sys_close sys_fsync fg_len sys_unlinkat sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ dep_run_capture sys_fork sys_openat_wr ↻ sys_dup3 sys_mmap ↻ sys_execve sys_exit ↻ sys_wait4 dp_read sys_openat_rd sys_read sys_close ↻ sd_count sd_w sys_write ↻ gv_ctr

structs

none

consts

none

functions

14func fg_len(s: *u8) -> i64
called by 1: main
20func main(argc: i64, argv: *i64) -> i64