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) ?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Verification Mode in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!