Trutz Behn
|
1cd5461a53
|
Use namespace-safe macro, param and variable names
|
2015-06-03 18:55:35 +01:00 |
|
Trutz Behn
|
720c4f7414
|
Fix return-type of fortified FD_CLR and FD_SET
POSIX specifies them to have return-type void, not int.
|
2015-05-21 10:10:17 +01:00 |
|
sin
|
07adb50914
|
Add LICENSE header
|
2015-05-13 12:15:36 +01:00 |
|
sin
|
158782b3bb
|
Add fortify_fn() helper in fortify-headers.h
|
2015-05-13 12:05:29 +01:00 |
|
Trutz Behn
|
22e7e51007
|
Use __typeof__ to in part avoid replicating function types
|
2015-03-14 20:37:27 +00:00 |
|
sin
|
37eb2c9c1d
|
Add __artificial__ to aid in debugging
|
2015-03-14 09:38:22 +00:00 |
|
sin
|
d12254166a
|
Restore C++ support
|
2015-03-13 23:09:15 +00:00 |
|
sin
|
9f8c543dc8
|
Rework fortify implementation to use extern inline
Overriding functions with macros is legal in C but a lot of software
is not prepared for it. Use the extern inline method to achieve the
same result.
|
2015-03-13 11:00:46 +00:00 |
|
Trutz Behn
|
b211796d68
|
Put include guards in the reserved namespace
fortify-headers is considered part of the implementation.
|
2015-03-11 21:33:01 +00:00 |
|
sin
|
14af218559
|
Ignore C++ for now
It is not legal to override standard functions using macros in C++.
We may have to revisit this in the future.
|
2015-03-11 11:18:31 +00:00 |
|
sin
|
8604f138c5
|
Add ifdef guards for C++ code
|
2015-03-11 09:26:11 +00:00 |
|
sin
|
91db6f5899
|
Add sendto() check
|
2015-02-28 16:56:21 +00:00 |
|
sin
|
d8afaf63d2
|
Add send() check
|
2015-02-24 19:37:25 +00:00 |
|
sin
|
eecef18261
|
Remove compile time checks
These can produce false positives. Given that we support fortify
source level 1 we shouldn't break valid code.
|
2015-02-24 18:14:33 +00:00 |
|
sin
|
c1734bf206
|
Remove header license comments
|
2015-02-22 09:39:43 +00:00 |
|
sin
|
6e4f53a3f5
|
Remember to #undef __errordecl
Thanks zhasha for spotting this.
|
2015-02-04 18:06:57 +00:00 |
|
sin
|
87f56f70d7
|
Style fix
|
2015-02-04 15:13:38 +00:00 |
|
sin
|
91c0c1270f
|
Add recvfrom() checks
|
2015-02-04 14:58:32 +00:00 |
|
sin
|
aa095b6d52
|
Add recv() checks
|
2015-01-30 16:43:36 +00:00 |
|
sin
|
6f0d1a1b6f
|
Use consistent naming convention
|
2015-01-30 16:40:01 +00:00 |
|
sin
|
e6837a7874
|
Add FD_{CLR,SET} checks
|
2015-01-30 16:17:31 +00:00 |
|