mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
20 lines
204 B
C
20 lines
204 B
C
|
|
int i = 5;
|
|
int j = 6;
|
|
int k = 7;
|
|
int l = 8;
|
|
int m = 9;
|
|
|
|
void f(void) {
|
|
int *p;
|
|
|
|
j++;
|
|
k = 8;
|
|
|
|
p = &l;
|
|
*p = 9;
|
|
|
|
p = &m; // We will conservatively assume that m might be modified
|
|
}
|
|
|