code wiki / _hdl_build / nx_pe_compile_win_game.nx

nx_pe_compile_win_game.nx

buildroot/runtime/_hdl_build/nx_pe_compile_win_game.nx

1682 B34 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind tooltopic pe
docsdependenciesstructsconstsfunctions

about

nx_pe_compile_win_game.nx -- GAME-GUI wrapper: wraps the compiled nishi_game payload (/tmp/nxgame.s, a UNIQUE .s path per the zombie-nxwin.s corrupt-exe lesson) into a native Windows PE at _offc/nishi_game.exe. Thin variant: imports nx_pe_compile_win_gui's PROVEN machinery (gi_assemble + gi_emit_pe + the user32/gdi32 FFI import table) verbatim -- only the in/out paths differ, so the browser's _offc/nishi.exe is never touched. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_pe_compile_win_gui.nx nx_pe_compile_win_game.nx

imports: nx_syscalls.nxnx_pe_compile_win_gui.nx

imported by: nobody (leaf or entry point)

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

main 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 ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close gi_assemble sys_mmap ↻ gi_lbloff gi_align gi_emit_pe _w16 _w32 _w8 _w64 _w32 ↻ _emit_section_header _w8 ↻ _w32 ↻ _w16 ↻ gi_rva gi_ec _w8 ↻

structs

none

consts

none

functions

9func main() -> i64