homepage › Forums › BridgePoint/xtUML Usage and Training › Returning strings from C functions › Reply To: Returning strings from C functions
January 7, 2015 at 9:40 am
#3179
Erik Wedin
Participant
It is also important to find an approach the static and run-time analysis tools accepts as erroneous free code.
We are running continuos analysis of our generated code with “cppcheck” (http://cppcheck.sourceforge.net/) and currently the generated MC3020 triggers a large number of warnings/errors. Some that are valid and some that are not due to the xtUML semantics like instance selections via unconditional associations that would (should) not return a null pointer.
We are using “Valgrind” to perform run-time checks and it flags the return of strings from functions as erroneous.