However, in the latest generated sample
configure file by
csmith, statement_assign_prob=100, statement_block_prob=0. Does it mean
only -100% chance to get statement_block_prob?
No. The probabilities are not sorted in the output (Maybe we should do
that). For example, Here is a sample output:
[statement_prob,statement_assign_prob=100,statement_block_prob=0,statement_for_prob=30,statement_ifelse_prob=15,
statement_return_prob=35,statement_continue_prob=40,statement_break_prob=45,statement_goto_prob=50,
statement_arrayop_prob=60]
It means that we have
(15-0)% = 15% change
to generate if-else
statements, (35-15)% = 20% chance to generate return statements, etc.