code wiki / (root) / nx_contentdiff_iterator_gate_t295.nx

nx_contentdiff_iterator_gate_t295.nx

buildroot/runtime/nx_contentdiff_iterator_gate_t295.nx

4719 B70 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tooltopic contentdiff
docsdependenciesstructsconstsfunctions

about

nx_contentdiff_iterator_gate_t295.nx -- Compares and mutates ELF files to detect content differences and structural changes.

dependencies 2 imports · 0 importers

nx_contentdiff_lib.nx nx_gate_verdict.nx nx_contentdiff_iterator_gate_t

imports: nx_contentdiff_lib.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 gv_ctr 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 ↻ cdl_lost cdl_count_runs cdl_runlen cdl_is_print cdl_runlen ↻ cdl_contains gv_kv gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_check gv_puts ↻ cg_compare cds_init sys_mmap_try cds_measure cds_elf nx_elf_get_u16_le nx_elf_get_u64_le nx_elf_get_u32_le

structs

none

consts

none

functions

4func cg_copy(b:*u8,n:i64)->*u8{let p:*u8=sys_mmap(n);var i:i64=0;while i<n{p[i]=b[i];i=i+1};return p}
called by 1: main
5func cg_compare(a:*u8,an:i64,b:*u8,bn:i64,r:*NxCdResult)->i64
called by 1: main calls 3: cds_initcds_measurecds_close
15func cg_mutate_all(b:*u8,n:i64,s:*u8,z:i64)->i64
called by 1: main calls 1: cdl_bytes_eq
22func main()->i64