HP Code Advisor Diagnostics

Table 1-4 +w64bit diagnostics (continued)
Diagnostic messageDiagnostic number
64 bit migration: conversion from %t1 to %t2 may cause target of pointers to have a different
size.
4230
64 bit migration: conversion between types of different sizes has occurred (from %t1 to
%t2 )
4231
64 bit migration: value could be truncated before cast to bigger sized type.4249
64 bit migration: comparison of unsigned integer with signed long4280
64 bit migration: addition result could be truncated before cast to bigger sized type4298
multiply result could be truncated before cast to bigger sized type4299
no prototype or definition in scope for call to memory allocation routine %sq4313
+wendian Diagnostics
Following table lists all the diagnostic messages that cadvise emits when you use the +wendian
command line option.
Table 1-5 +wendian diagnostics
Diagnostic messageDiagnostic number
endian porting: the definition of the union may be endian dependent4289
endian porting: the initialization of char array may be endian dependent4290
endian porting: the read/write of the buffer may be endian dependent4291
endian porting: the dereference of cast pointer may be endian dependent4292
endian porting: type cast is endian dependent4364
+wsecurity Diagnostics
Following table lists all the diagnostic messages that cadvise emits when you use the +wsecurity
command line option.
Table 1-6 +wsecurity diagnostics
Diagnostic messageDiagnostic number
(SECURITY) Tainted data may be used in data length computation%s20111
(SECURITY) Tainted data may be copied to the target buffer%s20112
(SECURITY) Data buffer may contain tainted data20113
(SECURITY) Tainted value may be used in loop exit condition computation%s20114
(SECURITY) Tainted value may be used as format string%s20115
(SECURITY) Tainted value may be used as path or file name%s20116
(SECURITY) Tainted value may be used in array index expression%s20117
Tainted value may be used in pointer arithmetic expression%s20118
(SECURITY) Unsafe API '%s' is used.%s20119
22 Diagnostics Categorization