Polyspace Orange Check: Adding DRS for array
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Bug Finder Analysis in Polyspace Platform User Interface en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!