-
Notifications
You must be signed in to change notification settings - Fork 1
Strange use cases for the VM
Dany Alawwa edited this page Dec 13, 2017
·
7 revisions
Here we reference strange use cases and how Zaz's VM reacts to them.
./corewar -d without numeric argument afterward
./corewar -d 10 -d 15 ...
./corewar (-d | -s | -v) over/underflow
./corewar --d N
./corewar -d Negative number
./corewar any order of arguments (flags can be in any order, remains to check whether .cor can come before flags)
./corewar with correct args but only 1 invalid file/name among other valid file/name
./corewar with negative args. Apparently, the -v value is casted in char