Repository navigation
Agent KB_tests
grisun0 edited this page Oct 23, 2026
·
12 revisions
Pages: KB_tests.md, KB_tests_p2.md
- Doc: host-side verification for the AES-256-CTR command tools.
- Layer: testing
- Language: sh
- Symbols:
-
ok(function, line 23) -
bad(function, line 24) -
rd(function, line 25)
-
- Doc: reusable host-side verification for the in-OS codec tools.
- Layer: testing
- Language: sh
- Symbols:
-
ok(function, line 22) -
bad(function, line 23) -
gen_input(function, line 27) -
roundtrip(function, line 31) -
reject(function, line 40)
-
- Doc: Docstring: tests/test_abi.c -- Host test for the ABI manifest gate.
- Layer: testing
- Language: c
- Symbols:
-
expect(function, line 16)static void expect(const char *name, const char *manifest, int want) -
main(function, line 25)int main(void)
-
- Depends on:
headers/abi.h,progs/minios_abi.h
- Doc: Docstring: host test for the bump arena (make test-arena).
- Layer: testing
- Language: c
- Symbols:
-
main(function, line 23)int main(void) -
CHECK(macro, line 14)#define CHECK(cond, msg)
-
- Depends on:
headers/arena.h,kernel/string.c
- Doc: Docstring: Host test for kernel/batch.c (make test-batch).
- Layer: testing
- Language: c
- Symbols:
-
stub_dispatch(function, line 24)static long stub_dispatch(uint32_t opcode) -
main(function, line 31)int main(void) -
CHECK(macro, line 17)#define CHECK(cond, msg)
-
- Depends on:
headers/batch.h
- Doc: host contract suite for tools/doom_pwad.py.
- Layer: testing
- Language: py
- Symbols:
-
GridValidationTests(class, line 29)class GridValidationTests(TestCase) -
PwadLayoutTests(class, line 82)class PwadLayoutTests(TestCase) -
PwadMutationTests(class, line 181)class PwadMutationTests(TestCase) -
ExtendedLegendTests(class, line 255)class ExtendedLegendTests(TestCase) -
lump_blob(function, line 310)def lump_blob(blob, idx) -
MultiSectorTests(class, line 317)class MultiSectorTests(TestCase) -
MultiSectorMutationTests(class, line 388)class MultiSectorMutationTests(TestCase) -
test_valid_room_parses(method, line 32)def test_valid_room_parses(self) -
test_ragged_rows_refused(method, line 36)def test_ragged_rows_refused(self) -
test_missing_player_refused(method, line 41)def test_missing_player_refused(self) -
test_missing_exit_refused(method, line 46)def test_missing_exit_refused(self) -
test_illegal_char_refused(method, line 51)def test_illegal_char_refused(self) -
test_unreachable_exit_refused(method, line 56)def test_unreachable_exit_refused(self) -
test_exit_needs_wall(method, line 66)def test_exit_needs_wall(self) -
test_roundtrip_check(method, line 85)def test_roundtrip_check(self) -
test_header_pin(method, line 96)def test_header_pin(self) -
test_lump_order_pin(method, line 103)def test_lump_order_pin(self) -
test_things_pin(method, line 115)def test_things_pin(self) -
test_exit_switch_pin(method, line 129)def test_exit_switch_pin(self) -
test_exit_on_every_side(method, line 141)def test_exit_on_every_side(self) -
test_pillar_room_stays_closed(method, line 154)def test_pillar_room_stays_closed(self) -
test_open_boundary_dies(method, line 168)def test_open_boundary_dies(self) -
setUp(method, line 184)def setUp(self) -
test_bad_magic_dies(method, line 188)def test_bad_magic_dies(self) -
test_truncated_file_dies(method, line 193)def test_truncated_file_dies(self) -
test_swapped_lumps_die(method, line 198)def test_swapped_lumps_die(self) -
test_partial_record_dies(method, line 212)def test_partial_record_dies(self) -
test_wild_vertex_dies(method, line 221)def test_wild_vertex_dies(self) -
test_missing_exit_dies(method, line 230)def test_missing_exit_dies(self) -
test_unterminated_blockmap_dies(method, line 243)def test_unterminated_blockmap_dies(self) -
test_every_legend_char_builds(method, line 273)def test_every_legend_char_builds(self) -
test_every_thing_id_matches_engine(method, line 278)def test_every_thing_id_matches_engine(self) -
test_door_room_builds_two_sectors(method, line 320)def test_door_room_builds_two_sectors(self) -
test_door_lines_are_tagged_openers(method, line 327)def test_door_lines_are_tagged_openers(self) -
test_dark_and_nukage_sector_props(method, line 355)def test_dark_and_nukage_sector_props(self) -
test_reject_scales_with_sector_count(method, line 374)def test_reject_scales_with_sector_count(self) -
test_new_legend_chars_build(method, line 382)def test_new_legend_chars_build(self) -
setUp(method, line 391)def setUp(self) -
mutate_line(method, line 395)def mutate_line(self, idx, field, value) -
door_line(method, line 406)def door_line(self) -
test_door_tag_zero_dies(method, line 418)def test_door_tag_zero_dies(self) -
test_unknown_special_dies(method, line 423)def test_unknown_special_dies(self) -
test_onesided_with_back_dies(method, line 428)def test_onesided_with_back_dies(self) -
test_exit_tagged_dies(method, line 433)def test_exit_tagged_dies(self)
-
- Depends on:
tools/doom_pwad.py
- Doc: Host test for the Strategy-pattern device registry.
- Layer: testing
- Language: c
- Symbols:
-
test_read(function, line 15)static int test_read(device_t *d, unsigned lba, unsigned count, void *buf) -
test_pcm_open(function, line 28)static void test_pcm_open(device_t *d) -
test_pcm_submit(function, line 33)static int test_pcm_submit(device_t *d, const unsigned char *pcm, unsigned len) -
test_tone(function, line 39)static void test_tone(device_t *d, unsigned freq) -
main(function, line 65)int main(void)
-
- Depends on:
headers/driver.h,kernel/string.c
- Doc: Docstring: Host test for the ext4 loopback driver (make test-ext4).
- Layer: testing
- Language: c
- Symbols:
-
kmalloc(function, line 24)void *kmalloc(unsigned long size) -
kfree(function, line 28)void kfree(void *ptr) -
kstrlen(function, line 32)unsigned long kstrlen(const char *s) -
kstrncmp(function, line 36)int kstrncmp(const char *a, const char *b, unsigned long n) -
kstrncpy(function, line 40)char *kstrncpy(char *dst, const char *src, unsigned long n) -
kmemcpy(function, line 47)void *kmemcpy(void *dst, const void *src, unsigned long n) -
kstrchr(function, line 51)char *kstrchr(const char *s, int c) -
fs_resolve(function, line 55)int fs_resolve(const char *path, char *out, unsigned cap) -
ramdisk_open(function, line 68)RDFile *ramdisk_open(const char *name) -
ramdisk_read(function, line 73)int ramdisk_read(RDFile *f, void *buf, unsigned offset, unsigned len) -
minifs_is_mounted(function, line 81)int minifs_is_mounted(void) -
minifs_resolve_path(function, line 85)int minifs_resolve_path(const char *path) -
minifs_stat(function, line 90)int minifs_stat(int ino, MiniFSInode *out) -
minifs_read(function, line 96)int minifs_read(int ino, void *buf, unsigned off, unsigned len) -
ide_present(function, line 104)int ide_present(void) -
ide_total_sectors(function, line 108)unsigned int ide_total_sectors(void) -
ide_read_sectors(function, line 112)int ide_read_sectors(unsigned int lba, unsigned int count, void *buf) -
block_disk_sectors(function, line 119)unsigned long block_disk_sectors(void) -
block_read_sectors(function, line 123)int block_read_sectors(unsigned lba, unsigned count, void *buf) -
e16(function, line 143)static void e16(unsigned char *p, unsigned v) -
e32(function, line 148)static void e32(unsigned char *p, unsigned long v) -
ext_fix_de(function, line 156)static unsigned ext_fix_de(unsigned char *d, unsigned off, const char *nm, ... -
ext_fix_inode(function, line 168)static void ext_fix_inode(unsigned ino, unsigned mode, unsigned long size, ... -
ext_fix_x1(function, line 180)static void ext_fix_x1(unsigned char *iblk, unsigned l0, unsigned p0, unsi... -
ext_fix_build(function, line 192)static void ext_fix_build(void) -
test_image(function, line 305)static void test_image(void) -
test_bad_magic(function, line 412)static void test_bad_magic(void) -
main(function, line 421)int main(void) -
EXT_FIX_BLOCKS(macro, line 62)#define EXT_FIX_BLOCKS -
EXT_FIX_SIZE(macro, line 63)#define EXT_FIX_SIZE -
CHECK(macro, line 135)#define CHECK(cond)
-
- Depends on:
fs/ext4.c,fs/fsimg.c,headers/ext4.h,headers/fsimg.h,headers/minifs.h,kernel/string.c
- Doc: Docstring: Host test for the FAT32 loopback driver (make test-fat).
- Layer: testing
- Language: c
- Symbols:
-
kmalloc(function, line 24)void *kmalloc(unsigned long size) -
kfree(function, line 28)void kfree(void *ptr) -
kstrlen(function, line 32)unsigned long kstrlen(const char *s) -
kstrncmp(function, line 36)int kstrncmp(const char *a, const char *b, unsigned long n) -
kstrncpy(function, line 40)char *kstrncpy(char *dst, const char *src, unsigned long n) -
kmemcpy(function, line 47)void *kmemcpy(void *dst, const void *src, unsigned long n) -
fs_resolve(function, line 51)int fs_resolve(const char *path, char *out, unsigned cap) -
ramdisk_open(function, line 66)RDFile *ramdisk_open(const char *name) -
ramdisk_read(function, line 71)int ramdisk_read(RDFile *f, void *buf, unsigned offset, unsigned len) -
minifs_is_mounted(function, line 79)int minifs_is_mounted(void) -
minifs_resolve_path(function, line 83)int minifs_resolve_path(const char *path) -
minifs_stat(function, line 88)int minifs_stat(int ino, MiniFSInode *out) -
minifs_read(function, line 94)int minifs_read(int ino, void *buf, unsigned off, unsigned len) -
ide_present(function, line 102)int ide_present(void) -
ide_total_sectors(function, line 106)unsigned int ide_total_sectors(void) -
ide_read_sectors(function, line 110)int ide_read_sectors(unsigned int lba, unsigned int count, void *buf) -
kstrcmp(function, line 117)int kstrcmp(const char *a, const char *b) -
block_disk_sectors(function, line 121)unsigned long block_disk_sectors(void) -
block_read_sectors(function, line 125)int block_read_sectors(unsigned lba, unsigned count, void *buf) -
st16(function, line 145)static void st16(unsigned char *p, unsigned v) -
st32(function, line 150)static void st32(unsigned char *p, unsigned long v) -
fat_fix_build(function, line 157)static void fat_fix_build(void) -
test_units(function, line 236)static void test_units(void) -
test_image(function, line 258)static void test_image(void) -
test_bad_magic(function, line 320)static void test_bad_magic(void) -
main(function, line 329)int main(void) -
FAT_FIX_SECTORS(macro, line 58)#define FAT_FIX_SECTORS -
FAT_FIX_SIZE(macro, line 59)#define FAT_FIX_SIZE -
CHECK(macro, line 137)#define CHECK(cond)
-
- Depends on:
fs/fat32.c,fs/fsimg.c,headers/fat32.h,headers/fsimg.h,headers/minifs.h,kernel/string.c
- Doc: fault-injection suite (boyscout gap #10).
- Layer: testing
- Language: c
- Symbols:
-
range_ok(function, line 35)static int range_ok(unsigned long p, unsigned long len) -
str_ok(function, line 41)static int str_ok(const unsigned char *mem, unsigned long p, unsigned long maxlen) -
normalize(function, line 52)static void normalize(const char *path, char *out, unsigned cap) -
path_trusted(function, line 83)static int path_trusted(const char *full) -
main(function, line 94)int main(void) -
against(function, line 10)* after bounding against (END-BASE)/elemsz, so the product cannot * wrap past the range check); -
CHECK(macro, line 28)#define CHECK(c, m) -
U_BASE(macro, line 31)#define U_BASE -
U_END(macro, line 32)#define U_END -
TRUSTED_DIR(macro, line 81)#define TRUSTED_DIR -
TRUSTED_LEN(macro, line 82)#define TRUSTED_LEN
-
- Depends on:
headers/vma.h,kernel/string.c
- Doc: Docstring: host test for the file browser assoc contract (make test-file).
- Layer: testing
- Language: c
- Symbols:
-
t_ext_of(function, line 26)static void t_ext_of(const char *fname, char *dst, unsigned cap) -
t_assoc_line(function, line 46)static int t_assoc_line(const char *line, char *ext, char *prog) -
t_icon_kind(function, line 80)static int t_icon_kind(const char *fname, int isdir) -
t_icon_sz(function, line 95)static int t_icon_sz(void) -
main(function, line 99)int main(void) -
CHECK(macro, line 16)#define CHECK(cond, msg) -
T_EXT_MAX(macro, line 23)#define T_EXT_MAX -
T_PROG_MAX(macro, line 24)#define T_PROG_MAX -
T_ICON_SMALL(macro, line 92)#define T_ICON_SMALL -
T_ICON_BIG(macro, line 93)#define T_ICON_BIG
-
- Depends on:
kernel/string.c,progs/file/file_assoc.h
- Doc: test_freedom_wl - host suite for the Wayland to MiniOS mapping.
- Layer: testing
- Language: c
- Symbols:
-
check_host(function, line 12)static int check_host(int cond, const char *name) -
main(function, line 22)int main(void) -
FREEDOM_WL_HOST_TEST(macro, line 8)#define FREEDOM_WL_HOST_TEST
-
- Depends on:
progs/src/freedom_wl.c
- Doc: test_freedomui - host suite for the real FreeDom MiniOS backend.
- Layer: testing
- Language: c
- Symbols:
-
main(function, line 24)int main(void) -
FREEDOMUI_HOST_TEST(macro, line 10)#define FREEDOMUI_HOST_TEST
-
- Depends on:
kernel/string.c,progs/freedomui/freedomui_minios.c
- Doc: Docstring: Host test for kernel/futex.c (make test-futex).
- Layer: testing
- Language: c
- Symbols:
-
proc_get(function, line 18)proc_t *proc_get(int pid) -
schedule(function, line 26)void schedule(void) -
fresh_proc(function, line 39)static void fresh_proc(int pid) -
fresh_all(function, line 48)static void fresh_all(void) -
main(function, line 60)int main(void) -
masked(function, line 153)* with PRIVATE and CLOCK_REALTIME masked (393 = 9|128|256). */ CHECK(futex_linux_cmd(9) == LINUX_FUTEX_WAIT_BITSET... -
CHECK(macro, line 32)#define CHECK(cond, msg)
-
- Depends on:
headers/futex.h
- Doc: Docstring: Host test for headers/vga_fx.h (make test-fx).
- Layer: testing
- Language: c
- Symbols:
-
main(function, line 23)int main(void) -
CHECK(macro, line 16)#define CHECK(cond, msg)
-
- Depends on:
headers/vga_fx.h
- Doc: Docstring: Host test for arch/x86/hal_io.h (make test-hal).
- Layer: testing
- Language: c
- Symbols:
-
main(function, line 30)int main(void) -
HAL_IO_HOST_TEST(macro, line 11)#define HAL_IO_HOST_TEST -
CHECK(macro, line 23)#define CHECK(cond, msg)
-
- Depends on:
headers/arch/x86/hal_io.h
- Doc: Docstring: Host test for headers/httpd.h (make test-httpd).
- Layer: testing
- Language: c
- Symbols:
-
main(function, line 25)int main(void) -
CHECK(macro, line 18)#define CHECK(cond, msg)
-
- Depends on:
headers/httpd.h,kernel/string.c
- Doc: host test for the pure conversion math in ktime.h
- Layer: testing
- Language: c
- Symbols:
-
main(function, line 16)int main(void) -
CHECK(macro, line 14)#define CHECK(c, m)
-
- Depends on:
headers/ktime.h
- Doc: Docstring: host test for the ld.so pure parser (make test-ldso).
- Layer: testing
- Language: c
- Symbols:
-
w16(function, line 27)static void w16(unsigned char *p, unsigned v) -
w32(function, line 32)static void w32(unsigned char *p, unsigned long v) -
w64(function, line 39)static void w64(unsigned char *p, unsigned long long v) -
build_tables(function, line 92)static void build_tables(unsigned char *img, int rela_type) -
main(function, line 127)int main(void) -
CHECK(macro, line 20)#define CHECK(cond, msg) -
IMG_SZ(macro, line 53)#define IMG_SZ -
DYN_OFF(macro, line 54)#define DYN_OFF -
STR_OFF(macro, line 55)#define STR_OFF -
SYM_OFF(macro, line 56)#define SYM_OFF -
HASH_OFF(macro, line 57)#define HASH_OFF -
RELA_OFF(macro, line 58)#define RELA_OFF
-
- Depends on:
headers/ldso.h,kernel/ldso_parse.c,kernel/string.c
- Doc: Docstring: host test for the leak tracker (make test-leakcheck).
- Layer: testing
- Language: c
- Symbols:
-
main(function, line 27)int main(void) -
MINIOS_LEAKCHECK_IMPL(macro, line 10)#define MINIOS_LEAKCHECK_IMPL -
MINIOS_LK_ENABLE(macro, line 11)#define MINIOS_LK_ENABLE -
CHECK(macro, line 20)#define CHECK(cond, msg)
-
- Depends on:
headers/leakcheck.h,kernel/string.c,progs/file/file_assoc.h
- Doc: Host suite for the MiniFS image tools (docs/spec/shell-fs.md). tools/mkfs.minifs.py builds the...
- Layer: testing
- Language: py
- Symbols:
-
Config(class, line 23)class Config -
run(function, line 35)def run(args) -
MiniFSToolsTest(class, line 40)class MiniFSToolsTest(TestCase) -
setUp(method, line 43)def setUp(self) -
tearDown(method, line 47)def tearDown(self) -
tree(method, line 50)def tree(self, root, rel, data) -
mkfs(method, line 58)def mkfs(self) -
superblock_word(method, line 64)def superblock_word(self, image, off) -
test_counters_match_bitmaps(method, line 69)def test_counters_match_bitmaps(self) -
test_fsck_rejects_drifted_counters(method, line 79)def test_fsck_rejects_drifted_counters(self) -
test_same_named_directories_merge(method, line 93)def test_same_named_directories_merge(self) -
test_duplicate_file_is_an_error(method, line 107)def test_duplicate_file_is_an_error(self)
-
- Doc: Docstring: host test for the shared ring-3 PNG helpers (make test-png).
- Layer: testing
- Language: c
- Symbols:
-
t_332(function, line 24)static void t_332(void) -
t_nearest(function, line 33)static void t_nearest(void) -
t_geom(function, line 58)static void t_geom(void) -
t_scale(function, line 70)static void t_scale(void) -
t_scale_big(function, line 99)static void t_scale_big(void) -
t_blit(function, line 139)static void t_blit(void) -
t_load(function, line 157)static void t_load(void) -
t_policy(function, line 176)static void t_policy(void) -
main(function, line 191)int main(void) -
CHECK(macro, line 16)#define CHECK(cond, msg)
-
- Depends on:
kernel/string.c,progs/minios_png.h
- Doc: host test for the frozen MicroPython installer (make test-mip).
- Layer: testing
- Language: py
- Symbols:
-
load_mip(function, line 36)def load_mip() -
MipPureTests(class, line 44)class MipPureTests(TestCase) -
_Handler(class, line 212)class _Handler(BaseHTTPRequestHandler) -
MipLiveTests(class, line 242)class MipLiveTests(TestCase) -
setUpClass(method, line 48)def setUpClass(cls) -
test_split_url_default_port(method, line 51)def test_split_url_default_port(self) -
test_split_url_explicit_port_and_query(method, line 57)def test_split_url_explicit_port_and_query(self) -
test_split_url_path_defaults_to_root(method, line 63)def test_split_url_path_defaults_to_root(self) -
test_split_url_refuses_https(method, line 66)def test_split_url_refuses_https(self) -
test_split_https_url_default_port(method, line 70)def test_split_https_url_default_port(self) -
test_split_https_url_explicit_port(method, line 76)def test_split_https_url_explicit_port(self) -
test_split_https_url_refuses_plain_http(method, line 82)def test_split_https_url_refuses_plain_http(self) -
test_parse_url_reports_scheme(method, line 86)def test_parse_url_reports_scheme(self) -
test_split_url_refuses_other_schemes(method, line 96)def test_split_url_refuses_other_schemes(self) -
test_split_url_refuses_bad_authority(method, line 101)def test_split_url_refuses_bad_authority(self) -
test_split_url_refuses_control_chars(method, line 107)def test_split_url_refuses_control_chars(self) -
test_module_name_accepts_plain_module(method, line 112)def test_module_name_accepts_plain_module(self) -
test_module_name_strips_query(method, line 116)def test_module_name_strips_query(self) -
test_module_name_refuses_unsafe_names(method, line 119)def test_module_name_refuses_unsafe_names(self) -
test_parse_response_crlf(method, line 135)def test_parse_response_crlf(self) -
test_parse_response_bare_lf(method, line 144)def test_parse_response_bare_lf(self) -
test_parse_response_rejects_garbage(method, line 151)def test_parse_response_rejects_garbage(self) -
test_parse_response_rejects_content_length_mismatch(method, line 157)def test_parse_response_rejects_content_length_mismatch(self) -
test_parse_response_refuses_chunked(method, line 167)def test_parse_response_refuses_chunked(self) -
test_https_get_needs_minios_on_host(method, line 173)def test_https_get_needs_minios_on_host(self) -
test_absolute_url_resolves_path_location(method, line 177)def test_absolute_url_resolves_path_location(self) -
test_absolute_url_keeps_absolute_location(method, line 187)def test_absolute_url_keeps_absolute_location(self) -
test_absolute_url_keeps_base_scheme(method, line 197)def test_absolute_url_keeps_base_scheme(self) -
test_absolute_url_refuses_relative_location(method, line 207)def test_absolute_url_refuses_relative_location(self) -
log_message(method, line 217)def log_message(self, fmt) -
do_GET(method, line 220)def do_GET(self) -
setUpClass(method, line 246)def setUpClass(cls) -
tearDownClass(method, line 261)def tearDownClass(cls) -
setUp(method, line 266)def setUp(self) -
run_in_elf(method, line 270)def run_in_elf(self, code) -
combined(method, line 277)def combined(self, proc) -
test_install_plain_and_load(method, line 280)def test_install_plain_and_load(self) -
test_install_follows_redirect(method, line 290)def test_install_follows_redirect(self) -
test_install_404_fails(method, line 300)def test_install_404_fails(self) -
test_install_https_needs_minios(method, line 308)def test_install_https_needs_minios(self) -
test_install_refuses_chunked(method, line 319)def test_install_refuses_chunked(self) -
test_install_refuses_traversal_name(method, line 327)def test_install_refuses_traversal_name(self) -
test_install_twice_succeeds(method, line 334)def test_install_twice_succeeds(self) -
test_cli_install(method, line 344)def test_cli_install(self)
-
- Doc: Docstring: Designated initializers, so adding a member cannot silently
- Layer: testing
- Language: c
- Symbols:
-
main(function, line 24)int main(void) -
CHECK(macro, line 17)#define CHECK(cond, msg)
-
- Depends on:
headers/drivers/modifiers.h
- Layer: testing
- Language: c
- Symbols:
-
probe_handler(function, line 16)static void probe_handler(const wm_notify_event_t *e) -
main(function, line 22)int main(void) -
CHECK(macro, line 9)#define CHECK(cond, msg)
-
- Depends on:
headers/wm_notify.h
- Doc: Docstring: host test for the paint canvas/PNG contract (make test-paint).
- Layer: testing
- Language: c
- Symbols:
-
t_clamp(function, line 30)static int t_clamp(int v, int lo, int hi) -
t_plot(function, line 36)static int t_plot(unsigned char *buf, int w, int h, int x, int y, unsigned char c) -
t_line(function, line 44)static int t_line(unsigned char *buf, int w, int h, int x0, int y0, int x1, int... -
t_flood(function, line 70)static int t_flood(unsigned char *buf, int w, int h, int x, int y, unsigned ch... -
t_crc_init(function, line 116)static void t_crc_init(void) -
t_crc(function, line 129)static unsigned long t_crc(const unsigned char *p, unsigned long n) -
t_path_ok(function, line 138)static int t_path_ok(const char *p) -
t_nearest(function, line 155)static int t_nearest(const unsigned char *pal, unsigned r, unsigned g, unsig... -
test_plot(function, line 171)static void test_plot(void) -
test_line(function, line 188)static void test_line(void) -
test_flood(function, line 207)static void test_flood(void) -
test_png_codec(function, line 228)static void test_png_codec(void) -
test_png_layout(function, line 259)static void test_png_layout(void) -
test_path(function, line 273)static void test_path(void) -
test_nearest(function, line 287)static void test_nearest(void) -
main(function, line 300)int main(void) -
CHECK(macro, line 16)#define CHECK(cond, msg) -
T_W(macro, line 23)#define T_W -
T_H(macro, line 24)#define T_H -
T_N(macro, line 25)#define T_N -
T_PATH_MAX(macro, line 26)#define T_PATH_MAX
-
- Depends on:
kernel/string.c
- Doc: Docstring: Host test for headers/panic.h (make test-panic).
- Layer: testing
- Language: c
- Symbols:
-
always_valid(function, line 23)static int always_valid(unsigned long addr) -
never_valid(function, line 28)static int never_valid(unsigned long addr) -
deny_valid(function, line 35)static int deny_valid(unsigned long addr) -
main(function, line 39)int main(void) -
CHECK(macro, line 16)#define CHECK(cond, msg)
-
- Depends on:
headers/panic.h
- Doc: Docstring: host test for the page cache store (make test-pcache).
- Layer: testing
- Language: c
- Symbols:
-
kmalloc(function, line 19)void *kmalloc(unsigned long size) -
kfree(function, line 23)void kfree(void *ptr) -
kprintf(function, line 27)int kprintf(const char *fmt, ...) -
main(function, line 43)int main(void) -
CHECK(macro, line 36)#define CHECK(cond, msg)
-
- Depends on:
fs/pcache.c,headers/pcache.h,kernel/string.c
Next: KB_tests_p2.md
Generated offline by readmenator from commit cd87980b5eb5. 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