Function argument passed by value is too large
The CWARN.PASSBYVALUE.ARG checker finds instances in which a function argument passed by value is too large.
Vulnerability and risk
Passing by value is not necessarily an error, but it can cause a performance loss because of the amount of data copied.
Vulnerable code example
void foo(strcture arg)
Klocwork flags line 7, in which the argument arg is too large.