Polyspace Orange Check: Adding DRS for array
Ältere Kommentare anzeigen
Hello guys,
I have this C++ code:
static char hw_type[4] = {'V','2',0, 0};
void myfunc()
{
hw_type[1]++;
}
This is how DRS is set, but it still show Overflow in Orange Check.

How to set the DRS value for array hw_type?
Thank you in advance
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Bug Finder Analysis in Polyspace Platform User Interface finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!