nx_toolchain.nx
buildroot/runtime/nx_toolchain.nx
about
nx_toolchain.nx -- unified entry point for the off-C tools.
Replaces the binutils + qemu suite with a single binary that
dispatches subcommands:
nx readelf <path.elf> -- full ELF dump
nx nm <path.elf> -- list symbols
nx objdump <path.elf> -- section headers
nx dis <path.bin> <off> -- disassemble bytes
nx run <path.elf> -- load + simulate
nx help -- list commands
Compile this once into a tiny binary; it covers the entire
off-C inspection / debug / run workflow. No more invoking
5+ separate binutils tools per session.
Pairs with nxc_native_wrap (the bootstrap-verification binary)
as the day-to-day developer-facing tool.
dependencies 8 imports · 0 importers
imports: syscalls.nxnx_elf_read.nxnx_objdump.nxnx_nm.nxnx_readelf.nxnx_dis.nxnx_loader.nxnx_rv64_sim.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 36 | func nx_tc_read_file(path: *u8, out_len: *i64) -> *u8 |
| 59 | func nx_tc_help(fd: i64) -> i64 called by 1: main |
| 70 | func main(argc: i64, argv: *i64) -> i64 |