[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[csmith-project/csmith] eab897: enforce two generation constrains at command line:
Branch: refs/heads/master
Home: https://github.com/csmith-project/csmith
Commit: eab89765909675a1f05d658878330f6dc10670c6
https://github.com/csmith-project/csmith/commit/eab89765909675a1f05d658878330f6dc10670c6
Author: Xuejun Yang <jxyang@cs.utah.edu>
Date: 2011-07-26 (Tue, 26 Jul 2011)
Changed paths:
M src/Block.cpp
M src/Bookkeeper.cpp
M src/Bookkeeper.h
M src/CGContext.cpp
M src/CGContext.h
M src/CGOptions.cpp
M src/CGOptions.h
M src/Constant.h
M src/Expression.cpp
M src/Expression.h
M src/ExpressionAssign.h
M src/ExpressionComma.h
M src/ExpressionFuncall.cpp
M src/ExpressionFuncall.h
M src/ExpressionVariable.cpp
M src/ExpressionVariable.h
M src/FunctionInvocation.cpp
M src/FunctionInvocationUser.cpp
M src/Lhs.h
M src/RandomProgramGenerator.cpp
M src/Statement.cpp
M src/Statement.h
M src/StatementAssign.cpp
M src/StatementIf.cpp
M src/StatementReturn.cpp
M src/VectorFilter.cpp
M src/VectorFilter.h
Log Message:
-----------
enforce two generation constrains at command line:
1) expression complexity: configured through "--upper-expr-complexity <num>". It is a soft limit on how many sub-expressions could be there for any expression. Default is 10
2) block depth: configured through "--max-block-depth <num>". It is a hard limit on the nesting level of blocks. Default is 5