Commit Graph

159 Commits

Author SHA1 Message Date
sin
5960e3364f Add snprintf() checks
We need to use a variadic macro in this case because GCC doesn't
allow inline functions with variable argument lists.
2015-01-28 17:08:37 +00:00
sin
b4a9df1a08 Use __builtin_va_list 2015-01-28 16:57:38 +00:00
sin
e2a76a9502 Add vsnprintf() checks 2015-01-28 16:54:48 +00:00
sin
1872b6a7e5 Remove trailing semicolon 2015-01-28 16:31:19 +00:00
sin
013d07a11c Add stpncpy() 2015-01-28 16:21:38 +00:00
sin
9626051b5d Add stpcpy() 2015-01-28 16:16:23 +00:00
sin
de7999ee82 Move defines to the bottom
This allows us to re-use the functions internally.
2015-01-28 16:07:24 +00:00
sin
6bb34c15b4 Merge __foo_chk() into __fortify_foo() 2015-01-28 15:39:11 +00:00
sin
b258495eba Initial commit 2015-01-28 15:14:49 +00:00