This page provides the logs that are generated while running the CPP (C++ analyzer). More on this topic can be seen in the following documentation links: Run the Analysis
The CPP analyzer can analyze just C code, just CPP code, or a combination of both. This page shows logs when analyzing CPP code.
For configuration options for the analysis including the options above that are mentioned in the log below, please see the following documentation:CPP Technology Options in CAST-MS
In this page, the different logs lines corresponding to the Run CPP Analyzer - CPP are listed with functional and technical explanation of the logs that it generates.
If you want to know more about Run Analyzer task related to other technologies, please:
CAST-MS log file
Section of CAST-MS log file dealing with analysis of CPP as shown in the logs above.
Run Analysis of CPP Source
INF: 2016-07-19 19:19:23: starting Task Application "CPP"
INF: 2016-07-19 19:19:23: starting Task Run analysis for 'CPP'
INF: 2016-07-19 19:19:23: starting Task Run C++ Analyzer "My C/C++ Analysis Unit_13938_C"
INF: 2016-07-19 19:19:23: C:\Program Files\CAST\8.0/anarun.exe -CONNECT_PROFILE('JMCE7440W7:2280 on CastStorageService.prod800_local') -RUN_AU(109051,109052,'C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\LISA\b1ff1ab4e50b43eaa746137ec399b0d7\Scr13938\JobSettings.xml') -MANAGED(109051) -SESSION_ID(109052) -LOG('C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\b1ff1ab4e50b43eaa746137ec399b0d7\My C_C++ Analysis Unit_13938_C-20160719191923.castlog',TRUNCATE) -LARGESTORAGE('C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0','C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0','b1ff1ab4e50b43eaa746137ec399b0d7/Scr13938') -LOGIN(,CASTCORP\JMC,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
INF: 2016-07-19 19:19:28: About to run JOB_C_ANALYZER job 'My C/C++ Analysis Unit_13938_C'.
INF: 2016-07-19 19:19:33: Execution date=2016/07/20 00:19
INF: 2016-07-19 19:19:33: Execution duration=0 days, 00 hours, 00 mins, 05 secs
INF: 2016-07-19 19:19:33: Execution result=success
INF: 2016-07-19 19:19:35: Loading ini file: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult109052.INI
INF: 2016-07-19 19:19:35: Loading ini file: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult109052.INI
INF: 2016-07-19 19:19:35: Task message: No Task message
INF: 2016-07-19 19:19:35: Log file: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\b1ff1ab4e50b43eaa746137ec399b0d7\My C_C++ Analysis Unit_13938_C-20160719191923.castlog
INF: 2016-07-19 19:19:35: ending Task Run C++ Analyzer "My C/C++ Analysis Unit_13938_C"
My Package_<Execution_Unit_ID>-<DateTime>.castlog
This is the CPP (C++) analysis log file. The CPP is based on analysis of CPP source and include files.
Environment Information
2016-07-19 19:19:26.737 Information INTERNAL ; Body 64-bit environment
2016-07-19 19:19:26.737 Information INTERNAL ; Body LISA folder: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0
2016-07-19 19:19:26.737 Information INTERNAL ; Body LTSA folder: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0
2016-07-19 19:19:26.737 Information INTERNAL ; Body LSA relative folder: b1ff1ab4e50b43eaa746137ec399b0d7/Scr13938
2016-07-19 19:19:26.737 Information INTERNAL ; Body Using Knowledge Base on schema prod800_local.
Run Analysis is About to Start
2016-07-19 19:19:27.437 Information INTERNAL ; Body Registering extension com.castsoftware.rpg 1.0.3.
2016-07-19 19:19:27.866 Information MODULMSG ; Body Loading meta model from repository . . .
2016-07-19 19:19:28.567 Information MODULMSG ; Body Meta model loaded.
2016-07-19 19:19:28.567 Information INTERNAL ; Body RunAnalysis started
Configuration Information - Options from CAST-MS for CPP Analysis
2016-07-19 19:19:28.567 Information INTERNAL ; Body C File Extensions : *.c;*.pc;*.ppc
2016-07-19 19:19:28.567 Information INTERNAL ; Body C++ File Extensions : *.cpp;*.cc
2016-07-19 19:19:28.567 Information INTERNAL ; Body Analysis Unit description :
2016-07-19 19:19:28.567 Information INTERNAL ; Body Disable use of PCH : 0
2016-07-19 19:19:28.567 Information INTERNAL ; Body Force Include File :
2016-07-19 19:19:28.567 Information INTERNAL ; Body Standard processing of 'typename' : 1
2016-07-19 19:19:28.567 Information INTERNAL ; Body >> allowed to close nested templates : 1
2016-07-19 19:19:28.567 Information INTERNAL ; Body Use Microsoft Managed C++ extensions (CLR) : 0
2016-07-19 19:19:28.567 Information INTERNAL ; Body Name : My C/C++ Analysis Unit
2016-07-19 19:19:28.567 Information INTERNAL ; Body Project Path : User defined
2016-07-19 19:19:28.567 Information INTERNAL ; Body PCH generator :
2016-07-19 19:19:28.567 Information INTERNAL ; Body Precompiled header :
2016-07-19 19:19:28.567 Information INTERNAL ; Body Standard scope of 'for' loops : 1
2016-07-19 19:19:28.567 Information INTERNAL ; Body Accept Trigraphs : 0
2016-07-19 19:19:28.567 Information INTERNAL ; Body Detect unknown compilation directives : 1
2016-07-19 19:19:28.567 Information INTERNAL ; Body Custom Environment Profiles
2016-07-19 19:19:28.567 Information INTERNAL ; Body Define the Include paths used by the Analysis Unit
2016-07-19 19:19:28.567 Information INTERNAL ; Body Define the macros used by this Analysis Unit
2016-07-19 19:19:28.567 Information INTERNAL ; Body Sources
2016-07-19 19:19:28.567 Information INTERNAL ; Body File Path : C:\CASTMS\prod80\Deploy\CPP\CPP_Code
2016-07-19 19:19:28.567 Information INTERNAL ; Body Permission : Include
2016-07-19 19:19:28.567 Information INTERNAL ; Body Consider Files as : Both C and C++
2016-07-19 19:19:28.567 Information INTERNAL ; Body IDE used for this Analysis Unit : VC++ 2008 Win32/MFC
2016-07-19 19:19:28.567 Information INTERNAL ; Body STL Support : STL already in your Source Code Repository
2016-07-19 19:19:28.567 Information INTERNAL ; Body Number of Instances : 200000
2016-07-19 19:19:28.567 Information INTERNAL ; Body SESSION CONTEXT details: 109051 ; 109052 = "CPP"."My C/C++ Analysis Unit_13938_C"
2016-07-19 19:19:28.567 1 ; Job execution
CPP Analysis is Starting
We know that the analysis is starting with the statement : About to run <Execution unit name>
2016-07-19 19:19:28.567 Information INTERNAL ; Job execution About to run JOB_C_ANALYZER job 'My C/C++ Analysis Unit_13938_C'.
2016-07-19 19:19:28.567 Information MODULMSG ; Job execution Total physical memory: 8095 MB.
2016-07-19 19:19:29.267 Information MODULMSG ; Job execution External link component has loaded 0 objects
Macro and Include File Information From Environment Profiles and Settings
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution include path: '' (from current analysis unit), unsaved
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution include path: '' (from current analysis unit), unsaved
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution include path: '' (from current analysis unit), unsaved
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution include path: 'C:\Program Files\Common Files\CAST\CAST\EnvProf\CPP\VC++ 2008 Mandatory part\' (from current analysis unit), unsaved
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _WINDOWS =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _AFXDLL =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _DLL =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _MT =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro ATLASSERT(x) =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _MSC_EXTENSIONS = 1
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _MSC_VER = 1500
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _WIN32 = 1
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _Wp64 = 1
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __interface = struct
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _CPPUNWIN = 1
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _M_IX86 = 600
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro WIN32 = 1
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _MBCS =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __w64 =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _ATL_MIXED =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __pragma(x) =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __restrict =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __unaligned =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __sptr =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __uptr =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __ptr64 =
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_abstract(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_base_of(x,y) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_class(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_convertible_to(x,y) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_delegate(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_empty(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_enum(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_interface_class(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_pod(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_polymorphic(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_ref_array(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_ref_class(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_sealed(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_simple_value_class(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_union(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __is_value_class(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __identifier(x) = x ## _CAST_IDENT_
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __except(expr) = __except (int __dummy__=(expr))
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __finally(expr) = __finally (int __dummy__=(expr))
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_assign(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_copy(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_finalizer(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_nothrow_assign(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_nothrow_constructor(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_nothrow_copy(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_trivial_assign(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_trivial_constructor(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_trivial_copy(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_trivial_destructor(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_user_destructor(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __has_virtual_destructor(x) = true
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro __typeof(x) = typeid(x)
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution macro _INTEGRAL_MAX_BITS = 64
Parsing Source Files
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution Analysis beginning.
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution --------------------------------------------------------------------------------
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution Debugging options:
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution Debug mode message log: no (default)
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution --------------------------------------------------------------------------------
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution Running analysis 'My C/C++ Analysis Unit_13938_C'.
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution _________ Compiling source files for executable My C/C++ Analysis Unit_13938_C (2 items)...
_______________________________________________________________
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution Parsing file (1/2) C:\CASTMS\prod80\Deploy\CPP\CPP_Code\1\Interface.cpp...
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution Preprocessing...
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution Low level parsing...
2016-07-19 19:19:29.967 Information MODULMSG ; Job execution Source analysis...
2016-07-19 19:19:30.317 Information MODULMSG ; Job execution Parsing file (2/2) C:\CASTMS\prod80\Deploy\CPP\CPP_Code\2\Interfacex.cpp...
2016-07-19 19:19:30.317 Information MODULMSG ; Job execution Preprocessing...
2016-07-19 19:19:30.317 Information MODULMSG ; Job execution Low level parsing...
2016-07-19 19:19:30.317 Information MODULMSG ; Job execution Source analysis...
2016-07-19 19:19:30.317 Information MODULMSG ; Job execution Compilation done.
Compare and Merge
2016-07-19 19:19:30.317 Information MODULMSG ; Job execution --------------------------------------------------------------------------------
2016-07-19 19:19:30.317 MODULMSG ; Job execution Comparing objects on server . . .
2016-07-19 19:19:32.067 MODULMSG ; Job execution Comparison completed.
2016-07-19 19:19:32.067 MODULMSG ; Job execution Merging objects on server . . .
2016-07-19 19:19:33.467 MODULMSG ; Job execution Merge completed.
Execution Summary
2016-07-19 19:19:34.167 Information INTERNAL ; Job execution New Job status
2016-07-19 19:19:34.167 Information INTERNAL ; Job execution Execution date=2016/07/20 00:19
2016-07-19 19:19:34.167 Information INTERNAL ; Job execution Execution duration=0 days, 00 hours, 00 mins, 05 secs
2016-07-19 19:19:34.167 Information INTERNAL ; Job execution Execution result=success
2016-07-19 19:19:34.167 MSGACCOUNT ; Summary 0 fatal error(s); 0 error(s); 0 warning(s); 83 information message(s).
2016-07-19 19:19:34.167 1048575 ; Job execution
CAST_MainTask_SummaryLog.txt
- Start: Tue Jul 19 19:19:22 CDT 2016
- OS Version: Windows 7 (version 6.1)
- Machine name: jmce7440w7
- Software Version: CAST 8.0.0 ( Build 8525 )
- Task: Take a snapshot of the application
- Total duration: 1m27s
- No of Computed Quality Rules: 136
Statistics for application CPP
- Analysis duration: 24s
- No of modules: 1
- No of active analysis units: 1
- No of inactive analysis units: 0
- Total no of analysis units: 1
- No of saved objects: 22