Repository navigation
Agent KB_src_p3
grisun0 edited this page Oct 9, 2026
·
13 revisions
Previous: KB_src_p2.md
- Layer: testing
- Language: c
- Symbols:
-
add(function, line 1)int add(int a, int b) -
main(function, line 2)int main(void)
-
- Layer: testing
- Language: lua
- Symbols:
-
check(function, line 12) -
write_file(function, line 22) -
read_file(function, line 30) -
test_module_bindings(function, line 40) -
test_filesystem(function, line 53) -
test_xxhash(function, line 70) -
test_stb(function, line 75) -
test_dlmalloc(function, line 80) -
test_hello(function, line 85) -
test_ftest(function, line 90) -
test_minigcc(function, line 95) -
test_ld(function, line 100) -
test_toolchain_roundtrip(function, line 112) -
test_spawn_preserves_interpreter(function, line 122) -
test_bin_cp(function, line 135) -
test_bin_lz4(function, line 141) -
test_bin_lzss(function, line 158) -
test_bin_aes(function, line 175) -
test_bin_json(function, line 194) -
test_bin_freedom(function, line 205)
-
- Doc: in-OS test suite for MiniOS, driven by MicroPython.
- Layer: testing
- Language: py
- Symbols:
-
check(function, line 15)def check(name, cond, detail) -
safe_run(function, line 25)def safe_run() -
test_module_bindings(function, line 38)def test_module_bindings() -
test_filesystem(function, line 56)def test_filesystem() -
test_xxhash(function, line 72)def test_xxhash() -
test_stb(function, line 77)def test_stb() -
test_dlmalloc(function, line 82)def test_dlmalloc() -
test_hello(function, line 87)def test_hello() -
test_ftest(function, line 92)def test_ftest() -
test_minigcc(function, line 97)def test_minigcc() -
test_ld(function, line 102)def test_ld() -
test_toolchain_roundtrip(function, line 119)def test_toolchain_roundtrip() -
test_spawn_preserves_interpreter(function, line 134)def test_spawn_preserves_interpreter() -
test_bin_cp(function, line 148)def test_bin_cp() -
test_bin_lz4(function, line 153)def test_bin_lz4() -
test_bin_lzss(function, line 181)def test_bin_lzss() -
test_bin_aes(function, line 209)def test_bin_aes() -
test_bin_json(function, line 239)def test_bin_json() -
test_bin_freedom(function, line 253)def test_bin_freedom() -
main(function, line 261)def main()
-
- Depends on:
progs/lua/minios.c
- Doc: comprehensive non-interactive test suite for MiniOS.
- Layer: testing
- Language: sh
- Doc: Producer-consumer over mthreads (roadmap Phase 1, M1).
- Layer: utility
- Language: c
- Symbols:
-
producer(function, line 36)static void *producer(void *p) -
consumer(function, line 57)static void *consumer(void *p) -
main(function, line 82)int main(void) -
threads(function, line 3)* * Ten threads (1 main + 5 producers + 4 consumers) share one address * space through thread_spawn (MiniOS syscall... -
NPROD(macro, line 21)#define NPROD -
NCONS(macro, line 22)#define NCONS -
PER_PROD(macro, line 23)#define PER_PROD -
BUFSZ(macro, line 24)#define BUFSZ -
EXPECTED_N(macro, line 26)#define EXPECTED_N -
EXPECTED_SUM(macro, line 27)#define EXPECTED_SUM
-
- Depends on:
progs/minios_abi.h,progs/src/mthreads.h
- Layer: utility
- Language: c
- Symbols:
-
main(function, line 3)int main(void) -
write(function, line 1)int write(int fd, char *buf, int n);
-
Generated offline by readmenator from commit d64a8fe9383a. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_headers_kernel
- community_10_orphans
- community_1_progs_doomgeneric_d_englsh
- community_2_progs_src
- community_3_progs_doomgeneric_p_spec
- community_4_tools_tls_crypto
- community_5_headers_vga_fb
- community_6_progs_doomgeneric_net_defs
- community_7_headers_batch
- community_8_headers_tick
- community_9_tools_doom_pwad
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- KB_asm
- KB_boot
- KB_doomgeneric
- KB_doomgeneric_p10
- KB_doomgeneric_p11
- KB_doomgeneric_p12
- KB_doomgeneric_p2
- KB_doomgeneric_p3
- KB_doomgeneric_p4
- KB_doomgeneric_p5
- KB_doomgeneric_p6
- KB_doomgeneric_p7
- KB_doomgeneric_p8
- KB_doomgeneric_p9
- KB_drivers
- KB_drivers_p2
- KB_file
- KB_freedomui
- KB_fs
- KB_headers
- KB_headers_arch_x86
- KB_headers_drivers
- KB_headers_kernel
- KB_headers_p2
- KB_headers_p3
- KB_headers_p4
- KB_headers_p5
- KB_headers_p6
- KB_kernel
- KB_kernel_p2
- KB_kernel_p3
- KB_kernel_p4
- KB_lib
- KB_lisp
- KB_lua
- KB_mcp
- KB_minios
- KB_misc
- KB_misc_p2
- KB_misc_p3
- KB_mm
- KB_net
- KB_nuklear
- KB_pokemon
- KB_progs
- KB_quake2generic
- KB_root
- KB_src
- KB_src_p2
- KB_src_p3
- KB_tests
- KB_tests_p2
- KB_tls_u
- KB_tools
- KB_tools_p2
- KB_wl
- KB_x86
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p3
- SYMBOLS_p4
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes