AnsweredAssumed Answered

MISRA rule 17.1 - 17.3 runtime check

Question asked by MisterB on Sep 29, 2011
Latest reply on Mar 12, 2012 by CraigG

Hi,

 

when I run my code on SHARC 21469 with MISRA strict enabled and runtime check enabled (VDSP5.0.8) in the simulator I get this message:

 

 

"..\lib\Helperfunctions.c", line 67: cc4007: error:
    MISRA Rule 17.1 (Req): Pointer arithmetic shall only be applied to pointers
    that address an array or array_element.
    Pointer value 0XB4156
    "..\lib\Helperfunctions.c", line 67: cc4007: error:
    MISRA Rule 17.1 (Req): Pointer arithmetic shall only be applied to pointers
    that address an array or array_element.
    Pointer value 0XB4156
    "..\lib\Helperfunctions.c", line 67: cc4007: error:
    MISRA Rule 17.1 (Req): Pointer arithmetic shall only be applied to pointers
    that address an array or array_element.
    Pointer value 0XB4156
    "..\lib\Helperfunctions.c", line 67: cc4007: error:
    MISRA Rule 17.1 (Req): Pointer arithmetic shall only be applied to pointers
    that address an array or array_element.
    Pointer value 0XB4156
    No space to do runtime checking on rules 17.1, 17.2 and 17.3 (suppress checking!)

 

 

Unfortunately the cc4007 error is not documented in the VisualDSP++ help. What does this error exactly mean?

 

What does this message mean, that no space is available during runtime checking. Is there any dynamic memory allocation inside the runtime checker?

 

Best regards,

 

Michael

Outcomes