User Activity

  • Modified a comment on discussion Development on cppcheck

    I also get segfaults. In my case it's due to dereferencing the variable valueType when it is null. Not exactly sure why it's null though... Your link looks to have basically the same issue in a different place. I posted about it here: https://sourceforge.net/p/cppcheck/discussion/general/thread/702232fdaf/

  • Posted a comment on discussion Development on cppcheck

    I also get segfaults. In my case it's due to dereferencing the variable valueType when it is null. Not exactly sure why it's null though...

  • Posted a comment on discussion General Discussion on cppcheck

    Ah I see. I didnt think that the production of a dump file for a plugin could be affected by the yet to be run plugin. Wouldn't this issue be present for any plugin, regardless of what it is?

  • Modified a comment on discussion General Discussion on cppcheck

    Invoked with approximately the following command: cppcheck -iF:/project/external/catch2 --enable=all --addon=F:/project/cmake/misra.json --project=F:/project/build/compile_commands.json --inline-suppr --suppress=missingIncludeSystem --suppress=preprocessorErrorDirective --suppress=unmatchedSuppression --cppcheck-build-dir=F:/project/build/cppcheck --std=c++20 --language=c++ --template=gcc --suppressions-list=F:/project/.cppcheckignore With the following JSON file: { "script": "${CPPCHECK_ADDONS_PATH}/misra.py",...

  • Posted a comment on discussion General Discussion on cppcheck

    Invoked with approximately the following command: cppcheck -iF:/project/external/catch2 --enable=all --addon=F:/project/cmake/misra.json --project=F:/project/build/compile_commands.json --inline-suppr --suppress=missingIncludeSystem --suppress=preprocessorErrorDirective --suppress=unmatchedSuppression --cppcheck-build-dir=F:/project/build/cppcheck --std=c++20 --language=c++ --template=gcc --suppressions-list=F:/project/.cppcheckignore With the following JSON file: { "script": "${CPPCHECK_ADDONS_PATH}/misra.py",...

  • Modified a comment on discussion General Discussion on cppcheck

    Gday, The following outlines some issues: The following results in a cppcheck crash. var->valueType() can be nullptr. Inside symboldatabase.cpp out << " access=\"" << accessControlToString(var->mAccess) << '\"'; out << " scope=\"" << var->scope() << '\"'; out << " constness=\"" << var->valueType()->constness << '\"'; // THIS out << " isArgument=\"" << var->isArgument() << '\"'; out << " isArray=\"" << var->isArray() << '\"'; Also here in checkother.cpp: if (var->valueType()->type == ValueType::Type::CONTAINER)...

  • Modified a comment on discussion General Discussion on cppcheck

    Gday, The following outlines some issues: The following results in a cppcheck crash. var->valueType() can be nullptr. Inside symboldatabase.cpp out << " access=\"" << accessControlToString(var->mAccess) << '\"'; out << " scope=\"" << var->scope() << '\"'; out << " constness=\"" << var->valueType()->constness << '\"'; // THIS out << " isArgument=\"" << var->isArgument() << '\"'; out << " isArray=\"" << var->isArray() << '\"'; Also here in checkother.cpp: if (var->valueType()->type == ValueType::Type::CONTAINER)...

  • Modified a comment on discussion General Discussion on cppcheck

    Gday, The following outlines some issues: The following results in a cppcheck crash. var->valueType() can be nullptr. Inside symboldatabase.cpp out << " access=\"" << accessControlToString(var->mAccess) << '\"'; out << " scope=\"" << var->scope() << '\"'; out << " constness=\"" << var->valueType()->constness << '\"'; // THIS out << " isArgument=\"" << var->isArgument() << '\"'; out << " isArray=\"" << var->isArray() << '\"'; Also here in checkother.cpp: if (var->valueType()->type == ValueType::Type::CONTAINER)...

View All

Personal Data

Username:
seppeon
Joined:
2020-11-12 05:30:54

Projects

  • No projects to display.

Personal Tools