]> andersk Git - splint.git/blob - test/metastate/tainted.xh
Dave's Updates
[splint.git] / test / metastate / tainted.xh
1 /*
2 ** tainted.xh
3 */
4
5 /* Library functions annotated for tainted.mts */
6
7 extern int remove (/*@untainted@*/ char *filename) /*@modifies fileSystem, errno@*/ ;
8 extern int rename (/*@untainted@*/ char *old, /*@untainted@*/ char *new) ;
9
10 extern /*@observer@*/ char *tmpnam (/*@untainted@*/ char *s) ;
11
12 extern FILE *fopen (/*@untainted@*/ char *filename, char *mode) ;
13
14 extern /*@null@*/ FILE *freopen (/*@untainted@*/ char *filename, char *mode, FILE *stream) ;
15
16 extern /*@null@*/ /*@tainted@*/ char *
17   fgets (/*@returned@*/ /*@out@*/ char *s, int n, FILE *stream) 
18   /*@ensures tainted s@*/ 
19   /*@modifies *s@*/ ;
20
21 extern int system (/*@untainted@*/ /*@null@*/ char *s) /*@modifies fileSystem@*/ ;
This page took 0.033014 seconds and 5 git commands to generate.