nasa / fprime

F´ - A flight software and embedded systems framework
https://fprime.jpl.nasa.gov
Apache License 2.0
10.11k stars 1.32k forks source link

Disable JPL C static analysis checks that do not work properly #2562

Open bocchino opened 9 months ago

bocchino commented 9 months ago

Some of the JPL C static analysis checks do not work properly:

Ideally these checks would be improved to work as intended; in the near term, though, they don't appear to be doing anything except generating false-positive noise, so maybe we should disable them.

LeStarch commented 9 months ago
  1. Multiple statements: agreed
  2. I would like to define a CI-specific configuration that #defs the FW_ASSERT call to assert directly (not via the assert hooks). I think this would allow CI to recognize our FW_ASSERT as an assert.
  3. If we cannot get CI to recognize it, it should be turned off.