void foo(int *x) { /* add some local variables for "bt full" to see */ int foovar = 7; double myval = 1.2; another_function(x); }
int main(int argc, char *argv[]) { printf("main()\n"); do_setjmp(); another_function(); do_longjmp(); printf("exiting main()\n"); exit(EXIT_SUCCESS); }
void _cdecl function1_16() { another_function(); __asm { push cx push si mov cx,0x1234 mov si,offset function1_message l1: nop loop l1 pop si pop cx } }
void coverage4(int *x) { *x += another_function(x); function_which_gives_up(x); char *m = (char*)malloc(12); } // expected-warning {{Potential leak of memory pointed to by 'm'}}
static void function_which_doesnt_give_up_nested(int *x, int *y) { *y = another_function(x); function_which_gives_up(x); }