MOBICAL(1) | User Commands | MOBICAL(1) |
mobical - CaDiCaL Simplified Satisfiability Solver
usage: mobical [ <option> ... ] [ <mode> ]
where '<option>' can be one of the following:
Then '<mode>' is one of these
The output trace is not shrunken if it is not failing. However, before it is written it is executed, unless '--do-not-execute' is specified:
In order to check memory issues or collect coverage you can force execution within the main process, which however also means that the model based tester aborts as soon a test fails
In order to replay a trace which violates an API contract use
--do-not-enforce-contracts
To read from '<stdin>' use '-' as '<input>' and also '-' instead of '<output>' to write to '<stdout>'.
Implicitly add 'dump' and 'stats' calls to traces:
Otherwise if no '<mode>' is specified the default is to generate random traces internally until the execution of a trace fails, which means it produces a non-zero exit code. Then the trace is rerun and shrunken through delta-debugging to produce a smaller trace. The shrunken failing trace is written as 'red-<seed>.trace' to the current working directory.
The following options disable certain parts of the shrinking algorithm:
--do-not-shrink[-at-all]
--do-not-add-options[-before-shrinking]
--do-not-shrink-phases
--do-not-shrink-clauses
--do-not-shrink-literals
--do-not-shrink-basic[-calls]
--do-not-disable[-options]
--do-not-reduce[[-option]-values]
--do-not-shrink-variables
--do-not-shrink-options
The standard mode of using the model based tester is to start it in random testing mode without '<input>', '<seed>' nor '<output>' option. If a failing trace is found it will be shrunken and the resulting trace written to the current working directory. Then the model based tester can be interrupted and then called again with the produced failing trace as single argument. This invocation will execute the trace within the same process and thus can directly be investigated with a symbolic debugger such as 'gdb' or maybe first checked for memory issues with 'valgrind' or recompilation with memory checking '-fsanitize=address'.
November 2022 | mobical 1.5.3 |