HP Code Advisor

8-1 Null pointer dereference check.....................................................................................................57
8-2 Potential memory leak check.........................................................................................................58
8-3 Out of bound access......................................................................................................................59
8-4 Out of scope access........................................................................................................................59
8-5 Use of pointer after free.................................................................................................................60
8-6 Allocator/deallocator mismatch....................................................................................................60
8-7 Signed bit field of length 1............................................................................................................61
8-8 Detecting 32–bit to 64–bit migraton issues....................................................................................61
8-9 Detecting endian dependent code fragments...............................................................................62
8-10 Enabling compile time diagnostic messages for potential security vulnerabilities......................63
8-11 Detecting multi-threaded programming issues............................................................................64
8-12 Detecting potential performance improvement opportunities.....................................................65
8 List of Examples