How does Polyspace handle the RED and GREEN checks on detecting loop constructs in a source code, in Polyspace Client for C/C++ 8.2 (R2011b) ?
이전 댓글 표시
Everytime Polyspace detects red and green cases for a loop, Polyspace wouldn't mark this loop as infinite (red error). I understand that, its the way Polyspace handles loops in general.
int main(void)
{
volatile LKuint16 rnd = 0;
volatile LKuint16 par = 0;
int res;
if (rnd) res = UDS_u8GetDataIdLength(par); // call only with 0
return res;
}
I have also run a new analysis with the option:
-prepare-automatic-tests
and I was able to start the Automatic Orange Tester. There's no orange warning either concerning the loop or concerning the input parameter of the function.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!