mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
These were due to several functions occurring that would have the same TRAP key. By making the functions static the TRAP keys will differ from each other.
44 lines
457 B
C
44 lines
457 B
C
static void f() {
|
|
int i, j;
|
|
int* p, q;
|
|
|
|
i + j;
|
|
i - j;
|
|
i * j;
|
|
i / j;
|
|
i % j;
|
|
|
|
p + i;
|
|
p - i;
|
|
//q - p;
|
|
|
|
i << j;
|
|
i >> j;
|
|
|
|
i & j;
|
|
i | j;
|
|
i ^ j;
|
|
i == j;
|
|
i != j;
|
|
i > j;
|
|
i < j;
|
|
i >= j;
|
|
i <= j;
|
|
|
|
i += j;
|
|
i -= j;
|
|
i *= j;
|
|
i /= j;
|
|
i %= j;
|
|
i <<= j;
|
|
i >>= j;
|
|
i &= j;
|
|
i |= j;
|
|
i ^= j;
|
|
|
|
p += i;
|
|
p -= i;
|
|
|
|
i, j;
|
|
}
|