2023-05-03 11:06:20 +02:00
== Why is this an issue?
2023-10-16 16:34:38 +02:00
This problem is completely avoided by the use of function prototypes. See MISRA C:2004 Rule 8.1. This rule is retained since compilers may not flag this constraint error.
2021-09-21 15:40:35 +02:00
2023-05-03 11:06:20 +02:00
== Resources
2021-09-21 15:40:35 +02:00
* MISRA C:2004, 16.6 - The number of arguments passed to a function shall match the number of parameters.
2024-01-15 17:15:56 +01:00
* CWE - https://cwe.mitre.org/data/definitions/628[CWE-628 - Function Call with Incorrectly Specified Arguments]
2021-09-21 15:40:35 +02:00
* https://wiki.sei.cmu.edu/confluence/x/7NYxBQ[CERT, DCL07-C.] - Include the appropriate type information in function declarators
* https://wiki.sei.cmu.edu/confluence/x/49UxBQ[CERT, EXP37-C.] - Call functions with the correct number and type of arguments
2021-06-02 20:44:38 +02:00
2021-06-03 09:05:38 +02:00
ifdef::env-github,rspecator-view[]
2021-09-20 15:38:42 +02:00
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::../highlighting.adoc[]
2021-06-08 15:52:13 +02:00
'''
2021-06-02 20:44:38 +02:00
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
2023-06-22 10:38:01 +02:00
2021-06-03 09:05:38 +02:00
endif::env-github,rspecator-view[]