Polyspace introduced a new format for code annotation syntax in R2017b. I have adapted my workflow to use this new format (see documentation for annotations using this link).
As an example, the following code snippet from the Polyspace Code Prover Demo shows an Out Of Bound Array Index proven unsafe check (OBAI). I have added an annotation (with the new syntax) to indicate that I plan to fix the OBAI later.
static char reset_temperature(u8 in_v3) { int array[255-(54 * BIN_v3)]; /* polyspace RTE:OBAI [To fix:High] "Enter a comment" */ array[in_v3-255] = 0; return array[in_v3-255]; }
When relaunching the analysis with Polyspace Code Prover 2017b or later, my annotation is not taken into account.
Best Answer