CodeQL findings — Os

devel @ e84571354780 · generated 2026-09-03T21:21:21Z
FileLineRuleSeverityMessage
Os/File.cpp:305305cpp/fprime/jpl-c/loop-boundsmediumThis loop does not have a fixed bound.
Os/FilePathUtils.cpp:8888cpp/fprime/jpl-c/loop-boundsmediumThe loop counter readPos is not always incremented in the loop body.
Os/Stub/Queue.hpp:9696cpp/fprime/public-data-memberlowData member m_handle of class StubQueue is public; consider making it private or protected.
Os/Task.cpp:1010cpp/jpl-c/function-size-limitslowArguments has too many parameters (7, while 6 are allowed).
Os/Task.cpp:4747cpp/fprime/jpl-c/non-const-function-pointerlowThis call does not go through a const function pointer.
Os/Task.cpp:8484cpp/jpl-c/function-size-limitslowstart has too many parameters (7, while 6 are allowed).
Os/Task.hpp:8484cpp/fprime/incomplete-codelowComment contains the incomplete-code marker TODO.

Dismissed findings (5)

FileLineRuleDismissal reasonComment
Os/Directory.cpp130cpp/fprime/jpl-c/loop-boundsfalse positivefilenameArray.getSize is a fixed bound.
Os/Task.hpp70cpp/jpl-c/hidden-pointer-indirection-typedefwon't fixThis is a function pointer type-def used for code clarity.
Os/Task.hpp227cpp/fprime/public-data-memberwon't fixInner data class.
Os/Task.hpp228cpp/fprime/public-data-memberwon't fixInner data class.
Os/Task.hpp229cpp/fprime/public-data-memberwon't fixInner data class.