Hi,
Does rule #8.9 apply to objects/functions declared in 3rd party library code?
Thanks
8.9 and 3rd party library code
Moderators: misra-c, david ward
-
- Posts: 572
- Joined: Thu Jan 05, 2006 1:11 pm
Re: 8.9 and 3rd party library code
Yes, Rule 8.9 does apply to 3rd party libraries (see Rule 3.6).
If you don't have the source code for the library then you can:
If you don't have the source code for the library then you can:
- write a stub that provides appropriate definitions in order to allow you to analyse your code; and
- ask the library's developer(s) to provide a statement regarding its MISRA C compliance.
---
Posted by and on behalf of
the MISRA C Working Group
Posted by and on behalf of
the MISRA C Working Group