]> andersk Git - splint.git/blame - test/tainted/tainted5.c~
*** empty log message ***
[splint.git] / test / tainted / tainted5.c~
CommitLineData
98ed3b22 1extern void checkUntainted (char **s) /*@requires untainted *s@*/;
2extern void checkTainted (char **s) /*@requires tainted *s@*/;
3
4void test (char *def) /*@requires untainted def@*/
5{
6 checkUntainted (&def);
7 checkTainted (&def); /* error */
8}
9
10void test2 (char **def) /*@requires untainted *def@*/
11{
12 checkUntainted (def);
13 checkTainted (def); /* error */
14}
This page took 0.433318 seconds and 5 git commands to generate.