Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expose more generation controls to command lines
1) add the following command line options to disable/enable side effecting expressions: --incr-decr-operators --no-incr-decr-operators --embedded-assigns --no-embedded-assigns --comma-operators --no-comma-operators 2) add "--max-struct-nested-level" to command line options. And enforce the default limit at 3, i.e. struct in struct in struct. 3) add "more_struct_union_type_prob" to Probabilities. (a finer way to config Csmith through --probability-configuration <file>). Also slightly decrease the chance of having struct/union types in random programs. 4) Add a class DistributionTable to represent more flexible distribution of probabilities than ProbabilityTable in that the sum of individual distributions doesn't have to be 100. With this class we disable/enable entries in the table without painful re-calibration of numbers.
- Loading branch information
Xuejun Yang
committed
Aug 8, 2011
1 parent
bc564f0
commit a139329
Showing
13 changed files
with
193 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.