I'm trying to track down a false positive for MISRA 8.7
I've identified that the additional listing for MisraUsage for the function in question is missing. The reason seems to be that the .a1.ctu-info file for the source module is empty. The .a1 file contains the following but a1.ctu-info is empty.
I'm trying to track down a false positive for MISRA 8.7
I've identified that the additional listing for
MisraUsagefor the function in question is missing. The reason seems to be that the.a1.ctu-infofile for the source module is empty. The.a1file contains the following buta1.ctu-infois empty.I can see from some cppcheck output that it is processing the .c file and I don't see any obvious errors for that file.
What would be the next steps to figure out why the ctu-info is not getting generated?
Thanks.
Bump. No ideas?
It seems that
.ctu-infofiles are only generated inexecuteAddonsWholeProgram(). Setting a breakpoint there might help.