]> andersk Git - splint.git/blame - test/metastate/taintedx.c
Dave's Updates
[splint.git] / test / metastate / taintedx.c
CommitLineData
80ee600a 1extern void checkUntainted (char **s) /*@requires untainted *s@*/;
2extern void checkUntainted1 (char **s) /*@requires untainted *s@*/;
3extern void checkTainted (char **s) /*@requires tainted *s@*/;
4extern void checkTainted1 (char **s) /*@requires tainted *s@*/;
5
6void test2 (char **def) /*@requires untainted *def@*/
7{
8 checkUntainted (def);
9 checkTainted (def); /* error */
10}
11
12void test (char *def2) /*@requires untainted def2@*/
13{
14 checkUntainted1 (&def2);
15 checkTainted1 (&def2); /* error */
16}
17
This page took 0.060496 seconds and 5 git commands to generate.