source: CIVL/mods/dev.civl.abc/examples/c/pointsToAnalysis/recursive.c

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 192 bytes
Line 
1struct T {
2 int x;
3 int y;
4} t;
5
6void f(int ** p, int ** q) {
7 *q = &t.y;
8 f(q, p);
9}
10
11void g(int ** p, int ** q) {
12 *p = &t.x;
13 f(p, q);
14}
15
16int main() {
17 int *x, *y;
18
19 g(&x, &y);
20}
Note: See TracBrowser for help on using the repository browser.