Commit graph

25 commits

Author SHA1 Message Date
Toby Jaffey
6434f0b0cb Smoke test of getProgramCounter 2025-12-13 19:21:05 +00:00
Toby Jaffey
5667598427 Test uvm32_getMemory() in a tautological manner 2025-12-13 19:19:39 +00:00
Toby Jaffey
99c0925db5 Test for invalid uvm32_arg_t 2025-12-13 19:17:58 +00:00
Toby Jaffey
59ade881c3 uvm32_hasEnded() test 2025-12-13 19:15:06 +00:00
Toby Jaffey
0018bdd249 Add test of reading cstring syscall argument which never terminates before hitting end of ram 2025-12-13 19:12:24 +00:00
Toby Jaffey
b1b4cbf583 Fix bug where memory was being used instead of extram when reading cstring from extram 2025-12-13 18:46:28 +00:00
Toby Jaffey
d72955690f Add test for extram being removed then invalid pointer being followed 2025-12-13 18:10:50 +00:00
Toby Jaffey
92913ab478 Add test for reading code which is too large 2025-12-13 18:02:43 +00:00
Toby Jaffey
2e1f4d3f93 Generate coverage report 2025-12-13 17:53:55 +00:00
Toby Jaffey
1e5555f66d Unify all tests to use same common makefile includes 2025-12-13 17:27:24 +00:00
Toby Jaffey
8c97057809 Make extram uint8_t 2025-12-12 20:51:39 +00:00
Toby Jaffey
8158ac647c Renaming and documentating header 2025-12-12 20:42:26 +00:00
Toby Jaffey
5bd6a32013 Move all app common files under apps/common 2025-12-12 15:45:17 +00:00
Toby Jaffey
74267d94df Handle syscall cstring argument when pointing to extram 2025-12-12 14:45:25 +00:00
Toby Jaffey
3f21335fc3 Test that repeatedly stopping and starting results in executing exactly the same number of VM instructions 2025-12-11 13:16:46 +00:00
Toby Jaffey
978ddb52f0 Fix memory size in extram test 2025-12-11 11:16:46 +00:00
Toby Jaffey
7a1656ab10 Handle 8, 16 and 32 bit accesses to extram. 2025-12-11 10:33:45 +00:00
Toby Jaffey
63386f9a92 Missing header 2025-12-11 02:40:30 +00:00
Toby Jaffey
b55c2bc88a Add system for memory mapping a block of memory from the host. 2025-12-11 02:36:46 +00:00
Toby Jaffey
ac1975a820 Test metering, prove that system can resume after a hang error with a range of meter sizes 2025-12-10 22:30:19 +00:00
Toby Jaffey
9d9e7542fc Test parsing of syscall args, and responses to invalid behaviour 2025-12-10 22:29:33 +00:00
Toby Jaffey
46b6d1efba Ensure make errors when a test fails 2025-12-10 19:27:39 +00:00
Toby Jaffey
30b7ff4791 custom syscall example 2025-12-10 18:52:01 +00:00
Toby Jaffey
508d41c8c5 Remove stackoverflow error, have one CORE_INTERNAL error for catastrophic crash 2025-12-10 18:42:34 +00:00
Toby Jaffey
da7f70c456 Initial test framework
Clean up makefiles
Everything buildable under docker (or natively)
2025-12-10 16:36:33 +00:00