code wiki / _hdl_build / _zip_extract_authored.nx

_zip_extract_authored.nx

buildroot/runtime/_hdl_build/_zip_extract_authored.nx

1429 B22 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic zip
docsdependenciesstructsconstsfunctions

about

AUTHORED BY THE NISHI BUILDER (zip-extract template) -- ZIP local header + inflate entry, bits-up

dependencies 1 imports · 0 importers

_inflate_lib_authored.nx _zip_extract_authored.nx

imports: _inflate_lib_authored.nx

imported by: nobody (leaf or entry point)

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

main sys_read_file sys_openat_rd sys_lseek sys_mmap sys_read sys_close zip_extract zle16 zle32 inflate sys_mmap ↻ ibr ihb sys_mmap ↻ icodes ihd ibr ↻ ibr ↻ ihd ↻

structs

none

consts

none

functions

3func zle16(b: *u8, o: i64) -> i64 { return (b[o] as i64)|((b[o+1] as i64)<<8) }
called by 1: zip_extract
4func zle32(b: *u8, o: i64) -> i64 { return (b[o] as i64)|((b[o+1] as i64)<<8)|((b[o+2] as i64)<<16)|((b[o+3] as i64)<<24) }
called by 1: zip_extract
5func zip_extract(zip: *u8, ziplen: i64, out: *u8) -> i64
called by 1: main calls 3: zle16zle32inflate
13func main() -> i64