TrustInSoft / tis-interpreter

An interpreter for finding subtle bugs in programs written in standard C
565 stars 28 forks source link

false warning of unsequenced multiple accesses (the comma operator mistreated) #132

Open zhendongsu opened 7 years ago

zhendongsu commented 7 years ago
$ tis-interpreter.sh test.c
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
test.c:4:[kernel] warning: undefined multiple accesses in expression. assert \separated(&a, &a);
                  stack: main
[value] done for function main
$ 
$ cat test.c
int main ()
{
  int a;
  return (a = 1, a) == 0;
}
$