1 // RUN: %clang_cc1 -analyze -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify %s 2 // expected-no-diagnostics 3 4 // Make sure we don't crash when someone redefines a system function we reason about. 5 6 char memmove (); 7 char malloc(); 8 char system(); 9 char stdin(); 10 char memccpy(); 11 char free(); 12 char strdup(); 13 char atoi(); 14 foo()15int foo () { 16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi(); 17 18 } 19