analyzer icon indicating copy to clipboard operation
analyzer copied to clipboard

warn before analyzing a program that doesn't compile?

Open vogler opened this issue 10 years ago • 1 comments

For example the following doesn't compile, but goblint doesn't say anything:

int f(int a, int b){
    int x = b; // this is bottom
    return a;
}
int main(){
    return f(1);
}
  • [ ] Add option (on by default, but possible to turn off) to use GCC to check whether the program compiles, and abort if if does not
  • [ ] stop Goblint execution when Cil creates a Boo inline Assembly instruction.
    • [ ] In Cil: when this assembly instruction is produces, as of now, instead fail.

vogler avatar Jan 13 '16 14:01 vogler

One should check whether compiling random C code can have malicious effects.

jerhard avatar Mar 04 '25 12:03 jerhard