Page tree
Skip to end of metadata
Go to start of metadata
Purpose

This page provides error free logs generated while running the C analyzer.  More on this topic can be seen in the following documentation link Run the Analysis

The CPP analyzer can analyze just C code, just CPP code, or a combination of both.  This page shows the logs that are generated when analyzing C 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 - C 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:

 Choose your technology

CMS Snapshot Analysis - Run DOTNet Analyzer - C Sharp - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run ABAP Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run ASP Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - C and CPP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - EGL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Flex - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Fortran - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - PHP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - PLI - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - RPG - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Shell - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Angular js - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - JQuery - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Node js - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - HTML5 Javascript - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - Java - JSP - Web Services - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JAX RS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - Spring MVC - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JSP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JEE - EJB - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - CICS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - Cobol - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - IMS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - JCL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Oracle Forms Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Power Builder - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DB2 zOS Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - T SQL ASE - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - T SQL MS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - SQL PSM zOS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - PL SQL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run VB Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run VB Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - WPF - Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - WCF - Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - Silverlight Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - C Sharp - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - ASP DOTNet - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DB2 zOS Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - C only - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - CPP - Error Free Logs - CAST AIP 8

 

CMS Snapshot Analysis - Run J2EE Analyzer - JAX WS - Error Free Logs - CAST AIP 83


CAST-MS log file

Section of CAST-MS log file dealing with analysis of C are shown in the logs below

RUN ANALYSIS OF CPP SOURCE

INF: 2016-07-19 19:35:23:  starting Task Application "C"
INF: 2016-07-19 19:35:23:  starting Task Run analysis for 'C'
INF: 2016-07-19 19:35:23:  starting Task Run C++ Analyzer "My C/C++ Analysis Unit_13970_C"
INF: 2016-07-19 19:35:23:  C:\Program Files\CAST\8.0/anarun.exe -CONNECT_PROFILE('JMCE7440W7:2280 on CastStorageService.prod800_local') -RUN_AU(109251,109253,'C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\LISA\45d05b12c701491592c266cf6efa7678\Scr13970\JobSettings.xml') -MANAGED(109251) -SESSION_ID(109253) -LOG('C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\45d05b12c701491592c266cf6efa7678\My C_C++ Analysis Unit_13970_C-20160719193523.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','45d05b12c701491592c266cf6efa7678/Scr13970') -LOGIN(,CASTCORP\JMC,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXITINF: 2016-07-19 19:35:27:  About to run JOB_C_ANALYZER job 'My C/C++ Analysis Unit_13970_C'.
INF: 2016-07-19 19:35:32:   Execution date=2016/07/20 00:35
INF: 2016-07-19 19:35:32:   Execution duration=0 days, 00 hours, 00 mins, 05 secs
INF: 2016-07-19 19:35:32:   Execution result=success
INF: 2016-07-19 19:35:34:  Loading ini file: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult109253.INI
INF: 2016-07-19 19:35:34:  Loading ini file: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult109253.INI
INF: 2016-07-19 19:35:34:  Task message: No Task message
INF: 2016-07-19 19:35:34:  Log file: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\45d05b12c701491592c266cf6efa7678\My C_C++ Analysis Unit_13970_C-20160719193523.castlog
INF: 2016-07-19 19:35:34:  ending Task Run C++ Analyzer "My C/C++ Analysis Unit_13970_C"

My Package_<Execution_Unit_ID>-<DateTime>.castlog

This is the C analysis log file. This is based on analysis of C source code and include files.

Environment Information

2016-07-19 19:35:25.694  Information INTERNAL ; Body 64-bit environment     
 2016-07-19 19:35:25.694  Information INTERNAL ; Body LISA folder: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0     
 2016-07-19 19:35:25.694  Information INTERNAL ; Body LTSA folder: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0     
 2016-07-19 19:35:25.694  Information INTERNAL ; Body LSA relative folder: 45d05b12c701491592c266cf6efa7678/Scr13970     
 2016-07-19 19:35:25.694  Information INTERNAL ; Body Using Knowledge Base on schema prod800_local.   

RUN ANALYSIS IS ABOUT TO START

 2016-07-19 19:35:26.394  Information INTERNAL ; Body Registering extension com.castsoftware.rpg 1.0.3.
 2016-07-19 19:35:26.837  Information MODULMSG ; Body Loading meta model from repository . . .     
 2016-07-19 19:35:27.537  Information MODULMSG ; Body Meta model loaded.     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body RunAnalysis started     

Configuration Information - Options from CAST-MS for CPP Analysis

2016-07-19 19:35:27.558  Information INTERNAL ; Body C File Extensions : *.c;*.pc;*.ppc     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body C++ File Extensions : *.cpp;*.cc     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Analysis Unit description :      
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Disable use of PCH : 0     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Force Include File :      
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Standard processing of 'typename' : 1     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body >> allowed to close nested templates : 1     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Use Microsoft Managed C++ extensions (CLR) : 0     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Name : My C/C++ Analysis Unit     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Project Path : User defined     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body PCH generator :      
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Precompiled header :      
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Standard scope of 'for' loops : 1     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Accept Trigraphs : 0     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Detect unknown compilation directives : 1     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Custom Environment Profiles     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Define the Include paths used by the Analysis Unit     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Define the macros used by this Analysis Unit     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Sources     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body  File Path : C:\CASTMS\prod80\Deploy\C\C_code     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body  Permission : Include     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Consider Files as : Both C and C++     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body IDE used for this Analysis Unit : VC++ 2008 Win32/MFC     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body STL Support : STL already in your Source Code Repository     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body Number of Instances : 200000     
 2016-07-19 19:35:27.558  Information INTERNAL ; Body SESSION CONTEXT details: 109251 ; 109253 = "C"."My C/C++ Analysis Unit_13970_C"     
 2016-07-19 19:35:27.558    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:35:27.558  Information INTERNAL ; Job execution About to run JOB_C_ANALYZER job 'My C/C++ Analysis Unit_13970_C'.     
 2016-07-19 19:35:27.558  Information MODULMSG ; Job execution Total physical memory: 8095 MB.     
 2016-07-19 19:35:28.258  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:35:29.308  Information MODULMSG ; Job execution include path: '' (from current analysis unit), unsaved     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution include path: '' (from current analysis unit), unsaved     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution include path: '' (from current analysis unit), unsaved     
 2016-07-19 19:35:29.308  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:35:29.308  Information MODULMSG ; Job execution macro _WINDOWS =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _AFXDLL =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _DLL =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _MT =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro ATLASSERT(x) =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _MSC_EXTENSIONS = 1     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _MSC_VER = 1500     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _WIN32 = 1     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _Wp64 = 1     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __interface = struct     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _CPPUNWIN = 1     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _M_IX86 = 600     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro WIN32 = 1     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _MBCS =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __w64 =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro _ATL_MIXED =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __pragma(x) =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __restrict =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __unaligned =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __sptr =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __uptr =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __ptr64 =      
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_abstract(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_base_of(x,y) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_class(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_convertible_to(x,y) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_delegate(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_empty(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_enum(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_interface_class(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_pod(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_polymorphic(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_ref_array(x) = true     
 2016-07-19 19:35:29.308  Information MODULMSG ; Job execution macro __is_ref_class(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __is_sealed(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __is_simple_value_class(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __is_union(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __is_value_class(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __identifier(x) = x ## _CAST_IDENT_     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __except(expr) = __except  (int __dummy__=(expr))     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __finally(expr) = __finally (int __dummy__=(expr))     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_assign(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_copy(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_finalizer(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_nothrow_assign(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_nothrow_constructor(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_nothrow_copy(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_trivial_assign(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_trivial_constructor(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_trivial_copy(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_trivial_destructor(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_user_destructor(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __has_virtual_destructor(x) = true     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro __typeof(x) = typeid(x)     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution macro _INTEGRAL_MAX_BITS = 64     

Parsing Source Files

2016-07-19 19:35:29.309  Information MODULMSG ; Job execution Analysis beginning.      
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution --------------------------------------------------------------------------------     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution Debugging options:     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution        Debug mode message log: no  (default)     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution --------------------------------------------------------------------------------     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution Running analysis 'My C/C++ Analysis Unit_13970_C'.     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution _________  Compiling source files for executable My C/C++ Analysis Unit_13970_C (1 items)...
_______________________________________________________________     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution Parsing file (1/1) C:\CASTMS\prod80\Deploy\C\C_code\Example.c...     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution     Preprocessing...     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution     Low level parsing...     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution     Source analysis...     
 2016-07-19 19:35:29.309  Information MODULMSG ; Job execution Compilation done.      

Compare and Merge

  2016-07-19 19:35:29.309  Information MODULMSG ; Job execution --------------------------------------------------------------------------------     
 2016-07-19 19:35:29.659    MODULMSG ; Job execution Comparing objects on server . . .     
 2016-07-19 19:35:31.410    MODULMSG ; Job execution Comparison completed.     
 2016-07-19 19:35:31.410    MODULMSG ; Job execution Merging objects on server . . .     
 2016-07-19 19:35:32.811    MODULMSG ; Job execution Merge completed.      

Execution Summary 

 2016-07-19 19:35:33.161  Information INTERNAL ; Job execution New Job status     
 2016-07-19 19:35:33.161  Information INTERNAL ; Job execution  Execution date=2016/07/20 00:35     
 2016-07-19 19:35:33.161  Information INTERNAL ; Job execution  Execution duration=0 days, 00 hours, 00 mins, 05 secs     
 2016-07-19 19:35:33.161  Information INTERNAL ; Job execution  Execution result=success     
 2016-07-19 19:35:33.161    MSGACCOUNT ; Summary 0 fatal error(s); 0 error(s); 0 warning(s); 79 information message(s).     
 2016-07-19 19:35:33.161    1048575 ; Job execution      

Execution Summary

CAST_MainTask_SummaryLog.txt

Status: Execution succeeded
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
  • Nb 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
 

 

 

 

 

 

 

  • No labels