Warning for unsafe/insecure functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi All,

  I am looking for if gcc has the capability to report unsafe/insecure
functions used in a C Or CPP program? For example : if strcpy(), strcat(),
alloca(), atoi() etc. are used in a program then gcc should raise a
warning.

In my google search and gcc man page I couldn't find any gcc flags for this
purpose. Let's say if gcc doesn't have the inbuilt capability of reporting
of insecure function calls so how can I add  this functionality in gcc?

Thanks,
-Rajeev



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux