[RTEMS Project] #4832: CLANG flagged error

RTEMS trac trac at rtems.org
Fri Jan 27 19:27:51 UTC 2023


#4832: CLANG flagged error
---------------------------+----------------------
 Reporter:  Daniel Páscoa  |       Owner:  (none)
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:  6.1
Component:  score          |     Version:  6
 Severity:  normal         |  Resolution:  wontfix
 Keywords:  qualification  |  Blocked By:
 Blocking:                 |
---------------------------+----------------------
Changes (by Sebastian Huber):

 * status:  new => closed
 * component:  admin => score
 * version:   => 6
 * milestone:   => 6.1
 * keywords:   => qualification
 * resolution:   => wontfix


Comment:

 Functions starting with an underscore are reserved for the RTEMS
 implementation and not a part of the API.

 Adding an _Assert(x != NULL) to pointer parameters of internal functions
 in general makes no sense.

 I reviewed the related clang analysis. The problem is that clang doesn't
 know that _Scheduler_Count is greater than zero.

--
Ticket URL: <http://devel.rtems.org/ticket/4832#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list