...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
CERT C++ Secure Coding Standard | PRE00-CPP. Avoid defining macros |
ISO/IEC TR 24772 | Pre-processor directives [NMP] |
MISRA-C | Rule 19.7 (advisory): A function should be used in preference to a function-like macro |
Bibliography
[Dewhurst 2002] | Gotcha #26, "#define Pseudofunctions" |
[FSF 2005] | Section 5.34, "An Inline Function Is as Fast as a Macro" |
[Kettlewell 2003] | |
[Summit 2005] | Question 10.4 |
...