Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csmith-project/csmith
/ functions
Functions
1,599 in github.com/csmith-project/csmith
⨍
Functions
1,599
◇
Types & classes
385
↓ 3 callers
Method
is_volatile
src/Variable.cpp:548
↓ 3 callers
Method
must_jump
* return true if there is no way out of this block other than jump */
src/Block.cpp:381
↓ 3 callers
Function
non_empty_intersection
* Stuff that so badly wants to be rewritten using decent STL containers and * algorithms. */
src/Effect.cpp:58
↓ 3 callers
Method
output_header
src/StatementFor.cpp:394
↓ 3 callers
Method
output_init
--------------------------------------------------------------
src/ArrayVariable.cpp:656
↓ 3 callers
Method
read_indices
* */
src/CGContext.cpp:393
↓ 3 callers
Method
remove_rv_facts
* remove facts related to return variables of other functions */
src/FactMgr.cpp:372
↓ 3 callers
Method
reset_effect_stm
src/CGContext.h:149
↓ 3 callers
Method
restore_facts
src/FactMgr.cpp:510
↓ 3 callers
Method
set_init
src/DFSRndNumGenerator.cpp:60
↓ 3 callers
Method
valid_filter
* */
src/Filter.cpp:86
↓ 2 callers
Function
ExpressionTypeProbability
* */
src/Expression.cpp:111
↓ 2 callers
Function
GenerateAllTypes
---------------------------------------------------------------------
src/Type.cpp:1218
↓ 2 callers
Function
GenerateFunctions
* */
src/Function.cpp:801
↓ 2 callers
Function
GenerateRandomCharConstant
--------------------------------------------------------------
src/Constant.cpp:100
↓ 2 callers
Function
GenerateRandomIntConstant
--------------------------------------------------------------
src/Constant.cpp:112
↓ 2 callers
Function
GenerateRandomLongConstant
--------------------------------------------------------------
src/Constant.cpp:140
↓ 2 callers
Function
GenerateRandomLongLongConstant
--------------------------------------------------------------
src/Constant.cpp:153
↓ 2 callers
Function
GenerateRandomShortConstant
--------------------------------------------------------------
src/Constant.cpp:126
↓ 2 callers
Function
HashGlobalVariables
src/VariableSelector.cpp:1575
↓ 2 callers
Function
MoreTypesProbability
---------------------------------------------------------------------
src/Type.cpp:638
↓ 2 callers
Method
Output
* */
src/Function.cpp:562
↓ 2 callers
Method
Output
* */
src/Block.cpp:289
↓ 2 callers
Function
OutputArrayInitializers
src/Variable.cpp:881
↓ 2 callers
Method
OutputDecl
src/Variable.cpp:691
↓ 2 callers
Method
OutputForComment
--------------------------------------------------------------
src/Variable.cpp:741
↓ 2 callers
Function
OutputFunctions
* */
src/Function.cpp:861
↓ 2 callers
Function
OutputGlobalVariables
--------------------------------------------------------------
src/VariableSelector.cpp:1552
↓ 2 callers
Method
OutputHeader
* */
src/Function.cpp:527
↓ 2 callers
Function
OutputStandardFuncName
* */
src/FunctionInvocationBinary.cpp:269
↓ 2 callers
Function
OutputStructAssignOp
If this is C++, create assign operators for volatile structs: Semantically this should work, though for bit fields it's probably not what was intended
src/Type.cpp:1756
↓ 2 callers
Function
OutputStructUnion
--------------------------------------------------------------------- print struct definition (fields etc) ******************************************
src/Type.cpp:1849
↓ 2 callers
Function
OutputUnionAssignOps
src/Type.cpp:1809
↓ 2 callers
Function
OutputVariableList
--------------------------------------------------------------
src/Variable.cpp:911
↓ 2 callers
Function
RandomFunctionName
* */
src/Function.cpp:233
↓ 2 callers
Function
RandomLocalName
--------------------------------------------------------------
src/VariableSelector.cpp:147
↓ 2 callers
Function
RandomParamName
--------------------------------------------------------------
src/VariableSelector.cpp:154
↓ 2 callers
Function
RandomReturnType
------------------------------------------------------------- * choose a random return type. only struct/unions and integer types * (not incl. voi
src/Function.cpp:243
↓ 2 callers
Method
abstract_fact_for_var_init
src/Fact.cpp:89
↓ 2 callers
Method
access_deref_volatile
src/Effect.cpp:142
↓ 2 callers
Method
add_bool_elem_of_bool
src/Enumerator.h:189
↓ 2 callers
Method
add_external_effect
* */
src/CGContext.cpp:446
↓ 2 callers
Method
add_init_value
src/ArrayVariable.h:82
↓ 2 callers
Method
add_number
src/DefaultRndNumGenerator.cpp:104
↓ 2 callers
Method
block_size
src/Block.h:82
↓ 2 callers
Method
build_invocation
* Internal helper function. */
src/FunctionInvocationUser.cpp:257
↓ 2 callers
Method
caller_to_callee_handover
* add: parameter facts * remove: facts concerning local variables * exception: facts can be indirectly accessed through pointers * for exampl
src/FactMgr.cpp:325
↓ 2 callers
Method
check_deref_volatile
src/CGContext.cpp:188
↓ 2 callers
Function
combine_facts
* combine facts obtained from two visits to the same piece of code *************************************************************/
src/Fact.cpp:249
↓ 2 callers
Function
combine_variable_sets
combine two variable sets into one, note struct field "s1.f1" and "s1" is combined into "s1"
src/Variable.cpp:183
↓ 2 callers
Function
copy_facts
src/Fact.cpp:234
↓ 2 callers
Function
count_expr_key_var
* count the "key" variable of an binary/unary operation. * return 0 for constants, 2 for function calls */
src/ArrayVariable.cpp:67
↓ 2 callers
Function
crc32_8bytes
runtime/csmith.h:78
↓ 2 callers
Function
dtGenerateNewGlobal_minimal_depth_
src/DepthSpec.cpp:305
↓ 2 callers
Method
dump_default_probabilities
src/Probabilities.cpp:1069
↓ 2 callers
Method
extend_call_chain
src/CGContext.cpp:524
↓ 2 callers
Method
find_dangling_global_ptrs
src/FactMgr.cpp:724
↓ 2 callers
Function
find_expr_key_var
* find the "key" variable of an expression. * return NULL if expression is a function call, constant, or a binary * operation involves at least two
src/ArrayVariable.cpp:101
↓ 2 callers
Method
find_jump_label
src/Reducer.cpp:263
↓ 2 callers
Method
func_count
src/Expression.cpp:124
↓ 2 callers
Method
genrand
src/SimpleDeltaRndNumGenerator.cpp:158
↓ 2 callers
Method
get_bound
src/SimpleDeltaSequence.cpp:56
↓ 2 callers
Method
get_called_funcs
* find all the function calls in this statement */
src/Statement.cpp:785
↓ 2 callers
Method
get_lhs_type
src/SafeOpFlags.cpp:106
↓ 2 callers
Method
get_max_prob
src/VectorFilter.cpp:89
↓ 2 callers
Method
get_op2_sign
src/SafeOpFlags.h:80
↓ 2 callers
Function
get_prefixed_name
src/random.cpp:46
↓ 2 callers
Method
get_qfer
src/ExtensionValue.h:51
↓ 2 callers
Method
get_qualifiers
* */
src/Lhs.cpp:211
↓ 2 callers
Method
get_referenced_ptrs
src/Lhs.cpp:256
↓ 2 callers
Method
get_sname
src/Probabilities.cpp:919
↓ 2 callers
Method
get_struct_depth
---------------------------------------------------------------------
src/Type.cpp:1311
↓ 2 callers
Method
get_value
src/SimpleDeltaSequence.cpp:54
↓ 2 callers
Method
has_implicit_nontrivial_assign_ops
src/Type.h:260
↓ 2 callers
Method
has_int_field
src/Type.cpp:513
↓ 2 callers
Method
in_conflict
return true if an incoming effect is in conflict with current context */
src/CGContext.cpp:597
↓ 2 callers
Method
init
getters and setters
src/DFSRndNumGenerator.cpp:59
↓ 2 callers
Method
is_ctrl_stmt
src/Statement.h:142
↓ 2 callers
Method
is_local
src/Variable.cpp:493
↓ 2 callers
Method
is_long_long
src/Type.h:234
↓ 2 callers
Method
is_nonwritable
* */
src/CGContext.cpp:166
↓ 2 callers
Method
is_packed_aggregate_field_var
return true if the var is inside a packed aggregate,
src/Variable.cpp:307
↓ 2 callers
Method
is_param_dropped
src/Reducer.cpp:384
↓ 2 callers
Method
is_read
* * */
src/Effect.cpp:308
↓ 2 callers
Method
is_signed_char
src/Type.h:239
↓ 2 callers
Method
is_simple_assign
src/StatementAssign.h:100
↓ 2 callers
Method
is_var_oos
* return true if a variable is out-of-scope at given statement * note variable must be a local variable of this function to * be a oos variable (som
src/Function.cpp:183
↓ 2 callers
Function
is_volatile_ok_on_one_level
src/CVQualifiers.cpp:291
↓ 2 callers
Method
lookup
src/VectorFilter.cpp:95
↓ 2 callers
Method
match_indirect
src/CVQualifiers.cpp:172
↓ 2 callers
Function
mind
tamer/gonzalez.c:254
↓ 2 callers
Method
no_loop_initializer
src/ArrayVariable.cpp:447
↓ 2 callers
Method
output_with_indices
--------------------------------------------------------------
src/ArrayVariable.cpp:620
↓ 2 callers
Method
parse_configuration
src/Probabilities.cpp:928
↓ 2 callers
Method
post_creation_analysis
* once generated the loop body, verify whether some statement caused * the analyzer to fail during the 2nd iteration of the loop body (in * most cas
src/Block.cpp:752
↓ 2 callers
Method
printf_directive
* return the printf directive string for the type. for example, int -> "%d" */
src/Type.cpp:1950
↓ 2 callers
Method
read_var
* */
src/Effect.cpp:132
↓ 2 callers
Function
readfile
tamer/lev.c:91
↓ 2 callers
Method
remove_qualifiers
src/CVQualifiers.cpp:536
↓ 2 callers
Function
renew_fact
src/Fact.cpp:187
← previous
next →
201–300 of 1,599, ranked by callers