xsmith-cish invalid code generation
xsmith-cish will generate structs and then refer to them as variable names.
Here is a short example:
struct record_5
{
float field_6;
};
int func_14()
{
{
record_5;
return -91;
}
}
int main()
{
func_14();
return 0;
}
The error:
error: 'record_5' undeclared (first use in this function)
record_5;
^~~~~~~~
The small file: small_example.c
The cish-generated file: cish_output.c
Edited by Guy Watson