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) ?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Verification Mode finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!