21-07-2006, 05:41 AM
Hi there,
when using a UML modelling tool, should (according to MISRA) the generated code be verified, e.g. with MISRA-C ?
My experience is, that generated code often violates MISRA-C rules
and in IMO this is not a major issue, as you have to \"trust\" you codegenerator anyway ;-)
I think a better approach is, to verify the MODEL (and not the code) with some sort of model-checking...
Will the UML-group of MISRA produce such rules to verify against models ?
any other opinions, experiences ?
kind regards,
Bernhard.
when using a UML modelling tool, should (according to MISRA) the generated code be verified, e.g. with MISRA-C ?
My experience is, that generated code often violates MISRA-C rules
and in IMO this is not a major issue, as you have to \"trust\" you codegenerator anyway ;-)
I think a better approach is, to verify the MODEL (and not the code) with some sort of model-checking...
Will the UML-group of MISRA produce such rules to verify against models ?
any other opinions, experiences ?
kind regards,
Bernhard.