]> andersk Git - splint.git/blame - test/tainted/tainted5.c
Fixes for win32
[splint.git] / test / tainted / tainted5.c
CommitLineData
98ed3b22 1typedef /*@untainted@*/ char *ucharp_t;
2extern void checkUntainted (ucharp_t *s) ;
3typedef /*@tainted@*/ char *tcharp_t;
4extern void checkTainted (tcharp_t *s) ;
5
6void test (/*@untainted@*/ char *def)
7{
8 checkUntainted (&def);
9 checkTainted (&def); /* okay (untainted as tainted) */
10}
11
12void test2 (ucharp_t *def)
13{
14 checkUntainted (def);
15 checkTainted (def); /* okay */
16}
This page took 0.440319 seconds and 5 git commands to generate.