Menu

No output in a1.ctu-info file

2025-05-16
2025-06-10
  • Richard Smith

    Richard Smith - 2025-05-16

    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.

    <?xml version="1.0"?>
    <analyzerinfo hash="15032439644721007550">
    </analyzerinfo>
    

    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.

     
  • Richard Smith

    Richard Smith - 2025-06-02

    Bump. No ideas?

     
  • CHR

    CHR - 2025-06-10

    It seems that .ctu-info files are only generated in executeAddonsWholeProgram(). Setting a breakpoint there might help.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.