insure++.auto_expandinsure++.c_as_cppinsure++.checking_uninitinsure++.compile.reportfileinsure++.compilerinsure++.compiler_acronyminsure++.compiler_cinsure++.compiler_cppinsure++.compiler_defaultinsure++.compiler_deficientinsure++.compiler_fault_recoveryinsure++.compiler_fault_recovery_bannerinsure++.compiler_flagsinsure++.compiler_keywordinsure++.compiler_lib_flagsinsure++.compiler_optionsinsure++.compiler_skipflagsinsure++.dynamic_linkinginsure++.error_formatinsure++.expandinsure++.file_ignoreinsure++.function_ignoreinsure++.header_ignoreinsure++.init_extensioninsure++.interface_defaultsinsure++.interface_disableinsure++.interface_enableinsure++.interface_ignoreinsure++.interface_libraryinsure++.interface_resetinsure++.interface_staticsinsure++.linkerinsure++.linker_dynlib_flaginsure++.linker_sourceinsure++.linker_stubinsure++.malloc_replaceinsure++.object_ignoreinsure++.passwordinsure++.post_compile_commandinsure++.pragma_ignoreinsure++.pre_compile_commandinsure++.preprocessorinsure++.preprocessor_flagregistertool Insure++ versioninsure++.rename_filesinsure++.report_bannerinsure++.report_fileinsure++.sizeofinsure++.split_compile_linkinsure++.stack_internalinsure++.static_linkinginsure++.stdlib_replaceinsure++.suppressinsure++.suppress_outputinsure++.suppress_warninginsure++.temp_directoryinsure++.threaded_runtimeinsure++.uninit_flowinsure++.unsuppressinsure++.virtual_checkinginsure++.auto_expand [all|off|
on]
expand option.
|
|
|
all | All arrays at the end of structs, classes, and unions are treated as stretchy, regardless of size. |
off | No automatic detection of stretchy arrays. |
on | If the last field of a struct, class, or union is an array and has no size, size 0, or size 1, it is treated as stretchy. Note that only some compilers allow 0 or empty sizes, but size 1 is very common for stretchy arrays. |
insure++.c_as_cpp [on|off]
.c
extension should be treated as C++ source code. With this
option off, Insure++ will treat
files with the .c extension as C code
only. If you use C++ code in .c files,
you should turn this option on.
insure++.checking_uninit [on|off]
insure++.checking_uninit for the runtime
effects of this option.
insure++.compile.reportfile [filename|insra|stderr]
filename. (See
Filenames) Use of the special filename Insra
tells Insure++ to send its output to
Insra.
insure++.compiler compiler_name
gcc. If your new compiler
is not recognized by Insure++, you may have to set the
compiler_acronym option. This option
overrides all other compiler_* options:
compiler_acronym, compiler_c, compiler_cpp,
and compiler_default. The indicated
compiler will be called every time insure++
is called.
insure++.compiler_acronym abbreviation
gcc. This name is used to locate the
appropriate .psrc files and TQS
library modules. It does not indicate which compiler will
actually be called to compile source files (see the other
compiler_* options). This option overrides
the compiler_c, compiler_cpp, and
compiler_default options. In addition,
this option must be placed after the active compiler
option. The order must be
compiler c89
compiler_acronym cc
and not vice versa.
insure++.compiler_c C_compiler_name
gcc. This compiler will be called for
any .c files. The default is
cc. This option is overridden by the
compiler and
compiler_acronym options.
insure++.compiler_cpp
C++_compiler_name
g++. This compiler will
be called for any .cc, .cpp, .cxx, and
.C files. The default is platform dependent:
cxx for Alpha, g++ for
Linux, xlC for RS/6000, and
CC for other platforms. This option is
overridden by the compiler and
compiler_acronym options.
insure++.compiler_default [c|cpp]
compiler and
compiler_acronym options.
insure++.compiler_deficient
[all|address|cast|enum|member_pointer|
scope_resolution|static_temps|
struct_offset|types|no_address|no_cast|
no_enum|no_member_pointer|
no_scope_resolution|no_static_temps|
no_struct_offset|no_types|none]
|
|
|
all
| Includes all positive keywords. |
address/no_address | |
cast/no_cast | |
enum/no_enum | |
member_pointer/no_member_pointer | |
scope_resolution/no_scope_resolution | |
static_temps/no_static_temps | |
struct_offset/no_struct_offset | |
types/no_types | |
none  
| Compiler handles all cases. |
Different compilers require different levels of this option
as indicated in the compiler-specific README
files and in ($PARASOFT)/lib.($ARCH)/$compiler.
insure++.compiler_deficient
desctructor_with_label
inline_parm_addr
implicit_templates
insure++.compiler_fault_recovery [off|on]
on, if there is an error during compilation,
Insure++ will simply compile with the compiler only and
will not process that file. If there is an error during linking,
Insure++ will attempt to take corrective action by using
the -Zsl options. If this option is turned
off, Insure++ will make only one
attempt at each compile and link.
insure++.compiler_fault_recovery_banner [off|on]
insure++.compiler_flags flags
insure++.compiler_keyword [*|const|inline|signed|volatile]
keyword
*) or a
different name for a standard keyword. For example, if your
compiler uses __const as a keyword, use
the option
compiler_keyword const __const
insure++.compiler_lib_flags flags
insure++.compiler_options keyword
value
|
|
|
|
ansi |
| Assumes compiler supports ANSI C (default). |
bfunc <type> |
|
Specifies that the given function is a
"built-in"
that is treated specially by compiler. The optional
type keyword specifies that the built-in
has a return type other than int.
Currently, only long, double, char * and
void * types are supported.
|
btype |
| Specifies that the given type is a "built-in" that is treated specially by the compiler. |
bvar <type> |
|
Specifies that the given variable is a "built-in"
that is treated specially by the compiler. The optional
type keyword specifies that the built-in has a
return type other than int. Currently, only
long, double, char *, and
void * types are supported.
|
esc_x |
|
Specifies how the compiler treats the '\x'
escape sequence.
Possible values are
|
for_scope |
nested |
Specifies how for(int i; ...; ...)is
scoped. Possible values are
|
knr |
| Assumes compiler uses Kernighan and Ritchie (old-style) C. |
loose |
| Enables non-ANSI extensions (default). |
namespaces |
|
Specifies that namespace is a keyword (default).
|
nonamespaces |
|
Specifies that namespace is not a keyword.
|
promote_long |
|
Specifies that integral data types are promoted to
long in expressions, rather than
int.
|
sizet |
d, ld, u, lu |
Specifies the data type returned by the sizeof
operator, as follows; d=int, ld=long, u=unsigned int,
lu=unsigned long.
|
strict |
| Disables non-ANSI extensions (compiler dependent). |
xfunctype |
|
Indicates that the named function takes an argument
which is a data type rather than a variable (e.g.,
alignof).
|
insure++.compiler_skipflags flags
insure++.dynamic_linking [on|off]
off tells Insure++ not to
allow its libraries to be linked dynamically, even though user
and/or system libraries may still be linked dynamically. This
option is the opposite of
static_linking.
insure++.error_format string
'\n'.
(For examples, see
Customizing the output format)
|
|
|
%c |
Error category (and sub-category if required) |
%d |
Date on which the error occurs (DD-MON-YY)
|
%f |
Filename containing the error |
%F |
Full pathname of the file containing the error |
%h |
Name of the host on which the application is running |
%l |
Line number containing the error |
%p |
Process ID of the process incurring the error |
%t |
Time at which the error occurred (HH:MM:SS)
|
insure++.expand subtypename
auto_expand
option for details on automatic detection and handling
of stretchy arrays.
insure++.file_ignore string
insure++.function_ignore file::function_name
function_name can now (version 3.1 and higher)
accept the * wildcard. For example, the option
insure+.function_ignore foo*turns off instrumentation for the functions
foo,
foobar, etc..
insure++.header_ignore string
insure++.init_extension [c|cc|C|cpp|cxx|c++]
insure++.interface_defaults
[all|*|alloc|new|delete|::alloc|::new|::delete|off|none]
new and
delete behave like the global new and
delete in allocating a block of memory. If your
functions adhere to those guidelines, you can specify use of
the standard interfaces with this option.
| Keyword |
|
all/* |
Includes alloc and ::alloc
|
alloc |
Includes new and delete
|
new |
Assume all member news are "standard"
|
delete |
Assume all member deletes are "standard"
|
::alloc |
Includes ::new and ::delete
|
::new |
Assume global new is "standard"
|
::delete |
Assume global delete is "standard"
|
off/none |
Assume nothing about new and
delete
|
insure++.interface_disable key
key. The interfaces will
then not be inserted during instrumentation at compile-time.
The key can be obtained by looking in the
compiler default .psrc file
(see
Configuration files) for the
interface_library
option specifying the interfaces you wish to disable and removing the
lib prefix and the .tqi
file extension. For example, to turn off the C library interfaces,
use the option
interface_disable c
insure++.interface_enable key
key. The interfaces will then be
inserted during instrumentation at compile-time. The
key can be obtained by looking in the
compiler default .psrc file
(see
Configuration files) for the
interface_library
option specifying the interfaces you wish to enable and removing the
lib prefix and the .tqi
file extension. For example, to turn on the C library interfaces,
use the option
interface_enable c
insure++.interface_ignore function_name
function_name.
insure++.interface_library file1, file2, file3, ...
insure command line. Filenames may include
environment variables and Insure++ macros to help
cross-platform development as described in
Working on multiple platforms.
insure++.interface_reset
.psrc file. Additional
interface_library
options can be used after this line to add back certain interfaces.
insure++.interface_statics [on|off]
write), you can turn off interface
checking for these static functions by setting this option
to off.
insure++.linker linker_name
ins_ld command.
insure++.linker_dynlib_flag flag
insure++.linker_source source_code
insure++.linker_stub symbol_name
symbol_name. This can help
eliminate unresolved symbols caused by linker bugs.
insure++.malloc_replace [on|off]
on, Insure++ links its own version
of the dynamic memory allocation libraries. This gives
Insure++ additional error detection abilities, but may
have different properties than the native library (for example,
it will probably use more memory per block allocated). Setting
this option to off links in the standard
library. This option does not apply in LRT mode.
insure++.object_ignore string
insure++.password arg1 arg2 arg3
pslic.
insure++.post_compile_command command_string
insure++.pragma_ignore string
insure++.pre_compile_command command_string
insure++.preprocessor command_string
insure++.preprocessor_flag flag
registertool Insure++ version
insure++.rename_files [on|off]
foo.c would be renamed
foo.c.ins_orig
for the duration of the call to Insure++.
insure++.report_banner [on|off]
insure++.report_file
[filename|insra|stderr]
filename. (See
Filenames) Use of the special filename Insra
tells Insure++ to send its output to
Insra.
insure++.sizeof type value
value should be the number
sizeof(type) would return on the target
machine. Allowed type arguments are char, double, float,
int, long, long double, long long, short, and
void *.
insure++.split_compile_link [on|off]
insure++.stack_internal [on|off]
symbol_table off runtime
option (see symbol_table),
you can set this option to on and recompile your program
to get filenames and line numbers in stack traces without using
the symbol table reader.
insure++.static_linking [on|off]
on forces Insure++'s libraries
to be linked statically, even though user and/or system libraries
may still be linked dynamically. This option is the opposite of
dynamic_linking.
insure++.stdlib_replace [on|off]
insure++.suppress code
insure++.suppress_output string
[foo.c:5] Warning: bad conversion in
assignment: char * = int *
>> ptr = iptr;
add the following line to your .psrc file.
suppress_output bad conversion in assignment
insure++.suppress_warning code
code
should match the numerical code Insure++ prints along
with the warning message you would like to suppress. The codes
correspond to the chapter, section, and paragraph(s) of the draft
ANSI standard on which the warning is based. For example, to
suppress the warning:Warning:12.3.2-5: return type may not be specified for conversion functionsadd the following line to your
.psrc file.
suppress_warning 12.3.2-5
insure++.temp_directory path
/tmp. The default is
the current directory. Setting path to a directory
local to your machine can dramatically improve compile-time
performance if you are compiling on a remotely mounted file
system.
insure++.threaded_runtime [on|off]
insure++.uninit_flow [1|2|3|...|100|...|1000]
insure++.unsuppress code
insure++.virtual_checking [on|off]
VIRTUAL_BAD error messages will
be generated. See Virtual Bad
for more information about this error message.
For more information, call (888) 305-0041 or send email to: insure@parasoft.com