‘test_pointer_comparison’: events 1-4
119 | int test_pointer_comparison (int n) |
| ^~~~~~~~~~~~~~~~~~~~~~~ |
| | |
| (1) entry to ‘test_pointer_comparison’ |
[...] | |
125 | if (n > 10) |
| ~ |
| | |
| (2) following ‘true’ branch (when ‘n > 10’)... |
126 | ptr = (int *)malloc (sizeof (int) * n); |
| ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | |
| (3) ...to here |
[...] | |
132 | result = do_stuff (ptr, n); |
| ~~~~~~~~~~~~~~~~~ |
| | |
| (4) calling ‘do_stuff’ from ‘test_pointer_comparison’ |
|