태그 QAC

Helix QAC 문제 수정하기

Helix QAC를 수행하면서 발생한 문제들을 정리해 본다. 언듯 영문만 봐서는 잘 모르는 경우가 많기 때문이다. HELIX-QAC.QAC.0911 Inserted ‘%1s’ token in an attempt to continue parsing.Inserted ‘;’ token in an attempt to continue parsing => 구분이 이상하다. 구조체 변수를 사용한다면 구조체가 정의되지 않았다. 구조체가 정의된 파일을 정확히 include 하고 있는지…

MISRA C:2021 Dir-4.3 Assembly language shall be encapsulated and isolated

Misra-C 2021에서 에셈블리와 C코드가 함께 있을 때 Dir-4.3 에러가 발생한다. 4.3 에러에 대한 내용을 함께 알아보자. MISRA-C 2021. Dir 4.3  when a static function contains only variable declaration, asm and return statementThis function contains a mix of in-line assembler statements and C statements. 코드 라인에 C 코드와 어셈블리어가 함께 포함되어 있을 때 발생한다. HELIX-QAC.QAC 3006 In-line assembler code has been encountered in a context where it is interspersed with C statements. Message 3006 will be generated on any function which is defined with a mixture of assembler code and executable C statements, unless the assembler code is encapsulated in a macro. 예시) * 정상적인 구문 *…