The –-whatisfixed option complements the –-whatisnew option by generating a report that shows only the errors that occur in a previous cached tool report. Development or Quality Assurance teams could use this option to track security bug fixes.
The following is an example of using –-whatisfixed to display only fixed errors:
% codean --whatisfixed a.out STATIC report of a.out showing fixed issues: Compare the latest results against a.out.analyze/history/10:02:05May152013... MEMORY LEAK 1 : 1 block left allocated on heap with a total size of 400 bytes (Warning: Source files have changed. Source code shown below may not be accurate.) sample1() <sample1.c : 20> 17: { 18: global = (int *)malloc(100); 19: int *p = malloc(100*sizeof(int)); 20:=> int *q = malloc(100*sizeof(int)); 21: free(q); PREVISE SUMMARY: 0 fixed error(s), 0 fixed warning(s), 1 fixed leak(s) in total