]> andersk Git - splint.git/blob - test/tainted/tainted4.c~
9dfbf89ac8995d2c33c10f18b8442b1c0838293b
[splint.git] / test / tainted / tainted4.c~
1 extern void checkUntainted (char **s) /*@requires untainted *s@*/;
2
3 typedef /*@tainted@*/ char *charpt;
4 extern void checkTainted (charpt *s) ; /* requires tainted *s doesn't work because of implicit annotation! */
5
6 void test (/*@tainted@*/ char *def)
7 {
8   checkTainted (&def);
9   checkUntainted (&def); /* error */
10 }
This page took 0.032704 seconds and 3 git commands to generate.