Init Documents

This commit is contained in:
HuangXin 2019-03-01 17:59:44 +08:00
commit 8e1b8355d7
87 changed files with 5909 additions and 0 deletions

BIN
Design/Configure.vsdx Normal file

Binary file not shown.

Binary file not shown.

BIN
Design/OTAV2.vsdx Normal file

Binary file not shown.

BIN
Design/OTA_VISIO.vsdx Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,31 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2926474643">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="EvpAESEncrypto" lineNumber="11"/>
<functiondecl functionName="EvpAESDecrypto" lineNumber="59"/>
<functioncall functionName="ERR_EVP_FINALE"/>
<functioncall functionName="ERR_EVP_INIT_KEY"/>
<functioncall functionName="ERR_EVP_UPDATE"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="EVP_CIPHER_CTX_cleanup"/>
<functioncall functionName="EVP_CIPHER_CTX_init"/>
<functioncall functionName="EVP_DecryptFinal_ex"/>
<functioncall functionName="EVP_DecryptInit_ex"/>
<functioncall functionName="EVP_DecryptUpdate"/>
<functioncall functionName="EVP_EncryptFinal_ex"/>
<functioncall functionName="EVP_EncryptInit_ex"/>
<functioncall functionName="EVP_EncryptUpdate"/>
<functioncall functionName="EVP_aes_128_ecb"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="NULL"/>
<functioncall functionName="ctx"/>
<functioncall functionName="deBytes"/>
<functioncall functionName="enBytes"/>
<functioncall functionName="iSize"/>
<functioncall functionName="if"/>
<functioncall functionName="pInBuf"/>
<functioncall functionName="pKey"/>
<functioncall functionName="pOutBuf"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,173 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1436017451">
<error id="purgedConfiguration" severity="information" msg="The configuration &apos;PLATFORM_CPU;PLATFORM_R16&apos; was not checked because its code equals another one." verbose="The configuration &apos;PLATFORM_CPU;PLATFORM_R16&apos; was not checked because its code equals another one.">
<location file="G:\MyProjects\SmartAudio\Modules\Alarm\assistant.c" line="0"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__getTimerPriorty" lineNumber="40"/>
<functiondecl functionName="__addTaskToTimer" lineNumber="57"/>
<functiondecl functionName="__assistantRspStatus" lineNumber="87"/>
<functiondecl functionName="__assistantRunningEvent" lineNumber="106"/>
<functiondecl functionName="__assistantNotifyChange" lineNumber="119"/>
<functiondecl functionName="__assistantArrayNotifyChange" lineNumber="147"/>
<functiondecl functionName="__cleanupAlarmArray" lineNumber="175"/>
<functiondecl functionName="__cleanupRemaindArray" lineNumber="189"/>
<functiondecl functionName="__cleanupSessionArray" lineNumber="203"/>
<functiondecl functionName="__addNewItems" lineNumber="217"/>
<functiondecl functionName="__removeAlarmItem" lineNumber="304"/>
<functiondecl functionName="__removeRemaindItem" lineNumber="326"/>
<functiondecl functionName="__alarmItemCmp" lineNumber="348"/>
<functiondecl functionName="__onAlarmCb" lineNumber="366"/>
<functiondecl functionName="__dBusOnMessage" lineNumber="431"/>
<functiondecl functionName="__dBusDeameonCb" lineNumber="659"/>
<functiondecl functionName="__assistantSyncThread" lineNumber="688"/>
<functiondecl functionName="main" lineNumber="721"/>
<functioncall functionName="ASSISTANT_NOTIFY_INFO"/>
<functioncall functionName="ASSISTANT_RSP_STATUS"/>
<functioncall functionName="ASSISTANT_TYPE_CLOCK"/>
<functioncall functionName="ASSISTANT_TYPE_REMAIND"/>
<functioncall functionName="AlarmTimerAdd"/>
<functioncall functionName="AlarmTimerInit"/>
<functioncall functionName="AlarmTimerRemove"/>
<functioncall functionName="CMD_ALARM_SYNC_REQ"/>
<functioncall functionName="CMD_ASSISTANT_NOTIFY"/>
<functioncall functionName="CMD_ASSISTANT_RUNNING"/>
<functioncall functionName="CMD_ASSISTANT_STATUS"/>
<functioncall functionName="CMD_REMAIND_SYNC_REQ"/>
<functioncall functionName="CurrentIsWorkDay"/>
<functioncall functionName="DBusCmdToString"/>
<functioncall functionName="DBusJsonSendToCommand"/>
<functioncall functionName="DBusSendToCommand"/>
<functioncall functionName="DBusWithLibuvInit"/>
<functioncall functionName="DL_APPEND"/>
<functioncall functionName="DL_DELETE"/>
<functioncall functionName="DL_FOREACH_SAFE"/>
<functioncall functionName="DL_SEARCH"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MALLOC_MEMORY"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="GetDBusDefaultLoop"/>
<functioncall functionName="JSON_ENGINE_ASSISTANT_NOTIFY"/>
<functioncall functionName="JSON_ENGINE_ASSISTANT_RUNNING"/>
<functioncall functionName="JSON_ENGINE_ASSISTANT_STATUS"/>
<functioncall functionName="JSON_ENGINE_ASSISTANT_SYNC_RSP"/>
<functioncall functionName="Json2Struct"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Info"/>
<functioncall functionName="LOG_Warn"/>
<functioncall functionName="MODULE_ALARM"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="NULL"/>
<functioncall functionName="PASSISTANT_ARRAY_INFO"/>
<functioncall functionName="PASSISTANT_ITEM_INFO"/>
<functioncall functionName="PASSISTANT_NOTIFY_INFO"/>
<functioncall functionName="PASSISTANT_SYNC_INFO"/>
<functioncall functionName="RunUVLoop"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="__addNewItems"/>
<functioncall functionName="__addTaskToTimer"/>
<functioncall functionName="__alarmItemCmp"/>
<functioncall functionName="__assistantArrayNotifyChange"/>
<functioncall functionName="__assistantNotifyChange"/>
<functioncall functionName="__assistantRspStatus"/>
<functioncall functionName="__assistantRunningEvent"/>
<functioncall functionName="__assistantSyncThread"/>
<functioncall functionName="__cleanupAlarmArray"/>
<functioncall functionName="__cleanupRemaindArray"/>
<functioncall functionName="__cleanupSessionArray"/>
<functioncall functionName="__dBusDeameonCb"/>
<functioncall functionName="__dBusOnMessage"/>
<functioncall functionName="__getTimerPriorty"/>
<functioncall functionName="__onAlarmCb"/>
<functioncall functionName="__printAssistantNofifyInfo"/>
<functioncall functionName="__printAssistantSyncInfo"/>
<functioncall functionName="__removeAlarmItem"/>
<functioncall functionName="__removeRemaindItem"/>
<functioncall functionName="alarmId"/>
<functioncall functionName="alarmItem"/>
<functioncall functionName="alarmStatusName"/>
<functioncall functionName="break"/>
<functioncall functionName="busCmd"/>
<functioncall functionName="cmd"/>
<functioncall functionName="cmdNotify"/>
<functioncall functionName="continue"/>
<functioncall functionName="day"/>
<functioncall functionName="difftime"/>
<functioncall functionName="err"/>
<functioncall functionName="for"/>
<functioncall functionName="free"/>
<functioncall functionName="g_pAlarmArray"/>
<functioncall functionName="g_pRemaindArray"/>
<functioncall functionName="g_pSessionArray"/>
<functioncall functionName="g_uvListRwLock"/>
<functioncall functionName="hour"/>
<functioncall functionName="i"/>
<functioncall functionName="ids"/>
<functioncall functionName="if"/>
<functioncall functionName="int"/>
<functioncall functionName="itemId"/>
<functioncall functionName="itemType"/>
<functioncall functionName="localTime"/>
<functioncall functionName="localtime_r"/>
<functioncall functionName="loclStamp"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memset"/>
<functioncall functionName="minute"/>
<functioncall functionName="mktime"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="modName"/>
<functioncall functionName="month"/>
<functioncall functionName="nItems"/>
<functioncall functionName="nType"/>
<functioncall functionName="notifyInfo"/>
<functioncall functionName="oStatus"/>
<functioncall functionName="onTimeStamp"/>
<functioncall functionName="pAlarmInfo"/>
<functioncall functionName="pArray"/>
<functioncall functionName="pConn"/>
<functioncall functionName="pInfo"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pNotifyInfo"/>
<functioncall functionName="pTmp"/>
<functioncall functionName="pUserData"/>
<functioncall functionName="repeatMode"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="second"/>
<functioncall functionName="setTime"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="status"/>
<functioncall functionName="strTips"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="switch"/>
<functioncall functionName="time"/>
<functioncall functionName="timerId"/>
<functioncall functionName="tmDiff"/>
<functioncall functionName="tmId"/>
<functioncall functionName="tmStamp"/>
<functioncall functionName="tm_hour"/>
<functioncall functionName="tm_mday"/>
<functioncall functionName="tm_min"/>
<functioncall functionName="tm_sec"/>
<functioncall functionName="tmpItem"/>
<functioncall functionName="type"/>
<functioncall functionName="usleep"/>
<functioncall functionName="uvSyncThread"/>
<functioncall functionName="uv_rwlock_init"/>
<functioncall functionName="uv_rwlock_rdlock"/>
<functioncall functionName="uv_rwlock_rdunlock"/>
<functioncall functionName="uv_rwlock_wrlock"/>
<functioncall functionName="uv_rwlock_wrunlock"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="val"/>
<functioncall functionName="voiceId"/>
<functioncall functionName="weekDay"/>
<functioncall functionName="while"/>
<functioncall functionName="year"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,34 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1594987531">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="EvpBase64Encode" lineNumber="9"/>
<functiondecl functionName="EvpBase64Decode" lineNumber="37"/>
<functiondecl functionName="EvpBase64EncodeNoAlign" lineNumber="62"/>
<functiondecl functionName="EvpBase64EncodeNoAlignV2" lineNumber="85"/>
<functiondecl functionName="EvpBase64DecodeNoAlign" lineNumber="107"/>
<functiondecl functionName="EvpBase64DecodeNoAlignV2" lineNumber="131"/>
<functioncall functionName="EVP_DecodeBlock"/>
<functioncall functionName="EVP_DecodeFinal"/>
<functioncall functionName="EVP_DecodeInit"/>
<functioncall functionName="EVP_DecodeUpdate"/>
<functioncall functionName="EVP_EncodeBlock"/>
<functioncall functionName="EVP_EncodeFinal"/>
<functioncall functionName="EVP_EncodeInit"/>
<functioncall functionName="EVP_EncodeUpdate"/>
<functioncall functionName="NULL"/>
<functioncall functionName="ctx"/>
<functioncall functionName="enSize"/>
<functioncall functionName="if"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memset"/>
<functioncall functionName="pBase64"/>
<functioncall functionName="pDecode"/>
<functioncall functionName="pEncode"/>
<functioncall functionName="pOutSize"/>
<functioncall functionName="pSrc"/>
<functioncall functionName="return"/>
<functioncall functionName="sLen"/>
<functioncall functionName="size"/>
<functioncall functionName="strlen"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,194 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3944524305">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__cfgGetKeyTypeString" lineNumber="62"/>
<functiondecl functionName="__cfgItem2CfgRsp" lineNumber="78"/>
<functiondecl functionName="__cfgMsg2CfgItem" lineNumber="106"/>
<functiondecl functionName="__cfgMsg2CfgItemV2" lineNumber="161"/>
<functiondecl functionName="Sqlite3SyncDB" lineNumber="208"/>
<functiondecl functionName="__sqlite3LoadCb" lineNumber="265"/>
<functiondecl functionName="__cfgLoadGlobalConfig" lineNumber="326"/>
<functiondecl functionName="CfgItemPrint" lineNumber="365"/>
<functiondecl functionName="CfgAddGlobalConfig" lineNumber="397"/>
<functiondecl functionName="CfgAddKeyValue" lineNumber="433"/>
<functiondecl functionName="CfgChangeKeyValue" lineNumber="476"/>
<functiondecl functionName="CfgGetKeyValue" lineNumber="521"/>
<functiondecl functionName="__cfgCreateCfgFile" lineNumber="565"/>
<functiondecl functionName="__cfgCheckCfgSvrRun" lineNumber="622"/>
<functiondecl functionName="__cfgAddToCache" lineNumber="646"/>
<functiondecl functionName="__cfgAddItem" lineNumber="672"/>
<functiondecl functionName="__cfgSyncServer" lineNumber="743"/>
<functiondecl functionName="__uvThreadSyncCfg" lineNumber="814"/>
<functiondecl functionName="__cfgStartSyncGlobalCfgSvr" lineNumber="823"/>
<functiondecl functionName="__onCMD_CFG_GET_REQ" lineNumber="832"/>
<functiondecl functionName="__onCMD_CFG_ADD_REQ" lineNumber="846"/>
<functiondecl functionName="__cfgSvrProcessCmd" lineNumber="871"/>
<functiondecl functionName="CfgGlobalEnvInit" lineNumber="922"/>
<functiondecl functionName="OnCfgMsgProcess" lineNumber="970"/>
<functioncall functionName="CFG_API_REQ"/>
<functioncall functionName="CFG_API_RSP"/>
<functioncall functionName="CFG_ITEM"/>
<functioncall functionName="CMD_CFG_ADD_REQ"/>
<functioncall functionName="CMD_CFG_GET_REQ"/>
<functioncall functionName="CfgAddKeyValue"/>
<functioncall functionName="CfgGetKeyValue"/>
<functioncall functionName="CfgItemPrint"/>
<functioncall functionName="DBusJsonSendToCommand"/>
<functioncall functionName="DBusLibuvGetRuntime"/>
<functioncall functionName="ERR_CFG_ITEM_EXIST"/>
<functioncall functionName="ERR_CFG_NOITEM"/>
<functioncall functionName="ERR_CFG_WAIT_RSP"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_OPEN_SQLITE3_DB"/>
<functioncall functionName="ERR_SQLITE3_CREATE_TABLE"/>
<functioncall functionName="ERR_SQL_QUERY"/>
<functioncall functionName="ERR_STR_CONVERT"/>
<functioncall functionName="ERR_UNKNOWN_TYPE"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="GLOBAL_CFG_FILE_PATH"/>
<functioncall functionName="GetDBusDefaultLoop"/>
<functioncall functionName="HASH_ADD_STR"/>
<functioncall functionName="HASH_COUNT"/>
<functioncall functionName="HASH_DEL"/>
<functioncall functionName="HASH_FIND_STR"/>
<functioncall functionName="HASH_ITER"/>
<functioncall functionName="JSON_ENGINE_CFG_REQ"/>
<functioncall functionName="JSON_ENGINE_CFG_RSP"/>
<functioncall functionName="Json2Struct"/>
<functioncall functionName="LIBUV_CURRENT_TIME_MS"/>
<functioncall functionName="LOCK_NB"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="MAX_CFG_KEY_NAME"/>
<functioncall functionName="MAX_CFG_KEY_VALUE"/>
<functioncall functionName="MODULE_ALIAS_NAME"/>
<functioncall functionName="MODULE_CONFIGURE"/>
<functioncall functionName="ModuleNameToString"/>
<functioncall functionName="NULL"/>
<functioncall functionName="O_RDWR"/>
<functioncall functionName="PCFG_ITEM"/>
<functioncall functionName="SQLITE_OPEN_CREATE"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="__cfgAddItem"/>
<functioncall functionName="__cfgAddToCache"/>
<functioncall functionName="__cfgCreateCfgFile"/>
<functioncall functionName="__cfgGetKeyTypeString"/>
<functioncall functionName="__cfgItem2CfgRsp"/>
<functioncall functionName="__cfgLoadGlobalConfig"/>
<functioncall functionName="__cfgMsg2CfgItem"/>
<functioncall functionName="__cfgMsg2CfgItemV2"/>
<functioncall functionName="__cfgStartSyncGlobalCfgSvr"/>
<functioncall functionName="__cfgSvrProcessCmd"/>
<functioncall functionName="__cfgSyncServer"/>
<functioncall functionName="__onCMD_CFG_ADD_REQ"/>
<functioncall functionName="__onCMD_CFG_GET_REQ"/>
<functioncall functionName="__sqlite3LoadCb"/>
<functioncall functionName="__uvThreadSyncCfg"/>
<functioncall functionName="argc"/>
<functioncall functionName="atoi"/>
<functioncall functionName="break"/>
<functioncall functionName="buf"/>
<functioncall functionName="busCmd"/>
<functioncall functionName="cfgRsp"/>
<functioncall functionName="cmd"/>
<functioncall functionName="dValue"/>
<functioncall functionName="data"/>
<functioncall functionName="default"/>
<functioncall functionName="dest"/>
<functioncall functionName="doubleValue"/>
<functioncall functionName="err"/>
<functioncall functionName="errNo"/>
<functioncall functionName="fd"/>
<functioncall functionName="flock"/>
<functioncall functionName="for"/>
<functioncall functionName="fprintf"/>
<functioncall functionName="free"/>
<functioncall functionName="g_pCfgCacheItems"/>
<functioncall functionName="g_pCfgItems"/>
<functioncall functionName="g_pModInfoTable"/>
<functioncall functionName="g_pSqlFileDB"/>
<functioncall functionName="g_uvCacheRwLock"/>
<functioncall functionName="g_uvHashRwLock"/>
<functioncall functionName="hh"/>
<functioncall functionName="i"/>
<functioncall functionName="iSize"/>
<functioncall functionName="iType"/>
<functioncall functionName="iValue"/>
<functioncall functionName="if"/>
<functioncall functionName="intValue"/>
<functioncall functionName="keyModule"/>
<functioncall functionName="keyName"/>
<functioncall functionName="keyType"/>
<functioncall functionName="keyValue"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memset"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="modName"/>
<functioncall functionName="onCfgCb"/>
<functioncall functionName="open"/>
<functioncall functionName="overWrite"/>
<functioncall functionName="pCache"/>
<functioncall functionName="pCfgFilePath"/>
<functioncall functionName="pCfgItem"/>
<functioncall functionName="pDBFilePath"/>
<functioncall functionName="pEndPtr"/>
<functioncall functionName="pErr"/>
<functioncall functionName="pErrMsg"/>
<functioncall functionName="pFileDbName"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pJsonStr"/>
<functioncall functionName="pKeyName"/>
<functioncall functionName="pKeyValue"/>
<functioncall functionName="pMemDbName"/>
<functioncall functionName="pPrefix"/>
<functioncall functionName="pReq"/>
<functioncall functionName="pRsp"/>
<functioncall functionName="pSqlBackup"/>
<functioncall functionName="pSqlFile"/>
<functioncall functionName="pSqlInsertCmd"/>
<functioncall functionName="pSqlMemory"/>
<functioncall functionName="pSqlUpgradeCmd"/>
<functioncall functionName="pStrValue"/>
<functioncall functionName="pSyncDest"/>
<functioncall functionName="pSyncSrc"/>
<functioncall functionName="pTemp"/>
<functioncall functionName="rc"/>
<functioncall functionName="req"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="saveToDB"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="sqlBuf"/>
<functioncall functionName="sqlCmd"/>
<functioncall functionName="sqlite3_backup_finish"/>
<functioncall functionName="sqlite3_backup_init"/>
<functioncall functionName="sqlite3_backup_step"/>
<functioncall functionName="sqlite3_errcode"/>
<functioncall functionName="sqlite3_exec"/>
<functioncall functionName="sqlite3_free"/>
<functioncall functionName="sqlite3_open"/>
<functioncall functionName="sqlite3_open_v2"/>
<functioncall functionName="sqlite3_sleep"/>
<functioncall functionName="stderr"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strncpy"/>
<functioncall functionName="strtod"/>
<functioncall functionName="strtol"/>
<functioncall functionName="switch"/>
<functioncall functionName="uvFs"/>
<functioncall functionName="uvSyncThread"/>
<functioncall functionName="uv_fs_unlink"/>
<functioncall functionName="uv_rwlock_init"/>
<functioncall functionName="uv_rwlock_rdlock"/>
<functioncall functionName="uv_rwlock_rdunlock"/>
<functioncall functionName="uv_rwlock_wrlock"/>
<functioncall functionName="uv_rwlock_wrunlock"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,27 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1779628293">
<error id="purgedConfiguration" severity="information" msg="The configuration &apos;PLATFORM_R16&apos; was not checked because its code equals another one." verbose="The configuration &apos;PLATFORM_R16&apos; was not checked because its code equals another one.">
<location file="G:\MyProjects\SmartAudio\Modules\ConfigServer\config_server.c" line="0"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__dBusOnMessage" lineNumber="24"/>
<functiondecl functionName="__dBusHeartLost" lineNumber="186"/>
<functiondecl functionName="main" lineNumber="191"/>
<functioncall functionName="DBusWithLibuvInit"/>
<functioncall functionName="GetDBusDefaultLoop"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="MODULE_CONFIGURE"/>
<functioncall functionName="NULL"/>
<functioncall functionName="UV_RUN_DEFAULT"/>
<functioncall functionName="__dBusOnMessage"/>
<functioncall functionName="fprintf"/>
<functioncall functionName="if"/>
<functioncall functionName="loster"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="ret"/>
<functioncall functionName="stderr"/>
<functioncall functionName="uv_run"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,73 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3449229429">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="FreeEVPWorkCb" lineNumber="22"/>
<functiondecl functionName="OnEVPWorkCb" lineNumber="30"/>
<functiondecl functionName="EvpAddCryptoTask" lineNumber="83"/>
<functiondecl functionName="__evpLockCb" lineNumber="151"/>
<functiondecl functionName="__evpIdCb" lineNumber="169"/>
<functiondecl functionName="EvpSystemInit" lineNumber="174"/>
<functioncall functionName="CRYPTO_num_locks"/>
<functioncall functionName="CRYPTO_set_id_callback"/>
<functioncall functionName="CRYPTO_set_locking_callback"/>
<functioncall functionName="DBusLibuvGetRuntime"/>
<functioncall functionName="ERR_EVP_KEY_SIZE"/>
<functioncall functionName="ERR_FILE_NOT_EXISTS"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_UNSUP_EVP_TYPE"/>
<functioncall functionName="EVP_MAX_KEY_LENGTH"/>
<functioncall functionName="EvpAESDecrypto"/>
<functioncall functionName="EvpAESEncrypto"/>
<functioncall functionName="EvpBase64Decode"/>
<functioncall functionName="EvpBase64Encode"/>
<functioncall functionName="EvpMD5HashFile"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="FreeEVPWorkCb"/>
<functioncall functionName="NULL"/>
<functioncall functionName="OnEVPWorkCb"/>
<functioncall functionName="__evpIdCb"/>
<functioncall functionName="__evpLockCb"/>
<functioncall functionName="break"/>
<functioncall functionName="data"/>
<functioncall functionName="default"/>
<functioncall functionName="for"/>
<functioncall functionName="free"/>
<functioncall functionName="i"/>
<functioncall functionName="iError"/>
<functioncall functionName="iInSize"/>
<functioncall functionName="iOutSize"/>
<functioncall functionName="iSize"/>
<functioncall functionName="if"/>
<functioncall functionName="long"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="n"/>
<functioncall functionName="onEvpCryptCb"/>
<functioncall functionName="onEvpEventCb"/>
<functioncall functionName="pInBuf"/>
<functioncall functionName="pInData"/>
<functioncall functionName="pKey"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pOutBuf"/>
<functioncall functionName="pOutData"/>
<functioncall functionName="pTask"/>
<functioncall functionName="pWork"/>
<functioncall functionName="puvWork"/>
<functioncall functionName="return"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strncpy"/>
<functioncall functionName="switch"/>
<functioncall functionName="type"/>
<functioncall functionName="uvFs"/>
<functioncall functionName="uv_fs_access"/>
<functioncall functionName="uv_mutex_init"/>
<functioncall functionName="uv_mutex_lock"/>
<functioncall functionName="uv_mutex_t"/>
<functioncall functionName="uv_mutex_unlock"/>
<functioncall functionName="uv_queue_work"/>
<functioncall functionName="uv_thread_self"/>
<functioncall functionName="uv_work_t"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<analyzerinfo checksum="430046080">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="main" lineNumber="10"/>
<functioncall functionName="NULL"/>
<functioncall functionName="SRCAudioWrite"/>
<functioncall functionName="SRCGetResult"/>
<functioncall functionName="SRCSessionBegin"/>
<functioncall functionName="SRCSessionEnd"/>
<functioncall functionName="SRCSetUPParam"/>
<functioncall functionName="__FUNCTION__"/>
<functioncall functionName="asrFile"/>
<functioncall functionName="asr_out"/>
<functioncall functionName="break"/>
<functioncall functionName="data"/>
<functioncall functionName="fclose"/>
<functioncall functionName="fopen"/>
<functioncall functionName="fread"/>
<functioncall functionName="fseek"/>
<functioncall functionName="getResCnt"/>
<functioncall functionName="if"/>
<functioncall functionName="kSamples"/>
<functioncall functionName="printf"/>
<functioncall functionName="rcv_code"/>
<functioncall functionName="recFlag"/>
<functioncall functionName="session_id"/>
<functioncall functionName="srcParam"/>
<functioncall functionName="status"/>
<functioncall functionName="usleep"/>
<functioncall functionName="vadFlag"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,23 @@
main.a1::G:/MyProjects/SmartAudio/Example/main.c
zlib.a1::G:/MyProjects/SmartAudio/Framework/Compress/zlib.c
config_engine.a1::G:/MyProjects/SmartAudio/Framework/Configure/config_engine.c
ini_prase.a1::G:/MyProjects/SmartAudio/Framework/Configure/ini_prase.c
aes.a1::G:/MyProjects/SmartAudio/Framework/Crypto/aes.c
base64.a1::G:/MyProjects/SmartAudio/Framework/Crypto/base64.c
crypto.a1::G:/MyProjects/SmartAudio/Framework/Crypto/crypto.c
md5.a1::G:/MyProjects/SmartAudio/Framework/Crypto/md5.c
heart_daemon.a1::G:/MyProjects/SmartAudio/Framework/HeartDaemon/heart_daemon.c
json_struct.a1::G:/MyProjects/SmartAudio/Framework/JsonUtils/json_struct.c
monitor.a1::G:/MyProjects/SmartAudio/Framework/Monitor/monitor.c
inet_api.a1::G:/MyProjects/SmartAudio/Framework/Network/inet_api.c
skin_res_vtbl.a1::G:/MyProjects/SmartAudio/Framework/Skins/skin_res_vtbl.c
skins.a1::G:/MyProjects/SmartAudio/Framework/Skins/skins.c
timer.a1::G:/MyProjects/SmartAudio/Framework/Timer/timer.c
libuv_dbus.a1::G:/MyProjects/SmartAudio/Framework/libuvEngine/libuv_dbus.c
assistant.a1::G:/MyProjects/SmartAudio/Modules/Alarm/assistant.c
config_server.a1::G:/MyProjects/SmartAudio/Modules/ConfigServer/config_server.c
log_ctrl.a1::G:/MyProjects/SmartAudio/Modules/LogCtrl/log_ctrl.c
ota.a1::G:/MyProjects/SmartAudio/Modules/OTA/ota.c
demo.a1::G:/MyProjects/SmartAudio/Modules/voice/demo.c
hexdump.a1::G:/MyProjects/SmartAudio/log/hexdump.c
log.a1::G:/MyProjects/SmartAudio/log/log.c

View File

@ -0,0 +1,62 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3092760083">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="timerExpire" lineNumber="23"/>
<functiondecl functionName="RunPingSvr" lineNumber="45"/>
<functiondecl functionName="HeartDaemonHblCheck" lineNumber="66"/>
<functiondecl functionName="HeartDaemonUpgrade" lineNumber="95"/>
<functiondecl functionName="__isSendPingOnTime" lineNumber="112"/>
<functiondecl functionName="__uvIdleCb" lineNumber="134"/>
<functiondecl functionName="__uvThreadDaemon" lineNumber="146"/>
<functiondecl functionName="HeartDaemonInit" lineNumber="156"/>
<functioncall functionName="CMD_MISC_PING"/>
<functioncall functionName="DBusJsonBoardcastCommand"/>
<functioncall functionName="DBusLibuvGetRuntime"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="HeartDaemonHblCheck"/>
<functioncall functionName="JSON_ENGINE_PING"/>
<functioncall functionName="LIBUV_CURRENT_TIME_MS"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="MODULE_MAX"/>
<functioncall functionName="NULL"/>
<functioncall functionName="RunPingSvr"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="UV_RUN_DEFAULT"/>
<functioncall functionName="__isSendPingOnTime"/>
<functioncall functionName="__uvIdleCb"/>
<functioncall functionName="__uvThreadDaemon"/>
<functioncall functionName="cb"/>
<functioncall functionName="double"/>
<functioncall functionName="for"/>
<functioncall functionName="g_DeamonLoop"/>
<functioncall functionName="g_hblTout"/>
<functioncall functionName="g_heartDaemon"/>
<functioncall functionName="g_uvDeamonIdle"/>
<functioncall functionName="gettimeofday"/>
<functioncall functionName="i"/>
<functioncall functionName="iWatcher"/>
<functioncall functionName="if"/>
<functioncall functionName="memset"/>
<functioncall functionName="mod"/>
<functioncall functionName="msHblTout"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pOnHeartLostCb"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="timerExpire"/>
<functioncall functionName="tm"/>
<functioncall functionName="tv"/>
<functioncall functionName="tv_sec"/>
<functioncall functionName="tv_usec"/>
<functioncall functionName="uvDaemonThread"/>
<functioncall functionName="uv_idle_init"/>
<functioncall functionName="uv_idle_start"/>
<functioncall functionName="uv_loop_new"/>
<functioncall functionName="uv_run"/>
<functioncall functionName="uv_thread_create"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,50 @@
<?xml version="1.0"?>
<analyzerinfo checksum="862671000">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="IHW_bin2hex" lineNumber="15"/>
<functiondecl functionName="hex_to_bin" lineNumber="35"/>
<functiondecl functionName="hex_dump_to_buffer" lineNumber="76"/>
<functiondecl functionName="print_hex_dump" lineNumber="216"/>
<functiondecl functionName="print_hex_dump_bytes" lineNumber="269"/>
<functiondecl functionName="format_hex_buf" lineNumber="276"/>
<functioncall functionName="MIN"/>
<functioncall functionName="NULL"/>
<functioncall functionName="ascii"/>
<functioncall functionName="break"/>
<functioncall functionName="buf"/>
<functioncall functionName="ch"/>
<functioncall functionName="count"/>
<functioncall functionName="default"/>
<functioncall functionName="for"/>
<functioncall functionName="groupsize"/>
<functioncall functionName="hex_dump_to_buffer"/>
<functioncall functionName="i"/>
<functioncall functionName="if"/>
<functioncall functionName="isascii"/>
<functioncall functionName="isprint"/>
<functioncall functionName="j"/>
<functioncall functionName="len"/>
<functioncall functionName="linebuf"/>
<functioncall functionName="linelen"/>
<functioncall functionName="long"/>
<functioncall functionName="lx"/>
<functioncall functionName="nil"/>
<functioncall functionName="pLogStr"/>
<functioncall functionName="prefix_str"/>
<functioncall functionName="prefix_type"/>
<functioncall functionName="print"/>
<functioncall functionName="print_hex_dump"/>
<functioncall functionName="remaining"/>
<functioncall functionName="rowsize"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="snprintf"/>
<functioncall functionName="strdup"/>
<functioncall functionName="switch"/>
<functioncall functionName="tolower"/>
<functioncall functionName="utstring_body"/>
<functioncall functionName="utstring_free"/>
<functioncall functionName="utstring_new"/>
<functioncall functionName="utstring_printf"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,379 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3029400504">
<error id="unreadVariable" severity="style" msg="Variable &apos;ret&apos; is assigned a value that is never used." verbose="Variable &apos;ret&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Framework\Network\inet_api.c" file="G:\MyProjects\SmartAudio\Framework\Network\inet_api.c" line="649"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__addReqIdToTable" lineNumber="67"/>
<functiondecl functionName="__removeReqIdFromTable" lineNumber="91"/>
<functiondecl functionName="__uvFsCloseCb" lineNumber="114"/>
<functiondecl functionName="__uvFsDataSyncCb" lineNumber="149"/>
<functiondecl functionName="__createCurlContext" lineNumber="163"/>
<functiondecl functionName="__uvCloseCb" lineNumber="179"/>
<functiondecl functionName="__destoryCurlContext" lineNumber="185"/>
<functiondecl functionName="__checkMultiInfoTimeout" lineNumber="190"/>
<functiondecl functionName="__checkMultiInfo" lineNumber="231"/>
<functiondecl functionName="__onDlTmoutCb" lineNumber="323"/>
<functiondecl functionName="__onTimeoutCb" lineNumber="346"/>
<functiondecl functionName="__curlTimerCb" lineNumber="355"/>
<functiondecl functionName="__curlPollCb" lineNumber="369"/>
<functiondecl functionName="__curlSockCb" lineNumber="391"/>
<functiondecl functionName="__writeDataCb" lineNumber="439"/>
<functiondecl functionName="__progressCb" lineNumber="486"/>
<functiondecl functionName="__getRemoteSizeCb" lineNumber="505"/>
<functiondecl functionName="__iNetGetRemoteSize" lineNumber="510"/>
<functiondecl functionName="__restartDlFileAsync" lineNumber="535"/>
<functiondecl functionName="InetHttpDlFileAsync" lineNumber="593"/>
<functiondecl functionName="InetCancelDownload" lineNumber="718"/>
<functiondecl functionName="__uploadCb" lineNumber="749"/>
<functiondecl functionName="InetHttpUploadFileSync" lineNumber="851"/>
<functiondecl functionName="InetHttpWebServicePostAsync" lineNumber="954"/>
<functiondecl functionName="__curlTaskRuntimeCb" lineNumber="1031"/>
<functiondecl functionName="__getUsernameFromMail" lineNumber="1087"/>
<functiondecl functionName="InetSmtpSendEmail" lineNumber="1123"/>
<functiondecl functionName="InetInit" lineNumber="1223"/>
<functiondecl functionName="InetUnInit" lineNumber="1254"/>
<functiondecl functionName="__addReqIdToTable" lineNumber="67"/>
<functiondecl functionName="__removeReqIdFromTable" lineNumber="91"/>
<functiondecl functionName="__uvFsCloseCb" lineNumber="114"/>
<functiondecl functionName="__uvFsDataSyncCb" lineNumber="149"/>
<functiondecl functionName="__createCurlContext" lineNumber="163"/>
<functiondecl functionName="__uvCloseCb" lineNumber="179"/>
<functiondecl functionName="__destoryCurlContext" lineNumber="185"/>
<functiondecl functionName="__checkMultiInfoTimeout" lineNumber="190"/>
<functiondecl functionName="__checkMultiInfo" lineNumber="231"/>
<functiondecl functionName="__onDlTmoutCb" lineNumber="323"/>
<functiondecl functionName="__onTimeoutCb" lineNumber="346"/>
<functiondecl functionName="__curlTimerCb" lineNumber="355"/>
<functiondecl functionName="__curlPollCb" lineNumber="369"/>
<functiondecl functionName="__curlSockCb" lineNumber="391"/>
<functiondecl functionName="__writeDataCb" lineNumber="439"/>
<functiondecl functionName="__progressCb" lineNumber="486"/>
<functiondecl functionName="__getRemoteSizeCb" lineNumber="505"/>
<functiondecl functionName="__iNetGetRemoteSize" lineNumber="510"/>
<functiondecl functionName="__restartDlFileAsync" lineNumber="535"/>
<functiondecl functionName="InetHttpDlFileAsync" lineNumber="593"/>
<functiondecl functionName="InetCancelDownload" lineNumber="718"/>
<functiondecl functionName="__uploadCb" lineNumber="749"/>
<functiondecl functionName="dump" lineNumber="760"/>
<functiondecl functionName="my_trace" lineNumber="811"/>
<functiondecl functionName="InetHttpUploadFileSync" lineNumber="851"/>
<functiondecl functionName="InetHttpWebServicePostAsync" lineNumber="954"/>
<functiondecl functionName="__curlTaskRuntimeCb" lineNumber="1031"/>
<functiondecl functionName="__getUsernameFromMail" lineNumber="1087"/>
<functiondecl functionName="InetSmtpSendEmail" lineNumber="1123"/>
<functiondecl functionName="InetInit" lineNumber="1223"/>
<functiondecl functionName="InetUnInit" lineNumber="1254"/>
<functiondecl functionName="__addReqIdToTable" lineNumber="67"/>
<functiondecl functionName="__removeReqIdFromTable" lineNumber="91"/>
<functiondecl functionName="__uvFsCloseCb" lineNumber="114"/>
<functiondecl functionName="__uvFsDataSyncCb" lineNumber="149"/>
<functiondecl functionName="__createCurlContext" lineNumber="163"/>
<functiondecl functionName="__uvCloseCb" lineNumber="179"/>
<functiondecl functionName="__destoryCurlContext" lineNumber="185"/>
<functiondecl functionName="__checkMultiInfoTimeout" lineNumber="190"/>
<functiondecl functionName="__checkMultiInfo" lineNumber="231"/>
<functiondecl functionName="__onDlTmoutCb" lineNumber="323"/>
<functiondecl functionName="__onTimeoutCb" lineNumber="346"/>
<functiondecl functionName="__curlTimerCb" lineNumber="355"/>
<functiondecl functionName="__curlPollCb" lineNumber="369"/>
<functiondecl functionName="__curlSockCb" lineNumber="391"/>
<functiondecl functionName="__writeDataCb" lineNumber="439"/>
<functiondecl functionName="__progressCb" lineNumber="486"/>
<functiondecl functionName="__getRemoteSizeCb" lineNumber="505"/>
<functiondecl functionName="__iNetGetRemoteSize" lineNumber="510"/>
<functiondecl functionName="__restartDlFileAsync" lineNumber="535"/>
<functiondecl functionName="InetHttpDlFileAsync" lineNumber="593"/>
<functiondecl functionName="InetCancelDownload" lineNumber="718"/>
<functiondecl functionName="__uploadCb" lineNumber="749"/>
<functiondecl functionName="InetHttpUploadFileSync" lineNumber="851"/>
<functiondecl functionName="InetHttpWebServicePostAsync" lineNumber="954"/>
<functiondecl functionName="__curlTaskRuntimeCb" lineNumber="1031"/>
<functiondecl functionName="__getUsernameFromMail" lineNumber="1087"/>
<functiondecl functionName="InetSmtpSendEmail" lineNumber="1123"/>
<functiondecl functionName="InetInit" lineNumber="1223"/>
<functiondecl functionName="InetUnInit" lineNumber="1254"/>
<functiondecl functionName="__addReqIdToTable" lineNumber="67"/>
<functiondecl functionName="__removeReqIdFromTable" lineNumber="91"/>
<functiondecl functionName="__uvFsCloseCb" lineNumber="114"/>
<functiondecl functionName="__uvFsDataSyncCb" lineNumber="149"/>
<functiondecl functionName="__createCurlContext" lineNumber="163"/>
<functiondecl functionName="__uvCloseCb" lineNumber="179"/>
<functiondecl functionName="__destoryCurlContext" lineNumber="185"/>
<functiondecl functionName="__checkMultiInfoTimeout" lineNumber="190"/>
<functiondecl functionName="__checkMultiInfo" lineNumber="231"/>
<functiondecl functionName="__onDlTmoutCb" lineNumber="323"/>
<functiondecl functionName="__onTimeoutCb" lineNumber="346"/>
<functiondecl functionName="__curlTimerCb" lineNumber="355"/>
<functiondecl functionName="__curlPollCb" lineNumber="369"/>
<functiondecl functionName="__curlSockCb" lineNumber="391"/>
<functiondecl functionName="__writeDataCb" lineNumber="439"/>
<functiondecl functionName="__progressCb" lineNumber="486"/>
<functiondecl functionName="__getRemoteSizeCb" lineNumber="505"/>
<functiondecl functionName="__iNetGetRemoteSize" lineNumber="510"/>
<functiondecl functionName="__restartDlFileAsync" lineNumber="535"/>
<functiondecl functionName="InetHttpDlFileAsync" lineNumber="593"/>
<functiondecl functionName="InetCancelDownload" lineNumber="718"/>
<functiondecl functionName="__uploadCb" lineNumber="749"/>
<functiondecl functionName="InetHttpUploadFileSync" lineNumber="851"/>
<functiondecl functionName="InetHttpWebServicePostAsync" lineNumber="954"/>
<functiondecl functionName="__curlTaskRuntimeCb" lineNumber="1031"/>
<functiondecl functionName="__getUsernameFromMail" lineNumber="1087"/>
<functiondecl functionName="InetSmtpSendEmail" lineNumber="1123"/>
<functiondecl functionName="InetInit" lineNumber="1223"/>
<functiondecl functionName="InetUnInit" lineNumber="1254"/>
<functioncall functionName="CURLE_OPERATION_TIMEDOUT"/>
<functioncall functionName="CURLFORM_COPYCONTENTS"/>
<functioncall functionName="CURLFORM_COPYNAME"/>
<functioncall functionName="CURLFORM_END"/>
<functioncall functionName="CURLFORM_FILE"/>
<functioncall functionName="CURLINFO_CONTENT_LENGTH_DOWNLOAD"/>
<functioncall functionName="CURLINFO_PRIVATE"/>
<functioncall functionName="CURLMOPT_SOCKETFUNCTION"/>
<functioncall functionName="CURLMOPT_TIMERFUNCTION"/>
<functioncall functionName="CURLOPT_ACCEPT_ENCODING"/>
<functioncall functionName="CURLOPT_CONNECTTIMEOUT"/>
<functioncall functionName="CURLOPT_DEBUGDATA"/>
<functioncall functionName="CURLOPT_DEBUGFUNCTION"/>
<functioncall functionName="CURLOPT_FOLLOWLOCATION"/>
<functioncall functionName="CURLOPT_HEADERFUNCTION"/>
<functioncall functionName="CURLOPT_HTTPPOST"/>
<functioncall functionName="CURLOPT_NOBODY"/>
<functioncall functionName="CURLOPT_NOPROGRESS"/>
<functioncall functionName="CURLOPT_POST"/>
<functioncall functionName="CURLOPT_POSTFIELDS"/>
<functioncall functionName="CURLOPT_POSTFIELDSIZE"/>
<functioncall functionName="CURLOPT_PRIVATE"/>
<functioncall functionName="CURLOPT_PROGRESSDATA"/>
<functioncall functionName="CURLOPT_PROGRESSFUNCTION"/>
<functioncall functionName="CURLOPT_SSL_VERIFYHOST"/>
<functioncall functionName="CURLOPT_SSL_VERIFYPEER"/>
<functioncall functionName="CURLOPT_URL"/>
<functioncall functionName="CURLOPT_USERAGENT"/>
<functioncall functionName="CURLOPT_VERBOSE"/>
<functioncall functionName="CURLOPT_WRITEDATA"/>
<functioncall functionName="CURLOPT_WRITEFUNCTION"/>
<functioncall functionName="CURLPAUSE_ALL"/>
<functioncall functionName="CURL_CSELECT_IN"/>
<functioncall functionName="CURL_CSELECT_OUT"/>
<functioncall functionName="CURL_GLOBAL_ALL"/>
<functioncall functionName="CURL_SOCKET_TIMEOUT"/>
<functioncall functionName="CopyFile"/>
<functioncall functionName="DBusLibuvGetRuntime"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MALLOC_MEMORY"/>
<functioncall functionName="ERR_SEND_MAIL"/>
<functioncall functionName="GetPartitionFreeSize"/>
<functioncall functionName="HASH_ADD_STR"/>
<functioncall functionName="HASH_DEL"/>
<functioncall functionName="HASH_FIND_STR"/>
<functioncall functionName="HASH_ITER"/>
<functioncall functionName="INET_HTTP_DOWNLOAD_FILE"/>
<functioncall functionName="INET_HTTP_WEBSERVICE_POST"/>
<functioncall functionName="InetCancelDownload"/>
<functioncall functionName="LIBUV_CURRENT_TIME_S"/>
<functioncall functionName="LL_FOREACH_SAFE"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="MAX_PATH"/>
<functioncall functionName="NULL"/>
<functioncall functionName="O_TRUNC"/>
<functioncall functionName="PHTTP_POST_ATTACH"/>
<functioncall functionName="SAFE_STRING_VALUE"/>
<functioncall functionName="S_IWUSR"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="UV_READABLE"/>
<functioncall functionName="UV_WRITABLE"/>
<functioncall functionName="__FUNCTION__"/>
<functioncall functionName="__addReqIdToTable"/>
<functioncall functionName="__checkMultiInfo"/>
<functioncall functionName="__checkMultiInfoTimeout"/>
<functioncall functionName="__createCurlContext"/>
<functioncall functionName="__curlPollCb"/>
<functioncall functionName="__curlSockCb"/>
<functioncall functionName="__curlTimerCb"/>
<functioncall functionName="__destoryCurlContext"/>
<functioncall functionName="__getRemoteSizeCb"/>
<functioncall functionName="__onDlTmoutCb"/>
<functioncall functionName="__onTimeoutCb"/>
<functioncall functionName="__progressCb"/>
<functioncall functionName="__removeReqIdFromTable"/>
<functioncall functionName="__restartDlFileAsync"/>
<functioncall functionName="__uploadCb"/>
<functioncall functionName="__uvCloseCb"/>
<functioncall functionName="__uvFsCloseCb"/>
<functioncall functionName="__uvFsDataSyncCb"/>
<functioncall functionName="__writeDataCb"/>
<functioncall functionName="base"/>
<functioncall functionName="basename_v2"/>
<functioncall functionName="break"/>
<functioncall functionName="c"/>
<functioncall functionName="char"/>
<functioncall functionName="config"/>
<functioncall functionName="curl_easy_cleanup"/>
<functioncall functionName="curl_easy_getinfo"/>
<functioncall functionName="curl_easy_init"/>
<functioncall functionName="curl_easy_pause"/>
<functioncall functionName="curl_easy_perform"/>
<functioncall functionName="curl_easy_setopt"/>
<functioncall functionName="curl_easy_strerror"/>
<functioncall functionName="curl_formadd"/>
<functioncall functionName="curl_formfree"/>
<functioncall functionName="curl_global_cleanup"/>
<functioncall functionName="curl_global_init"/>
<functioncall functionName="curl_multi_add_handle"/>
<functioncall functionName="curl_multi_assign"/>
<functioncall functionName="curl_multi_cleanup"/>
<functioncall functionName="curl_multi_info_read"/>
<functioncall functionName="curl_multi_init"/>
<functioncall functionName="curl_multi_remove_handle"/>
<functioncall functionName="curl_multi_setopt"/>
<functioncall functionName="curl_multi_socket_action"/>
<functioncall functionName="data"/>
<functioncall functionName="default"/>
<functioncall functionName="dlSize"/>
<functioncall functionName="dump"/>
<functioncall functionName="easy_handle"/>
<functioncall functionName="errCode"/>
<functioncall functionName="fflush"/>
<functioncall functionName="flags"/>
<functioncall functionName="for"/>
<functioncall functionName="fprintf"/>
<functioncall functionName="fputc"/>
<functioncall functionName="fputs"/>
<functioncall functionName="free"/>
<functioncall functionName="g_ReqHandleTbl"/>
<functioncall functionName="g_pCurl"/>
<functioncall functionName="g_pMainLoop"/>
<functioncall functionName="g_uvCurlTm"/>
<functioncall functionName="g_uvDlTm"/>
<functioncall functionName="g_uvHashRwLock"/>
<functioncall functionName="handle"/>
<functioncall functionName="hh"/>
<functioncall functionName="i"/>
<functioncall functionName="iMemSize"/>
<functioncall functionName="iPending"/>
<functioncall functionName="iRun"/>
<functioncall functionName="if"/>
<functioncall functionName="int"/>
<functioncall functionName="long"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="msg"/>
<functioncall functionName="msgId"/>
<functioncall functionName="my_trace"/>
<functioncall functionName="newSize"/>
<functioncall functionName="nohex"/>
<functioncall functionName="onPrgCb"/>
<functioncall functionName="onProgressCb"/>
<functioncall functionName="onRespCb"/>
<functioncall functionName="onRspCb"/>
<functioncall functionName="pAttach"/>
<functioncall functionName="pAttachInfo"/>
<functioncall functionName="pCc"/>
<functioncall functionName="pContext"/>
<functioncall functionName="pCurl"/>
<functioncall functionName="pCurlItem"/>
<functioncall functionName="pData"/>
<functioncall functionName="pDevInfoArray"/>
<functioncall functionName="pErrMsg"/>
<functioncall functionName="pFrom"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pKeyName"/>
<functioncall functionName="pKeyValue"/>
<functioncall functionName="pLastPtr"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pMail"/>
<functioncall functionName="pMailAddr"/>
<functioncall functionName="pMessage"/>
<functioncall functionName="pParams"/>
<functioncall functionName="pPassword"/>
<functioncall functionName="pPath"/>
<functioncall functionName="pPoll"/>
<functioncall functionName="pPost"/>
<functioncall functionName="pReq"/>
<functioncall functionName="pReqUrl"/>
<functioncall functionName="pSmtpServer"/>
<functioncall functionName="pTaskUuid"/>
<functioncall functionName="pTemp"/>
<functioncall functionName="pTitle"/>
<functioncall functionName="pTmp"/>
<functioncall functionName="pTmpItem"/>
<functioncall functionName="pTo"/>
<functioncall functionName="pURL"/>
<functioncall functionName="pUserName"/>
<functioncall functionName="pUsername"/>
<functioncall functionName="puvFs"/>
<functioncall functionName="quickmail_add_attachment_file"/>
<functioncall functionName="quickmail_add_body_memory"/>
<functioncall functionName="quickmail_add_cc"/>
<functioncall functionName="quickmail_add_header"/>
<functioncall functionName="quickmail_add_to"/>
<functioncall functionName="quickmail_create"/>
<functioncall functionName="quickmail_initialize"/>
<functioncall functionName="quickmail_send"/>
<functioncall functionName="realloc"/>
<functioncall functionName="result"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="s"/>
<functioncall functionName="sDlPath"/>
<functioncall functionName="sPath"/>
<functioncall functionName="size"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="smtpPort"/>
<functioncall functionName="sock"/>
<functioncall functionName="socketp"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="stderr"/>
<functioncall functionName="strMsgId"/>
<functioncall functionName="strchr"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="strdup"/>
<functioncall functionName="stream"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strncmp"/>
<functioncall functionName="switch"/>
<functioncall functionName="system"/>
<functioncall functionName="text"/>
<functioncall functionName="timeout_ms"/>
<functioncall functionName="total"/>
<functioncall functionName="trace_ascii"/>
<functioncall functionName="type"/>
<functioncall functionName="unlink"/>
<functioncall functionName="userp"/>
<functioncall functionName="uuid_generate_random"/>
<functioncall functionName="uuid_unparse_lower"/>
<functioncall functionName="uvFsBuf"/>
<functioncall functionName="uvFsClose"/>
<functioncall functionName="uvFsDataSync"/>
<functioncall functionName="uvFsOpen"/>
<functioncall functionName="uvFsWrite"/>
<functioncall functionName="uvPool"/>
<functioncall functionName="uv_buf_init"/>
<functioncall functionName="uv_close"/>
<functioncall functionName="uv_fs_close"/>
<functioncall functionName="uv_fs_fdatasync"/>
<functioncall functionName="uv_fs_open"/>
<functioncall functionName="uv_fs_req_cleanup"/>
<functioncall functionName="uv_fs_write"/>
<functioncall functionName="uv_poll_init_socket"/>
<functioncall functionName="uv_poll_start"/>
<functioncall functionName="uv_poll_stop"/>
<functioncall functionName="uv_rwlock_init"/>
<functioncall functionName="uv_rwlock_rdlock"/>
<functioncall functionName="uv_rwlock_rdunlock"/>
<functioncall functionName="uv_rwlock_wrlock"/>
<functioncall functionName="uv_rwlock_wrunlock"/>
<functioncall functionName="uv_timer_init"/>
<functioncall functionName="uv_timer_start"/>
<functioncall functionName="uv_timer_stop"/>
<functioncall functionName="void"/>
<functioncall functionName="what"/>
<functioncall functionName="while"/>
<functioncall functionName="width"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,65 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2462071622">
<error id="unusedVariable" severity="style" msg="Unused variable: pRoot" verbose="Unused variable: pRoot" cwe="563">
<location file0="G:\MyProjects\SmartAudio\Framework\Configure\ini_prase.c" file="G:\MyProjects\SmartAudio\Framework\Configure\ini_prase.c" line="141"/>
</error>
<error id="unusedVariable" severity="style" msg="Unused variable: pSetting" verbose="Unused variable: pSetting" cwe="563">
<location file0="G:\MyProjects\SmartAudio\Framework\Configure\ini_prase.c" file="G:\MyProjects\SmartAudio\Framework\Configure\ini_prase.c" line="141"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="InitCfgToCfgFile" lineNumber="22"/>
<functiondecl functionName="CfgGetIntValue" lineNumber="71"/>
<functiondecl functionName="CfgGetStringValue" lineNumber="88"/>
<functiondecl functionName="CfgGetFloatValue" lineNumber="105"/>
<functiondecl functionName="CfgGetBoolValue" lineNumber="122"/>
<functiondecl functionName="CfgFileInit" lineNumber="139"/>
<functiondecl functionName="InitCfgToCfgFile" lineNumber="22"/>
<functiondecl functionName="CfgGetIntValue" lineNumber="71"/>
<functiondecl functionName="CfgGetStringValue" lineNumber="88"/>
<functiondecl functionName="CfgGetFloatValue" lineNumber="105"/>
<functiondecl functionName="CfgGetBoolValue" lineNumber="122"/>
<functiondecl functionName="CfgFileInit" lineNumber="139"/>
<functioncall functionName="CONFIG_FORMAT_HEX"/>
<functioncall functionName="CONFIG_TYPE_BOOL"/>
<functioncall functionName="CONFIG_TYPE_GROUP"/>
<functioncall functionName="CONFIG_TYPE_INT"/>
<functioncall functionName="CONFIG_TYPE_STRING"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="InitCfgToCfgFile"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="access"/>
<functioncall functionName="config_init"/>
<functioncall functionName="config_lookup_bool"/>
<functioncall functionName="config_lookup_float"/>
<functioncall functionName="config_lookup_int"/>
<functioncall functionName="config_lookup_string"/>
<functioncall functionName="config_read_file"/>
<functioncall functionName="config_root_setting"/>
<functioncall functionName="config_set_tab_width"/>
<functioncall functionName="config_setting_add"/>
<functioncall functionName="config_setting_set_bool"/>
<functioncall functionName="config_setting_set_format"/>
<functioncall functionName="config_setting_set_int"/>
<functioncall functionName="config_setting_set_string"/>
<functioncall functionName="config_write_file"/>
<functioncall functionName="dValue"/>
<functioncall functionName="defValue"/>
<functioncall functionName="g_cfgInfo"/>
<functioncall functionName="iValue"/>
<functioncall functionName="if"/>
<functioncall functionName="pCfg"/>
<functioncall functionName="pDefValue"/>
<functioncall functionName="pGlobalgrp"/>
<functioncall functionName="pLogGrp"/>
<functioncall functionName="pRoot"/>
<functioncall functionName="pSetting"/>
<functioncall functionName="pSubGrp"/>
<functioncall functionName="pTags"/>
<functioncall functionName="pValue"/>
<functioncall functionName="return"/>
<functioncall functionName="strlen"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,278 @@
<?xml version="1.0"?>
<analyzerinfo checksum="4152775437">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__ping_MSG2Json" lineNumber="26"/>
<functiondecl functionName="__json2PING_MSG" lineNumber="43"/>
<functiondecl functionName="__cfg_API_REQ2Json" lineNumber="60"/>
<functiondecl functionName="__json2CFG_API_REQ" lineNumber="77"/>
<functiondecl functionName="__cfg_API_REQBase64" lineNumber="94"/>
<functiondecl functionName="__cfg_API_RSP2Json" lineNumber="137"/>
<functiondecl functionName="__json2CFG_API_RSP" lineNumber="155"/>
<functiondecl functionName="__cfg_API_RSPBase64" lineNumber="173"/>
<functiondecl functionName="__player_TO_CTRL2Json" lineNumber="215"/>
<functiondecl functionName="__json2PLAYER_TO_CTRL" lineNumber="235"/>
<functiondecl functionName="__player_TO_CTRLBase64" lineNumber="253"/>
<functiondecl functionName="__ctrl_TO_PLAYER2Json" lineNumber="279"/>
<functiondecl functionName="__json2CTRL_TO_PLAYER" lineNumber="300"/>
<functiondecl functionName="__ctrl_TO_PLAYERBase64" lineNumber="331"/>
<functiondecl functionName="__ota_Notify_REQ2Json" lineNumber="451"/>
<functiondecl functionName="__json2OTA_Notify_REQ" lineNumber="473"/>
<functiondecl functionName="__ota_NotifyBase64" lineNumber="495"/>
<functiondecl functionName="__ota_Status_RSP2Json" lineNumber="521"/>
<functiondecl functionName="__json2OTA_Status_RSP" lineNumber="537"/>
<functiondecl functionName="__alarm_Run_Event_RSP2Json" lineNumber="553"/>
<functiondecl functionName="__getAlarmDateTimeInfo" lineNumber="588"/>
<functiondecl functionName="__json2Alarm_sync_RSP" lineNumber="701"/>
<functiondecl functionName="__alarm_Status_RSP2Json" lineNumber="779"/>
<functiondecl functionName="__json2Alarm_Status_RSP" lineNumber="797"/>
<functiondecl functionName="__alarm_change_RSP2Json" lineNumber="814"/>
<functiondecl functionName="__json2Alarm_change_RSP" lineNumber="831"/>
<functiondecl functionName="__alarm_WorkData_RSP2Json" lineNumber="959"/>
<functiondecl functionName="__json2Alarm_WorkData_RSP" lineNumber="974"/>
<functiondecl functionName="__logCfg_RSP2Json" lineNumber="991"/>
<functiondecl functionName="__json2LogCfg_RSP" lineNumber="1008"/>
<functiondecl functionName="__wifiStatus_RSP2Json" lineNumber="1025"/>
<functiondecl functionName="__json2WifiStatus_RSP" lineNumber="1040"/>
<functiondecl functionName="__json2McuGuideCmd_RSP" lineNumber="1055"/>
<functiondecl functionName="__json2McuMatrixCmd_RSP" lineNumber="1072"/>
<functiondecl functionName="__mcuVersion_RSP2Json" lineNumber="1087"/>
<functiondecl functionName="Json2Struct" lineNumber="1123"/>
<functiondecl functionName="Struct2Json" lineNumber="1161"/>
<functioncall functionName="ASSISTANT_ITEM_INFO"/>
<functioncall functionName="ASSISTANT_NOTIFY_INFO"/>
<functioncall functionName="ASSISTANT_RSP_STATUS"/>
<functioncall functionName="ASSISTANT_SYNC_INFO"/>
<functioncall functionName="CFG_API_REQ"/>
<functioncall functionName="CFG_API_RSP"/>
<functioncall functionName="CTRL_TO_PLAYER"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="EvpBase64Decode"/>
<functioncall functionName="EvpBase64DecodeNoAlign"/>
<functioncall functionName="EvpBase64Encode"/>
<functioncall functionName="EvpBase64EncodeNoAlign"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="JSON_ENGINE_ASSISTANT_NOTIFY"/>
<functioncall functionName="JSON_ENGINE_ASSISTANT_RUNNING"/>
<functioncall functionName="JSON_ENGINE_ASSISTANT_STATUS"/>
<functioncall functionName="JSON_ENGINE_ASSISTANT_SYNC_RSP"/>
<functioncall functionName="JSON_ENGINE_C2P"/>
<functioncall functionName="JSON_ENGINE_CFG_REQ"/>
<functioncall functionName="JSON_ENGINE_CFG_RSP"/>
<functioncall functionName="JSON_ENGINE_LOG_CFG_CMD"/>
<functioncall functionName="JSON_ENGINE_OTA_REQ"/>
<functioncall functionName="JSON_ENGINE_OTA_RSP"/>
<functioncall functionName="JSON_ENGINE_P2C"/>
<functioncall functionName="JSON_ENGINE_PING"/>
<functioncall functionName="JSON_ENGINE_WORKDAY_REQ"/>
<functioncall functionName="JSON_MCU_GUIDE_TEST_CMD"/>
<functioncall functionName="JSON_MCU_MATRIX_TEST_CMD"/>
<functioncall functionName="JSON_MCU_TEST_GET_VER_CMD"/>
<functioncall functionName="JSON_WIFI_STATUS_NOTIFY"/>
<functioncall functionName="LOG_CFG_PROTOCOL"/>
<functioncall functionName="MAX_CFG_KEY_NAME"/>
<functioncall functionName="MAX_CFG_KEY_VALUE"/>
<functioncall functionName="MAX_MUSIC_UUID"/>
<functioncall functionName="MAX_TIP_LEN"/>
<functioncall functionName="MCU_TEST_GUIDE_CMD"/>
<functioncall functionName="MCU_TEST_MATRIX_CMD"/>
<functioncall functionName="McuVer"/>
<functioncall functionName="NULL"/>
<functioncall functionName="OTA_DATA_INFO"/>
<functioncall functionName="OTA_FILE_INFO"/>
<functioncall functionName="OTA_RSP_STATUS"/>
<functioncall functionName="PASSISTANT_ITEM_INFO"/>
<functioncall functionName="PASSISTANT_NOTIFY_INFO"/>
<functioncall functionName="PASSISTANT_RSP_STATUS"/>
<functioncall functionName="PASSISTANT_SYNC_INFO"/>
<functioncall functionName="PCFG_API_REQ"/>
<functioncall functionName="PCFG_API_RSP"/>
<functioncall functionName="PCTRL_TO_PLAYER"/>
<functioncall functionName="PING"/>
<functioncall functionName="PING_MSG"/>
<functioncall functionName="PLAYER_TO_CTRL"/>
<functioncall functionName="PLOG_CFG_PROTOCOL"/>
<functioncall functionName="PMCU_TEST_VER_CMD"/>
<functioncall functionName="POTA_DATA_INFO"/>
<functioncall functionName="POTA_RSP_STATUS"/>
<functioncall functionName="PPING_MSG"/>
<functioncall functionName="PPLAYER_TO_CTRL"/>
<functioncall functionName="PWIFI_STATUS_PRO"/>
<functioncall functionName="PWORKDAY_INFO"/>
<functioncall functionName="SIZE_1K"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="WIFI_STATUS_PRO"/>
<functioncall functionName="WORKDAY_INFO"/>
<functioncall functionName="__alarm_Run_Event_RSP2Json"/>
<functioncall functionName="__alarm_Status_RSP2Json"/>
<functioncall functionName="__alarm_WorkData_RSP2Json"/>
<functioncall functionName="__alarm_change_RSP2Json"/>
<functioncall functionName="__cfg_API_REQ2Json"/>
<functioncall functionName="__cfg_API_REQBase64"/>
<functioncall functionName="__cfg_API_RSP2Json"/>
<functioncall functionName="__cfg_API_RSPBase64"/>
<functioncall functionName="__ctrl_TO_PLAYER2Json"/>
<functioncall functionName="__ctrl_TO_PLAYERBase64"/>
<functioncall functionName="__getAlarmDateTimeInfo"/>
<functioncall functionName="__json2Alarm_Status_RSP"/>
<functioncall functionName="__json2Alarm_WorkData_RSP"/>
<functioncall functionName="__json2Alarm_change_RSP"/>
<functioncall functionName="__json2Alarm_sync_RSP"/>
<functioncall functionName="__json2CFG_API_REQ"/>
<functioncall functionName="__json2CFG_API_RSP"/>
<functioncall functionName="__json2CTRL_TO_PLAYER"/>
<functioncall functionName="__json2LogCfg_RSP"/>
<functioncall functionName="__json2McuGuideCmd_RSP"/>
<functioncall functionName="__json2McuMatrixCmd_RSP"/>
<functioncall functionName="__json2OTA_Notify_REQ"/>
<functioncall functionName="__json2OTA_Status_RSP"/>
<functioncall functionName="__json2PING_MSG"/>
<functioncall functionName="__json2PLAYER_TO_CTRL"/>
<functioncall functionName="__json2WifiStatus_RSP"/>
<functioncall functionName="__logCfg_RSP2Json"/>
<functioncall functionName="__mcuVersion_RSP2Json"/>
<functioncall functionName="__ota_NotifyBase64"/>
<functioncall functionName="__ota_Notify_REQ2Json"/>
<functioncall functionName="__ota_Status_RSP2Json"/>
<functioncall functionName="__ping_MSG2Json"/>
<functioncall functionName="__player_TO_CTRL2Json"/>
<functioncall functionName="__player_TO_CTRLBase64"/>
<functioncall functionName="__wifiStatus_RSP2Json"/>
<functioncall functionName="adSrcType"/>
<functioncall functionName="arraySize"/>
<functioncall functionName="backGroundUrl"/>
<functioncall functionName="base64Cb"/>
<functioncall functionName="blue"/>
<functioncall functionName="bytes"/>
<functioncall functionName="cJSON_AddItemToObject"/>
<functioncall functionName="cJSON_AddNumberToObject"/>
<functioncall functionName="cJSON_AddStringToObject"/>
<functioncall functionName="cJSON_CreateArray"/>
<functioncall functionName="cJSON_CreateObject"/>
<functioncall functionName="cJSON_Delete"/>
<functioncall functionName="cJSON_GetArrayItem"/>
<functioncall functionName="cJSON_GetArraySize"/>
<functioncall functionName="cJSON_GetObjectItem"/>
<functioncall functionName="cJSON_Parse"/>
<functioncall functionName="cJSON_Print"/>
<functioncall functionName="cfgCmd"/>
<functioncall functionName="channel"/>
<functioncall functionName="child"/>
<functioncall functionName="cmd"/>
<functioncall functionName="curPos"/>
<functioncall functionName="day"/>
<functioncall functionName="days"/>
<functioncall functionName="double"/>
<functioncall functionName="duration"/>
<functioncall functionName="enCode"/>
<functioncall functionName="errNo"/>
<functioncall functionName="fifo"/>
<functioncall functionName="for"/>
<functioncall functionName="free"/>
<functioncall functionName="gain"/>
<functioncall functionName="green"/>
<functioncall functionName="hour"/>
<functioncall functionName="i"/>
<functioncall functionName="iParams1"/>
<functioncall functionName="iParams2"/>
<functioncall functionName="ids"/>
<functioncall functionName="if"/>
<functioncall functionName="int"/>
<functioncall functionName="itemId"/>
<functioncall functionName="itemType"/>
<functioncall functionName="j2sCb"/>
<functioncall functionName="jObject"/>
<functioncall functionName="json_otaRes"/>
<functioncall functionName="keyName"/>
<functioncall functionName="keyType"/>
<functioncall functionName="keyValue"/>
<functioncall functionName="level"/>
<functioncall functionName="localtime_r"/>
<functioncall functionName="long"/>
<functioncall functionName="malloc"/>
<functioncall functionName="md5"/>
<functioncall functionName="memset"/>
<functioncall functionName="minute"/>
<functioncall functionName="month"/>
<functioncall functionName="musicUuid"/>
<functioncall functionName="nItems"/>
<functioncall functionName="next"/>
<functioncall functionName="otaCmd"/>
<functioncall functionName="otaFileInfo"/>
<functioncall functionName="otaMode"/>
<functioncall functionName="pBase64"/>
<functioncall functionName="pC2P"/>
<functioncall functionName="pData"/>
<functioncall functionName="pErr"/>
<functioncall functionName="pInfo"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pJson"/>
<functioncall functionName="pJsonS"/>
<functioncall functionName="pJsonStr"/>
<functioncall functionName="pJsongStr"/>
<functioncall functionName="pList"/>
<functioncall functionName="pP2C"/>
<functioncall functionName="pReq"/>
<functioncall functionName="pRoot"/>
<functioncall functionName="pStrDay"/>
<functioncall functionName="pStrHour"/>
<functioncall functionName="pStrMinute"/>
<functioncall functionName="pStrMonth"/>
<functioncall functionName="pStrSecond"/>
<functioncall functionName="pStrWeekDay"/>
<functioncall functionName="pStrYear"/>
<functioncall functionName="pStruct"/>
<functioncall functionName="pSubArray"/>
<functioncall functionName="playerId"/>
<functioncall functionName="plyListType"/>
<functioncall functionName="plyMode"/>
<functioncall functionName="plySt"/>
<functioncall functionName="priority"/>
<functioncall functionName="red"/>
<functioncall functionName="repeatMode"/>
<functioncall functionName="return"/>
<functioncall functionName="s2jCb"/>
<functioncall functionName="s2j_create_json_obj"/>
<functioncall functionName="s2j_create_struct_obj"/>
<functioncall functionName="s2j_json_set_array_element"/>
<functioncall functionName="s2j_json_set_basic_element"/>
<functioncall functionName="s2j_json_set_struct_element"/>
<functioncall functionName="s2j_struct_get_array_element"/>
<functioncall functionName="s2j_struct_get_basic_element"/>
<functioncall functionName="s2j_struct_get_struct_element"/>
<functioncall functionName="sObject"/>
<functioncall functionName="sampleRate"/>
<functioncall functionName="second"/>
<functioncall functionName="size"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="skTime"/>
<functioncall functionName="src"/>
<functioncall functionName="srcUuid"/>
<functioncall functionName="status"/>
<functioncall functionName="strTips"/>
<functioncall functionName="strchr"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="string"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strtoul"/>
<functioncall functionName="struct_otaRes"/>
<functioncall functionName="time"/>
<functioncall functionName="timep"/>
<functioncall functionName="tmMSec"/>
<functioncall functionName="tmNow"/>
<functioncall functionName="tmSec"/>
<functioncall functionName="ttsText"/>
<functioncall functionName="type"/>
<functioncall functionName="url"/>
<functioncall functionName="val"/>
<functioncall functionName="valuedouble"/>
<functioncall functionName="valueint"/>
<functioncall functionName="valuestring"/>
<functioncall functionName="version"/>
<functioncall functionName="voiceId"/>
<functioncall functionName="volBegin"/>
<functioncall functionName="volRestoreTime"/>
<functioncall functionName="weekDay"/>
<functioncall functionName="wifi_evt"/>
<functioncall functionName="year"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<results version="2">
<cppcheck version="1.81"/>
<errors>
<error id="invalidPrintfArgType_sint" severity="warning" msg="%d in format string (no. 1) requires &amp;#039;int&amp;#039; but the argument type is &amp;#039;unsigned int&amp;#039;." verbose="%d in format string (no. 1) requires &amp;#039;int&amp;#039; but the argument type is &amp;#039;unsigned int&amp;#039;." sinceDate="2018/2/8 星期四">
<location file="Example\main.c" line="1346"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &amp;#039;PLATFORM_R16&amp;#039; was not checked because its code equals another one." verbose="The configuration &amp;#039;PLATFORM_R16&amp;#039; was not checked because its code equals another one." sinceDate="2018/2/8 星期四">
<location file="Example\main.c" line="0"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &amp;#039;PLATFORM_R16&amp;#039; was not checked because its code equals another one." verbose="The configuration &amp;#039;PLATFORM_R16&amp;#039; was not checked because its code equals another one." sinceDate="2018/2/8 星期四">
<location file="Modules\ConfigServer\config_server.c" line="0"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &amp;#039;PLATFORM_CPU;PLATFORM_R16&amp;#039; was not checked because its code equals another one." verbose="The configuration &amp;#039;PLATFORM_CPU;PLATFORM_R16&amp;#039; was not checked because its code equals another one." sinceDate="2018/2/8 星期四">
<location file="Modules\LogCtrl\log_ctrl.c" line="0"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &amp;#039;strPath&amp;#039; is being written before its old content has been used." verbose="Buffer &amp;#039;strPath&amp;#039; is being written before its old content has been used." sinceDate="2018/2/8 星期四">
<location file="log\log.c" line="876" info=""/>
<location file="log\log.c" line="875" info=""/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &amp;#039;PLATFORM_R16&amp;#039; was not checked because its code equals another one." verbose="The configuration &amp;#039;PLATFORM_R16&amp;#039; was not checked because its code equals another one." sinceDate="2018/2/8 星期四">
<location file="log\log.c" line="0"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &amp;#039;PLATFORM_CPU;PLATFORM_R16&amp;#039; was not checked because its code equals another one." verbose="The configuration &amp;#039;PLATFORM_CPU;PLATFORM_R16&amp;#039; was not checked because its code equals another one." sinceDate="2018/2/8 星期四">
<location file="Modules\Alarm\assistant.c" line="0"/>
</error>
</errors>
</results>

View File

@ -0,0 +1,587 @@
<?xml version="1.0"?>
<analyzerinfo checksum="146321492">
<error id="variableScope" severity="style" msg="The scope of the variable &apos;more&apos; can be reduced." verbose="The scope of the variable &apos;more&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\MyProjects\SmartAudio\Framework\libuvEngine\libuv_dbus.c" file="G:\MyProjects\SmartAudio\Framework\libuvEngine\libuv_dbus.c" line="1238"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="DBusLibuvGetRuntime" lineNumber="189"/>
<functiondecl functionName="DBusLibGetModName" lineNumber="199"/>
<functiondecl functionName="GetDBusDefaultLoop" lineNumber="204"/>
<functiondecl functionName="uvAsyncCb" lineNumber="214"/>
<functiondecl functionName="uvTimeoutCb" lineNumber="222"/>
<functiondecl functionName="uvPollCb" lineNumber="228"/>
<functiondecl functionName="uvIdleCb" lineNumber="246"/>
<functiondecl functionName="uvFsAccessCb" lineNumber="251"/>
<functiondecl functionName="uvReadKeyEventCb" lineNumber="262"/>
<functiondecl functionName="uvOpenKeyEventCb" lineNumber="296"/>
<functiondecl functionName="DBusAsyncFreeCb" lineNumber="317"/>
<functiondecl functionName="DBusPollFreeCb" lineNumber="328"/>
<functiondecl functionName="DBusAddWatchCb" lineNumber="342"/>
<functiondecl functionName="DBusRemoveWatchCb" lineNumber="380"/>
<functiondecl functionName="DBusNotifyWatchCb" lineNumber="390"/>
<functiondecl functionName="DBusTimeoutFreeCb" lineNumber="402"/>
<functiondecl functionName="DBusAddTimeoutCb" lineNumber="417"/>
<functiondecl functionName="DBusRemoveTimeoutCb" lineNumber="438"/>
<functiondecl functionName="DBusNotifyTimeoutCb" lineNumber="448"/>
<functiondecl functionName="DBusWakeupMainLoopCb" lineNumber="460"/>
<functiondecl functionName="FreeDBusOnMsgCb" lineNumber="466"/>
<functiondecl functionName="DBusOnBoardcastMsgWorkCb" lineNumber="480"/>
<functiondecl functionName="DBusOnMsgWorkAPICb" lineNumber="554"/>
<functiondecl functionName="DBusOnMsgCb" lineNumber="662"/>
<functiondecl functionName="freeSHMResource" lineNumber="841"/>
<functiondecl functionName="FreeDBusSendToAsyncCb" lineNumber="852"/>
<functiondecl functionName="DBusSendToAsyncCb" lineNumber="860"/>
<functiondecl functionName="DBusJsonSendToCommandAsync" lineNumber="879"/>
<functiondecl functionName="DBusJsonSendToCommand" lineNumber="915"/>
<functiondecl functionName="DBusJsonBoardcastCommand" lineNumber="937"/>
<functiondecl functionName="__getShmReqId" lineNumber="958"/>
<functiondecl functionName="DBusSendToCommand" lineNumber="973"/>
<functiondecl functionName="DBusBoardcastCommand" lineNumber="1117"/>
<functiondecl functionName="__addNewLoopTask" lineNumber="1177"/>
<functiondecl functionName="__uvLoopRuntime" lineNumber="1210"/>
<functiondecl functionName="__runUVLoopTask" lineNumber="1224"/>
<functiondecl functionName="RunUVLoop" lineNumber="1235"/>
<functiondecl functionName="__uvMsgProc" lineNumber="1311"/>
<functiondecl functionName="DBusWithLibuvInit" lineNumber="1367"/>
<functiondecl functionName="DBusWithLibuvCfgInit" lineNumber="1571"/>
<functiondecl functionName="GetShellExecResult" lineNumber="1585"/>
<functiondecl functionName="GetCpuChipId" lineNumber="1622"/>
<functiondecl functionName="GetCpuSerial" lineNumber="1643"/>
<functiondecl functionName="CopyFile" lineNumber="1664"/>
<functiondecl functionName="CopyFileWithSize" lineNumber="1709"/>
<functiondecl functionName="ReadFileToBuf" lineNumber="1760"/>
<functiondecl functionName="__reqWorkDayInfo" lineNumber="1800"/>
<functiondecl functionName="CurrentIsWorkDay" lineNumber="1830"/>
<functiondecl functionName="GetPartitionFreeSize" lineNumber="1877"/>
<functiondecl functionName="GetCurrentVersion" lineNumber="1900"/>
<functiondecl functionName="GetCurrWIFIConnStatus" lineNumber="1906"/>
<functiondecl functionName="ErrcodeToString" lineNumber="1911"/>
<functiondecl functionName="DBusCmdToString" lineNumber="1984"/>
<functiondecl functionName="ModuleNameToString" lineNumber="2093"/>
<functiondecl functionName="DBusLibuvGetRuntime" lineNumber="189"/>
<functiondecl functionName="DBusLibGetModName" lineNumber="199"/>
<functiondecl functionName="GetDBusDefaultLoop" lineNumber="204"/>
<functiondecl functionName="uvAsyncCb" lineNumber="214"/>
<functiondecl functionName="uvTimeoutCb" lineNumber="222"/>
<functiondecl functionName="uvPollCb" lineNumber="228"/>
<functiondecl functionName="uvIdleCb" lineNumber="246"/>
<functiondecl functionName="uvFsAccessCb" lineNumber="251"/>
<functiondecl functionName="uvReadKeyEventCb" lineNumber="262"/>
<functiondecl functionName="uvOpenKeyEventCb" lineNumber="296"/>
<functiondecl functionName="DBusAsyncFreeCb" lineNumber="317"/>
<functiondecl functionName="DBusPollFreeCb" lineNumber="328"/>
<functiondecl functionName="DBusAddWatchCb" lineNumber="342"/>
<functiondecl functionName="DBusRemoveWatchCb" lineNumber="380"/>
<functiondecl functionName="DBusNotifyWatchCb" lineNumber="390"/>
<functiondecl functionName="DBusTimeoutFreeCb" lineNumber="402"/>
<functiondecl functionName="DBusAddTimeoutCb" lineNumber="417"/>
<functiondecl functionName="DBusRemoveTimeoutCb" lineNumber="438"/>
<functiondecl functionName="DBusNotifyTimeoutCb" lineNumber="448"/>
<functiondecl functionName="DBusWakeupMainLoopCb" lineNumber="460"/>
<functiondecl functionName="FreeDBusOnMsgCb" lineNumber="466"/>
<functiondecl functionName="DBusOnBoardcastMsgWorkCb" lineNumber="480"/>
<functiondecl functionName="DBusOnMsgWorkAPICb" lineNumber="554"/>
<functiondecl functionName="DBusOnMsgCb" lineNumber="662"/>
<functiondecl functionName="freeSHMResource" lineNumber="841"/>
<functiondecl functionName="FreeDBusSendToAsyncCb" lineNumber="852"/>
<functiondecl functionName="DBusSendToAsyncCb" lineNumber="860"/>
<functiondecl functionName="DBusJsonSendToCommandAsync" lineNumber="879"/>
<functiondecl functionName="DBusJsonSendToCommand" lineNumber="915"/>
<functiondecl functionName="DBusJsonBoardcastCommand" lineNumber="937"/>
<functiondecl functionName="__getShmReqId" lineNumber="958"/>
<functiondecl functionName="DBusSendToCommand" lineNumber="973"/>
<functiondecl functionName="DBusBoardcastCommand" lineNumber="1117"/>
<functiondecl functionName="__addNewLoopTask" lineNumber="1177"/>
<functiondecl functionName="__uvLoopRuntime" lineNumber="1210"/>
<functiondecl functionName="__runUVLoopTask" lineNumber="1224"/>
<functiondecl functionName="RunUVLoop" lineNumber="1235"/>
<functiondecl functionName="__uvMsgProc" lineNumber="1311"/>
<functiondecl functionName="DBusWithLibuvInit" lineNumber="1367"/>
<functiondecl functionName="DBusWithLibuvCfgInit" lineNumber="1571"/>
<functiondecl functionName="GetShellExecResult" lineNumber="1585"/>
<functiondecl functionName="GetCpuChipId" lineNumber="1622"/>
<functiondecl functionName="GetCpuSerial" lineNumber="1643"/>
<functiondecl functionName="CopyFile" lineNumber="1664"/>
<functiondecl functionName="CopyFileWithSize" lineNumber="1709"/>
<functiondecl functionName="ReadFileToBuf" lineNumber="1760"/>
<functiondecl functionName="__reqWorkDayInfo" lineNumber="1800"/>
<functiondecl functionName="CurrentIsWorkDay" lineNumber="1830"/>
<functiondecl functionName="GetPartitionFreeSize" lineNumber="1877"/>
<functiondecl functionName="GetCurrentVersion" lineNumber="1900"/>
<functiondecl functionName="GetCurrWIFIConnStatus" lineNumber="1906"/>
<functiondecl functionName="ErrcodeToString" lineNumber="1911"/>
<functiondecl functionName="DBusCmdToString" lineNumber="1984"/>
<functiondecl functionName="ModuleNameToString" lineNumber="2093"/>
<functiondecl functionName="DBusLibuvGetRuntime" lineNumber="189"/>
<functiondecl functionName="DBusLibGetModName" lineNumber="199"/>
<functiondecl functionName="GetDBusDefaultLoop" lineNumber="204"/>
<functiondecl functionName="uvAsyncCb" lineNumber="214"/>
<functiondecl functionName="uvTimeoutCb" lineNumber="222"/>
<functiondecl functionName="uvPollCb" lineNumber="228"/>
<functiondecl functionName="uvIdleCb" lineNumber="246"/>
<functiondecl functionName="uvFsAccessCb" lineNumber="251"/>
<functiondecl functionName="uvReadKeyEventCb" lineNumber="262"/>
<functiondecl functionName="uvOpenKeyEventCb" lineNumber="296"/>
<functiondecl functionName="DBusAsyncFreeCb" lineNumber="317"/>
<functiondecl functionName="DBusPollFreeCb" lineNumber="328"/>
<functiondecl functionName="DBusAddWatchCb" lineNumber="342"/>
<functiondecl functionName="DBusRemoveWatchCb" lineNumber="380"/>
<functiondecl functionName="DBusNotifyWatchCb" lineNumber="390"/>
<functiondecl functionName="DBusTimeoutFreeCb" lineNumber="402"/>
<functiondecl functionName="DBusAddTimeoutCb" lineNumber="417"/>
<functiondecl functionName="DBusRemoveTimeoutCb" lineNumber="438"/>
<functiondecl functionName="DBusNotifyTimeoutCb" lineNumber="448"/>
<functiondecl functionName="DBusWakeupMainLoopCb" lineNumber="460"/>
<functiondecl functionName="FreeDBusOnMsgCb" lineNumber="466"/>
<functiondecl functionName="DBusOnBoardcastMsgWorkCb" lineNumber="480"/>
<functiondecl functionName="DBusOnMsgWorkAPICb" lineNumber="554"/>
<functiondecl functionName="DBusOnMsgCb" lineNumber="662"/>
<functiondecl functionName="freeSHMResource" lineNumber="841"/>
<functiondecl functionName="FreeDBusSendToAsyncCb" lineNumber="852"/>
<functiondecl functionName="DBusSendToAsyncCb" lineNumber="860"/>
<functiondecl functionName="DBusJsonSendToCommandAsync" lineNumber="879"/>
<functiondecl functionName="DBusJsonSendToCommand" lineNumber="915"/>
<functiondecl functionName="DBusJsonBoardcastCommand" lineNumber="937"/>
<functiondecl functionName="__getShmReqId" lineNumber="958"/>
<functiondecl functionName="DBusSendToCommand" lineNumber="973"/>
<functiondecl functionName="DBusBoardcastCommand" lineNumber="1117"/>
<functiondecl functionName="__addNewLoopTask" lineNumber="1177"/>
<functiondecl functionName="__uvLoopRuntime" lineNumber="1210"/>
<functiondecl functionName="__runUVLoopTask" lineNumber="1224"/>
<functiondecl functionName="RunUVLoop" lineNumber="1235"/>
<functiondecl functionName="__uvMsgProc" lineNumber="1311"/>
<functiondecl functionName="DBusWithLibuvInit" lineNumber="1367"/>
<functiondecl functionName="DBusWithLibuvCfgInit" lineNumber="1571"/>
<functiondecl functionName="GetShellExecResult" lineNumber="1585"/>
<functiondecl functionName="GetCpuChipId" lineNumber="1622"/>
<functiondecl functionName="GetCpuSerial" lineNumber="1643"/>
<functiondecl functionName="CopyFile" lineNumber="1664"/>
<functiondecl functionName="CopyFileWithSize" lineNumber="1709"/>
<functiondecl functionName="ReadFileToBuf" lineNumber="1760"/>
<functiondecl functionName="__reqWorkDayInfo" lineNumber="1800"/>
<functiondecl functionName="CurrentIsWorkDay" lineNumber="1830"/>
<functiondecl functionName="GetPartitionFreeSize" lineNumber="1877"/>
<functiondecl functionName="GetCurrentVersion" lineNumber="1900"/>
<functiondecl functionName="GetCurrWIFIConnStatus" lineNumber="1906"/>
<functiondecl functionName="ErrcodeToString" lineNumber="1911"/>
<functiondecl functionName="DBusCmdToString" lineNumber="1984"/>
<functiondecl functionName="ModuleNameToString" lineNumber="2093"/>
<functiondecl functionName="__addShmIdToTable" lineNumber="95"/>
<functiondecl functionName="__removeReqIdFromTable" lineNumber="120"/>
<functiondecl functionName="__uvShmTblTaskThreadCb" lineNumber="137"/>
<functiondecl functionName="DBusLibuvGetRuntime" lineNumber="189"/>
<functiondecl functionName="DBusLibGetModName" lineNumber="199"/>
<functiondecl functionName="GetDBusDefaultLoop" lineNumber="204"/>
<functiondecl functionName="uvAsyncCb" lineNumber="214"/>
<functiondecl functionName="uvTimeoutCb" lineNumber="222"/>
<functiondecl functionName="uvPollCb" lineNumber="228"/>
<functiondecl functionName="uvIdleCb" lineNumber="246"/>
<functiondecl functionName="uvFsAccessCb" lineNumber="251"/>
<functiondecl functionName="uvReadKeyEventCb" lineNumber="262"/>
<functiondecl functionName="uvOpenKeyEventCb" lineNumber="296"/>
<functiondecl functionName="DBusAsyncFreeCb" lineNumber="317"/>
<functiondecl functionName="DBusPollFreeCb" lineNumber="328"/>
<functiondecl functionName="DBusAddWatchCb" lineNumber="342"/>
<functiondecl functionName="DBusRemoveWatchCb" lineNumber="380"/>
<functiondecl functionName="DBusNotifyWatchCb" lineNumber="390"/>
<functiondecl functionName="DBusTimeoutFreeCb" lineNumber="402"/>
<functiondecl functionName="DBusAddTimeoutCb" lineNumber="417"/>
<functiondecl functionName="DBusRemoveTimeoutCb" lineNumber="438"/>
<functiondecl functionName="DBusNotifyTimeoutCb" lineNumber="448"/>
<functiondecl functionName="DBusWakeupMainLoopCb" lineNumber="460"/>
<functiondecl functionName="FreeDBusOnMsgCb" lineNumber="466"/>
<functiondecl functionName="DBusOnBoardcastMsgWorkCb" lineNumber="480"/>
<functiondecl functionName="DBusOnMsgWorkAPICb" lineNumber="554"/>
<functiondecl functionName="DBusOnMsgCb" lineNumber="662"/>
<functiondecl functionName="freeSHMResource" lineNumber="841"/>
<functiondecl functionName="FreeDBusSendToAsyncCb" lineNumber="852"/>
<functiondecl functionName="DBusSendToAsyncCb" lineNumber="860"/>
<functiondecl functionName="DBusJsonSendToCommandAsync" lineNumber="879"/>
<functiondecl functionName="DBusJsonSendToCommand" lineNumber="915"/>
<functiondecl functionName="DBusJsonBoardcastCommand" lineNumber="937"/>
<functiondecl functionName="__getShmReqId" lineNumber="958"/>
<functiondecl functionName="DBusSendToCommand" lineNumber="973"/>
<functiondecl functionName="DBusBoardcastCommand" lineNumber="1117"/>
<functiondecl functionName="__addNewLoopTask" lineNumber="1177"/>
<functiondecl functionName="__uvLoopRuntime" lineNumber="1210"/>
<functiondecl functionName="__runUVLoopTask" lineNumber="1224"/>
<functiondecl functionName="RunUVLoop" lineNumber="1235"/>
<functiondecl functionName="__uvMsgProc" lineNumber="1311"/>
<functiondecl functionName="DBusWithLibuvInit" lineNumber="1367"/>
<functiondecl functionName="DBusWithLibuvCfgInit" lineNumber="1571"/>
<functiondecl functionName="GetShellExecResult" lineNumber="1585"/>
<functiondecl functionName="GetCpuChipId" lineNumber="1622"/>
<functiondecl functionName="GetCpuSerial" lineNumber="1643"/>
<functiondecl functionName="CopyFile" lineNumber="1664"/>
<functiondecl functionName="CopyFileWithSize" lineNumber="1709"/>
<functiondecl functionName="ReadFileToBuf" lineNumber="1760"/>
<functiondecl functionName="__reqWorkDayInfo" lineNumber="1800"/>
<functiondecl functionName="CurrentIsWorkDay" lineNumber="1830"/>
<functiondecl functionName="GetPartitionFreeSize" lineNumber="1877"/>
<functiondecl functionName="GetCurrentVersion" lineNumber="1900"/>
<functiondecl functionName="GetCurrWIFIConnStatus" lineNumber="1906"/>
<functiondecl functionName="ErrcodeToString" lineNumber="1911"/>
<functiondecl functionName="DBusCmdToString" lineNumber="1984"/>
<functiondecl functionName="ModuleNameToString" lineNumber="2093"/>
<functioncall functionName="APP_BUILD_INFO"/>
<functioncall functionName="CMD_WORKDAY_DB_REQ"/>
<functioncall functionName="CfgFileInit"/>
<functioncall functionName="CfgGlobalEnvInit"/>
<functioncall functionName="DBUS_BUS_SESSION"/>
<functioncall functionName="DBUS_MESSAGE_INTERFACE_NAME"/>
<functioncall functionName="DBUS_MSG_MAX_PAD_SIZE"/>
<functioncall functionName="DBUS_MSG_PACK"/>
<functioncall functionName="DBUS_NAME_FLAG_REPLACE_EXISTING"/>
<functioncall functionName="DBUS_TYPE_INVALID"/>
<functioncall functionName="DBUS_TYPE_STRING"/>
<functioncall functionName="DBUS_TYPE_UINT32"/>
<functioncall functionName="DBusAddTimeoutCb"/>
<functioncall functionName="DBusAddWatchCb"/>
<functioncall functionName="DBusAsyncFreeCb"/>
<functioncall functionName="DBusBoardcastCommand"/>
<functioncall functionName="DBusJsonSendToCommand"/>
<functioncall functionName="DBusNotifyTimeoutCb"/>
<functioncall functionName="DBusNotifyWatchCb"/>
<functioncall functionName="DBusOnBoardcastMsgWorkCb"/>
<functioncall functionName="DBusOnMsgCb"/>
<functioncall functionName="DBusOnMsgWorkAPICb"/>
<functioncall functionName="DBusPollFreeCb"/>
<functioncall functionName="DBusRemoveTimeoutCb"/>
<functioncall functionName="DBusRemoveWatchCb"/>
<functioncall functionName="DBusSendToAsyncCb"/>
<functioncall functionName="DBusSendToCommand"/>
<functioncall functionName="DBusTimeoutFreeCb"/>
<functioncall functionName="DBusWakeupMainLoopCb"/>
<functioncall functionName="DL_APPEND"/>
<functioncall functionName="DL_DELETE"/>
<functioncall functionName="DL_FOREACH_SAFE"/>
<functioncall functionName="ERR_BUS_MATCH"/>
<functioncall functionName="ERR_BUS_SEND_MSG"/>
<functioncall functionName="ERR_BUS_SET_MSG_CB"/>
<functioncall functionName="ERR_COPY_FILE"/>
<functioncall functionName="ERR_CREATE_SHM"/>
<functioncall functionName="ERR_DBUS_CREATE_MSG"/>
<functioncall functionName="ERR_DBUS_MSG_TO_LARGE"/>
<functioncall functionName="ERR_GET_BUS"/>
<functioncall functionName="ERR_GET_FILE_SIZE"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MAP_SHM"/>
<functioncall functionName="ERR_NO_ITEMS"/>
<functioncall functionName="ERR_OPEN_FILE"/>
<functioncall functionName="ERR_REQUEST_BUS_NAME"/>
<functioncall functionName="ERR_SET_TIMEOUT_FUNCTION"/>
<functioncall functionName="ERR_SET_WATCH_FUNCTION"/>
<functioncall functionName="ERR_UNINIT_ITEM"/>
<functioncall functionName="EvpSystemInit"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="FreeDBusSendToAsyncCb"/>
<functioncall functionName="GetCurrentVersion"/>
<functioncall functionName="GetShellExecResult"/>
<functioncall functionName="HASH_ADD_INT"/>
<functioncall functionName="HASH_DEL"/>
<functioncall functionName="HASH_FIND_INT"/>
<functioncall functionName="HASH_ITER"/>
<functioncall functionName="HeartDaemonInit"/>
<functioncall functionName="HeartDaemonUpgrade"/>
<functioncall functionName="IHW_EnableLogLevel"/>
<functioncall functionName="IHW_InitLOG"/>
<functioncall functionName="IPC_CREAT"/>
<functioncall functionName="IPC_RMID"/>
<functioncall functionName="InetInit"/>
<functioncall functionName="JSON_ENGINE_LOG_CFG_CMD"/>
<functioncall functionName="JSON_ENGINE_WORKDAY_REQ"/>
<functioncall functionName="JSON_WIFI_STATUS_NOTIFY"/>
<functioncall functionName="Json2Struct"/>
<functioncall functionName="LIBUV_DBUS_PARAMS"/>
<functioncall functionName="LL_APPEND"/>
<functioncall functionName="LL_FOREACH"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Info"/>
<functioncall functionName="LOG_LEVEL"/>
<functioncall functionName="LOG_Warn"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="MonAddNewItem"/>
<functioncall functionName="MonUpgradeStatistical"/>
<functioncall functionName="MonitorInit"/>
<functioncall functionName="NULL"/>
<functioncall functionName="O_RDONLY"/>
<functioncall functionName="O_TRUNC"/>
<functioncall functionName="OnCfgMsgProcess"/>
<functioncall functionName="PDBUS_MSG_PACK"/>
<functioncall functionName="PLOG_CFG_PROTOCOL"/>
<functioncall functionName="PWIFI_STATUS_PRO"/>
<functioncall functionName="PWORKDAY_INFO"/>
<functioncall functionName="R16_TINA_KEY_EVENT_PATH"/>
<functioncall functionName="S_IWOTH"/>
<functioncall functionName="Struct2Json"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="UV_RUN_DEFAULT"/>
<functioncall functionName="UV_RUN_NOWAIT"/>
<functioncall functionName="UV_RUN_ONCE"/>
<functioncall functionName="UpgradLogConfigure"/>
<functioncall functionName="WIFI_CONNECTED"/>
<functioncall functionName="WIFI_DISCONNECTED"/>
<functioncall functionName="WORKDAY_INFO"/>
<functioncall functionName="__addShmIdToTable"/>
<functioncall functionName="__getShmReqId"/>
<functioncall functionName="__removeReqIdFromTable"/>
<functioncall functionName="__reqWorkDayInfo"/>
<functioncall functionName="__sync_fetch_and_add"/>
<functioncall functionName="__uvLoopRuntime"/>
<functioncall functionName="__uvMsgProc"/>
<functioncall functionName="__uvShmTblTaskThreadCb"/>
<functioncall functionName="base"/>
<functioncall functionName="break"/>
<functioncall functionName="busCmd"/>
<functioncall functionName="cbOnCfgMsg"/>
<functioncall functionName="cbOnHbl"/>
<functioncall functionName="cbOnKey"/>
<functioncall functionName="cbOnMsg"/>
<functioncall functionName="cbSendTo"/>
<functioncall functionName="char"/>
<functioncall functionName="close"/>
<functioncall functionName="cmd"/>
<functioncall functionName="code"/>
<functioncall functionName="continue"/>
<functioncall functionName="cpSize"/>
<functioncall functionName="data"/>
<functioncall functionName="day"/>
<functioncall functionName="dbus_bus_add_match"/>
<functioncall functionName="dbus_bus_get"/>
<functioncall functionName="dbus_bus_request_name"/>
<functioncall functionName="dbus_connection_add_filter"/>
<functioncall functionName="dbus_connection_dispatch"/>
<functioncall functionName="dbus_connection_read_write"/>
<functioncall functionName="dbus_connection_send"/>
<functioncall functionName="dbus_connection_set_timeout_functions"/>
<functioncall functionName="dbus_connection_set_wakeup_main_function"/>
<functioncall functionName="dbus_connection_set_watch_functions"/>
<functioncall functionName="dbus_error_free"/>
<functioncall functionName="dbus_error_init"/>
<functioncall functionName="dbus_error_is_set"/>
<functioncall functionName="dbus_message_append_args"/>
<functioncall functionName="dbus_message_get_args"/>
<functioncall functionName="dbus_message_is_method_call"/>
<functioncall functionName="dbus_message_is_signal"/>
<functioncall functionName="dbus_message_new_method_call"/>
<functioncall functionName="dbus_message_new_signal"/>
<functioncall functionName="dbus_message_set_no_reply"/>
<functioncall functionName="dbus_message_unref"/>
<functioncall functionName="dbus_timeout_get_data"/>
<functioncall functionName="dbus_timeout_get_enabled"/>
<functioncall functionName="dbus_timeout_get_interval"/>
<functioncall functionName="dbus_timeout_handle"/>
<functioncall functionName="dbus_timeout_set_data"/>
<functioncall functionName="dbus_watch_get_data"/>
<functioncall functionName="dbus_watch_get_enabled"/>
<functioncall functionName="dbus_watch_get_flags"/>
<functioncall functionName="dbus_watch_get_unix_fd"/>
<functioncall functionName="dbus_watch_handle"/>
<functioncall functionName="dbus_watch_set_data"/>
<functioncall functionName="default"/>
<functioncall functionName="diffTm"/>
<functioncall functionName="enBase64"/>
<functioncall functionName="err"/>
<functioncall functionName="errCode"/>
<functioncall functionName="error"/>
<functioncall functionName="f_bfree"/>
<functioncall functionName="fdDBus"/>
<functioncall functionName="fdDest"/>
<functioncall functionName="fdSrc"/>
<functioncall functionName="for"/>
<functioncall functionName="fread"/>
<functioncall functionName="free"/>
<functioncall functionName="freeSHMResource"/>
<functioncall functionName="g_LibuvDBusParam"/>
<functioncall functionName="g_LoopArray"/>
<functioncall functionName="g_pModInfoTable"/>
<functioncall functionName="g_pMsgProcList"/>
<functioncall functionName="g_pShmTbl"/>
<functioncall functionName="g_shmReqId"/>
<functioncall functionName="g_uvIdleHandle"/>
<functioncall functionName="g_uvKeyEvent"/>
<functioncall functionName="g_uvLoopRwLock"/>
<functioncall functionName="g_uvMsgProcRwLock"/>
<functioncall functionName="g_uvShmHashRwLock"/>
<functioncall functionName="g_workDayArray"/>
<functioncall functionName="gettimeofday"/>
<functioncall functionName="hh"/>
<functioncall functionName="i"/>
<functioncall functionName="iSize"/>
<functioncall functionName="if"/>
<functioncall functionName="key"/>
<functioncall functionName="keyEvent"/>
<functioncall functionName="key_t"/>
<functioncall functionName="localTime"/>
<functioncall functionName="localtime_r"/>
<functioncall functionName="long"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="message"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="modName"/>
<functioncall functionName="modPath"/>
<functioncall functionName="msgContent"/>
<functioncall functionName="msgContext"/>
<functioncall functionName="msgDests"/>
<functioncall functionName="msgId"/>
<functioncall functionName="msgKey"/>
<functioncall functionName="msgLen"/>
<functioncall functionName="msgSize"/>
<functioncall functionName="msgSrc"/>
<functioncall functionName="msgToMask"/>
<functioncall functionName="myStatfs"/>
<functioncall functionName="onKeyCb"/>
<functioncall functionName="onMsgCb"/>
<functioncall functionName="open"/>
<functioncall functionName="pAsync"/>
<functioncall functionName="pBuf"/>
<functioncall functionName="pBus"/>
<functioncall functionName="pBusName"/>
<functioncall functionName="pBusPath"/>
<functioncall functionName="pCfgInfo"/>
<functioncall functionName="pChipId"/>
<functioncall functionName="pCmd"/>
<functioncall functionName="pCmdOut"/>
<functioncall functionName="pConn"/>
<functioncall functionName="pContext"/>
<functioncall functionName="pData"/>
<functioncall functionName="pDest"/>
<functioncall functionName="pErrno"/>
<functioncall functionName="pErrorCb"/>
<functioncall functionName="pFile"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pJsonStr"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pMsgContext"/>
<functioncall functionName="pMsgInfo"/>
<functioncall functionName="pMsgPack"/>
<functioncall functionName="pMsgProc"/>
<functioncall functionName="pParam"/>
<functioncall functionName="pPartPath"/>
<functioncall functionName="pPath"/>
<functioncall functionName="pPoll"/>
<functioncall functionName="pSerial"/>
<functioncall functionName="pShmData"/>
<functioncall functionName="pSrc"/>
<functioncall functionName="pStruct"/>
<functioncall functionName="pTask"/>
<functioncall functionName="pTimeout"/>
<functioncall functionName="pTimer"/>
<functioncall functionName="pTmp"/>
<functioncall functionName="pTmpItem"/>
<functioncall functionName="pUserLoop"/>
<functioncall functionName="pWatch"/>
<functioncall functionName="pWifiInfo"/>
<functioncall functionName="pWork"/>
<functioncall functionName="pWorkDayInfo"/>
<functioncall functionName="pclose"/>
<functioncall functionName="perror"/>
<functioncall functionName="popen"/>
<functioncall functionName="puvFs"/>
<functioncall functionName="puvFsReq"/>
<functioncall functionName="puvWork"/>
<functioncall functionName="read"/>
<functioncall functionName="reqInfo"/>
<functioncall functionName="result"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="rule"/>
<functioncall functionName="sendfile"/>
<functioncall functionName="shmId"/>
<functioncall functionName="shmKey"/>
<functioncall functionName="shmat"/>
<functioncall functionName="shmctl"/>
<functioncall functionName="shmdt"/>
<functioncall functionName="shmget"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="srand"/>
<functioncall functionName="st"/>
<functioncall functionName="st_size"/>
<functioncall functionName="stat"/>
<functioncall functionName="statfs"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="strdup"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strrchr"/>
<functioncall functionName="strtol"/>
<functioncall functionName="switch"/>
<functioncall functionName="sz"/>
<functioncall functionName="tarMask"/>
<functioncall functionName="time"/>
<functioncall functionName="timeout"/>
<functioncall functionName="tmBegin"/>
<functioncall functionName="tmEnd"/>
<functioncall functionName="tmSend"/>
<functioncall functionName="tmStamp"/>
<functioncall functionName="tmTickMSec"/>
<functioncall functionName="tm_yday"/>
<functioncall functionName="tm_year"/>
<functioncall functionName="tv"/>
<functioncall functionName="tv_sec"/>
<functioncall functionName="tv_usec"/>
<functioncall functionName="type"/>
<functioncall functionName="uRdSize"/>
<functioncall functionName="usleep"/>
<functioncall functionName="uvAsyncCb"/>
<functioncall functionName="uvClose"/>
<functioncall functionName="uvFlags"/>
<functioncall functionName="uvFsAccessCb"/>
<functioncall functionName="uvIdleCb"/>
<functioncall functionName="uvIoV"/>
<functioncall functionName="uvMsgProcThread"/>
<functioncall functionName="uvOpenKeyEventCb"/>
<functioncall functionName="uvPollCb"/>
<functioncall functionName="uvPollFlags"/>
<functioncall functionName="uvReadKeyEventCb"/>
<functioncall functionName="uvSyncThread"/>
<functioncall functionName="uvThread"/>
<functioncall functionName="uvTimeoutCb"/>
<functioncall functionName="uv_async_init"/>
<functioncall functionName="uv_async_send"/>
<functioncall functionName="uv_async_t"/>
<functioncall functionName="uv_buf_init"/>
<functioncall functionName="uv_close"/>
<functioncall functionName="uv_close_cb"/>
<functioncall functionName="uv_default_loop"/>
<functioncall functionName="uv_fs_access"/>
<functioncall functionName="uv_fs_close"/>
<functioncall functionName="uv_fs_open"/>
<functioncall functionName="uv_fs_read"/>
<functioncall functionName="uv_fs_req_cleanup"/>
<functioncall functionName="uv_fs_t"/>
<functioncall functionName="uv_idle_init"/>
<functioncall functionName="uv_idle_start"/>
<functioncall functionName="uv_loop_alive"/>
<functioncall functionName="uv_poll_init"/>
<functioncall functionName="uv_poll_start"/>
<functioncall functionName="uv_poll_stop"/>
<functioncall functionName="uv_poll_t"/>
<functioncall functionName="uv_queue_work"/>
<functioncall functionName="uv_ref"/>
<functioncall functionName="uv_run"/>
<functioncall functionName="uv_rwlock_init"/>
<functioncall functionName="uv_rwlock_rdlock"/>
<functioncall functionName="uv_rwlock_rdunlock"/>
<functioncall functionName="uv_rwlock_wrlock"/>
<functioncall functionName="uv_rwlock_wrunlock"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="uv_timer_init"/>
<functioncall functionName="uv_timer_start"/>
<functioncall functionName="uv_timer_stop"/>
<functioncall functionName="uv_timer_t"/>
<functioncall functionName="uv_unref"/>
<functioncall functionName="uv_work_t"/>
<functioncall functionName="value"/>
<functioncall functionName="watch"/>
<functioncall functionName="while"/>
<functioncall functionName="year"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,271 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2633628191">
<error id="redundantCopy" severity="performance" msg="Buffer &apos;strPath&apos; is being written before its old content has been used." verbose="Buffer &apos;strPath&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\log\log.c" file="G:\MyProjects\SmartAudio\log\log.c" line="876"/>
<location file0="G:\MyProjects\SmartAudio\log\log.c" file="G:\MyProjects\SmartAudio\log\log.c" line="875"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;ret&apos; is assigned a value that is never used." verbose="Variable &apos;ret&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\log\log.c" file="G:\MyProjects\SmartAudio\log\log.c" line="877"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &apos;PLATFORM_R16&apos; was not checked because its code equals another one." verbose="The configuration &apos;PLATFORM_R16&apos; was not checked because its code equals another one.">
<location file="G:\MyProjects\SmartAudio\log\log.c" line="0"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="LogLevelToStr" lineNumber="152"/>
<functiondecl functionName="__createDevInfoItem" lineNumber="210"/>
<functiondecl functionName="__logHttpPostFile" lineNumber="230"/>
<functiondecl functionName="__logNetworkSend" lineNumber="357"/>
<functiondecl functionName="__cleanupBackupItem" lineNumber="404"/>
<functiondecl functionName="__uvLogBackupProc" lineNumber="434"/>
<functiondecl functionName="__logColorOutput" lineNumber="600"/>
<functiondecl functionName="__logOutputThread" lineNumber="629"/>
<functiondecl functionName="IHW_EnableLogLevel" lineNumber="763"/>
<functiondecl functionName="__getCfgFromCfgFile" lineNumber="775"/>
<functiondecl functionName="IHW_InitLOG" lineNumber="827"/>
<functiondecl functionName="__logTo" lineNumber="900"/>
<functiondecl functionName="IHW_LogRawString" lineNumber="922"/>
<functiondecl functionName="IHW_LOG_UNTAG" lineNumber="932"/>
<functiondecl functionName="IHW_LOG" lineNumber="963"/>
<functiondecl functionName="IHW_DisableLogOut" lineNumber="989"/>
<functiondecl functionName="IHW_EnableLogOut" lineNumber="994"/>
<functiondecl functionName="LogUploadCurLogFile" lineNumber="999"/>
<functiondecl functionName="UpgradLogConfigure" lineNumber="1015"/>
<functiondecl functionName="LogLeveToString" lineNumber="1087"/>
<functiondecl functionName="__uvSysPointIOProc" lineNumber="1108"/>
<functiondecl functionName="SysPointMarkInit" lineNumber="1156"/>
<functiondecl functionName="SysPointMark" lineNumber="1231"/>
<functiondecl functionName="SysPointMarkUpload" lineNumber="1264"/>
<functiondecl functionName="LogLevelToStr" lineNumber="152"/>
<functiondecl functionName="__createDevInfoItem" lineNumber="210"/>
<functiondecl functionName="__logHttpPostFile" lineNumber="230"/>
<functiondecl functionName="__logNetworkSend" lineNumber="357"/>
<functiondecl functionName="__cleanupBackupItem" lineNumber="404"/>
<functiondecl functionName="__uvLogBackupProc" lineNumber="434"/>
<functiondecl functionName="__logColorOutput" lineNumber="600"/>
<functiondecl functionName="__logOutputThread" lineNumber="629"/>
<functiondecl functionName="IHW_EnableLogLevel" lineNumber="763"/>
<functiondecl functionName="__getCfgFromCfgFile" lineNumber="775"/>
<functiondecl functionName="IHW_InitLOG" lineNumber="827"/>
<functiondecl functionName="__logTo" lineNumber="900"/>
<functiondecl functionName="IHW_LogRawString" lineNumber="922"/>
<functiondecl functionName="IHW_LOG_UNTAG" lineNumber="932"/>
<functiondecl functionName="IHW_LOG" lineNumber="963"/>
<functiondecl functionName="IHW_DisableLogOut" lineNumber="989"/>
<functiondecl functionName="IHW_EnableLogOut" lineNumber="994"/>
<functiondecl functionName="LogUploadCurLogFile" lineNumber="999"/>
<functiondecl functionName="UpgradLogConfigure" lineNumber="1015"/>
<functiondecl functionName="LogLeveToString" lineNumber="1087"/>
<functiondecl functionName="__uvSysPointIOProc" lineNumber="1108"/>
<functiondecl functionName="SysPointMarkInit" lineNumber="1156"/>
<functiondecl functionName="SysPointMark" lineNumber="1231"/>
<functiondecl functionName="SysPointMarkUpload" lineNumber="1264"/>
<functioncall functionName="AF_INET"/>
<functioncall functionName="CfgGetBoolValue"/>
<functioncall functionName="CfgGetIntValue"/>
<functioncall functionName="CfgGetStringValue"/>
<functioncall functionName="DBusLibGetModName"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MALLOC_MEMORY"/>
<functioncall functionName="ERR_NETWORK_SEND"/>
<functioncall functionName="ERR_OPEN_FILE"/>
<functioncall functionName="ERR_UNSUPPORT"/>
<functioncall functionName="EvpMD5HashFile"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="GET_FILE_SIZE"/>
<functioncall functionName="GZipFileCompress"/>
<functioncall functionName="GetCpuChipId"/>
<functioncall functionName="GetCpuSerial"/>
<functioncall functionName="GetCurrWIFIConnStatus"/>
<functioncall functionName="GetCurrentVersion"/>
<functioncall functionName="GetShellExecResult"/>
<functioncall functionName="IPPROTO_UDP"/>
<functioncall functionName="InetHttpUploadFileSync"/>
<functioncall functionName="InetSmtpSendEmail"/>
<functioncall functionName="LL_APPEND"/>
<functioncall functionName="LL_DELETE"/>
<functioncall functionName="LL_FOREACH_SAFE"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_Devp"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Step"/>
<functioncall functionName="LogLevelToStr"/>
<functioncall functionName="MAX_PATH"/>
<functioncall functionName="NULL"/>
<functioncall functionName="PHTTP_POST_ATTACH"/>
<functioncall functionName="SAFE_STRING_VALUE"/>
<functioncall functionName="SMTP_MAIL_CONFIG"/>
<functioncall functionName="SOCK_DGRAM"/>
<functioncall functionName="SysPointMarkUpload"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="__DATE__"/>
<functioncall functionName="__TIME__"/>
<functioncall functionName="__cleanupBackupItem"/>
<functioncall functionName="__createDevInfoItem"/>
<functioncall functionName="__getCfgFromCfgFile"/>
<functioncall functionName="__logColorOutput"/>
<functioncall functionName="__logHttpPostFile"/>
<functioncall functionName="__logNetworkSend"/>
<functioncall functionName="__logOutputThread"/>
<functioncall functionName="__logTo"/>
<functioncall functionName="__uvLogBackupProc"/>
<functioncall functionName="__uvSysPointIOProc"/>
<functioncall functionName="access"/>
<functioncall functionName="arg_ptr"/>
<functioncall functionName="bEnable"/>
<functioncall functionName="basename_v2"/>
<functioncall functionName="break"/>
<functioncall functionName="cfgCmd"/>
<functioncall functionName="close"/>
<functioncall functionName="continue"/>
<functioncall functionName="default"/>
<functioncall functionName="exeName"/>
<functioncall functionName="fclose"/>
<functioncall functionName="fflush"/>
<functioncall functionName="fileSize"/>
<functioncall functionName="fopen"/>
<functioncall functionName="free"/>
<functioncall functionName="fwrite"/>
<functioncall functionName="g_LogProcessInfo"/>
<functioncall functionName="g_LogRdPos"/>
<functioncall functionName="g_SysPonitInfo"/>
<functioncall functionName="g_bEnLogToFile"/>
<functioncall functionName="g_bEnLogToServer"/>
<functioncall functionName="g_bEnMailBackup"/>
<functioncall functionName="g_bEnableLog"/>
<functioncall functionName="g_backupThreadId"/>
<functioncall functionName="g_iMinLevel"/>
<functioncall functionName="g_logAddr"/>
<functioncall functionName="g_logSock"/>
<functioncall functionName="g_logThreadId"/>
<functioncall functionName="g_pEmailBox"/>
<functioncall functionName="g_pLogBackupList"/>
<functioncall functionName="g_pLogItemList"/>
<functioncall functionName="g_pSysPointArray"/>
<functioncall functionName="g_strLogTag"/>
<functioncall functionName="g_uvLogBackLock"/>
<functioncall functionName="g_uvLogLock"/>
<functioncall functionName="getpid"/>
<functioncall functionName="gettimeofday"/>
<functioncall functionName="gzLogPath"/>
<functioncall functionName="htonl"/>
<functioncall functionName="htons"/>
<functioncall functionName="iEveryUploadTime"/>
<functioncall functionName="iFileSize"/>
<functioncall functionName="iMaxSize"/>
<functioncall functionName="iParams1"/>
<functioncall functionName="iPostTime"/>
<functioncall functionName="if"/>
<functioncall functionName="inet_addr"/>
<functioncall functionName="isAddTags"/>
<functioncall functionName="lTime"/>
<functioncall functionName="lastMarkTime"/>
<functioncall functionName="level"/>
<functioncall functionName="localTime"/>
<functioncall functionName="localtime_r"/>
<functioncall functionName="logContent"/>
<functioncall functionName="logFilePath"/>
<functioncall functionName="logFileSize"/>
<functioncall functionName="lv"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="pAttact"/>
<functioncall functionName="pBackup"/>
<functioncall functionName="pBuf"/>
<functioncall functionName="pChipId"/>
<functioncall functionName="pCmd"/>
<functioncall functionName="pColFmt"/>
<functioncall functionName="pContent"/>
<functioncall functionName="pDatetime"/>
<functioncall functionName="pDevId"/>
<functioncall functionName="pDevInfoArray"/>
<functioncall functionName="pDevItem"/>
<functioncall functionName="pDeviceId"/>
<functioncall functionName="pFileName"/>
<functioncall functionName="pFn"/>
<functioncall functionName="pFrom"/>
<functioncall functionName="pGzFilePath"/>
<functioncall functionName="pIpAddr"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pKey"/>
<functioncall functionName="pKeyName"/>
<functioncall functionName="pKeyValue"/>
<functioncall functionName="pLog"/>
<functioncall functionName="pLogArray"/>
<functioncall functionName="pLogContent"/>
<functioncall functionName="pLogFile"/>
<functioncall functionName="pLogItem"/>
<functioncall functionName="pLogStr"/>
<functioncall functionName="pLogTag"/>
<functioncall functionName="pMD5Val"/>
<functioncall functionName="pMacAddr"/>
<functioncall functionName="pMarkFile"/>
<functioncall functionName="pMarkInfo"/>
<functioncall functionName="pMessage"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pStrVal"/>
<functioncall functionName="pTitle"/>
<functioncall functionName="pTmp"/>
<functioncall functionName="pTo"/>
<functioncall functionName="pValue"/>
<functioncall functionName="path"/>
<functioncall functionName="pid"/>
<functioncall functionName="plogFilePath"/>
<functioncall functionName="port"/>
<functioncall functionName="print"/>
<functioncall functionName="pthread_create"/>
<functioncall functionName="readlink"/>
<functioncall functionName="rename"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="savePath"/>
<functioncall functionName="sendto"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="smtpCfg"/>
<functioncall functionName="socket"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="strPath"/>
<functioncall functionName="strcat"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="strdup"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strncpy"/>
<functioncall functionName="strrchr"/>
<functioncall functionName="switch"/>
<functioncall functionName="system"/>
<functioncall functionName="time"/>
<functioncall functionName="timeStamp"/>
<functioncall functionName="timestamp"/>
<functioncall functionName="tmNow"/>
<functioncall functionName="tm_hour"/>
<functioncall functionName="tm_mday"/>
<functioncall functionName="tm_min"/>
<functioncall functionName="tm_sec"/>
<functioncall functionName="tolLogs"/>
<functioncall functionName="totalSize"/>
<functioncall functionName="tv_sec"/>
<functioncall functionName="tv_usec"/>
<functioncall functionName="unlink"/>
<functioncall functionName="usleep"/>
<functioncall functionName="utstring_body"/>
<functioncall functionName="utstring_find"/>
<functioncall functionName="utstring_free"/>
<functioncall functionName="utstring_len"/>
<functioncall functionName="utstring_new"/>
<functioncall functionName="utstring_printf"/>
<functioncall functionName="utstring_printf_va"/>
<functioncall functionName="utstring_renew"/>
<functioncall functionName="uvIOThread"/>
<functioncall functionName="uvRwLock"/>
<functioncall functionName="uv_rwlock_init"/>
<functioncall functionName="uv_rwlock_wrlock"/>
<functioncall functionName="uv_rwlock_wrunlock"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="va_end"/>
<functioncall functionName="va_start"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,92 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1016640301">
<error id="redundantAssignment" severity="style" msg="Variable &apos;pBus&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;pBus&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\LogCtrl\log_ctrl.c" file="G:\MyProjects\SmartAudio\Modules\LogCtrl\log_ctrl.c" line="298"/>
<location file0="G:\MyProjects\SmartAudio\Modules\LogCtrl\log_ctrl.c" file="G:\MyProjects\SmartAudio\Modules\LogCtrl\log_ctrl.c" line="292"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &apos;PLATFORM_CPU;PLATFORM_R16&apos; was not checked because its code equals another one." verbose="The configuration &apos;PLATFORM_CPU;PLATFORM_R16&apos; was not checked because its code equals another one.">
<location file="G:\MyProjects\SmartAudio\Modules\LogCtrl\log_ctrl.c" line="0"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="DBusOnMessage" lineNumber="25"/>
<functiondecl functionName="__logCtrlProc" lineNumber="41"/>
<functiondecl functionName="main" lineNumber="289"/>
<functioncall functionName="CMD_LOG_CONFIG"/>
<functioncall functionName="CMD_LOG_FILE"/>
<functioncall functionName="CMD_LOG_LEVEL"/>
<functioncall functionName="CMD_LOG_MAIL"/>
<functioncall functionName="CMD_LOG_NETWORK"/>
<functioncall functionName="CMD_LOG_SERVER"/>
<functioncall functionName="DBusJsonSendToCommand"/>
<functioncall functionName="DBusOnMessage"/>
<functioncall functionName="DBusWithLibuvInit"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="GetDBusDefaultLoop"/>
<functioncall functionName="JSON_ENGINE_LOG_CFG_CMD"/>
<functioncall functionName="LOG_All"/>
<functioncall functionName="LOG_CFG_PROTOCOL"/>
<functioncall functionName="LOG_Call"/>
<functioncall functionName="LOG_Close"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_Devp"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_EX2"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Fatal"/>
<functioncall functionName="LOG_Info"/>
<functioncall functionName="LOG_Step"/>
<functioncall functionName="LOG_Test"/>
<functioncall functionName="LOG_Unknown"/>
<functioncall functionName="LOG_Warn"/>
<functioncall functionName="LogLeveToString"/>
<functioncall functionName="MODULE_LOG_CTRL"/>
<functioncall functionName="MOD_INFO_TABLE"/>
<functioncall functionName="ModuleNameToString"/>
<functioncall functionName="NULL"/>
<functioncall functionName="RunUVLoop"/>
<functioncall functionName="SAFE_STRING_VALUE"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="__logCtrlProc"/>
<functioncall functionName="break"/>
<functioncall functionName="continue"/>
<functioncall functionName="default"/>
<functioncall functionName="for"/>
<functioncall functionName="g_Menu"/>
<functioncall functionName="g_ModInfo"/>
<functioncall functionName="g_pModInfoTable"/>
<functioncall functionName="i"/>
<functioncall functionName="iCmd"/>
<functioncall functionName="iMod"/>
<functioncall functionName="if"/>
<functioncall functionName="inet_addr"/>
<functioncall functionName="logItem"/>
<functioncall functionName="logLevel"/>
<functioncall functionName="logLevelInfo"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="modName"/>
<functioncall functionName="pCmd"/>
<functioncall functionName="pConn"/>
<functioncall functionName="pInput"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pMod"/>
<functioncall functionName="pOperat"/>
<functioncall functionName="pOptMenu"/>
<functioncall functionName="pParams1"/>
<functioncall functionName="pParams2"/>
<functioncall functionName="readline"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strtok"/>
<functioncall functionName="strtol"/>
<functioncall functionName="switch"/>
<functioncall functionName="usleep"/>
<functioncall functionName="uvThread"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,313 @@
<?xml version="1.0"?>
<analyzerinfo checksum="325224330">
<error id="invalidPrintfArgType_sint" severity="warning" msg="%d in format string (no. 1) requires &apos;int&apos; but the argument type is &apos;unsigned int&apos;." verbose="%d in format string (no. 1) requires &apos;int&apos; but the argument type is &apos;unsigned int&apos;." cwe="686">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="1346"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;pJson&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;pJson&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="514"/>
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="507"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;pResPath&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;pResPath&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="1003"/>
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="1000"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;i&apos; can be reduced." verbose="The scope of the variable &apos;i&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="381"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;pInfo&apos; is assigned a value that is never used." verbose="Variable &apos;pInfo&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="82"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;outSize&apos; is assigned a value that is never used." verbose="Variable &apos;outSize&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="440"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;ret&apos; is assigned a value that is never used." verbose="Variable &apos;ret&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="460"/>
</error>
<error id="unusedVariable" severity="style" msg="Unused variable: i" verbose="Unused variable: i" cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="1354"/>
</error>
<error id="unusedVariable" severity="style" msg="Unused variable: j" verbose="Unused variable: j" cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="1354"/>
</error>
<error id="unusedVariable" severity="style" msg="Unused variable: uvSndLess" verbose="Unused variable: uvSndLess" cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="1356"/>
</error>
<error id="unusedVariable" severity="style" msg="Unused variable: uvSndMore" verbose="Unused variable: uvSndMore" cwe="563">
<location file0="G:\MyProjects\SmartAudio\Example\main.c" file="G:\MyProjects\SmartAudio\Example\main.c" line="1356"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &apos;PLATFORM_R16&apos; was not checked because its code equals another one." verbose="The configuration &apos;PLATFORM_R16&apos; was not checked because its code equals another one.">
<location file="G:\MyProjects\SmartAudio\Example\main.c" line="0"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="OnCfgMsgCb" lineNumber="31"/>
<functiondecl functionName="__dBusDeameonCb" lineNumber="49"/>
<functiondecl functionName="KeyEventCb" lineNumber="74"/>
<functiondecl functionName="__uvThreadOTA" lineNumber="79"/>
<functiondecl functionName="DBusOnMessage" lineNumber="149"/>
<functiondecl functionName="uvSndLessCb" lineNumber="305"/>
<functiondecl functionName="test_evp_aes" lineNumber="329"/>
<functiondecl functionName="uvTimeoutCb" lineNumber="359"/>
<functiondecl functionName="EVPEncryptCb" lineNumber="375"/>
<functiondecl functionName="test_aes_async" lineNumber="435"/>
<functiondecl functionName="test_base64_async" lineNumber="458"/>
<functiondecl functionName="test_md5file_async" lineNumber="489"/>
<functiondecl functionName="test_s2j_task" lineNumber="502"/>
<functiondecl functionName="__uvThreadTestOTA" lineNumber="544"/>
<functiondecl functionName="__uvThreadTimer" lineNumber="712"/>
<functiondecl functionName="__uvThreadTestConfigure" lineNumber="730"/>
<functiondecl functionName="test_task_new" lineNumber="841"/>
<functiondecl functionName="__cacheCAEAudio" lineNumber="854"/>
<functiondecl functionName="test_move_data" lineNumber="865"/>
<functiondecl functionName="__onAlarmCb" lineNumber="870"/>
<functiondecl functionName="uvExitLoopCb" lineNumber="877"/>
<functiondecl functionName="__uvLoopExit" lineNumber="883"/>
<functiondecl functionName="__fs_event_handle_cb" lineNumber="916"/>
<functiondecl functionName="__onDlCb" lineNumber="927"/>
<functiondecl functionName="__onPrgCb" lineNumber="943"/>
<functiondecl functionName="__uvTestSkin" lineNumber="959"/>
<functiondecl functionName="__uvLogTestProc" lineNumber="1045"/>
<functiondecl functionName="__uvLogCtrlProc" lineNumber="1066"/>
<functiondecl functionName="__uvMsgSendTestProc" lineNumber="1337"/>
<functiondecl functionName="main" lineNumber="1352"/>
<functioncall functionName="ALIGN_AES_BLOCK"/>
<functioncall functionName="CMD_ALARM_SYNC_RSP"/>
<functioncall functionName="CMD_CALL_DIAL"/>
<functioncall functionName="CMD_LOG_CONFIG"/>
<functioncall functionName="CMD_LOG_FILE"/>
<functioncall functionName="CMD_LOG_LEVEL"/>
<functioncall functionName="CMD_LOG_MAIL"/>
<functioncall functionName="CMD_LOG_NETWORK"/>
<functioncall functionName="CMD_OTA_NOTIFY"/>
<functioncall functionName="CMD_SYSTEM_STANDBY"/>
<functioncall functionName="CRYPTO_AES_DECRYPT"/>
<functioncall functionName="CRYPTO_BASE64_DECODE"/>
<functioncall functionName="CRYPTO_BASE64_ENCODE"/>
<functioncall functionName="CRYPTO_MD5_FILE"/>
<functioncall functionName="CfgAddKeyValue"/>
<functioncall functionName="CfgGetKeyValue"/>
<functioncall functionName="CfgItemPrint"/>
<functioncall functionName="DBusBoardcastCommand"/>
<functioncall functionName="DBusJsonSendToCommand"/>
<functioncall functionName="DBusOnMessage"/>
<functioncall functionName="DBusSendToCommand"/>
<functioncall functionName="DBusWithLibuvInit"/>
<functioncall functionName="DEBUG_CODE_LINE"/>
<functioncall functionName="DUMP_PREFIX_ADDRESS"/>
<functioncall functionName="ERR_CFG_WAIT_RSP"/>
<functioncall functionName="EVPEncryptCb"/>
<functioncall functionName="EvpAESDecrypto"/>
<functioncall functionName="EvpAESEncrypto"/>
<functioncall functionName="EvpAddCryptoTask"/>
<functioncall functionName="EvpBase64DecodeNoAlign"/>
<functioncall functionName="EvpBase64EncodeNoAlign"/>
<functioncall functionName="EvpBase64EncodeNoAlignV2"/>
<functioncall functionName="EvpMD5HashBufV2"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="GetCpuChipId"/>
<functioncall functionName="GetCpuSerial"/>
<functioncall functionName="GetDBusDefaultLoop"/>
<functioncall functionName="GetSkinsResource"/>
<functioncall functionName="IHW_EnableLogLevel"/>
<functioncall functionName="JSON_ENGINE_CFG_RSP"/>
<functioncall functionName="JSON_ENGINE_LOG_CFG_CMD"/>
<functioncall functionName="JSON_ENGINE_OTA_REQ"/>
<functioncall functionName="JSON_ENGINE_OTA_RSP"/>
<functioncall functionName="JSON_ENGINE_P2C"/>
<functioncall functionName="Json2Struct"/>
<functioncall functionName="LIBUV_CURRENT_TIME_US"/>
<functioncall functionName="LOG_All"/>
<functioncall functionName="LOG_BUF"/>
<functioncall functionName="LOG_CFG_PROTOCOL"/>
<functioncall functionName="LOG_Call"/>
<functioncall functionName="LOG_Close"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_Devp"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Fatal"/>
<functioncall functionName="LOG_Info"/>
<functioncall functionName="LOG_Step"/>
<functioncall functionName="LOG_Test"/>
<functioncall functionName="LOG_Unknown"/>
<functioncall functionName="LOG_Warn"/>
<functioncall functionName="LogLeveToString"/>
<functioncall functionName="MAX_PATH"/>
<functioncall functionName="MODULE_ALARM"/>
<functioncall functionName="MODULE_OTA"/>
<functioncall functionName="MODULE_SKINS"/>
<functioncall functionName="MOD_INFO_TABLE"/>
<functioncall functionName="ModuleNameToString"/>
<functioncall functionName="NULL"/>
<functioncall functionName="OTA_CMD_DOWNLOAD"/>
<functioncall functionName="OTA_CMD_EXEC"/>
<functioncall functionName="OTA_CMD_USED_LOCAL_IMAGE"/>
<functioncall functionName="OTA_DATA_INFO"/>
<functioncall functionName="OTA_MODE_FORCE_NOW"/>
<functioncall functionName="OTA_MODE_NORMAL"/>
<functioncall functionName="PCFG_API_RSP"/>
<functioncall functionName="POTA_DATA_INFO"/>
<functioncall functionName="POTA_RSP_STATUS"/>
<functioncall functionName="PPLAYER_TO_CTRL"/>
<functioncall functionName="RunUVLoop"/>
<functioncall functionName="SAFE_STRING_VALUE"/>
<functioncall functionName="SkinInit"/>
<functioncall functionName="SkinUpgrade"/>
<functioncall functionName="Struct2Json"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="UV_RUN_DEFAULT"/>
<functioncall functionName="__dBusDeameonCb"/>
<functioncall functionName="__uvLogCtrlProc"/>
<functioncall functionName="__uvLogTestProc"/>
<functioncall functionName="__uvMsgSendTestProc"/>
<functioncall functionName="__uvThreadOTA"/>
<functioncall functionName="break"/>
<functioncall functionName="buf"/>
<functioncall functionName="busCmd"/>
<functioncall functionName="cmd"/>
<functioncall functionName="continue"/>
<functioncall functionName="curPos"/>
<functioncall functionName="default"/>
<functioncall functionName="duration"/>
<functioncall functionName="enData"/>
<functioncall functionName="err"/>
<functioncall functionName="events"/>
<functioncall functionName="for"/>
<functioncall functionName="fprintf"/>
<functioncall functionName="free"/>
<functioncall functionName="g_AudioCache"/>
<functioncall functionName="g_Delay"/>
<functioncall functionName="g_Menu"/>
<functioncall functionName="g_ModInfo"/>
<functioncall functionName="g_SkinDefaultResTable"/>
<functioncall functionName="g_logLevelInfo"/>
<functioncall functionName="g_pModInfoTable"/>
<functioncall functionName="g_tmSync"/>
<functioncall functionName="g_tmTest"/>
<functioncall functionName="gettimeofday"/>
<functioncall functionName="i"/>
<functioncall functionName="iCmd"/>
<functioncall functionName="iError"/>
<functioncall functionName="iFinished"/>
<functioncall functionName="iMod"/>
<functioncall functionName="iSize"/>
<functioncall functionName="iValue"/>
<functioncall functionName="if"/>
<functioncall functionName="inet_addr"/>
<functioncall functionName="int"/>
<functioncall functionName="item"/>
<functioncall functionName="keyName"/>
<functioncall functionName="keyType"/>
<functioncall functionName="keyValue"/>
<functioncall functionName="logItem"/>
<functioncall functionName="logLevel"/>
<functioncall functionName="long"/>
<functioncall functionName="malloc"/>
<functioncall functionName="md5"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memmove"/>
<functioncall functionName="memset"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="modIdx"/>
<functioncall functionName="modName"/>
<functioncall functionName="msgSize"/>
<functioncall functionName="musicUuid"/>
<functioncall functionName="otaInfo"/>
<functioncall functionName="otaStatusName"/>
<functioncall functionName="outSize"/>
<functioncall functionName="pAddCmd"/>
<functioncall functionName="pBase64"/>
<functioncall functionName="pBuf"/>
<functioncall functionName="pCallback"/>
<functioncall functionName="pCfg"/>
<functioncall functionName="pCmd"/>
<functioncall functionName="pConn"/>
<functioncall functionName="pData"/>
<functioncall functionName="pDecode"/>
<functioncall functionName="pDlPath"/>
<functioncall functionName="pEvent"/>
<functioncall functionName="pFile"/>
<functioncall functionName="pInput"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pJson"/>
<functioncall functionName="pKey"/>
<functioncall functionName="pKeyName"/>
<functioncall functionName="pKeyType"/>
<functioncall functionName="pKeyValue"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pMD5"/>
<functioncall functionName="pMod"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pOInfo"/>
<functioncall functionName="pOTAStatus"/>
<functioncall functionName="pOperat"/>
<functioncall functionName="pOptMenu"/>
<functioncall functionName="pParams"/>
<functioncall functionName="pParams1"/>
<functioncall functionName="pParams2"/>
<functioncall functionName="pPlyCtl"/>
<functioncall functionName="pReqUrl"/>
<functioncall functionName="pResPath"/>
<functioncall functionName="pRsp"/>
<functioncall functionName="pSaveTo"/>
<functioncall functionName="pSrc"/>
<functioncall functionName="pSrcData"/>
<functioncall functionName="pString"/>
<functioncall functionName="pSub"/>
<functioncall functionName="pTaskUuid"/>
<functioncall functionName="pUpgCmd"/>
<functioncall functionName="path"/>
<functioncall functionName="pathSize"/>
<functioncall functionName="plyCtl"/>
<functioncall functionName="plySt"/>
<functioncall functionName="print_hex_dump_bytes"/>
<functioncall functionName="readline"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="size"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="status"/>
<functioncall functionName="stderr"/>
<functioncall functionName="stdout"/>
<functioncall functionName="strMenu"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strtod"/>
<functioncall functionName="strtok"/>
<functioncall functionName="strtol"/>
<functioncall functionName="strtoul"/>
<functioncall functionName="switch"/>
<functioncall functionName="test_task_new"/>
<functioncall functionName="tmEnd"/>
<functioncall functionName="tmExit"/>
<functioncall functionName="tmId"/>
<functioncall functionName="tmStart"/>
<functioncall functionName="tmUsed"/>
<functioncall functionName="tv_usec"/>
<functioncall functionName="uKey"/>
<functioncall functionName="uPercent"/>
<functioncall functionName="uType"/>
<functioncall functionName="url"/>
<functioncall functionName="usleep"/>
<functioncall functionName="utstring_free"/>
<functioncall functionName="utstring_new"/>
<functioncall functionName="utstring_printf"/>
<functioncall functionName="uvExitLoopCb"/>
<functioncall functionName="uvSndLessCb"/>
<functioncall functionName="uvSyncThread"/>
<functioncall functionName="uv_barrier_destroy"/>
<functioncall functionName="uv_barrier_init"/>
<functioncall functionName="uv_barrier_wait"/>
<functioncall functionName="uv_fs_event_getpath"/>
<functioncall functionName="uv_run"/>
<functioncall functionName="uv_stop"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="uv_timer_init"/>
<functioncall functionName="uv_timer_start"/>
<functioncall functionName="uv_timer_stop"/>
<functioncall functionName="val"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,43 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1647737319">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="EvpMD5HashFile" lineNumber="12"/>
<functiondecl functionName="EvpMD5HashFileV2" lineNumber="57"/>
<functiondecl functionName="EvpMD5HashBuf" lineNumber="95"/>
<functiondecl functionName="EvpMD5HashBufV2" lineNumber="121"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_OPEN_FILE"/>
<functioncall functionName="EVP_DigestFinal_ex"/>
<functioncall functionName="EVP_DigestInit_ex"/>
<functioncall functionName="EVP_DigestUpdate"/>
<functioncall functionName="EVP_MAX_MD_SIZE"/>
<functioncall functionName="EVP_MD_CTX_cleanup"/>
<functioncall functionName="EVP_MD_CTX_init"/>
<functioncall functionName="EVP_md5"/>
<functioncall functionName="IHW_bin2hex"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="NULL"/>
<functioncall functionName="O_RDONLY"/>
<functioncall functionName="buf"/>
<functioncall functionName="close"/>
<functioncall functionName="ctx"/>
<functioncall functionName="fd"/>
<functioncall functionName="iBufLen"/>
<functioncall functionName="if"/>
<functioncall functionName="malloc"/>
<functioncall functionName="md5"/>
<functioncall functionName="memset"/>
<functioncall functionName="open"/>
<functioncall functionName="pBuf"/>
<functioncall functionName="pFileName"/>
<functioncall functionName="pOutBuf"/>
<functioncall functionName="pOutSize"/>
<functioncall functionName="pString"/>
<functioncall functionName="rdSize"/>
<functioncall functionName="read"/>
<functioncall functionName="return"/>
<functioncall functionName="size"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,73 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3756604535">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__uvMonLogProc" lineNumber="54"/>
<functiondecl functionName="__logMonTimerProc" lineNumber="64"/>
<functiondecl functionName="MonitorInit" lineNumber="119"/>
<functiondecl functionName="MonAddNewItem" lineNumber="132"/>
<functiondecl functionName="MonIncreaseCount" lineNumber="183"/>
<functiondecl functionName="MonDiffStatistical" lineNumber="208"/>
<functiondecl functionName="MonUpgradeStatistical" lineNumber="258"/>
<functiondecl functionName="MonItemLogout" lineNumber="299"/>
<functioncall functionName="ERR_CFG_ITEM_EXIST"/>
<functioncall functionName="ERR_CFG_NOITEM"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MALLOC_MEMORY"/>
<functioncall functionName="HASH_ADD_STR"/>
<functioncall functionName="HASH_FIND_STR"/>
<functioncall functionName="INT_MAX"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="NULL"/>
<functioncall functionName="RunUVLoop"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="__logMonTimerProc"/>
<functioncall functionName="__uvMonLogProc"/>
<functioncall functionName="avgValue"/>
<functioncall functionName="curVaule"/>
<functioncall functionName="data"/>
<functioncall functionName="diffValue"/>
<functioncall functionName="g_MonLogLoop"/>
<functioncall functionName="g_MonTbl"/>
<functioncall functionName="g_uvMonRwLock"/>
<functioncall functionName="if"/>
<functioncall functionName="logSaveTime"/>
<functioncall functionName="logTime"/>
<functioncall functionName="logTimer"/>
<functioncall functionName="malloc"/>
<functioncall functionName="maxValue"/>
<functioncall functionName="memset"/>
<functioncall functionName="minValue"/>
<functioncall functionName="nCount"/>
<functioncall functionName="newVal"/>
<functioncall functionName="pInfo"/>
<functioncall functionName="pMonName"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pMsgCount"/>
<functioncall functionName="pMsgStat"/>
<functioncall functionName="pName"/>
<functioncall functionName="rwLock"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="strdup"/>
<functioncall functionName="strlen"/>
<functioncall functionName="tolCount"/>
<functioncall functionName="tolValue"/>
<functioncall functionName="usleep"/>
<functioncall functionName="utstring_body"/>
<functioncall functionName="utstring_concat"/>
<functioncall functionName="utstring_free"/>
<functioncall functionName="utstring_new"/>
<functioncall functionName="utstring_printf"/>
<functioncall functionName="uvMonLogThread"/>
<functioncall functionName="uv_loop_new"/>
<functioncall functionName="uv_rwlock_init"/>
<functioncall functionName="uv_rwlock_rdlock"/>
<functioncall functionName="uv_rwlock_rdunlock"/>
<functioncall functionName="uv_rwlock_wrlock"/>
<functioncall functionName="uv_rwlock_wrunlock"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="uv_timer_init"/>
<functioncall functionName="uv_timer_start"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,320 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2874751166">
<error id="redundantAssignment" severity="style" msg="Variable &apos;fileSize&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;fileSize&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="332"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="331"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;basePath&apos; is being written before its old content has been used." verbose="Buffer &apos;basePath&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="575"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="574"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="660"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="659"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="671"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="670"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="685"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="684"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="708"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="707"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="716"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="715"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="1207"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="1206"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;ret&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;ret&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="1208"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="1204"/>
</error>
<error id="unusedStructMember" severity="style" msg="struct member &apos;IPL_DATA_ITEM::reserved&apos; is never used." verbose="struct member &apos;IPL_DATA_ITEM::reserved&apos; is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="64"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;ret&apos; is assigned a value that is never used." verbose="Variable &apos;ret&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="254"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;fileSize&apos; is assigned a value that is never used." verbose="Variable &apos;fileSize&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="332"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &apos;PLATFORM_CPU;PLATFORM_R16&apos; was not checked because its code equals another one." verbose="The configuration &apos;PLATFORM_CPU;PLATFORM_R16&apos; was not checked because its code equals another one.">
<location file="G:\MyProjects\SmartAudio\Modules\OTA\ota.c" line="0"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__printfOTANotifyCmd" lineNumber="108"/>
<functiondecl functionName="__otaRspStatus" lineNumber="126"/>
<functiondecl functionName="__dlThreadRuntimeCb" lineNumber="157"/>
<functiondecl functionName="__onHttpResponseCb" lineNumber="164"/>
<functiondecl functionName="__onProgressNotifyCb" lineNumber="189"/>
<functiondecl functionName="__printIPLParams" lineNumber="201"/>
<functiondecl functionName="__ReadIPLParams" lineNumber="238"/>
<functiondecl functionName="__Write2NandPartition" lineNumber="292"/>
<functiondecl functionName="__SaveIPLParams" lineNumber="337"/>
<functiondecl functionName="__otaBackupWifi" lineNumber="402"/>
<functiondecl functionName="__otaRunning" lineNumber="421"/>
<functiondecl functionName="__otaFromLocalImage" lineNumber="639"/>
<functiondecl functionName="__isPreDownloader" lineNumber="788"/>
<functiondecl functionName="__otaDownloadImageCb" lineNumber="874"/>
<functiondecl functionName="__dBusDeameonCb" lineNumber="978"/>
<functiondecl functionName="__dBusOnMessage" lineNumber="997"/>
<functiondecl functionName="main" lineNumber="1177"/>
<functiondecl functionName="__printfOTANotifyCmd" lineNumber="108"/>
<functiondecl functionName="__otaRspStatus" lineNumber="126"/>
<functiondecl functionName="__dlThreadRuntimeCb" lineNumber="157"/>
<functiondecl functionName="__onHttpResponseCb" lineNumber="164"/>
<functiondecl functionName="__onProgressNotifyCb" lineNumber="189"/>
<functiondecl functionName="__printIPLParams" lineNumber="201"/>
<functiondecl functionName="__ReadIPLParams" lineNumber="238"/>
<functiondecl functionName="__Write2NandPartition" lineNumber="292"/>
<functiondecl functionName="__SaveIPLParams" lineNumber="337"/>
<functiondecl functionName="__otaBackupWifi" lineNumber="402"/>
<functiondecl functionName="__otaRunning" lineNumber="421"/>
<functiondecl functionName="__otaFromLocalImage" lineNumber="639"/>
<functiondecl functionName="__isPreDownloader" lineNumber="788"/>
<functiondecl functionName="__otaDownloadImageCb" lineNumber="874"/>
<functiondecl functionName="__dBusDeameonCb" lineNumber="978"/>
<functiondecl functionName="__dBusOnMessage" lineNumber="997"/>
<functiondecl functionName="main" lineNumber="1177"/>
<functioncall functionName="CMD_OTA_STATUS"/>
<functioncall functionName="CopyFileWithSize"/>
<functioncall functionName="DBusJsonBoardcastCommand"/>
<functioncall functionName="DBusJsonSendToCommand"/>
<functioncall functionName="DBusWithLibuvInit"/>
<functioncall functionName="ERR_BAD_FILE_SIZE"/>
<functioncall functionName="ERR_BAD_IPL3"/>
<functioncall functionName="ERR_FILE_NOT_EXISTS"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MD5_CHECK_SUM"/>
<functioncall functionName="ERR_MD5_FILE"/>
<functioncall functionName="ERR_NO_INIT_IPL3"/>
<functioncall functionName="ERR_OPEN_FILE"/>
<functioncall functionName="ERR_OTA_NOT_READY"/>
<functioncall functionName="ERR_OTA_PRE_STATR"/>
<functioncall functionName="ERR_OTA_WRITE_BOOT"/>
<functioncall functionName="ERR_OTA_WRITE_IPL3"/>
<functioncall functionName="ERR_OTA_WRITE_PARAMS"/>
<functioncall functionName="ERR_OTA_WRITE_ROOTFS"/>
<functioncall functionName="ERR_READ_FILE"/>
<functioncall functionName="ERR_VERIFY_PARTITION_MD5"/>
<functioncall functionName="EvpMD5HashBuf"/>
<functioncall functionName="EvpMD5HashFile"/>
<functioncall functionName="EvpMD5HashFileV2"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="GET_FILE_SIZE"/>
<functioncall functionName="GetDBusDefaultLoop"/>
<functioncall functionName="GetPartitionFreeSize"/>
<functioncall functionName="GetShellExecResult"/>
<functioncall functionName="IHW_bin2hex"/>
<functioncall functionName="InetHttpDlFileAsync"/>
<functioncall functionName="JSON_ENGINE_OTA_REQ"/>
<functioncall functionName="JSON_ENGINE_OTA_RSP"/>
<functioncall functionName="Json2Struct"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_EX2"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Info"/>
<functioncall functionName="LOG_Warn"/>
<functioncall functionName="LogUploadCurLogFile"/>
<functioncall functionName="MAX_PATH"/>
<functioncall functionName="MD5_CHKSUM_LEN"/>
<functioncall functionName="MD5_CHKSUM_STR_LEN"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="MODULE_OTA"/>
<functioncall functionName="NORMAL_SETUP"/>
<functioncall functionName="NO_OTA_STATUS_VAL_TAG"/>
<functioncall functionName="NULL"/>
<functioncall functionName="OTA_CURRENT_REBOOT_TIME"/>
<functioncall functionName="OTA_CURRENT_SETUP_MODE"/>
<functioncall functionName="OTA_CURRENT_VERSION"/>
<functioncall functionName="OTA_DECOMPRESS_FILE"/>
<functioncall functionName="OTA_DISK_FULL"/>
<functioncall functionName="OTA_DOWNLOAD_FILE"/>
<functioncall functionName="OTA_DOWNLOAD_PROGRESS"/>
<functioncall functionName="OTA_ERR_CODE"/>
<functioncall functionName="OTA_FILE_INFO"/>
<functioncall functionName="OTA_PARTITION_BOOT"/>
<functioncall functionName="OTA_PARTITION_IPL_BOOT"/>
<functioncall functionName="OTA_PARTITION_IPL_PARAMS"/>
<functioncall functionName="OTA_PARTITION_IPL_ROOTFS"/>
<functioncall functionName="OTA_PARTITION_MAX"/>
<functioncall functionName="OTA_PARTITION_ROOTFS"/>
<functioncall functionName="OTA_REBOOT_SYSTEM"/>
<functioncall functionName="OTA_RSP_STATUS"/>
<functioncall functionName="OTA_SUCCESED"/>
<functioncall functionName="OTA_UNKNOWN_CMD"/>
<functioncall functionName="OTA_UPGRADE_PARTITION"/>
<functioncall functionName="OTA_UPGRADE_START"/>
<functioncall functionName="OTA_VERIFY_FILE"/>
<functioncall functionName="OTA_VERIFY_PARTITION"/>
<functioncall functionName="O_RDWR"/>
<functioncall functionName="O_TRUNC"/>
<functioncall functionName="POTA_DATA_INFO"/>
<functioncall functionName="RECOVERY_SETUP"/>
<functioncall functionName="RunUVLoop"/>
<functioncall functionName="SIZE_1K"/>
<functioncall functionName="SYSTEM_OTA"/>
<functioncall functionName="SYSTEM_OTA_OK"/>
<functioncall functionName="S_IWUSR"/>
<functioncall functionName="SysPointMarkUpload"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="__ReadIPLParams"/>
<functioncall functionName="__SaveIPLParams"/>
<functioncall functionName="__Write2NandPartition"/>
<functioncall functionName="__dBusDeameonCb"/>
<functioncall functionName="__dBusOnMessage"/>
<functioncall functionName="__dlThreadRuntimeCb"/>
<functioncall functionName="__isPreDownloader"/>
<functioncall functionName="__onHttpResponseCb"/>
<functioncall functionName="__onProgressNotifyCb"/>
<functioncall functionName="__otaDownloadImageCb"/>
<functioncall functionName="__otaFromLocalImage"/>
<functioncall functionName="__otaRspStatus"/>
<functioncall functionName="__otaRunning"/>
<functioncall functionName="__printIPLParams"/>
<functioncall functionName="__printfOTANotifyCmd"/>
<functioncall functionName="access"/>
<functioncall functionName="basePath"/>
<functioncall functionName="basename_v2"/>
<functioncall functionName="break"/>
<functioncall functionName="buf"/>
<functioncall functionName="bufCmd"/>
<functioncall functionName="busCmd"/>
<functioncall functionName="continue"/>
<functioncall functionName="curVersion"/>
<functioncall functionName="default"/>
<functioncall functionName="dirPath"/>
<functioncall functionName="dirname_v2"/>
<functioncall functionName="dlInfo"/>
<functioncall functionName="err"/>
<functioncall functionName="fclose"/>
<functioncall functionName="fileInfo"/>
<functioncall functionName="fileSize"/>
<functioncall functionName="fopen"/>
<functioncall functionName="for"/>
<functioncall functionName="free"/>
<functioncall functionName="g_iplInfo"/>
<functioncall functionName="g_isBackupMode"/>
<functioncall functionName="g_isDownloading"/>
<functioncall functionName="g_otaBarrier"/>
<functioncall functionName="g_otaDownloadPath"/>
<functioncall functionName="g_pMainLoop"/>
<functioncall functionName="getline"/>
<functioncall functionName="i"/>
<functioncall functionName="iFinished"/>
<functioncall functionName="if"/>
<functioncall functionName="int"/>
<functioncall functionName="iplItem"/>
<functioncall functionName="long"/>
<functioncall functionName="md5"/>
<functioncall functionName="md5Buf"/>
<functioncall functionName="md5sum"/>
<functioncall functionName="memcmp"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="modName"/>
<functioncall functionName="oStatus"/>
<functioncall functionName="otaCmd"/>
<functioncall functionName="otaFileInfo"/>
<functioncall functionName="otaMode"/>
<functioncall functionName="pBackCmd"/>
<functioncall functionName="pCheckSumFile"/>
<functioncall functionName="pChkMD5"/>
<functioncall functionName="pChkPath"/>
<functioncall functionName="pChkSumFile"/>
<functioncall functionName="pChkVal"/>
<functioncall functionName="pCmdRet"/>
<functioncall functionName="pConn"/>
<functioncall functionName="pDlInfo"/>
<functioncall functionName="pDlPath"/>
<functioncall functionName="pFile"/>
<functioncall functionName="pFileName"/>
<functioncall functionName="pFilePath"/>
<functioncall functionName="pIPLInfo"/>
<functioncall functionName="pInfo"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pMD5Chk"/>
<functioncall functionName="pMD5Str"/>
<functioncall functionName="pMD5Val"/>
<functioncall functionName="pMagicTag"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pParams"/>
<functioncall functionName="pPartName"/>
<functioncall functionName="pPartPath"/>
<functioncall functionName="pPath"/>
<functioncall functionName="pRdLine"/>
<functioncall functionName="pReqUrl"/>
<functioncall functionName="pTags"/>
<functioncall functionName="pTaskUuid"/>
<functioncall functionName="pToken"/>
<functioncall functionName="pUserData"/>
<functioncall functionName="partName"/>
<functioncall functionName="partSize"/>
<functioncall functionName="puvBarrier"/>
<functioncall functionName="rdSize"/>
<functioncall functionName="remove"/>
<functioncall functionName="result"/>
<functioncall functionName="ret"/>
<functioncall functionName="retCode"/>
<functioncall functionName="return"/>
<functioncall functionName="setupMode"/>
<functioncall functionName="setupStatus"/>
<functioncall functionName="size"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="status"/>
<functioncall functionName="strMD5"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="strdup"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strtok"/>
<functioncall functionName="strtoul"/>
<functioncall functionName="switch"/>
<functioncall functionName="system"/>
<functioncall functionName="type"/>
<functioncall functionName="uMemFreeSize"/>
<functioncall functionName="uPercent"/>
<functioncall functionName="url"/>
<functioncall functionName="usleep"/>
<functioncall functionName="utstring_body"/>
<functioncall functionName="utstring_free"/>
<functioncall functionName="utstring_new"/>
<functioncall functionName="utstring_printf"/>
<functioncall functionName="utstring_renew"/>
<functioncall functionName="uvBarrier"/>
<functioncall functionName="uvBuf"/>
<functioncall functionName="uvClose"/>
<functioncall functionName="uvOpen"/>
<functioncall functionName="uvRead"/>
<functioncall functionName="uvSync"/>
<functioncall functionName="uvThread"/>
<functioncall functionName="uvWrite"/>
<functioncall functionName="uv_barrier_destroy"/>
<functioncall functionName="uv_barrier_init"/>
<functioncall functionName="uv_barrier_wait"/>
<functioncall functionName="uv_buf_init"/>
<functioncall functionName="uv_fs_close"/>
<functioncall functionName="uv_fs_fdatasync"/>
<functioncall functionName="uv_fs_open"/>
<functioncall functionName="uv_fs_read"/>
<functioncall functionName="uv_fs_write"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="val"/>
<functioncall functionName="ver"/>
<functioncall functionName="version"/>
<functioncall functionName="while"/>
<functioncall functionName="wrSize"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,331 @@
<?xml version="1.0"?>
<analyzerinfo checksum="818273619">
<error id="invalidPrintfArgType_sint" severity="warning" msg="%d in format string (no. 1) requires &apos;int&apos; but the argument type is &apos;unsigned int&apos;." verbose="%d in format string (no. 1) requires &apos;int&apos; but the argument type is &apos;unsigned int&apos;." cwe="686">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="201"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;pFile&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;pFile&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="503"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="498"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;basePath&apos; is being written before its old content has been used." verbose="Buffer &apos;basePath&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="642"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="641"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;cmdBuf&apos; is being written before its old content has been used." verbose="Buffer &apos;cmdBuf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="621"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="620"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="771"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="770"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="780"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="779"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;ret&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;ret&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="731"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="717"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="841"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="840"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="851"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="850"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="864"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="863"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="886"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="885"/>
</error>
<error id="redundantCopy" severity="performance" msg="Buffer &apos;buf&apos; is being written before its old content has been used." verbose="Buffer &apos;buf&apos; is being written before its old content has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="894"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="893"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;pBus&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;pBus&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="1076"/>
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="1073"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;ret&apos; can be reduced." verbose="The scope of the variable &apos;ret&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="333"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;tarLen&apos; can be reduced." verbose="The scope of the variable &apos;tarLen&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="603"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;iCnt&apos; can be reduced." verbose="The scope of the variable &apos;iCnt&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="959"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;iErr&apos; can be reduced." verbose="The scope of the variable &apos;iErr&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="960"/>
</error>
<error id="unsignedLessThanZero" severity="style" msg="Checking if unsigned variable &apos;strlen(pFilePath)&apos; is less than zero." verbose="The unsigned variable &apos;strlen(pFilePath)&apos; will never be negative so it is either pointless or an error to check if it is." cwe="570">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="358"/>
</error>
<error id="unsignedLessThanZero" severity="style" msg="Checking if unsigned variable &apos;strlen(pFilePath)&apos; is less than zero." verbose="The unsigned variable &apos;strlen(pFilePath)&apos; will never be negative so it is either pointless or an error to check if it is." cwe="570">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="408"/>
</error>
<error id="unsignedLessThanZero" severity="style" msg="Checking if unsigned variable &apos;strlen(pItem[1])&apos; is less than zero." verbose="The unsigned variable &apos;strlen(pItem[1])&apos; will never be negative so it is either pointless or an error to check if it is." cwe="570">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="544"/>
</error>
<error id="unusedStructMember" severity="style" msg="struct member &apos;IPL_DATA_ITEM::reserved&apos; is never used." verbose="struct member &apos;IPL_DATA_ITEM::reserved&apos; is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="63"/>
</error>
<error id="unusedVariable" severity="style" msg="Unused variable: i" verbose="Unused variable: i" cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="104"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;fileSize&apos; is assigned a value that is never used." verbose="Variable &apos;fileSize&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="391"/>
</error>
<error id="unusedVariable" severity="style" msg="Unused variable: ret" verbose="Unused variable: ret" cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="399"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;rdRet&apos; is assigned a value that is never used." verbose="Variable &apos;rdRet&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="1070"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;rdSize&apos; is assigned a value that is never used." verbose="Variable &apos;rdSize&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="1071"/>
</error>
<error id="purgedConfiguration" severity="information" msg="The configuration &apos;PLATFORM_CPU;PLATFORM_R16&apos; was not checked because its code equals another one." verbose="The configuration &apos;PLATFORM_CPU;PLATFORM_R16&apos; was not checked because its code equals another one.">
<location file="G:\MyProjects\SmartAudio\Modules\OTA\ota_test.c" line="0"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__printfOTANotifyCmd" lineNumber="102"/>
<functiondecl functionName="__otaRspStatus" lineNumber="120"/>
<functiondecl functionName="__dlThreadRuntimeCb" lineNumber="146"/>
<functiondecl functionName="OnHttpResponseCb" lineNumber="153"/>
<functiondecl functionName="OnProgressNotifyCb" lineNumber="178"/>
<functiondecl functionName="__PrintIPLParams" lineNumber="190"/>
<functiondecl functionName="__ReadIPLParams" lineNumber="227"/>
<functiondecl functionName="__SaveIPLParams" lineNumber="280"/>
<functiondecl functionName="__InitIPLParams" lineNumber="331"/>
<functiondecl functionName="__Write2NandPartition" lineNumber="353"/>
<functiondecl functionName="__Write2Partition" lineNumber="396"/>
<functiondecl functionName="__otaRunning" lineNumber="488"/>
<functiondecl functionName="__otaThreadRuntimeCb" lineNumber="702"/>
<functiondecl functionName="__otaRecoveryRuntime" lineNumber="820"/>
<functiondecl functionName="__dBusDeameonCb" lineNumber="927"/>
<functiondecl functionName="__dBusOnMessage" lineNumber="953"/>
<functiondecl functionName="main" lineNumber="1066"/>
<functioncall functionName="CMD_OTA_STATUS"/>
<functioncall functionName="CopyFileWithSize"/>
<functioncall functionName="DBusJsonBoardcastCommand"/>
<functioncall functionName="DBusJsonSendToCommand"/>
<functioncall functionName="DBusWithLibuvInit"/>
<functioncall functionName="ERR_BAD_FILE_SIZE"/>
<functioncall functionName="ERR_BAD_IPL3"/>
<functioncall functionName="ERR_COPY_FILE"/>
<functioncall functionName="ERR_FILE_NOT_EXISTS"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MD5_CHECK_SUM"/>
<functioncall functionName="ERR_MD5_FILE"/>
<functioncall functionName="ERR_NO_INIT_IPL3"/>
<functioncall functionName="ERR_OPEN_FILE"/>
<functioncall functionName="ERR_OTA_NOT_READY"/>
<functioncall functionName="ERR_OTA_WRITE_BOOT"/>
<functioncall functionName="ERR_OTA_WRITE_PARAMS"/>
<functioncall functionName="ERR_OTA_WRITE_ROOTFS"/>
<functioncall functionName="ERR_READ_FILE"/>
<functioncall functionName="ERR_VERIFY_PARTITION_MD5"/>
<functioncall functionName="EvpMD5HashBuf"/>
<functioncall functionName="EvpMD5HashBufV2"/>
<functioncall functionName="EvpMD5HashFile"/>
<functioncall functionName="EvpMD5HashFileV2"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="GET_FILE_SIZE"/>
<functioncall functionName="GetShellExecResult"/>
<functioncall functionName="IHW_bin2hex"/>
<functioncall functionName="InetHttpDlFileAsync"/>
<functioncall functionName="JSON_ENGINE_OTA_RSP"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Info"/>
<functioncall functionName="MAX_PATH"/>
<functioncall functionName="MD5_CHKSUM_LEN"/>
<functioncall functionName="MD5_CHKSUM_STR_LEN"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="MODULE_OTA"/>
<functioncall functionName="NORMAL_SETUP"/>
<functioncall functionName="NO_OTA_STATUS_VAL_TAG"/>
<functioncall functionName="NULL"/>
<functioncall functionName="OTA_CURRENT_REBOOT_TIME"/>
<functioncall functionName="OTA_CURRENT_SETUP_MODE"/>
<functioncall functionName="OTA_CURRENT_VERSION"/>
<functioncall functionName="OTA_DECOMPRESS_FILE"/>
<functioncall functionName="OTA_DOWNLOAD_FILE"/>
<functioncall functionName="OTA_DOWNLOAD_PROGRESS"/>
<functioncall functionName="OTA_ERR_CODE"/>
<functioncall functionName="OTA_FILE_INFO"/>
<functioncall functionName="OTA_PARTITION_BOOT"/>
<functioncall functionName="OTA_PARTITION_IPL_BOOT"/>
<functioncall functionName="OTA_PARTITION_IPL_PARAMS"/>
<functioncall functionName="OTA_PARTITION_IPL_ROOTFS"/>
<functioncall functionName="OTA_PARTITION_MAX"/>
<functioncall functionName="OTA_PARTITION_ROOTFS"/>
<functioncall functionName="OTA_REBOOT_SYSTEM"/>
<functioncall functionName="OTA_RECOVERY_START"/>
<functioncall functionName="OTA_REREQ_OTA_NOW"/>
<functioncall functionName="OTA_RSP_STATUS"/>
<functioncall functionName="OTA_SUCCESED"/>
<functioncall functionName="OTA_UPGRADE_PARTITION"/>
<functioncall functionName="OTA_UPGRADE_READY"/>
<functioncall functionName="OTA_UPGRADE_START"/>
<functioncall functionName="OTA_VERIFY_FILE"/>
<functioncall functionName="OTA_VERIFY_PARTITION"/>
<functioncall functionName="O_RDWR"/>
<functioncall functionName="OnHttpResponseCb"/>
<functioncall functionName="OnProgressNotifyCb"/>
<functioncall functionName="POTA_DATA_INFO"/>
<functioncall functionName="RunUVLoop"/>
<functioncall functionName="SIZE_1K"/>
<functioncall functionName="SYSTEM_OTA"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="__PrintIPLParams"/>
<functioncall functionName="__ReadIPLParams"/>
<functioncall functionName="__SaveIPLParams"/>
<functioncall functionName="__Write2NandPartition"/>
<functioncall functionName="__dBusOnMessage"/>
<functioncall functionName="__dlThreadRuntimeCb"/>
<functioncall functionName="__otaRecoveryRuntime"/>
<functioncall functionName="__otaRspStatus"/>
<functioncall functionName="__otaRunning"/>
<functioncall functionName="access"/>
<functioncall functionName="basePath"/>
<functioncall functionName="basename_v2"/>
<functioncall functionName="break"/>
<functioncall functionName="buf"/>
<functioncall functionName="bufCmd"/>
<functioncall functionName="busCmd"/>
<functioncall functionName="cmdBuf"/>
<functioncall functionName="continue"/>
<functioncall functionName="curVersion"/>
<functioncall functionName="default"/>
<functioncall functionName="dirPath"/>
<functioncall functionName="dirname_v2"/>
<functioncall functionName="dlInfo"/>
<functioncall functionName="exit"/>
<functioncall functionName="fclose"/>
<functioncall functionName="fileInfo"/>
<functioncall functionName="fileSize"/>
<functioncall functionName="fopen"/>
<functioncall functionName="for"/>
<functioncall functionName="fprintf"/>
<functioncall functionName="free"/>
<functioncall functionName="g_iplInfo"/>
<functioncall functionName="g_otaBarrier"/>
<functioncall functionName="g_umountPart"/>
<functioncall functionName="getline"/>
<functioncall functionName="i"/>
<functioncall functionName="iErr"/>
<functioncall functionName="iFinished"/>
<functioncall functionName="iReqId"/>
<functioncall functionName="if"/>
<functioncall functionName="iplItem"/>
<functioncall functionName="md5"/>
<functioncall functionName="md5Buf"/>
<functioncall functionName="md5sum"/>
<functioncall functionName="memcmp"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="modName"/>
<functioncall functionName="msgSize"/>
<functioncall functionName="oStatus"/>
<functioncall functionName="otaFileInfo"/>
<functioncall functionName="otaMode"/>
<functioncall functionName="pCheckSumFile"/>
<functioncall functionName="pChkMD5"/>
<functioncall functionName="pChkSumFile"/>
<functioncall functionName="pChkVal"/>
<functioncall functionName="pCmdRet"/>
<functioncall functionName="pConn"/>
<functioncall functionName="pDlInfo"/>
<functioncall functionName="pFile"/>
<functioncall functionName="pFileName"/>
<functioncall functionName="pFilePath"/>
<functioncall functionName="pIPLInfo"/>
<functioncall functionName="pInfo"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pMD5"/>
<functioncall functionName="pMD5Chk"/>
<functioncall functionName="pMD5Str"/>
<functioncall functionName="pMD5Val"/>
<functioncall functionName="pMagicTag"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pParams"/>
<functioncall functionName="pPartName"/>
<functioncall functionName="pPartPath"/>
<functioncall functionName="pPath"/>
<functioncall functionName="pRdLine"/>
<functioncall functionName="pReqUrl"/>
<functioncall functionName="pRet"/>
<functioncall functionName="pTags"/>
<functioncall functionName="pToken"/>
<functioncall functionName="pUrl"/>
<functioncall functionName="pUserData"/>
<functioncall functionName="partName"/>
<functioncall functionName="partSize"/>
<functioncall functionName="puvBarrier"/>
<functioncall functionName="rdSize"/>
<functioncall functionName="remove"/>
<functioncall functionName="result"/>
<functioncall functionName="ret"/>
<functioncall functionName="retCode"/>
<functioncall functionName="return"/>
<functioncall functionName="setupMode"/>
<functioncall functionName="setupStatus"/>
<functioncall functionName="size"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="status"/>
<functioncall functionName="stdout"/>
<functioncall functionName="strMD5"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strdup"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strtok"/>
<functioncall functionName="strtoul"/>
<functioncall functionName="switch"/>
<functioncall functionName="system"/>
<functioncall functionName="tolRd"/>
<functioncall functionName="tolWr"/>
<functioncall functionName="type"/>
<functioncall functionName="uPercent"/>
<functioncall functionName="url"/>
<functioncall functionName="uvBarrier"/>
<functioncall functionName="uvBuf"/>
<functioncall functionName="uvClose"/>
<functioncall functionName="uvInClose"/>
<functioncall functionName="uvInOpen"/>
<functioncall functionName="uvOpen"/>
<functioncall functionName="uvOutClose"/>
<functioncall functionName="uvOutOpen"/>
<functioncall functionName="uvRead"/>
<functioncall functionName="uvSync"/>
<functioncall functionName="uvThread"/>
<functioncall functionName="uvWrite"/>
<functioncall functionName="uv_barrier_destroy"/>
<functioncall functionName="uv_barrier_init"/>
<functioncall functionName="uv_barrier_wait"/>
<functioncall functionName="uv_buf_init"/>
<functioncall functionName="uv_default_loop"/>
<functioncall functionName="uv_fs_close"/>
<functioncall functionName="uv_fs_fdatasync"/>
<functioncall functionName="uv_fs_open"/>
<functioncall functionName="uv_fs_read"/>
<functioncall functionName="uv_fs_write"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="val"/>
<functioncall functionName="ver"/>
<functioncall functionName="version"/>
<functioncall functionName="while"/>
<functioncall functionName="wrSize"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,93 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2460133375">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__skin_res_destructor" lineNumber="30"/>
<functiondecl functionName="__skin_res_create" lineNumber="44"/>
<functiondecl functionName="__skin_res_connect" lineNumber="92"/>
<functiondecl functionName="__skin_res_disconnect" lineNumber="99"/>
<functiondecl functionName="__skin_res_destroy" lineNumber="104"/>
<functiondecl functionName="__skin_res_open" lineNumber="117"/>
<functiondecl functionName="__skin_res_close" lineNumber="125"/>
<functiondecl functionName="__skin_res_eof" lineNumber="133"/>
<functiondecl functionName="__skin_res_next" lineNumber="138"/>
<functiondecl functionName="__skin_res_column" lineNumber="155"/>
<functiondecl functionName="__skin_cfg_column" lineNumber="188"/>
<functiondecl functionName="__skin_res_rowid" lineNumber="225"/>
<functiondecl functionName="__skin_res_filter" lineNumber="235"/>
<functiondecl functionName="__skin_res_best_index" lineNumber="256"/>
<functiondecl functionName="InitSkinRomDatabase" lineNumber="307"/>
<functioncall functionName="CREATE_RES_TBL_SQL"/>
<functioncall functionName="CREATE_SKIN_TBL_SQL"/>
<functioncall functionName="ERR_SQL_REG_MODULE"/>
<functioncall functionName="NULL"/>
<functioncall functionName="RES_MODE_NAME"/>
<functioncall functionName="SKIN_MODE_NAME"/>
<functioncall functionName="SQLITE_NOMEM"/>
<functioncall functionName="SQLITE_OK"/>
<functioncall functionName="SQLITE_STATIC"/>
<functioncall functionName="SkinsDefaultSize"/>
<functioncall functionName="SkinsItemById"/>
<functioncall functionName="__skin_cfg_column"/>
<functioncall functionName="__skin_res_best_index"/>
<functioncall functionName="__skin_res_close"/>
<functioncall functionName="__skin_res_column"/>
<functioncall functionName="__skin_res_connect"/>
<functioncall functionName="__skin_res_create"/>
<functioncall functionName="__skin_res_destroy"/>
<functioncall functionName="__skin_res_destructor"/>
<functioncall functionName="__skin_res_disconnect"/>
<functioncall functionName="__skin_res_eof"/>
<functioncall functionName="__skin_res_filter"/>
<functioncall functionName="__skin_res_next"/>
<functioncall functionName="__skin_res_open"/>
<functioncall functionName="__skin_res_rowid"/>
<functioncall functionName="argc"/>
<functioncall functionName="argv"/>
<functioncall functionName="break"/>
<functioncall functionName="count"/>
<functioncall functionName="ctx"/>
<functioncall functionName="cur"/>
<functioncall functionName="db"/>
<functioncall functionName="eof"/>
<functioncall functionName="free"/>
<functioncall functionName="g_ResModule"/>
<functioncall functionName="g_SkinModule"/>
<functioncall functionName="iCol"/>
<functioncall functionName="if"/>
<functioncall functionName="p"/>
<functioncall functionName="pCur"/>
<functioncall functionName="pDataBase"/>
<functioncall functionName="pDb"/>
<functioncall functionName="pInCur"/>
<functioncall functionName="pKeyName"/>
<functioncall functionName="pLocalPath"/>
<functioncall functionName="pMD5Chksum"/>
<functioncall functionName="pResVer"/>
<functioncall functionName="pSqlCmd"/>
<functioncall functionName="pTblName"/>
<functioncall functionName="pVTbl"/>
<functioncall functionName="pVtab"/>
<functioncall functionName="pVtc"/>
<functioncall functionName="p_aux"/>
<functioncall functionName="pp_vt"/>
<functioncall functionName="pzErr"/>
<functioncall functionName="resType"/>
<functioncall functionName="return"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sqlite3_create_module"/>
<functioncall functionName="sqlite3_declare_vtab"/>
<functioncall functionName="sqlite3_free"/>
<functioncall functionName="sqlite3_malloc"/>
<functioncall functionName="sqlite3_result_int"/>
<functioncall functionName="sqlite3_result_text"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strdup"/>
<functioncall functionName="strlen"/>
<functioncall functionName="switch"/>
<functioncall functionName="utstring_body"/>
<functioncall functionName="utstring_free"/>
<functioncall functionName="utstring_new"/>
<functioncall functionName="utstring_printf"/>
<functioncall functionName="vTable"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,3 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3049613365">
</analyzerinfo>

View File

@ -0,0 +1,255 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2705446431">
<error id="redundantAssignment" severity="style" msg="Variable &apos;rc&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;rc&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Framework\Skins\skins.c" file="G:\MyProjects\SmartAudio\Framework\Skins\skins.c" line="1288"/>
<location file0="G:\MyProjects\SmartAudio\Framework\Skins\skins.c" file="G:\MyProjects\SmartAudio\Framework\Skins\skins.c" line="1284"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;rc&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;rc&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Framework\Skins\skins.c" file="G:\MyProjects\SmartAudio\Framework\Skins\skins.c" line="1292"/>
<location file0="G:\MyProjects\SmartAudio\Framework\Skins\skins.c" file="G:\MyProjects\SmartAudio\Framework\Skins\skins.c" line="1288"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="__dumpSkinsInfo" lineNumber="91"/>
<functiondecl functionName="__verifyResMD5Chksum" lineNumber="115"/>
<functiondecl functionName="__checkRes" lineNumber="161"/>
<functiondecl functionName="__cleanupSkinTbl" lineNumber="179"/>
<functiondecl functionName="__cleanupResTbl" lineNumber="215"/>
<functiondecl functionName="__cleanupUpgTbl" lineNumber="251"/>
<functiondecl functionName="__cleanupTmpTbl" lineNumber="286"/>
<functiondecl functionName="__skinCreateCfgDB" lineNumber="321"/>
<functiondecl functionName="__skinCreateCfgFile" lineNumber="347"/>
<functiondecl functionName="__onDlFileCb" lineNumber="455"/>
<functiondecl functionName="__reTryDlSkinResCb" lineNumber="525"/>
<functiondecl functionName="__loadDownloadSkinsCb" lineNumber="559"/>
<functiondecl functionName="__uvDownloadResThread" lineNumber="616"/>
<functiondecl functionName="__sqlCbRemoveUnusedFile" lineNumber="651"/>
<functiondecl functionName="__createResTblCb" lineNumber="662"/>
<functiondecl functionName="__createSkinTblCb" lineNumber="706"/>
<functiondecl functionName="__uvSyncResThread" lineNumber="734"/>
<functiondecl functionName="__upgStatusTblCb" lineNumber="877"/>
<functiondecl functionName="__saveUpgradeInfo" lineNumber="903"/>
<functiondecl functionName="__loadPreUpgradeInfo" lineNumber="1023"/>
<functiondecl functionName="__getEnumResInfo" lineNumber="1060"/>
<functiondecl functionName="SkinUpgrade" lineNumber="1065"/>
<functiondecl functionName="SQLiteGetSkinsResource" lineNumber="1128"/>
<functiondecl functionName="GetSkinsResource" lineNumber="1190"/>
<functiondecl functionName="SkinsDefaultSize" lineNumber="1225"/>
<functiondecl functionName="SkinsItemById" lineNumber="1230"/>
<functiondecl functionName="__dusOnMsg" lineNumber="1240"/>
<functiondecl functionName="uvLoopProc" lineNumber="1245"/>
<functiondecl functionName="SkinInit" lineNumber="1250"/>
<functiondecl functionName="__dumpSkinsInfo" lineNumber="91"/>
<functiondecl functionName="__verifyResMD5Chksum" lineNumber="115"/>
<functiondecl functionName="__checkRes" lineNumber="161"/>
<functiondecl functionName="__cleanupSkinTbl" lineNumber="179"/>
<functiondecl functionName="__cleanupResTbl" lineNumber="215"/>
<functiondecl functionName="__cleanupUpgTbl" lineNumber="251"/>
<functiondecl functionName="__cleanupTmpTbl" lineNumber="286"/>
<functiondecl functionName="__skinCreateCfgDB" lineNumber="321"/>
<functiondecl functionName="__skinCreateCfgFile" lineNumber="347"/>
<functiondecl functionName="__onDlFileCb" lineNumber="455"/>
<functiondecl functionName="__reTryDlSkinResCb" lineNumber="525"/>
<functiondecl functionName="__loadDownloadSkinsCb" lineNumber="559"/>
<functiondecl functionName="__uvDownloadResThread" lineNumber="616"/>
<functiondecl functionName="__sqlCbRemoveUnusedFile" lineNumber="651"/>
<functiondecl functionName="__createResTblCb" lineNumber="662"/>
<functiondecl functionName="__createSkinTblCb" lineNumber="706"/>
<functiondecl functionName="__uvSyncResThread" lineNumber="734"/>
<functiondecl functionName="__upgStatusTblCb" lineNumber="877"/>
<functiondecl functionName="__saveUpgradeInfo" lineNumber="903"/>
<functiondecl functionName="__loadPreUpgradeInfo" lineNumber="1023"/>
<functiondecl functionName="__getEnumResInfo" lineNumber="1060"/>
<functiondecl functionName="SkinUpgrade" lineNumber="1065"/>
<functiondecl functionName="SQLiteGetSkinsResource" lineNumber="1128"/>
<functiondecl functionName="GetSkinsResource" lineNumber="1190"/>
<functiondecl functionName="SkinsDefaultSize" lineNumber="1225"/>
<functiondecl functionName="SkinsItemById" lineNumber="1230"/>
<functiondecl functionName="__dusOnMsg" lineNumber="1240"/>
<functiondecl functionName="uvLoopProc" lineNumber="1245"/>
<functiondecl functionName="SkinInit" lineNumber="1250"/>
<functioncall functionName="CREATE_RES_TBL_SQL"/>
<functioncall functionName="CREATE_SKIN_TBL_SQL"/>
<functioncall functionName="DBusLibuvGetRuntime"/>
<functioncall functionName="DBusWithLibuvInit"/>
<functioncall functionName="DEBUG_SQL_CALLBACK_DATA"/>
<functioncall functionName="DEF_SKINS_ROOT_PATH"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MALLOC_MEMORY"/>
<functioncall functionName="ERR_NO_ITEMS"/>
<functioncall functionName="ERR_OPEN_SQLITE3_DB"/>
<functioncall functionName="ERR_SQLITE3_CREATE_TABLE"/>
<functioncall functionName="ERR_SQL_QUERY"/>
<functioncall functionName="ERR_SQL_REG_MODULE"/>
<functioncall functionName="ERR_UNINIT_ITEM"/>
<functioncall functionName="EvpMD5HashFile"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="GetDBusDefaultLoop"/>
<functioncall functionName="HASH_ADD_STR"/>
<functioncall functionName="HASH_FIND_STR"/>
<functioncall functionName="HASH_ITER"/>
<functioncall functionName="InetCancelDownload"/>
<functioncall functionName="InetHttpDlFileAsync"/>
<functioncall functionName="InitSkinRomDatabase"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_EX2"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Warn"/>
<functioncall functionName="MODULE_SKINS"/>
<functioncall functionName="NULL"/>
<functioncall functionName="PSKIN_RES_INFO"/>
<functioncall functionName="RES_MODE_NAME"/>
<functioncall functionName="RES_TBL_NAME"/>
<functioncall functionName="RunUVLoop"/>
<functioncall functionName="SKINS_DB_PATH"/>
<functioncall functionName="SKIN_MODE_NAME"/>
<functioncall functionName="SKIN_RES_INFO"/>
<functioncall functionName="SKIN_TBL_NAME"/>
<functioncall functionName="SKIN_USER_DB"/>
<functioncall functionName="SQLITE_OPEN_CREATE"/>
<functioncall functionName="SQLITE_UTF8"/>
<functioncall functionName="SQLiteGetSkinsResource"/>
<functioncall functionName="STATUS_CREATE_NEW"/>
<functioncall functionName="STATUS_DOWNLOADED"/>
<functioncall functionName="STATUS_DOWNLOADING"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="UPG_STATUS_DL_NEW"/>
<functioncall functionName="UPG_STATUS_DOWNLOADED"/>
<functioncall functionName="__checkRes"/>
<functioncall functionName="__cleanupResTbl"/>
<functioncall functionName="__cleanupSkinTbl"/>
<functioncall functionName="__cleanupTmpTbl"/>
<functioncall functionName="__cleanupUpgTbl"/>
<functioncall functionName="__createResTblCb"/>
<functioncall functionName="__createSkinTblCb"/>
<functioncall functionName="__dumpSkinsInfo"/>
<functioncall functionName="__dusOnMsg"/>
<functioncall functionName="__loadDownloadSkinsCb"/>
<functioncall functionName="__loadPreUpgradeInfo"/>
<functioncall functionName="__onDlFileCb"/>
<functioncall functionName="__reTryDlSkinResCb"/>
<functioncall functionName="__saveUpgradeInfo"/>
<functioncall functionName="__skinCreateCfgDB"/>
<functioncall functionName="__skinCreateCfgFile"/>
<functioncall functionName="__sqlCbRemoveUnusedFile"/>
<functioncall functionName="__upgStatusTblCb"/>
<functioncall functionName="__uvDownloadResThread"/>
<functioncall functionName="__uvSyncResThread"/>
<functioncall functionName="__verifyResMD5Chksum"/>
<functioncall functionName="access"/>
<functioncall functionName="argc"/>
<functioncall functionName="argv"/>
<functioncall functionName="azColName"/>
<functioncall functionName="basename_v2"/>
<functioncall functionName="break"/>
<functioncall functionName="cJSON_Delete"/>
<functioncall functionName="cJSON_GetArraySize"/>
<functioncall functionName="cJSON_GetObjectItem"/>
<functioncall functionName="cJSON_Parse"/>
<functioncall functionName="child"/>
<functioncall functionName="continue"/>
<functioncall functionName="default"/>
<functioncall functionName="dlRetry"/>
<functioncall functionName="for"/>
<functioncall functionName="free"/>
<functioncall functionName="g_SkinCacheRwLock"/>
<functioncall functionName="g_SkinDefaultResTable"/>
<functioncall functionName="g_curDlItems"/>
<functioncall functionName="g_emuUpgradeInfo"/>
<functioncall functionName="g_isDlFinished"/>
<functioncall functionName="g_pMemDb"/>
<functioncall functionName="g_pSkinCackeTbl"/>
<functioncall functionName="g_uvDlRwLock"/>
<functioncall functionName="g_uvSkinRwLock"/>
<functioncall functionName="hh"/>
<functioncall functionName="i"/>
<functioncall functionName="iCol"/>
<functioncall functionName="iFinished"/>
<functioncall functionName="iRow"/>
<functioncall functionName="if"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memset"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="nItems"/>
<functioncall functionName="next"/>
<functioncall functionName="pCfgFilePath"/>
<functioncall functionName="pChksum"/>
<functioncall functionName="pComeFrom"/>
<functioncall functionName="pContext"/>
<functioncall functionName="pDlId"/>
<functioncall functionName="pDlPath"/>
<functioncall functionName="pDlTaskId"/>
<functioncall functionName="pErrMsg"/>
<functioncall functionName="pId"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pItemId"/>
<functioncall functionName="pKeyName"/>
<functioncall functionName="pList"/>
<functioncall functionName="pLocalPath"/>
<functioncall functionName="pMD5Chksum"/>
<functioncall functionName="pPath"/>
<functioncall functionName="pReqUrl"/>
<functioncall functionName="pResPath"/>
<functioncall functionName="pResType"/>
<functioncall functionName="pResVer"/>
<functioncall functionName="pResult"/>
<functioncall functionName="pRoot"/>
<functioncall functionName="pSkinItem"/>
<functioncall functionName="pSkinPath"/>
<functioncall functionName="pSkinRes"/>
<functioncall functionName="pSqlCmd"/>
<functioncall functionName="pSqlFileDB"/>
<functioncall functionName="pTaskUuid"/>
<functioncall functionName="pTemp"/>
<functioncall functionName="pURL"/>
<functioncall functionName="pUpdData"/>
<functioncall functionName="pUpgResInfo"/>
<functioncall functionName="pUserData"/>
<functioncall functionName="pVersion"/>
<functioncall functionName="rc"/>
<functioncall functionName="resType"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="size"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="sqlite3_close"/>
<functioncall functionName="sqlite3_create_function"/>
<functioncall functionName="sqlite3_exec"/>
<functioncall functionName="sqlite3_free"/>
<functioncall functionName="sqlite3_free_table"/>
<functioncall functionName="sqlite3_get_table"/>
<functioncall functionName="sqlite3_open"/>
<functioncall functionName="sqlite3_open_v2"/>
<functioncall functionName="sqlite3_result_int"/>
<functioncall functionName="sqlite3_value_int"/>
<functioncall functionName="sqlite3_value_text"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strdup"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strncmp"/>
<functioncall functionName="strtol"/>
<functioncall functionName="switch"/>
<functioncall functionName="system"/>
<functioncall functionName="unlink"/>
<functioncall functionName="utstring_body"/>
<functioncall functionName="utstring_free"/>
<functioncall functionName="utstring_new"/>
<functioncall functionName="utstring_printf"/>
<functioncall functionName="utstring_renew"/>
<functioncall functionName="uvDlThread"/>
<functioncall functionName="uvLoopProc"/>
<functioncall functionName="uvSyncThread"/>
<functioncall functionName="uvThread"/>
<functioncall functionName="uv_rwlock_init"/>
<functioncall functionName="uv_rwlock_rdlock"/>
<functioncall functionName="uv_rwlock_rdunlock"/>
<functioncall functionName="uv_rwlock_wrlock"/>
<functioncall functionName="uv_rwlock_wrunlock"/>
<functioncall functionName="uv_thread_create"/>
<functioncall functionName="valueint"/>
<functioncall functionName="valuestring"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,3 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3049613365">
</analyzerinfo>

View File

@ -0,0 +1,175 @@
[30.11.2017]
1512007154412
cppcheck-error:2
cppcheck-warning:0
cppcheck-style:0
cppcheck-performance:0
cppcheck-portability:0
[30.11.2017]
1512007193507
cppcheck-error:0
cppcheck-warning:1
cppcheck-style:69
cppcheck-performance:20
cppcheck-portability:0
[30.11.2017]
1512007212550
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:15
cppcheck-performance:11
cppcheck-portability:0
[30.11.2017]
1512007304453
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:42
cppcheck-performance:11
cppcheck-portability:0
[30.11.2017]
1512007350509
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:49
cppcheck-performance:11
cppcheck-portability:0
[30.11.2017]
1512007374131
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:49
cppcheck-performance:11
cppcheck-portability:0
[30.11.2017]
1512008344976
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:47
cppcheck-performance:11
cppcheck-portability:0
[30.11.2017]
1512008478811
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:40
cppcheck-performance:11
cppcheck-portability:0
[30.11.2017]
1512008557707
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:5
cppcheck-performance:11
cppcheck-portability:0
[07.12.2017]
1512612680326
cppcheck-error:5
cppcheck-warning:0
cppcheck-style:55
cppcheck-performance:12
cppcheck-portability:0
[07.12.2017]
1512613050298
cppcheck-error:3
cppcheck-warning:0
cppcheck-style:15
cppcheck-performance:12
cppcheck-portability:0
[13.12.2017]
1513167619539
cppcheck-error:3
cppcheck-warning:0
cppcheck-style:64
cppcheck-performance:11
cppcheck-portability:0
[13.12.2017]
1513167717131
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:23
cppcheck-performance:11
cppcheck-portability:0
[13.12.2017]
1513167803340
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:6
cppcheck-performance:11
cppcheck-portability:0
[15.12.2017]
1513307176359
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:61
cppcheck-performance:11
cppcheck-portability:0
[20.12.2017]
1513770151768
cppcheck-error:0
cppcheck-warning:3
cppcheck-style:63
cppcheck-performance:11
cppcheck-portability:0
[20.12.2017]
1513770228365
cppcheck-error:2
cppcheck-warning:0
cppcheck-style:21
cppcheck-performance:11
cppcheck-portability:0
[20.12.2017]
1513770258491
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:4
cppcheck-performance:11
cppcheck-portability:0
[20.12.2017]
1513770339444
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:7
cppcheck-performance:0
cppcheck-portability:0
[03.01.2018]
1514948955031
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:70
cppcheck-performance:11
cppcheck-portability:0
[03.01.2018]
1514949117707
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:66
cppcheck-performance:11
cppcheck-portability:0
[22.01.2018]
1516590482432
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:73
cppcheck-performance:7
cppcheck-portability:0
[07.02.2018]
1517990706555
cppcheck-error:1
cppcheck-warning:0
cppcheck-style:74
cppcheck-performance:7
cppcheck-portability:0
[08.02.2018]
1518058823674
cppcheck-error:1
cppcheck-warning:0
cppcheck-style:74
cppcheck-performance:7
cppcheck-portability:0
[08.02.2018]
1518059147899
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:66
cppcheck-performance:0
cppcheck-portability:0

View File

@ -0,0 +1,102 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3372457345">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="DumpTimerRepeatModeString" lineNumber="42"/>
<functiondecl functionName="__timestampSort" lineNumber="59"/>
<functiondecl functionName="__getNextOnTimestamp" lineNumber="71"/>
<functiondecl functionName="__getOnTimestamp" lineNumber="218"/>
<functiondecl functionName="__timerout200msCb" lineNumber="471"/>
<functiondecl functionName="AlarmTimerInit" lineNumber="546"/>
<functiondecl functionName="AlarmTimerCleanup" lineNumber="560"/>
<functiondecl functionName="AlarmTimerRemove" lineNumber="571"/>
<functiondecl functionName="AlarmTimerAdd" lineNumber="592"/>
<functioncall functionName="AlarmTimerInit"/>
<functioncall functionName="CurrentIsWorkDay"/>
<functioncall functionName="DumpTimerRepeatModeString"/>
<functioncall functionName="ERR_INPUT_PARAMS"/>
<functioncall functionName="ERR_MALLOC_MEMORY"/>
<functioncall functionName="ERR_NO_ITEMS"/>
<functioncall functionName="HASH_ADD_INT"/>
<functioncall functionName="HASH_DEL"/>
<functioncall functionName="HASH_FIND_INT"/>
<functioncall functionName="HASH_ITER"/>
<functioncall functionName="HASH_SORT"/>
<functioncall functionName="LOG_Debug"/>
<functioncall functionName="LOG_EX"/>
<functioncall functionName="LOG_Error"/>
<functioncall functionName="LOG_Warn"/>
<functioncall functionName="NULL"/>
<functioncall functionName="__getNextOnTimestamp"/>
<functioncall functionName="__getOnTimestamp"/>
<functioncall functionName="__sync_fetch_and_add"/>
<functioncall functionName="__timerout200msCb"/>
<functioncall functionName="__timestampSort"/>
<functioncall functionName="alarmId"/>
<functioncall functionName="break"/>
<functioncall functionName="continue"/>
<functioncall functionName="day"/>
<functioncall functionName="default"/>
<functioncall functionName="et"/>
<functioncall functionName="free"/>
<functioncall functionName="g_LocalTime"/>
<functioncall functionName="g_TimeStamp"/>
<functioncall functionName="g_TimerTbl"/>
<functioncall functionName="g_iAlarmId"/>
<functioncall functionName="g_pMainLoop"/>
<functioncall functionName="g_uvHashRwLock"/>
<functioncall functionName="g_uvTimer"/>
<functioncall functionName="hh"/>
<functioncall functionName="hour"/>
<functioncall functionName="if"/>
<functioncall functionName="localtime_r"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="minute"/>
<functioncall functionName="mktime"/>
<functioncall functionName="month"/>
<functioncall functionName="onDateTime"/>
<functioncall functionName="onTimestamp"/>
<functioncall functionName="pAlarmData"/>
<functioncall functionName="pError"/>
<functioncall functionName="pItem"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pOnAlarmCb"/>
<functioncall functionName="pOnTimerCb"/>
<functioncall functionName="pTemp"/>
<functioncall functionName="pUserData"/>
<functioncall functionName="priority"/>
<functioncall functionName="repMode"/>
<functioncall functionName="repeatMode"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="second"/>
<functioncall functionName="setTime"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="switch"/>
<functioncall functionName="time"/>
<functioncall functionName="timerPriority"/>
<functioncall functionName="timestamp"/>
<functioncall functionName="tmId"/>
<functioncall functionName="tm_hour"/>
<functioncall functionName="tm_mday"/>
<functioncall functionName="tm_min"/>
<functioncall functionName="tm_mon"/>
<functioncall functionName="tm_sec"/>
<functioncall functionName="tm_wday"/>
<functioncall functionName="tm_yday"/>
<functioncall functionName="tm_year"/>
<functioncall functionName="uv_rwlock_destroy"/>
<functioncall functionName="uv_rwlock_init"/>
<functioncall functionName="uv_rwlock_rdlock"/>
<functioncall functionName="uv_rwlock_rdunlock"/>
<functioncall functionName="uv_rwlock_wrlock"/>
<functioncall functionName="uv_rwlock_wrunlock"/>
<functioncall functionName="uv_timer_init"/>
<functioncall functionName="uv_timer_start"/>
<functioncall functionName="uv_timer_stop"/>
<functioncall functionName="weekDay"/>
<functioncall functionName="while"/>
<functioncall functionName="year"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,46 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1462450024">
<error id="unreadVariable" severity="style" msg="Variable &apos;ret&apos; is assigned a value that is never used." verbose="Variable &apos;ret&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\MyProjects\SmartAudio\Framework\Compress\zlib.c" file="G:\MyProjects\SmartAudio\Framework\Compress\zlib.c" line="88"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="GZipFileCompress" lineNumber="19"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="Z_DEFAULT_COMPRESSION"/>
<functioncall functionName="Z_DEFAULT_STRATEGY"/>
<functioncall functionName="Z_DEFLATED"/>
<functioncall functionName="Z_ERRNO"/>
<functioncall functionName="Z_FINISH"/>
<functioncall functionName="Z_NO_FLUSH"/>
<functioncall functionName="Z_NULL"/>
<functioncall functionName="access"/>
<functioncall functionName="avail_out"/>
<functioncall functionName="deflate"/>
<functioncall functionName="deflateEnd"/>
<functioncall functionName="deflateInit2"/>
<functioncall functionName="dest"/>
<functioncall functionName="fclose"/>
<functioncall functionName="feof"/>
<functioncall functionName="ferror"/>
<functioncall functionName="fflush"/>
<functioncall functionName="fopen"/>
<functioncall functionName="fread"/>
<functioncall functionName="fwrite"/>
<functioncall functionName="have"/>
<functioncall functionName="if"/>
<functioncall functionName="in"/>
<functioncall functionName="isFlush"/>
<functioncall functionName="memset"/>
<functioncall functionName="out"/>
<functioncall functionName="pInput"/>
<functioncall functionName="pOutput"/>
<functioncall functionName="return"/>
<functioncall functionName="source"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="strPath"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strm"/>
<functioncall functionName="void"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="1">
<root name="G:/MyProjects/SmartAudio"/>
<builddir>SmartAudio-cppcheck-build-dir</builddir>
<analyze-all-vs-configs>true</analyze-all-vs-configs>
<paths>
<dir name="G:/MyProjects/SmartAudio"/>
</paths>
<exclude>
<path name="G:/MyProjects/SmartAudio/.svn/"/>
<path name="G:/MyProjects/SmartAudio/linux32/"/>
</exclude>
<libraries>
<library>gnu</library>
</libraries>
</project>

View File

@ -0,0 +1,62 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2119893065">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="queue_init" lineNumber="16"/>
<functiondecl functionName="queue_destroy" lineNumber="37"/>
<functiondecl functionName="queue_reset" lineNumber="44"/>
<functiondecl functionName="queue_real_capacity" lineNumber="54"/>
<functiondecl functionName="queue_front" lineNumber="56"/>
<functiondecl functionName="queue_rear" lineNumber="64"/>
<functiondecl functionName="queue_len" lineNumber="72"/>
<functiondecl functionName="queue_len_asyn" lineNumber="80"/>
<functiondecl functionName="queue_left" lineNumber="84"/>
<functiondecl functionName="queue_left_asyn" lineNumber="92"/>
<functiondecl functionName="queue_empty" lineNumber="96"/>
<functiondecl functionName="queue_full" lineNumber="104"/>
<functiondecl functionName="queue_write" lineNumber="113"/>
<functiondecl functionName="queue_read" lineNumber="145"/>
<functiondecl functionName="queue_set_more" lineNumber="188"/>
<functiondecl functionName="queue_get_more" lineNumber="194"/>
<functioncall functionName="NULL"/>
<functioncall functionName="PTHREAD_PROCESS_PRIVATE"/>
<functioncall functionName="attr"/>
<functioncall functionName="base"/>
<functioncall functionName="begin"/>
<functioncall functionName="capacity"/>
<functioncall functionName="data"/>
<functioncall functionName="dataLen"/>
<functioncall functionName="dataLen1"/>
<functioncall functionName="dataLen2"/>
<functioncall functionName="front"/>
<functioncall functionName="if"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="more"/>
<functioncall functionName="mutex"/>
<functioncall functionName="n_error"/>
<functioncall functionName="native_event_create"/>
<functioncall functionName="native_event_destroy"/>
<functioncall functionName="native_event_set"/>
<functioncall functionName="native_event_wait"/>
<functioncall functionName="printf"/>
<functioncall functionName="pthread_mutex_destroy"/>
<functioncall functionName="pthread_mutex_init"/>
<functioncall functionName="pthread_mutex_lock"/>
<functioncall functionName="pthread_mutex_unlock"/>
<functioncall functionName="pthread_mutexattr_init"/>
<functioncall functionName="pthread_mutexattr_setpshared"/>
<functioncall functionName="queue"/>
<functioncall functionName="queueBase"/>
<functioncall functionName="queueLen"/>
<functioncall functionName="queue_left_asyn"/>
<functioncall functionName="queue_len_asyn"/>
<functioncall functionName="queue_reset"/>
<functioncall functionName="readLen1"/>
<functioncall functionName="readLen2"/>
<functioncall functionName="rear"/>
<functioncall functionName="return"/>
<functioncall functionName="sync_event"/>
<functioncall functionName="temp_buff"/>
<functioncall functionName="true"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,62 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3477306765">
<error id="variableScope" severity="style" msg="The scope of the variable &apos;err&apos; can be reduced." verbose="The scope of the variable &apos;err&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\alsa-pcm.c" file="G:\SmartAudio\package\netease\netease_voice\src\alsa-pcm.c" line="196"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="Netease_player_open" lineNumber="65"/>
<functiondecl functionName="xrun_recovery" lineNumber="165"/>
<functiondecl functionName="Netease_player_play" lineNumber="193"/>
<functiondecl functionName="Netease_player_close" lineNumber="222"/>
<functioncall functionName="EAGAIN"/>
<functioncall functionName="EINTR"/>
<functioncall functionName="EPIPE"/>
<functioncall functionName="ESTRPIPE"/>
<functioncall functionName="NULL"/>
<functioncall functionName="SND_PCM_ACCESS_RW_INTERLEAVED"/>
<functioncall functionName="SND_PCM_FORMAT_S16"/>
<functioncall functionName="SND_PCM_STREAM_PLAYBACK"/>
<functioncall functionName="alsa_handle"/>
<functioncall functionName="alsa_out_dev"/>
<functioncall functionName="alsa_params"/>
<functioncall functionName="buf"/>
<functioncall functionName="buffer_time"/>
<functioncall functionName="channel"/>
<functioncall functionName="continue"/>
<functioncall functionName="dir"/>
<functioncall functionName="err"/>
<functioncall functionName="err_pcm_hw"/>
<functioncall functionName="err_pcm_hw_params"/>
<functioncall functionName="handle"/>
<functioncall functionName="if"/>
<functioncall functionName="len"/>
<functioncall functionName="n_error"/>
<functioncall functionName="period_time"/>
<functioncall functionName="printf"/>
<functioncall functionName="ptr"/>
<functioncall functionName="rate"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="samples"/>
<functioncall functionName="sleep"/>
<functioncall functionName="snd_pcm_close"/>
<functioncall functionName="snd_pcm_drain"/>
<functioncall functionName="snd_pcm_hw_params"/>
<functioncall functionName="snd_pcm_hw_params_alloca"/>
<functioncall functionName="snd_pcm_hw_params_any"/>
<functioncall functionName="snd_pcm_hw_params_set_access"/>
<functioncall functionName="snd_pcm_hw_params_set_buffer_size_near"/>
<functioncall functionName="snd_pcm_hw_params_set_channels"/>
<functioncall functionName="snd_pcm_hw_params_set_format"/>
<functioncall functionName="snd_pcm_hw_params_set_period_size_near"/>
<functioncall functionName="snd_pcm_hw_params_set_rate_near"/>
<functioncall functionName="snd_pcm_hw_params_set_rate_resample"/>
<functioncall functionName="snd_pcm_open"/>
<functioncall functionName="snd_pcm_prepare"/>
<functioncall functionName="snd_pcm_resume"/>
<functioncall functionName="snd_pcm_writei"/>
<functioncall functionName="snd_strerror"/>
<functioncall functionName="while"/>
<functioncall functionName="xrun_recovery"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,55 @@
<?xml version="1.0"?>
<analyzerinfo checksum="136706000">
<error id="variableScope" severity="style" msg="The scope of the variable &apos;bufsize&apos; can be reduced." verbose="The scope of the variable &apos;bufsize&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\audiobypass.c" file="G:\SmartAudio\package\netease\netease_voice\src\audiobypass.c" line="97"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="Netease_audiobypass_init" lineNumber="55"/>
<functiondecl functionName="Netease_audiobypass_start" lineNumber="80"/>
<functiondecl functionName="Netease_audiobypass_write" lineNumber="86"/>
<functiondecl functionName="audiobypass_read_thread" lineNumber="94"/>
<functiondecl functionName="Netease_audiobypass_destroy" lineNumber="118"/>
<functiondecl functionName="Netease_audiobypass_channel_set" lineNumber="138"/>
<functiondecl functionName="Netease_audiobypass_channel_unset" lineNumber="149"/>
<functioncall functionName="NETEASE_ERROR_FAIL"/>
<functioncall functionName="NETEASE_SUCCESS"/>
<functioncall functionName="NULL"/>
<functioncall functionName="Netease_IAT_write"/>
<functioncall functionName="Netease_yunxin_writeaudio"/>
<functioncall functionName="audio"/>
<functioncall functionName="audio_len"/>
<functioncall functionName="audiobypass_read_thread"/>
<functioncall functionName="buf"/>
<functioncall functionName="bufsize"/>
<functioncall functionName="bypass"/>
<functioncall functionName="cap"/>
<functioncall functionName="chan"/>
<functioncall functionName="continue"/>
<functioncall functionName="exit"/>
<functioncall functionName="free"/>
<functioncall functionName="if"/>
<functioncall functionName="malloc"/>
<functioncall functionName="mutex"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="native_event_set"/>
<functioncall functionName="param"/>
<functioncall functionName="pthread_create"/>
<functioncall functionName="pthread_join"/>
<functioncall functionName="pthread_mutex_init"/>
<functioncall functionName="pthread_mutex_lock"/>
<functioncall functionName="pthread_mutex_unlock"/>
<functioncall functionName="queue"/>
<functioncall functionName="queue_buf"/>
<functioncall functionName="queue_destroy"/>
<functioncall functionName="queue_init"/>
<functioncall functionName="queue_read"/>
<functioncall functionName="queue_write"/>
<functioncall functionName="return"/>
<functioncall functionName="running"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sync_event"/>
<functioncall functionName="tid_queue_bypass"/>
<functioncall functionName="tmp"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,48 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2679536449">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="BaseInit" lineNumber="55"/>
<functiondecl functionName="BaseLock" lineNumber="60"/>
<functiondecl functionName="BaseUnlock" lineNumber="61"/>
<functiondecl functionName="printHex" lineNumber="63"/>
<functiondecl functionName="_strncpy" lineNumber="75"/>
<functiondecl functionName="baseCopy" lineNumber="89"/>
<functiondecl functionName="setUuid" lineNumber="103"/>
<functiondecl functionName="getUuid" lineNumber="106"/>
<functiondecl functionName="setYxToken" lineNumber="108"/>
<functiondecl functionName="getYxToken" lineNumber="111"/>
<functiondecl functionName="setSongInfo" lineNumber="113"/>
<functiondecl functionName="getSongInfo" lineNumber="117"/>
<functiondecl functionName="setBindUser" lineNumber="119"/>
<functiondecl functionName="getBindUser" lineNumber="123"/>
<functioncall functionName="LEN_SONGINFO"/>
<functioncall functionName="LEN_TOKEN"/>
<functioncall functionName="LEN_UUID"/>
<functioncall functionName="NULL"/>
<functioncall functionName="_strncpy"/>
<functioncall functionName="baseCopy"/>
<functioncall functionName="dest"/>
<functioncall functionName="destCap"/>
<functioncall functionName="for"/>
<functioncall functionName="g_binduser"/>
<functioncall functionName="g_songInfo"/>
<functioncall functionName="g_uuid"/>
<functioncall functionName="g_yx_token"/>
<functioncall functionName="i"/>
<functioncall functionName="if"/>
<functioncall functionName="len"/>
<functioncall functionName="lock"/>
<functioncall functionName="memset"/>
<functioncall functionName="n_toast"/>
<functioncall functionName="pthread_mutex_init"/>
<functioncall functionName="pthread_mutex_lock"/>
<functioncall functionName="pthread_mutex_unlock"/>
<functioncall functionName="return"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="songInfo"/>
<functioncall functionName="src"/>
<functioncall functionName="token"/>
<functioncall functionName="user"/>
<functioncall functionName="uuid"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,43 @@
<?xml version="1.0"?>
<analyzerinfo checksum="234606206">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="new_buffer" lineNumber="9"/>
<functiondecl functionName="free_buffer" lineNumber="23"/>
<functiondecl functionName="buffer_reset" lineNumber="31"/>
<functiondecl functionName="buffer_expand" lineNumber="37"/>
<functiondecl functionName="buffer_add" lineNumber="72"/>
<functiondecl functionName="buffer_drain" lineNumber="91"/>
<functiondecl functionName="new_buffer" lineNumber="9"/>
<functiondecl functionName="free_buffer" lineNumber="23"/>
<functiondecl functionName="buffer_reset" lineNumber="31"/>
<functiondecl functionName="buffer_expand" lineNumber="37"/>
<functiondecl functionName="buffer_add" lineNumber="72"/>
<functiondecl functionName="buffer_drain" lineNumber="91"/>
<functioncall functionName="__FUNCTION__"/>
<functioncall functionName="buf"/>
<functioncall functionName="buffer_expand"/>
<functioncall functionName="buffer_reset"/>
<functioncall functionName="capacity"/>
<functioncall functionName="data"/>
<functioncall functionName="expand"/>
<functioncall functionName="fprintf"/>
<functioncall functionName="free"/>
<functioncall functionName="if"/>
<functioncall functionName="length"/>
<functioncall functionName="long"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memmove"/>
<functioncall functionName="need"/>
<functioncall functionName="new_size"/>
<functioncall functionName="offset"/>
<functioncall functionName="orig"/>
<functioncall functionName="pos"/>
<functioncall functionName="realloc"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="source"/>
<functioncall functionName="stdout"/>
<functioncall functionName="used"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,68 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1187827021">
<error id="uselessAssignmentPtrArg" severity="warning" msg="Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?" verbose="Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?" cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\cae.c" file="G:\SmartAudio\package\netease\netease_voice\src\cae.c" line="120"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;tmp&apos; is assigned a value that is never used." verbose="Variable &apos;tmp&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\cae.c" file="G:\SmartAudio\package\netease\netease_voice\src\cae.c" line="119"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="Netease_CaeInit" lineNumber="63"/>
<functiondecl functionName="Netease_CAEDestroy" lineNumber="115"/>
<functiondecl functionName="Netease_CAEAudioWrite" lineNumber="123"/>
<functiondecl functionName="Netease_CAEResetEng" lineNumber="128"/>
<functiondecl functionName="Netease_CAESetRealBeam" lineNumber="130"/>
<functiondecl functionName="Netease_CAESetWParam" lineNumber="134"/>
<functiondecl functionName="Netease_CAEGetWParam" lineNumber="138"/>
<functiondecl functionName="Netease_CAEGetVersion" lineNumber="143"/>
<functiondecl functionName="Netease_CAEGetChannel" lineNumber="145"/>
<functiondecl functionName="Netease_CAESetShowLog" lineNumber="147"/>
<functioncall functionName="CAEDATA"/>
<functioncall functionName="NETEASE_SUCCESS"/>
<functioncall functionName="NULL"/>
<functioncall functionName="Proc_CAEAudioWrite"/>
<functioncall functionName="Proc_CAEDestroy"/>
<functioncall functionName="Proc_CAEGetChannel"/>
<functioncall functionName="Proc_CAEGetVersion"/>
<functioncall functionName="Proc_CAEGetWParam"/>
<functioncall functionName="Proc_CAENew"/>
<functioncall functionName="Proc_CAEResetEng"/>
<functioncall functionName="Proc_CAESetRealBeam"/>
<functioncall functionName="Proc_CAESetShowLog"/>
<functioncall functionName="Proc_CAESetWParam"/>
<functioncall functionName="api_cae_audio_write"/>
<functioncall functionName="api_cae_destroy"/>
<functioncall functionName="api_cae_get_channel"/>
<functioncall functionName="api_cae_get_version"/>
<functioncall functionName="api_cae_get_wparam"/>
<functioncall functionName="api_cae_new"/>
<functioncall functionName="api_cae_reset_eng"/>
<functioncall functionName="api_cae_set_real_beam"/>
<functioncall functionName="api_cae_set_show_log"/>
<functioncall functionName="api_cae_set_wparam"/>
<functioncall functionName="audioCb"/>
<functioncall functionName="audioData"/>
<functioncall functionName="audioLen"/>
<functioncall functionName="beam"/>
<functioncall functionName="cae"/>
<functioncall functionName="caeResPath"/>
<functioncall functionName="cae_GetProcAddress"/>
<functioncall functionName="cae_LoadLibrary"/>
<functioncall functionName="errno"/>
<functioncall functionName="free"/>
<functioncall functionName="hInstance"/>
<functioncall functionName="if"/>
<functioncall functionName="ivwCb"/>
<functioncall functionName="libname"/>
<functioncall functionName="malloc"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="n_error"/>
<functioncall functionName="param"/>
<functioncall functionName="ret"/>
<functioncall functionName="show_log"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="tmp"/>
<functioncall functionName="value"/>
<functioncall functionName="valueLen"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<analyzerinfo checksum="765198189">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="cae_LoadLibrary" lineNumber="22"/>
<functiondecl functionName="cae_FreeLibrary" lineNumber="31"/>
<functiondecl functionName="cae_GetProcAddress" lineNumber="41"/>
<functiondecl functionName="cae_LoadLibrary" lineNumber="22"/>
<functiondecl functionName="cae_FreeLibrary" lineNumber="31"/>
<functiondecl functionName="cae_GetProcAddress" lineNumber="41"/>
<functioncall functionName="FreeLibrary"/>
<functioncall functionName="GetProcAddress"/>
<functioncall functionName="LoadLibrary"/>
<functioncall functionName="RTLD_LAZY"/>
<functioncall functionName="dlclose"/>
<functioncall functionName="dlopen"/>
<functioncall functionName="dlsym"/>
<functioncall functionName="fun_name"/>
<functioncall functionName="lib_handle"/>
<functioncall functionName="lib_name"/>
<functioncall functionName="return"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,35 @@
<?xml version="1.0"?>
<analyzerinfo checksum="402717564">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="native_mutex_create" lineNumber="54"/>
<functiondecl functionName="native_mutex_destroy" lineNumber="65"/>
<functiondecl functionName="native_mutex_take" lineNumber="74"/>
<functiondecl functionName="native_mutex_given" lineNumber="81"/>
<functiondecl functionName="native_event_create" lineNumber="88"/>
<functiondecl functionName="native_event_destroy" lineNumber="101"/>
<functiondecl functionName="native_event_wait" lineNumber="109"/>
<functiondecl functionName="native_event_set" lineNumber="137"/>
<functioncall functionName="NULL"/>
<functioncall functionName="event"/>
<functioncall functionName="free"/>
<functioncall functionName="gettimeofday"/>
<functioncall functionName="hd"/>
<functioncall functionName="if"/>
<functioncall functionName="malloc"/>
<functioncall functionName="mutex"/>
<functioncall functionName="now"/>
<functioncall functionName="pthread_cond_destroy"/>
<functioncall functionName="pthread_cond_init"/>
<functioncall functionName="pthread_cond_signal"/>
<functioncall functionName="pthread_cond_timedwait"/>
<functioncall functionName="pthread_mutex_destroy"/>
<functioncall functionName="pthread_mutex_init"/>
<functioncall functionName="pthread_mutex_lock"/>
<functioncall functionName="pthread_mutex_t"/>
<functioncall functionName="pthread_mutex_unlock"/>
<functioncall functionName="set"/>
<functioncall functionName="signal"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="to"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,101 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3899964695">
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="Netease_dbus_get_playerstatus" lineNumber="53"/>
<functiondecl functionName="Netease_dbus_initargs" lineNumber="58"/>
<functiondecl functionName="Netease_dbus_oem_init" lineNumber="63"/>
<functiondecl functionName="Netease_dbus_oem_start" lineNumber="116"/>
<functiondecl functionName="Netease_Dbus_Init" lineNumber="199"/>
<functiondecl functionName="Netease_Dbus_Start_Sync" lineNumber="214"/>
<functiondecl functionName="Netease_Dbus_Send_CMD_ERROR" lineNumber="223"/>
<functiondecl functionName="Netease_Dbus_Send_CMD" lineNumber="231"/>
<functioncall functionName="CMD_CONTROLLER_REQMSG_INITARGS"/>
<functioncall functionName="CMD_CONTROLLER_REQMSG_PLAYERSTATUS"/>
<functioncall functionName="DBUS_BUS_SESSION"/>
<functioncall functionName="DBUS_MESSAGE_INTERFACE_NAME"/>
<functioncall functionName="DBUS_MSG_PACK"/>
<functioncall functionName="DBUS_NAME_FLAG_REPLACE_EXISTING"/>
<functioncall functionName="DBUS_TYPE_ARRAY"/>
<functioncall functionName="DBUS_TYPE_BYTE"/>
<functioncall functionName="DBUS_TYPE_INVALID"/>
<functioncall functionName="DBUS_TYPE_STRING"/>
<functioncall functionName="DBUS_TYPE_UINT32"/>
<functioncall functionName="DBusWithLibuvInit"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="MODULE_VOICEENGINE"/>
<functioncall functionName="MatchRule"/>
<functioncall functionName="NETEASE_ERROR_DBUS_CONNECT"/>
<functioncall functionName="NETEASE_ERROR_DBUS_MATCHSIGNAL"/>
<functioncall functionName="NETEASE_ERROR_DBUS_REQNAME"/>
<functioncall functionName="NETEASE_ERROR_FAIL"/>
<functioncall functionName="NETEASE_SUCCESS"/>
<functioncall functionName="NULL"/>
<functioncall functionName="Netease_Dbus_Send_CMD"/>
<functioncall functionName="Netease_caltime"/>
<functioncall functionName="OemMsgCb"/>
<functioncall functionName="PDBUS_MSG_PACK"/>
<functioncall functionName="RunUVLoop"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="_exit"/>
<functioncall functionName="break"/>
<functioncall functionName="busCmd"/>
<functioncall functionName="buscmd"/>
<functioncall functionName="continue"/>
<functioncall functionName="data"/>
<functioncall functionName="datalen"/>
<functioncall functionName="dbus_bus_add_match"/>
<functioncall functionName="dbus_bus_get"/>
<functioncall functionName="dbus_bus_request_name"/>
<functioncall functionName="dbus_connection_flush"/>
<functioncall functionName="dbus_connection_pop_message"/>
<functioncall functionName="dbus_connection_read_write"/>
<functioncall functionName="dbus_connection_send"/>
<functioncall functionName="dbus_error_free"/>
<functioncall functionName="dbus_error_init"/>
<functioncall functionName="dbus_error_is_set"/>
<functioncall functionName="dbus_message_append_args"/>
<functioncall functionName="dbus_message_get_args"/>
<functioncall functionName="dbus_message_is_method_call"/>
<functioncall functionName="dbus_message_is_signal"/>
<functioncall functionName="dbus_message_new_method_call"/>
<functioncall functionName="dbus_message_set_no_reply"/>
<functioncall functionName="dbus_message_unref"/>
<functioncall functionName="dest"/>
<functioncall functionName="err"/>
<functioncall functionName="error"/>
<functioncall functionName="free"/>
<functioncall functionName="from"/>
<functioncall functionName="funcret"/>
<functioncall functionName="gettimeofday"/>
<functioncall functionName="if"/>
<functioncall functionName="justnow"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memset"/>
<functioncall functionName="message"/>
<functioncall functionName="modAliase"/>
<functioncall functionName="modPath"/>
<functioncall functionName="msg"/>
<functioncall functionName="msgDests"/>
<functioncall functionName="msgPack"/>
<functioncall functionName="msgSize"/>
<functioncall functionName="msgSrc"/>
<functioncall functionName="msgTomask"/>
<functioncall functionName="msgcb"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="n_error"/>
<functioncall functionName="pBus"/>
<functioncall functionName="pLoop"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="pMsgPack"/>
<functioncall functionName="ret"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="strlen"/>
<functioncall functionName="tmp"/>
<functioncall functionName="tv"/>
<functioncall functionName="tv_sec"/>
<functioncall functionName="tv_usec"/>
<functioncall functionName="uv_default_loop"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<analyzerinfo checksum="4149905237">
<error id="asctimeCalled" severity="style" msg="Obsolete function &apos;asctime&apos; called. It is recommended to use &apos;strftime&apos; instead." verbose="Obsolete function &apos;asctime&apos; called. It is recommended to use &apos;strftime&apos; instead." cwe="477">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\error.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\error.c" line="82"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="Netease_caltime" lineNumber="59"/>
<functiondecl functionName="Netease_gettime_string" lineNumber="77"/>
<functiondecl functionName="Netease_gettime_ms" lineNumber="87"/>
<functioncall functionName="NULL"/>
<functioncall functionName="_exit"/>
<functioncall functionName="asctime"/>
<functioncall functionName="buf"/>
<functioncall functionName="cur"/>
<functioncall functionName="gettimeofday"/>
<functioncall functionName="if"/>
<functioncall functionName="localtime"/>
<functioncall functionName="long"/>
<functioncall functionName="now"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="snprintf"/>
<functioncall functionName="time"/>
<functioncall functionName="tmpnow"/>
<functioncall functionName="tv_sec"/>
<functioncall functionName="tv_usec"/>
<functioncall functionName="update"/>
<functioncall functionName="usec"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,16 @@
alsa-pcm.a1::G:/SmartAudio/package/netease/netease_voice/src/alsa-pcm.c
audiobypass.a1::G:/SmartAudio/package/netease/netease_voice/src/audiobypass.c
base.a1::G:/SmartAudio/package/netease/netease_voice/src/base.c
cae.a1::G:/SmartAudio/package/netease/netease_voice/src/cae.c
dbus.a1::G:/SmartAudio/package/netease/netease_voice/src/dbus.c
main.a1::G:/SmartAudio/package/netease/netease_voice/src/main.c
msc.a1::G:/SmartAudio/package/netease/netease_voice/src/msc.c
netease_ai.a1::G:/SmartAudio/package/netease/netease_voice/src/netease_ai.cpp
record.a1::G:/SmartAudio/package/netease/netease_voice/src/record.c
yunxin.a1::G:/SmartAudio/package/netease/netease_voice/src/yunxin.c
AudioQueue.a1::G:/SmartAudio/package/netease/netease_voice/src/comm/AudioQueue.c
buffer.a1::G:/SmartAudio/package/netease/netease_voice/src/comm/buffer.c
cae_lib.a1::G:/SmartAudio/package/netease/netease_voice/src/comm/cae_lib.c
cae_thread.a1::G:/SmartAudio/package/netease/netease_voice/src/comm/cae_thread.c
error.a1::G:/SmartAudio/package/netease/netease_voice/src/comm/error.c
linux_alsa_core.a1::G:/SmartAudio/package/netease/netease_voice/src/comm/linux_alsa_core.c

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<results version="2">
<cppcheck version="1.81"/>
<errors>
<error id="uselessAssignmentPtrArg" severity="warning" msg="Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?" verbose="Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?" sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\cae.c" line="120"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="406" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="407" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="408" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="409" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="416" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="417" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="411" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="412" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="413" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &amp;#039;!iathd&amp;#039; is redundant or there is possible null pointer dereference: iathd." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="414" info="Null pointer dereference"/>
<location file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &amp;#039;!iathd&amp;#039; is not redundant"/>
</error>
<error id="invalidScanfArgType_int" severity="warning" msg="%d in format string (no. 1) requires &amp;#039;int *&amp;#039; but the argument type is &amp;#039;char *&amp;#039;." verbose="%d in format string (no. 1) requires &amp;#039;int *&amp;#039; but the argument type is &amp;#039;char *&amp;#039;." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="405"/>
</error>
<error id="invalidScanfArgType_int" severity="warning" msg="%d in format string (no. 1) requires &amp;#039;int *&amp;#039; but the argument type is &amp;#039;char *&amp;#039;." verbose="%d in format string (no. 1) requires &amp;#039;int *&amp;#039; but the argument type is &amp;#039;char *&amp;#039;." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="407"/>
</error>
<error id="uselessAssignmentPtrArg" severity="warning" msg="Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?" verbose="Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?" sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="32"/>
</error>
<error id="invalidPrintfArgType_sint" severity="warning" msg="%d in format string (no. 1) requires &amp;#039;int&amp;#039; but the argument type is &amp;#039;unsigned int&amp;#039;." verbose="%d in format string (no. 1) requires &amp;#039;int&amp;#039; but the argument type is &amp;#039;unsigned int&amp;#039;." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="262"/>
</error>
<error id="invalidPrintfArgType_sint" severity="warning" msg="%d in format string (no. 2) requires &amp;#039;int&amp;#039; but the argument type is &amp;#039;unsigned int&amp;#039;." verbose="%d in format string (no. 2) requires &amp;#039;int&amp;#039; but the argument type is &amp;#039;unsigned int&amp;#039;." sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="262"/>
</error>
<error id="memleak" severity="error" msg="Memory leak: audio_mixer_" verbose="Memory leak: audio_mixer_" sinceDate="2017/12/13 星期三">
<location file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="783"/>
</error>
</errors>
</results>

View File

@ -0,0 +1,271 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1627910274">
<error id="uselessAssignmentPtrArg" severity="warning" msg="Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?" verbose="Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?" cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="32"/>
</error>
<error id="invalidPrintfArgType_sint" severity="warning" msg="%d in format string (no. 1) requires &apos;int&apos; but the argument type is &apos;unsigned int&apos;." verbose="%d in format string (no. 1) requires &apos;int&apos; but the argument type is &apos;unsigned int&apos;." cwe="686">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="262"/>
</error>
<error id="invalidPrintfArgType_sint" severity="warning" msg="%d in format string (no. 2) requires &apos;int&apos; but the argument type is &apos;unsigned int&apos;." verbose="%d in format string (no. 2) requires &apos;int&apos; but the argument type is &apos;unsigned int&apos;." cwe="686">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="262"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;tmp&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;tmp&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="37"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="36"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;err&apos; can be reduced." verbose="The scope of the variable &apos;err&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="80"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;err&apos; can be reduced." verbose="The scope of the variable &apos;err&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="341"/>
</error>
<error id="memleak" severity="error" msg="Memory leak: audio_mixer_" verbose="Memory leak: audio_mixer_" cwe="401">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" file="G:\SmartAudio\package\netease\netease_voice\src\comm\linux_alsa_core.c" line="783"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="fcx_mutex_destroy" lineNumber="27"/>
<functiondecl functionName="fcx_mutex_create" lineNumber="35"/>
<functiondecl functionName="fcx_mutex_lock" lineNumber="44"/>
<functiondecl functionName="fcx_mutex_unlock" lineNumber="45"/>
<functiondecl functionName="nrtc_audio_alsa_core_create" lineNumber="47"/>
<functiondecl functionName="nrtc_alsa_open_device" lineNumber="79"/>
<functiondecl functionName="nrtc_alsa_close_device" lineNumber="116"/>
<functiondecl functionName="nrtc_alsa_configure_device" lineNumber="138"/>
<functiondecl functionName="nrtc_alsa_available_devices" lineNumber="270"/>
<functiondecl functionName="nrtc_alsa_get_devices_info" lineNumber="326"/>
<functiondecl functionName="nrtc_alsa_start_opt" lineNumber="466"/>
<functiondecl functionName="nrtc_alsa_stop_opt" lineNumber="480"/>
<functiondecl functionName="nrtc_alsa_write_data" lineNumber="491"/>
<functiondecl functionName="nrtc_alsa_read_data" lineNumber="530"/>
<functiondecl functionName="nrtc_alsa_set_volume" lineNumber="569"/>
<functiondecl functionName="nrtc_alsa_get_volume" lineNumber="593"/>
<functiondecl functionName="audio_alsa_microphone_mute_is_available" lineNumber="614"/>
<functiondecl functionName="audio_alsa_mixer_get_control_name" lineNumber="627"/>
<functiondecl functionName="audio_alsa_mixer_load_speaker_mixer_element" lineNumber="646"/>
<functiondecl functionName="audio_alsa_mixer_load_mic_mixer_element" lineNumber="708"/>
<functiondecl functionName="audio_alsa_mixer_speaker_mute_is_available" lineNumber="761"/>
<functiondecl functionName="audio_alsa_mixer_create" lineNumber="775"/>
<functiondecl functionName="audio_mixer_open_speaker" lineNumber="784"/>
<functiondecl functionName="audio_mixer_open_microphone" lineNumber="865"/>
<functiondecl functionName="audio_mixer_set_speaker_volume" lineNumber="948"/>
<functiondecl functionName="audio_mixer_get_speaker_volume" lineNumber="970"/>
<functiondecl functionName="audio_mixer_get_max_speaker_volume" lineNumber="992"/>
<functiondecl functionName="audio_mixer_get_min_speaker_volume" lineNumber="1018"/>
<functiondecl functionName="audio_mixer_set_speaker_mute" lineNumber="1044"/>
<functiondecl functionName="audio_mixer_get_speaker_mute" lineNumber="1078"/>
<functiondecl functionName="audio_mixer_set_microphone_mute" lineNumber="1110"/>
<functiondecl functionName="audio_mixer_get_microphone_mute" lineNumber="1136"/>
<functiondecl functionName="audio_mixer_set_microphone_volume" lineNumber="1166"/>
<functiondecl functionName="audio_mixer_get_microphone_volume" lineNumber="1186"/>
<functiondecl functionName="audio_mixer_get_max_microphone_volume" lineNumber="1209"/>
<functiondecl functionName="audio_mixer_get_min_microphone_volume" lineNumber="1239"/>
<functiondecl functionName="audio_mixer_close" lineNumber="1268"/>
<functiondecl functionName="audio_mixer_close_speaker" lineNumber="1280"/>
<functiondecl functionName="audio_mixer_close_microphone" lineNumber="1306"/>
<functiondecl functionName="audio_alsa_mixer_destroy" lineNumber="1332"/>
<functioncall functionName="EAGAIN"/>
<functioncall functionName="EPIPE"/>
<functioncall functionName="ESTRPIPE"/>
<functioncall functionName="NULL"/>
<functioncall functionName="SND_PCM_ACCESS_RW_INTERLEAVED"/>
<functioncall functionName="SND_PCM_FORMAT_S16_LE"/>
<functioncall functionName="SND_PCM_FORMAT_UNKNOWN"/>
<functioncall functionName="SND_PCM_STREAM_CAPTURE"/>
<functioncall functionName="SND_PCM_STREAM_PLAYBACK"/>
<functioncall functionName="actualType"/>
<functioncall functionName="alsa_mixer_"/>
<functioncall functionName="audio_alsa_microphone_mute_is_available"/>
<functioncall functionName="audio_alsa_mixer_get_control_name"/>
<functioncall functionName="audio_alsa_mixer_load_mic_mixer_element"/>
<functioncall functionName="audio_alsa_mixer_load_speaker_mixer_element"/>
<functioncall functionName="audio_alsa_mixer_speaker_mute_is_available"/>
<functioncall functionName="audio_mixer"/>
<functioncall functionName="audio_mixer_close"/>
<functioncall functionName="audio_mixer_close_microphone"/>
<functioncall functionName="audio_mixer_close_speaker"/>
<functioncall functionName="audio_mixer_get_max_microphone_volume"/>
<functioncall functionName="audio_mixer_get_max_speaker_volume"/>
<functioncall functionName="audio_mixer_get_microphone_volume"/>
<functioncall functionName="audio_mixer_get_speaker_volume"/>
<functioncall functionName="audio_mixer_open_microphone"/>
<functioncall functionName="audio_mixer_open_speaker"/>
<functioncall functionName="audio_mixer_set_microphone_volume"/>
<functioncall functionName="audio_mixer_set_speaker_volume"/>
<functioncall functionName="availabe"/>
<functioncall functionName="available"/>
<functioncall functionName="bit"/>
<functioncall functionName="bits_per_channel_"/>
<functioncall functionName="bool"/>
<functioncall functionName="break"/>
<functioncall functionName="buffer_time"/>
<functioncall functionName="bytes_per_frame_"/>
<functioncall functionName="cache_size_"/>
<functioncall functionName="calloc"/>
<functioncall functionName="capture"/>
<functioncall functionName="capture_"/>
<functioncall functionName="card"/>
<functioncall functionName="channel"/>
<functioncall functionName="channel_"/>
<functioncall functionName="continue"/>
<functioncall functionName="controlName"/>
<functioncall functionName="control_name"/>
<functioncall functionName="core"/>
<functioncall functionName="data"/>
<functioncall functionName="desc"/>
<functioncall functionName="dev"/>
<functioncall functionName="device"/>
<functioncall functionName="device_name"/>
<functioncall functionName="deviceid"/>
<functioncall functionName="devices"/>
<functioncall functionName="edn_len"/>
<functioncall functionName="elem"/>
<functioncall functionName="enumCount"/>
<functioncall functionName="enum_device_name"/>
<functioncall functionName="err"/>
<functioncall functionName="errVal"/>
<functioncall functionName="false"/>
<functioncall functionName="fcx_mutex_create"/>
<functioncall functionName="fcx_mutex_destroy"/>
<functioncall functionName="fcx_mutex_lock"/>
<functioncall functionName="fcx_mutex_unlock"/>
<functioncall functionName="float"/>
<functioncall functionName="for"/>
<functioncall functionName="format"/>
<functioncall functionName="free"/>
<functioncall functionName="handle"/>
<functioncall functionName="hints"/>
<functioncall functionName="hw_params"/>
<functioncall functionName="id"/>
<functioncall functionName="if"/>
<functioncall functionName="ignorePrefix"/>
<functioncall functionName="index"/>
<functioncall functionName="info"/>
<functioncall functionName="input"/>
<functioncall functionName="int"/>
<functioncall functionName="keepSearching"/>
<functioncall functionName="m_nBitsPerChannel"/>
<functioncall functionName="m_nChannelsPerFrame"/>
<functioncall functionName="malloc"/>
<functioncall functionName="masterElem"/>
<functioncall functionName="maxVol"/>
<functioncall functionName="max_microphone_volume"/>
<functioncall functionName="max_speaker_volume"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="micElem"/>
<functioncall functionName="minVol"/>
<functioncall functionName="mixerIdx"/>
<functioncall functionName="mixer_input_element_"/>
<functioncall functionName="mixer_input_handle_"/>
<functioncall functionName="mixer_input_str"/>
<functioncall functionName="mixer_output_element_"/>
<functioncall functionName="mixer_output_handle_"/>
<functioncall functionName="mixer_output_str"/>
<functioncall functionName="mute"/>
<functioncall functionName="mutex"/>
<functioncall functionName="mutex_"/>
<functioncall functionName="nChar"/>
<functioncall functionName="nFragments"/>
<functioncall functionName="nFrames"/>
<functioncall functionName="nSampleRate"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="name"/>
<functioncall functionName="nrtc_alsa_configure_device"/>
<functioncall functionName="pcm_handle_"/>
<functioncall functionName="pcminfo"/>
<functioncall functionName="period_size"/>
<functioncall functionName="pos1"/>
<functioncall functionName="pos2"/>
<functioncall functionName="pret"/>
<functioncall functionName="printf"/>
<functioncall functionName="pthread_mutex_destroy"/>
<functioncall functionName="pthread_mutex_init"/>
<functioncall functionName="pthread_mutex_lock"/>
<functioncall functionName="pthread_mutex_t"/>
<functioncall functionName="pthread_mutex_unlock"/>
<functioncall functionName="putchar"/>
<functioncall functionName="return"/>
<functioncall functionName="samplerate"/>
<functioncall functionName="samplerate_"/>
<functioncall functionName="selemName"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sleep"/>
<functioncall functionName="snd_card_next"/>
<functioncall functionName="snd_ctl_card_info"/>
<functioncall functionName="snd_ctl_card_info_alloca"/>
<functioncall functionName="snd_ctl_close"/>
<functioncall functionName="snd_ctl_open"/>
<functioncall functionName="snd_ctl_pcm_info"/>
<functioncall functionName="snd_ctl_pcm_next_device"/>
<functioncall functionName="snd_device_name_free_hint"/>
<functioncall functionName="snd_device_name_get_hint"/>
<functioncall functionName="snd_device_name_hint"/>
<functioncall functionName="snd_mixer_attach"/>
<functioncall functionName="snd_mixer_close"/>
<functioncall functionName="snd_mixer_detach"/>
<functioncall functionName="snd_mixer_elem_next"/>
<functioncall functionName="snd_mixer_first_elem"/>
<functioncall functionName="snd_mixer_free"/>
<functioncall functionName="snd_mixer_load"/>
<functioncall functionName="snd_mixer_open"/>
<functioncall functionName="snd_mixer_selem_channel_id_t"/>
<functioncall functionName="snd_mixer_selem_get_capture_switch"/>
<functioncall functionName="snd_mixer_selem_get_capture_volume"/>
<functioncall functionName="snd_mixer_selem_get_capture_volume_range"/>
<functioncall functionName="snd_mixer_selem_get_name"/>
<functioncall functionName="snd_mixer_selem_get_playback_switch"/>
<functioncall functionName="snd_mixer_selem_get_playback_volume"/>
<functioncall functionName="snd_mixer_selem_get_playback_volume_range"/>
<functioncall functionName="snd_mixer_selem_has_capture_switch"/>
<functioncall functionName="snd_mixer_selem_has_capture_volume"/>
<functioncall functionName="snd_mixer_selem_has_playback_switch"/>
<functioncall functionName="snd_mixer_selem_is_active"/>
<functioncall functionName="snd_mixer_selem_register"/>
<functioncall functionName="snd_mixer_selem_set_capture_switch_all"/>
<functioncall functionName="snd_mixer_selem_set_capture_volume_all"/>
<functioncall functionName="snd_mixer_selem_set_playback_switch_all"/>
<functioncall functionName="snd_mixer_selem_set_playback_volume_all"/>
<functioncall functionName="snd_pcm_close"/>
<functioncall functionName="snd_pcm_drop"/>
<functioncall functionName="snd_pcm_hw_params"/>
<functioncall functionName="snd_pcm_hw_params_any"/>
<functioncall functionName="snd_pcm_hw_params_get_buffer_time_max"/>
<functioncall functionName="snd_pcm_hw_params_get_period_size"/>
<functioncall functionName="snd_pcm_hw_params_malloc"/>
<functioncall functionName="snd_pcm_hw_params_set_access"/>
<functioncall functionName="snd_pcm_hw_params_set_buffer_size_near"/>
<functioncall functionName="snd_pcm_hw_params_set_channels"/>
<functioncall functionName="snd_pcm_hw_params_set_format"/>
<functioncall functionName="snd_pcm_hw_params_set_periods_near"/>
<functioncall functionName="snd_pcm_hw_params_set_rate_near"/>
<functioncall functionName="snd_pcm_info_alloca"/>
<functioncall functionName="snd_pcm_info_set_device"/>
<functioncall functionName="snd_pcm_info_set_stream"/>
<functioncall functionName="snd_pcm_info_set_subdevice"/>
<functioncall functionName="snd_pcm_open"/>
<functioncall functionName="snd_pcm_prepare"/>
<functioncall functionName="snd_pcm_readi"/>
<functioncall functionName="snd_pcm_resume"/>
<functioncall functionName="snd_pcm_wait"/>
<functioncall functionName="snd_pcm_writei"/>
<functioncall functionName="snd_strerror"/>
<functioncall functionName="snprintf"/>
<functioncall functionName="speakerElem"/>
<functioncall functionName="strchr"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strncmp"/>
<functioncall functionName="strncpy"/>
<functioncall functionName="szDeviceID"/>
<functioncall functionName="tmp"/>
<functioncall functionName="true"/>
<functioncall functionName="type"/>
<functioncall functionName="uint32_t"/>
<functioncall functionName="value"/>
<functioncall functionName="vol"/>
<functioncall functionName="volume"/>
<functioncall functionName="while"/>
<functioncall functionName="wrongType"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,169 @@
<?xml version="1.0"?>
<analyzerinfo checksum="2786395661">
<error id="unreadVariable" severity="style" msg="Variable &apos;ret&apos; is assigned a value that is never used." verbose="Variable &apos;ret&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\main.c" file="G:\SmartAudio\package\netease\netease_voice\src\main.c" line="150"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;ret&apos; can be reduced." verbose="The scope of the variable &apos;ret&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\main.c" file="G:\SmartAudio\package\netease\netease_voice\src\main.c" line="150"/>
</error>
<error id="unusedStructMember" severity="style" msg="struct member &apos;_FMAEUserData::fp_out&apos; is never used." verbose="struct member &apos;_FMAEUserData::fp_out&apos; is never used." cwe="563">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\main.c" file="G:\SmartAudio\package\netease\netease_voice\src\main.c" line="60"/>
</error>
<error id="unreadVariable" severity="style" msg="Variable &apos;ret&apos; is assigned a value that is never used." verbose="Variable &apos;ret&apos; is assigned a value that is never used." cwe="563">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\main.c" file="G:\SmartAudio\package\netease\netease_voice\src\main.c" line="186"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="CAEIvwCb" lineNumber="123"/>
<functiondecl functionName="CAEAudioCb" lineNumber="140"/>
<functiondecl functionName="record_audio_cb" lineNumber="148"/>
<functiondecl functionName="DBusMessageCb" lineNumber="200"/>
<functiondecl functionName="main" lineNumber="326"/>
<functiondecl functionName="CAEIvwCb" lineNumber="123"/>
<functiondecl functionName="CAEAudioCb" lineNumber="140"/>
<functiondecl functionName="record_audio_cb" lineNumber="148"/>
<functiondecl functionName="DBusMessageCb" lineNumber="200"/>
<functiondecl functionName="main" lineNumber="326"/>
<functiondecl functionName="CAEIvwCb" lineNumber="123"/>
<functiondecl functionName="CAEAudioCb" lineNumber="140"/>
<functiondecl functionName="record_audio_cb" lineNumber="148"/>
<functiondecl functionName="DBusMessageCb" lineNumber="200"/>
<functiondecl functionName="main" lineNumber="326"/>
<functiondecl functionName="__cacheCAEAudio" lineNumber="76"/>
<functiondecl functionName="CAEIvwCb" lineNumber="123"/>
<functiondecl functionName="CAEAudioCb" lineNumber="140"/>
<functiondecl functionName="record_audio_cb" lineNumber="148"/>
<functiondecl functionName="DBusMessageCb" lineNumber="200"/>
<functiondecl functionName="main" lineNumber="326"/>
<functiondecl functionName="WkupCallBack" lineNumber="90"/>
<functiondecl functionName="AudioCallBack" lineNumber="108"/>
<functiondecl functionName="record_audio_cb" lineNumber="148"/>
<functiondecl functionName="DBusMessageCb" lineNumber="200"/>
<functiondecl functionName="main" lineNumber="326"/>
<functioncall functionName="AUDIO_BYPASS_CHANNEL_MSC_IAT"/>
<functioncall functionName="AudioCallBack"/>
<functioncall functionName="BaseInit"/>
<functioncall functionName="BaseLock"/>
<functioncall functionName="BaseUnlock"/>
<functioncall functionName="CAEAudioCb"/>
<functioncall functionName="CAEIvwCb"/>
<functioncall functionName="CMD_MSC_MSG_CONTROLLER_WAKEUP"/>
<functioncall functionName="CMD_YUNXIN_STATUS"/>
<functioncall functionName="CMScore"/>
<functioncall functionName="DBusMessageCb"/>
<functioncall functionName="DCWriteAudioRec"/>
<functioncall functionName="DCWriteAudioWk"/>
<functioncall functionName="FMAEAudioWrite"/>
<functioncall functionName="FMAENew"/>
<functioncall functionName="FMAESetAngle"/>
<functioncall functionName="F_OK"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="MODULE_VOICEENGINE"/>
<functioncall functionName="NULL"/>
<functioncall functionName="Neteasae_record_start"/>
<functioncall functionName="Netease_CAEAudioWrite"/>
<functioncall functionName="Netease_CaeInit"/>
<functioncall functionName="Netease_Dbus_Init"/>
<functioncall functionName="Netease_Dbus_Send_CMD"/>
<functioncall functionName="Netease_Dbus_Start_Sync"/>
<functioncall functionName="Netease_IAT_Init"/>
<functioncall functionName="Netease_IAT_begin_session"/>
<functioncall functionName="Netease_IAT_checkflag"/>
<functioncall functionName="Netease_IAT_end_session"/>
<functioncall functionName="Netease_MSP_Init"/>
<functioncall functionName="Netease_audiobypass_init"/>
<functioncall functionName="Netease_audiobypass_start"/>
<functioncall functionName="Netease_audiobypass_write"/>
<functioncall functionName="Netease_dbus_initargs"/>
<functioncall functionName="Netease_dbus_oem_init"/>
<functioncall functionName="Netease_dbus_oem_start"/>
<functioncall functionName="Netease_yunxin_dbus_getstatus"/>
<functioncall functionName="Netease_yunxin_init"/>
<functioncall functionName="Netease_yunxin_login"/>
<functioncall functionName="Netease_yunxin_sendmsg"/>
<functioncall functionName="Netease_yunxin_sendmsg1"/>
<functioncall functionName="O_RDWR"/>
<functioncall functionName="TEST_SERVER_CFG_FILE"/>
<functioncall functionName="WAKE_CACHE_SIZE"/>
<functioncall functionName="WkupCallBack"/>
<functioncall functionName="__cacheCAEAudio"/>
<functioncall functionName="access"/>
<functioncall functionName="angle"/>
<functioncall functionName="audio"/>
<functioncall functionName="audioData"/>
<functioncall functionName="audioLen"/>
<functioncall functionName="audio_len"/>
<functioncall functionName="audiobypassconfig"/>
<functioncall functionName="beam"/>
<functioncall functionName="break"/>
<functioncall functionName="busCmd"/>
<functioncall functionName="caeconfig"/>
<functioncall functionName="card"/>
<functioncall functionName="channel"/>
<functioncall functionName="channels"/>
<functioncall functionName="confirmParam"/>
<functioncall functionName="default"/>
<functioncall functionName="device"/>
<functioncall functionName="device_name"/>
<functioncall functionName="fd_audio_orig"/>
<functioncall functionName="free"/>
<functioncall functionName="g_AudioCache"/>
<functioncall functionName="g_fmaeCfgPath"/>
<functioncall functionName="g_hFMAE"/>
<functioncall functionName="getUuid"/>
<functioncall functionName="getYxToken"/>
<functioncall functionName="iSize"/>
<functioncall functionName="if"/>
<functioncall functionName="isSendCache"/>
<functioncall functionName="js"/>
<functioncall functionName="json_decref"/>
<functioncall functionName="json_dumps"/>
<functioncall functionName="json_is_string"/>
<functioncall functionName="json_loadb"/>
<functioncall functionName="json_object_get"/>
<functioncall functionName="json_pack"/>
<functioncall functionName="json_string_value"/>
<functioncall functionName="json_unpack"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memmove"/>
<functioncall functionName="memset"/>
<functioncall functionName="msgSize"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="n_error"/>
<functioncall functionName="n_toast"/>
<functioncall functionName="netease_dc_status"/>
<functioncall functionName="open"/>
<functioncall functionName="pBuf"/>
<functioncall functionName="pConn"/>
<functioncall functionName="pMsg"/>
<functioncall functionName="period_count"/>
<functioncall functionName="period_size"/>
<functioncall functionName="power"/>
<functioncall functionName="printf"/>
<functioncall functionName="pthread_create"/>
<functioncall functionName="rate"/>
<functioncall functionName="recType"/>
<functioncall functionName="record_audio_cb"/>
<functioncall functionName="recordconfig"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="setBindUser"/>
<functioncall functionName="setSongInfo"/>
<functioncall functionName="setUuid"/>
<functioncall functionName="setYxToken"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="snprintf"/>
<functioncall functionName="sound_device_name"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="strlen"/>
<functioncall functionName="switch"/>
<functioncall functionName="tid"/>
<functioncall functionName="tmp"/>
<functioncall functionName="tmpbuf"/>
<functioncall functionName="userData"/>
<functioncall functionName="usleep"/>
<functioncall functionName="uuid"/>
<functioncall functionName="uuidChar"/>
<functioncall functionName="while"/>
<functioncall functionName="write"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,183 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3981648264">
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="406" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="407" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="408" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="409" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="416" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="417" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;errcode&apos; can be reduced." verbose="The scope of the variable &apos;errcode&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="185"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="411" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="412" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="413" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<error id="nullPointerRedundantCheck" severity="warning" msg="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." verbose="Either the condition &apos;!iathd&apos; is redundant or there is possible null pointer dereference: iathd." cwe="476">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="414" info="Null pointer dereference"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\msc.c" file="G:\SmartAudio\package\netease\netease_voice\src\msc.c" line="402" info="Assuming that condition &apos;!iathd&apos; is not redundant"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="printIatTime" lineNumber="81"/>
<functiondecl functionName="lockIAT" lineNumber="88"/>
<functiondecl functionName="unlockIAT" lineNumber="92"/>
<functiondecl functionName="Netease_MSP_Init" lineNumber="96"/>
<functiondecl functionName="Netease_MSP_Deinit" lineNumber="108"/>
<functiondecl functionName="Netease_IAT_thread" lineNumber="110"/>
<functiondecl functionName="Netease_IAT_end_session" lineNumber="175"/>
<functiondecl functionName="Netease_IAT_begin_session" lineNumber="184"/>
<functiondecl functionName="Netease_IAT_checkflag" lineNumber="218"/>
<functiondecl functionName="Netease_IAT_write" lineNumber="229"/>
<functiondecl functionName="IAT_session_create" lineNumber="321"/>
<functiondecl functionName="IAT_session_destroy" lineNumber="383"/>
<functiondecl functionName="Netease_IAT_Init" lineNumber="399"/>
<functiondecl functionName="Netease_IAT_DeInit" lineNumber="429"/>
<functiondecl functionName="printIatTime" lineNumber="81"/>
<functiondecl functionName="lockIAT" lineNumber="88"/>
<functiondecl functionName="unlockIAT" lineNumber="92"/>
<functiondecl functionName="Netease_MSP_Init" lineNumber="96"/>
<functiondecl functionName="Netease_MSP_Deinit" lineNumber="108"/>
<functiondecl functionName="Netease_IAT_thread" lineNumber="110"/>
<functiondecl functionName="Netease_IAT_end_session" lineNumber="175"/>
<functiondecl functionName="Netease_IAT_begin_session" lineNumber="184"/>
<functiondecl functionName="Netease_IAT_checkflag" lineNumber="218"/>
<functiondecl functionName="Netease_IAT_write" lineNumber="229"/>
<functiondecl functionName="IAT_session_create" lineNumber="321"/>
<functiondecl functionName="IAT_session_destroy" lineNumber="383"/>
<functiondecl functionName="Netease_IAT_Init" lineNumber="399"/>
<functiondecl functionName="Netease_IAT_DeInit" lineNumber="429"/>
<functioncall functionName="BaseLock"/>
<functioncall functionName="BaseUnlock"/>
<functioncall functionName="CMD_MSC_MSG_CONTROLLER_RECOGING"/>
<functioncall functionName="CMD_MSC_MSG_CONTROLLER_RECOG_ERROR"/>
<functioncall functionName="CMD_MSC_MSG_CONTROLLER_RECOG_SUCCESS"/>
<functioncall functionName="CMD_MSC_MSG_CONTROLLER_SESSION_BEGIN"/>
<functioncall functionName="EvpBase64EncodeNoAlign"/>
<functioncall functionName="IAT_STATUS_AUDIOIN"/>
<functioncall functionName="IAT_STATUS_FINISH"/>
<functioncall functionName="IAT_STATUS_GETRESULT"/>
<functioncall functionName="IAT_STATUS_INIT"/>
<functioncall functionName="IAT_session_create"/>
<functioncall functionName="IAT_session_destroy"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="MODULE_VOICEENGINE"/>
<functioncall functionName="MSPLogin"/>
<functioncall functionName="MSPLogout"/>
<functioncall functionName="MSP_AUDIO_SAMPLE_CONTINUE"/>
<functioncall functionName="MSP_AUDIO_SAMPLE_FIRST"/>
<functioncall functionName="MSP_AUDIO_SAMPLE_LAST"/>
<functioncall functionName="NETEASE_ERROR_FAIL"/>
<functioncall functionName="NETEASE_SUCCESS"/>
<functioncall functionName="NULL"/>
<functioncall functionName="Netease_Dbus_Send_CMD"/>
<functioncall functionName="Netease_Dbus_Send_CMD_ERROR"/>
<functioncall functionName="Netease_IAT_thread"/>
<functioncall functionName="Netease_caltime"/>
<functioncall functionName="Netease_dbus_initargs"/>
<functioncall functionName="Netease_gettime_ms"/>
<functioncall functionName="QISRAudioWrite"/>
<functioncall functionName="QISRGetResult"/>
<functioncall functionName="QISRSessionBegin"/>
<functioncall functionName="QISRSessionEnd"/>
<functioncall functionName="Uuid"/>
<functioncall functionName="angle"/>
<functioncall functionName="audioWrite"/>
<functioncall functionName="audiobuf"/>
<functioncall functionName="audiolen"/>
<functioncall functionName="audiostate"/>
<functioncall functionName="break"/>
<functioncall functionName="buffer"/>
<functioncall functionName="buffer_add"/>
<functioncall functionName="buffer_reset"/>
<functioncall functionName="cdata"/>
<functioncall functionName="confirmParam"/>
<functioncall functionName="data"/>
<functioncall functionName="epstatus"/>
<functioncall functionName="errcode"/>
<functioncall functionName="error_exit"/>
<functioncall functionName="event"/>
<functioncall functionName="free"/>
<functioncall functionName="free_buffer"/>
<functioncall functionName="getResult"/>
<functioncall functionName="getSongInfo"/>
<functioncall functionName="getUuid"/>
<functioncall functionName="hd"/>
<functioncall functionName="iat"/>
<functioncall functionName="iathd"/>
<functioncall functionName="if"/>
<functioncall functionName="lockIAT"/>
<functioncall functionName="login_config"/>
<functioncall functionName="malloc"/>
<functioncall functionName="mutex_lock"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="n_error"/>
<functioncall functionName="n_toast"/>
<functioncall functionName="native_event_create"/>
<functioncall functionName="native_event_destroy"/>
<functioncall functionName="native_event_set"/>
<functioncall functionName="native_event_wait"/>
<functioncall functionName="netease_audio_write"/>
<functioncall functionName="netease_get_result"/>
<functioncall functionName="netease_session_create"/>
<functioncall functionName="netease_session_destroy"/>
<functioncall functionName="new_buffer"/>
<functioncall functionName="offset"/>
<functioncall functionName="param"/>
<functioncall functionName="paramsbuf"/>
<functioncall functionName="printIatTime"/>
<functioncall functionName="pthread_create"/>
<functioncall functionName="pthread_join"/>
<functioncall functionName="pthread_mutex_init"/>
<functioncall functionName="pthread_mutex_lock"/>
<functioncall functionName="pthread_mutex_unlock"/>
<functioncall functionName="recType"/>
<functioncall functionName="rec_stat"/>
<functioncall functionName="recogstatus"/>
<functioncall functionName="ret"/>
<functioncall functionName="reterrcode"/>
<functioncall functionName="return"/>
<functioncall functionName="rlst"/>
<functioncall functionName="running"/>
<functioncall functionName="sessionCreate"/>
<functioncall functionName="sessionDestory"/>
<functioncall functionName="sessionId"/>
<functioncall functionName="session_begin_params"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="status"/>
<functioncall functionName="strlen"/>
<functioncall functionName="tid_result"/>
<functioncall functionName="time_usec"/>
<functioncall functionName="tmp"/>
<functioncall functionName="unlockIAT"/>
<functioncall functionName="unlock_exit"/>
<functioncall functionName="usleep"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<analyzerinfo checksum="1297276228">
<error id="redundantAssignment" severity="style" msg="Variable &apos;pSvrRet&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;pSvrRet&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\netease_ai.cpp" file="G:\SmartAudio\package\netease\netease_voice\src\netease_ai.cpp" line="99"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\netease_ai.cpp" file="G:\SmartAudio\package\netease\netease_voice\src\netease_ai.cpp" line="95"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="netease_audio_write" lineNumber="45"/>
<functiondecl functionName="netease_get_result" lineNumber="93"/>
<functiondecl functionName="netease_session_destroy" lineNumber="118"/>
<functiondecl functionName="netease_session_create" lineNumber="145"/>
<functiondecl functionName="netease_audio_write" lineNumber="45"/>
<functiondecl functionName="netease_get_result" lineNumber="93"/>
<functiondecl functionName="netease_session_destroy" lineNumber="118"/>
<functiondecl functionName="netease_session_create" lineNumber="145"/>
<functiondecl functionName="netease_dc_status" lineNumber="252"/>
<functioncall functionName="BaseLock"/>
<functioncall functionName="BaseUnlock"/>
<functioncall functionName="DCEndSession"/>
<functioncall functionName="DCStartSession"/>
<functioncall functionName="MSP_EP_AFTER_SPEECH"/>
<functioncall functionName="MSP_EP_IN_SPEECH"/>
<functioncall functionName="MSP_EP_TIMEOUT"/>
<functioncall functionName="MSP_REC_STATUS_COMPLETE"/>
<functioncall functionName="MSP_REC_STATUS_INCOMPLETE"/>
<functioncall functionName="MSP_REC_STATUS_NO_MATCH"/>
<functioncall functionName="MSP_REC_STATUS_SUCCESS"/>
<functioncall functionName="MSP_SUCCESS"/>
<functioncall functionName="NULL"/>
<functioncall functionName="Netease_dbus_initargs"/>
<functioncall functionName="SRCAudioWrite"/>
<functioncall functionName="SRCGetResult"/>
<functioncall functionName="SRCSessionBegin"/>
<functioncall functionName="SRCSessionEnd"/>
<functioncall functionName="SRCSetUPParam"/>
<functioncall functionName="Uuid"/>
<functioncall functionName="angle"/>
<functioncall functionName="appKey"/>
<functioncall functionName="confirmParam"/>
<functioncall functionName="dcParam"/>
<functioncall functionName="epStatus"/>
<functioncall functionName="errcode"/>
<functioncall functionName="g_bIsUsedTeseServer"/>
<functioncall functionName="g_doabuf"/>
<functioncall functionName="g_isSessionOn"/>
<functioncall functionName="getSongInfo"/>
<functioncall functionName="getUuid"/>
<functioncall functionName="get_cpu_serial_number"/>
<functioncall functionName="hd"/>
<functioncall functionName="if"/>
<functioncall functionName="memset"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="n_toast"/>
<functioncall functionName="pSvrRet"/>
<functioncall functionName="printf"/>
<functioncall functionName="recType"/>
<functioncall functionName="recogStatus"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="rsltStatus"/>
<functioncall functionName="sessionID"/>
<functioncall functionName="sessionId"/>
<functioncall functionName="short"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="srcParam"/>
<functioncall functionName="strlen"/>
<functioncall functionName="waveData"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,101 @@
<?xml version="1.0"?>
<analyzerinfo checksum="3713752904">
<error id="variableScope" severity="style" msg="The scope of the variable &apos;readLen&apos; can be reduced." verbose="The scope of the variable &apos;readLen&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\record.c" file="G:\SmartAudio\package\netease\netease_voice\src\record.c" line="78"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;ret&apos; can be reduced." verbose="The scope of the variable &apos;ret&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\record.c" file="G:\SmartAudio\package\netease\netease_voice\src\record.c" line="101"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="QueueReadThread" lineNumber="76"/>
<functiondecl functionName="RecordThread" lineNumber="99"/>
<functiondecl functionName="Neteasae_record_start" lineNumber="129"/>
<functiondecl functionName="_record_stop" lineNumber="234"/>
<functiondecl functionName="Netease_record_stop" lineNumber="267"/>
<functioncall functionName="EPIPE"/>
<functioncall functionName="NETEASE_ERROR_FAIL"/>
<functioncall functionName="NETEASE_ERROR_OPEN_FILE"/>
<functioncall functionName="NETEASE_ERROR_OUT_OF_MEMORY"/>
<functioncall functionName="NETEASE_SUCCESS"/>
<functioncall functionName="NULL"/>
<functioncall functionName="QueueReadThread"/>
<functioncall functionName="RecordData"/>
<functioncall functionName="RecordThread"/>
<functioncall functionName="SCHED_RR"/>
<functioncall functionName="SND_PCM_ACCESS_RW_INTERLEAVED"/>
<functioncall functionName="SND_PCM_FORMAT_S24_LE"/>
<functioncall functionName="SND_PCM_STREAM_CAPTURE"/>
<functioncall functionName="_record_stop"/>
<functioncall functionName="audio_cb"/>
<functioncall functionName="audio_queue_t"/>
<functioncall functionName="buff_size"/>
<functioncall functionName="buffer"/>
<functioncall functionName="cb"/>
<functioncall functionName="channels"/>
<functioncall functionName="continue"/>
<functioncall functionName="data_buff"/>
<functioncall functionName="device_name"/>
<functioncall functionName="dir"/>
<functioncall functionName="error"/>
<functioncall functionName="exit"/>
<functioncall functionName="fprintf"/>
<functioncall functionName="frames"/>
<functioncall functionName="free"/>
<functioncall functionName="handle"/>
<functioncall functionName="if"/>
<functioncall functionName="int"/>
<functioncall functionName="malloc"/>
<functioncall functionName="memset"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="n_error"/>
<functioncall functionName="n_toast"/>
<functioncall functionName="param"/>
<functioncall functionName="params"/>
<functioncall functionName="period_size"/>
<functioncall functionName="printf"/>
<functioncall functionName="pthread_attr_init"/>
<functioncall functionName="pthread_attr_setschedparam"/>
<functioncall functionName="pthread_attr_setschedpolicy"/>
<functioncall functionName="pthread_create"/>
<functioncall functionName="pthread_join"/>
<functioncall functionName="queue"/>
<functioncall functionName="queue_buff"/>
<functioncall functionName="queue_destroy"/>
<functioncall functionName="queue_init"/>
<functioncall functionName="queue_read"/>
<functioncall functionName="queue_write"/>
<functioncall functionName="rate"/>
<functioncall functionName="rc"/>
<functioncall functionName="readLen"/>
<functioncall functionName="record"/>
<functioncall functionName="record_hd"/>
<functioncall functionName="recordata"/>
<functioncall functionName="ret"/>
<functioncall functionName="runing"/>
<functioncall functionName="sched_get_priority_max"/>
<functioncall functionName="size"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="snd_pcm_close"/>
<functioncall functionName="snd_pcm_drain"/>
<functioncall functionName="snd_pcm_hw_params"/>
<functioncall functionName="snd_pcm_hw_params_alloca"/>
<functioncall functionName="snd_pcm_hw_params_any"/>
<functioncall functionName="snd_pcm_hw_params_get_period_size"/>
<functioncall functionName="snd_pcm_hw_params_set_access"/>
<functioncall functionName="snd_pcm_hw_params_set_channels"/>
<functioncall functionName="snd_pcm_hw_params_set_format"/>
<functioncall functionName="snd_pcm_hw_params_set_period_size_near"/>
<functioncall functionName="snd_pcm_hw_params_set_rate_near"/>
<functioncall functionName="snd_pcm_open"/>
<functioncall functionName="snd_pcm_prepare"/>
<functioncall functionName="snd_pcm_readi"/>
<functioncall functionName="snd_strerror"/>
<functioncall functionName="stderr"/>
<functioncall functionName="thread_attr"/>
<functioncall functionName="thread_param"/>
<functioncall functionName="tid_pcm_read"/>
<functioncall functionName="tid_queue_read"/>
<functioncall functionName="val"/>
<functioncall functionName="while"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,35 @@
[30.11.2017]
1512030986598
cppcheck-error:0
cppcheck-warning:1
cppcheck-style:15
cppcheck-performance:0
cppcheck-portability:0
[30.11.2017]
1512031215438
cppcheck-error:0
cppcheck-warning:0
cppcheck-style:13
cppcheck-performance:0
cppcheck-portability:0
[30.11.2017]
1512031484662
cppcheck-error:0
cppcheck-warning:15
cppcheck-style:73
cppcheck-performance:0
cppcheck-portability:0
[30.11.2017]
1512031827552
cppcheck-error:0
cppcheck-warning:3
cppcheck-style:20
cppcheck-performance:0
cppcheck-portability:0
[13.12.2017]
1513167602001
cppcheck-error:0
cppcheck-warning:15
cppcheck-style:72
cppcheck-performance:0
cppcheck-portability:0

View File

@ -0,0 +1,291 @@
<?xml version="1.0"?>
<analyzerinfo checksum="281351676">
<error id="invalidScanfArgType_int" severity="warning" msg="%d in format string (no. 1) requires &apos;int *&apos; but the argument type is &apos;char *&apos;." verbose="%d in format string (no. 1) requires &apos;int *&apos; but the argument type is &apos;char *&apos;." cwe="686">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="405"/>
</error>
<error id="invalidScanfArgType_int" severity="warning" msg="%d in format string (no. 1) requires &apos;int *&apos; but the argument type is &apos;char *&apos;." verbose="%d in format string (no. 1) requires &apos;int *&apos; but the argument type is &apos;char *&apos;." cwe="686">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="407"/>
</error>
<error id="redundantAssignment" severity="style" msg="Variable &apos;tmpbuf&apos; is reassigned a value before the old one has been used." verbose="Variable &apos;tmpbuf&apos; is reassigned a value before the old one has been used." cwe="563">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="130"/>
<location file0="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="129"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;ret&apos; can be reduced." verbose="The scope of the variable &apos;ret&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="439"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;app_key&apos; can be reduced." verbose="The scope of the variable &apos;app_key&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="738"/>
</error>
<error id="variableScope" severity="style" msg="The scope of the variable &apos;json_extension&apos; can be reduced." verbose="The scope of the variable &apos;json_extension&apos; can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for &apos;i&apos; can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it&apos;s safe to move &apos;int i = 0;&apos; here\012 for (int n = 0; n &lt; 10; ++n) {\012 // it is possible but not safe to move &apos;int i = 0;&apos; here\012 do_something(&amp;i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<location file0="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" file="G:\SmartAudio\package\netease\netease_voice\src\yunxin.c" line="741"/>
</error>
<FileInfo check="CheckUnusedFunctions">
<functiondecl functionName="nim_sdk_init" lineNumber="103"/>
<functiondecl functionName="Netease_send_yunxinstatus" lineNumber="128"/>
<functiondecl functionName="nim_login_callback" lineNumber="139"/>
<functiondecl functionName="nim_vchat_start_device_callback" lineNumber="167"/>
<functiondecl functionName="nim_vchat_audio_capture_data_callback" lineNumber="187"/>
<functiondecl functionName="nim_vchat_audio_play_data_callback" lineNumber="196"/>
<functiondecl functionName="Netease_vchat_cb" lineNumber="204"/>
<functiondecl functionName="send_vchat_request" lineNumber="281"/>
<functiondecl functionName="test_end_vchat_device" lineNumber="313"/>
<functiondecl functionName="test_start_vchat_device" lineNumber="319"/>
<functiondecl functionName="nim_vchat_join_room_callback" lineNumber="331"/>
<functiondecl functionName="nim_vchat_create_room_callback" lineNumber="345"/>
<functiondecl functionName="test_crate_room" lineNumber="356"/>
<functiondecl functionName="test_join_room" lineNumber="366"/>
<functiondecl functionName="test_mute_enabled" lineNumber="377"/>
<functiondecl functionName="test_set_audio_mute" lineNumber="382"/>
<functiondecl functionName="set_member_in_blacklist_callback" lineNumber="390"/>
<functiondecl functionName="demo_test_nim_vchat_set_member_in_blacklist" lineNumber="398"/>
<functiondecl functionName="demo_test_nim_vchat_setting_audio_volume" lineNumber="412"/>
<functiondecl functionName="nim_vchat_custom_data_cb" lineNumber="425"/>
<functiondecl functionName="demo_test_custom_data" lineNumber="430"/>
<functiondecl functionName="demo_test_send_data" lineNumber="438"/>
<functiondecl functionName="demo_test_end_vchat_device" lineNumber="449"/>
<functiondecl functionName="Netease_yunxin_test" lineNumber="456"/>
<functiondecl functionName="Netease_yunxin_sendmsg" lineNumber="599"/>
<functiondecl functionName="Netease_yunxin_sendmsg1" lineNumber="635"/>
<functiondecl functionName="Netease_yunxin_dbus_getstatus" lineNumber="676"/>
<functiondecl functionName="Netease_yunxin_audiocb" lineNumber="686"/>
<functiondecl functionName="Netease_yunxin_msgcb" lineNumber="699"/>
<functiondecl functionName="Netease_yunxin_msgresultcb" lineNumber="725"/>
<functiondecl functionName="Netease_yunxin_cb_loginout" lineNumber="729"/>
<functiondecl functionName="Netease_yunxin_login" lineNumber="735"/>
<functiondecl functionName="Netease_yunxin_cb_sysmsg" lineNumber="779"/>
<functiondecl functionName="Netease_yunxin_cb_disconnect" lineNumber="791"/>
<functiondecl functionName="Netease_yunxin_init" lineNumber="796"/>
<functiondecl functionName="Netease_yunxin_writeaudio" lineNumber="837"/>
<functiondecl functionName="nim_sdk_init" lineNumber="103"/>
<functiondecl functionName="Netease_send_yunxinstatus" lineNumber="128"/>
<functiondecl functionName="nim_login_callback" lineNumber="139"/>
<functiondecl functionName="nim_vchat_start_device_callback" lineNumber="167"/>
<functiondecl functionName="nim_vchat_audio_capture_data_callback" lineNumber="187"/>
<functiondecl functionName="nim_vchat_audio_play_data_callback" lineNumber="196"/>
<functiondecl functionName="Netease_vchat_cb" lineNumber="204"/>
<functiondecl functionName="send_vchat_request" lineNumber="281"/>
<functiondecl functionName="test_end_vchat_device" lineNumber="313"/>
<functiondecl functionName="test_start_vchat_device" lineNumber="319"/>
<functiondecl functionName="nim_vchat_join_room_callback" lineNumber="331"/>
<functiondecl functionName="nim_vchat_create_room_callback" lineNumber="345"/>
<functiondecl functionName="test_crate_room" lineNumber="356"/>
<functiondecl functionName="test_join_room" lineNumber="366"/>
<functiondecl functionName="test_mute_enabled" lineNumber="377"/>
<functiondecl functionName="test_set_audio_mute" lineNumber="382"/>
<functiondecl functionName="set_member_in_blacklist_callback" lineNumber="390"/>
<functiondecl functionName="demo_test_nim_vchat_set_member_in_blacklist" lineNumber="398"/>
<functiondecl functionName="demo_test_nim_vchat_setting_audio_volume" lineNumber="412"/>
<functiondecl functionName="nim_vchat_custom_data_cb" lineNumber="425"/>
<functiondecl functionName="demo_test_custom_data" lineNumber="430"/>
<functiondecl functionName="demo_test_send_data" lineNumber="438"/>
<functiondecl functionName="demo_test_end_vchat_device" lineNumber="449"/>
<functiondecl functionName="Netease_yunxin_test" lineNumber="456"/>
<functiondecl functionName="Netease_yunxin_sendmsg" lineNumber="599"/>
<functiondecl functionName="Netease_yunxin_sendmsg1" lineNumber="635"/>
<functiondecl functionName="Netease_yunxin_dbus_getstatus" lineNumber="676"/>
<functiondecl functionName="Netease_yunxin_audiocb" lineNumber="686"/>
<functiondecl functionName="Netease_yunxin_msgcb" lineNumber="699"/>
<functiondecl functionName="Netease_yunxin_msgresultcb" lineNumber="725"/>
<functiondecl functionName="Netease_yunxin_cb_loginout" lineNumber="729"/>
<functiondecl functionName="Netease_yunxin_login" lineNumber="735"/>
<functiondecl functionName="Netease_yunxin_cb_sysmsg" lineNumber="779"/>
<functiondecl functionName="Netease_yunxin_cb_disconnect" lineNumber="791"/>
<functiondecl functionName="Netease_yunxin_init" lineNumber="796"/>
<functiondecl functionName="Netease_yunxin_writeaudio" lineNumber="837"/>
<functioncall functionName="AUDIO_BYPASS_CHANNEL_YUNXIN"/>
<functioncall functionName="BackupAccount"/>
<functioncall functionName="BaseLock"/>
<functioncall functionName="BaseUnlock"/>
<functioncall functionName="CMD_YUNXIN_RECVMSG"/>
<functioncall functionName="CMD_YUNXIN_STATUS"/>
<functioncall functionName="CMD_YUNXIN_SYSMSG"/>
<functioncall functionName="FALSE"/>
<functioncall functionName="LEN_UNIXMS"/>
<functioncall functionName="LEN_UUID"/>
<functioncall functionName="MODULE_CONTROLLER"/>
<functioncall functionName="MODULE_VOICEENGINE"/>
<functioncall functionName="NULL"/>
<functioncall functionName="Netease_Dbus_Send_CMD"/>
<functioncall functionName="Netease_audiobypass_channel_set"/>
<functioncall functionName="Netease_gettime_ms"/>
<functioncall functionName="Netease_gettime_string"/>
<functioncall functionName="Netease_send_yunxinstatus"/>
<functioncall functionName="Netease_vchat_cb"/>
<functioncall functionName="Netease_yunxin_audiocb"/>
<functioncall functionName="Netease_yunxin_cb_disconnect"/>
<functioncall functionName="Netease_yunxin_cb_loginout"/>
<functioncall functionName="Netease_yunxin_cb_sysmsg"/>
<functioncall functionName="Netease_yunxin_dbus_getstatus"/>
<functioncall functionName="Netease_yunxin_login"/>
<functioncall functionName="Netease_yunxin_msgcb"/>
<functioncall functionName="Netease_yunxin_msgresultcb"/>
<functioncall functionName="O_RDWR"/>
<functioncall functionName="TRUE"/>
<functioncall functionName="account"/>
<functioncall functionName="add"/>
<functioncall functionName="alsa_hd"/>
<functioncall functionName="apns_text"/>
<functioncall functionName="app_data_dir"/>
<functioncall functionName="app_install_dir"/>
<functioncall functionName="app_key"/>
<functioncall functionName="audio"/>
<functioncall functionName="audio_data"/>
<functioncall functionName="bduser"/>
<functioncall functionName="body"/>
<functioncall functionName="bool"/>
<functioncall functionName="break"/>
<functioncall functionName="bufsize"/>
<functioncall functionName="bypass"/>
<functioncall functionName="c"/>
<functioncall functionName="capture"/>
<functioncall functionName="channel_id"/>
<functioncall functionName="channel_id_"/>
<functioncall functionName="code"/>
<functioncall functionName="content"/>
<functioncall functionName="curtime"/>
<functioncall functionName="custom_audio"/>
<functioncall functionName="custom_info"/>
<functioncall functionName="data"/>
<functioncall functionName="default"/>
<functioncall functionName="demo_test_custom_data"/>
<functioncall functionName="demo_test_end_vchat_device"/>
<functioncall functionName="demo_test_nim_vchat_set_member_in_blacklist"/>
<functioncall functionName="demo_test_nim_vchat_setting_audio_volume"/>
<functioncall functionName="demo_test_send_data"/>
<functioncall functionName="dest"/>
<functioncall functionName="dev"/>
<functioncall functionName="err"/>
<functioncall functionName="exit"/>
<functioncall functionName="false"/>
<functioncall functionName="fd_audio_output"/>
<functioncall functionName="free"/>
<functioncall functionName="getBindUser"/>
<functioncall functionName="getUuid"/>
<functioncall functionName="getYxToken"/>
<functioncall functionName="getchar"/>
<functioncall functionName="gettimeofday"/>
<functioncall functionName="i"/>
<functioncall functionName="if"/>
<functioncall functionName="inputbuf"/>
<functioncall functionName="inputcur"/>
<functioncall functionName="inputsize"/>
<functioncall functionName="js"/>
<functioncall functionName="json"/>
<functioncall functionName="json_decref"/>
<functioncall functionName="json_dumps"/>
<functioncall functionName="json_extension"/>
<functioncall functionName="json_info"/>
<functioncall functionName="json_info_1"/>
<functioncall functionName="json_info_2"/>
<functioncall functionName="json_info_3"/>
<functioncall functionName="json_integer_value"/>
<functioncall functionName="json_loads"/>
<functioncall functionName="json_msg"/>
<functioncall functionName="json_object_get"/>
<functioncall functionName="json_pack"/>
<functioncall functionName="json_params"/>
<functioncall functionName="json_unpack"/>
<functioncall functionName="kNIMDeviceTypeAudioIn"/>
<functioncall functionName="kNIMDeviceTypeAudioOut"/>
<functioncall functionName="kNIMDeviceTypeAudioOutChat"/>
<functioncall functionName="kNIMLogoutChangeAccout"/>
<functioncall functionName="kNIMMessageTypeCustom"/>
<functioncall functionName="kNIMMessageTypeText"/>
<functioncall functionName="kNIMMsgKeyBody"/>
<functioncall functionName="kNIMMsgKeyClientMsgid"/>
<functioncall functionName="kNIMMsgKeyToAccount"/>
<functioncall functionName="kNIMMsgKeyToType"/>
<functioncall functionName="kNIMMsgKeyType"/>
<functioncall functionName="kNIMSessionListContent"/>
<functioncall functionName="kNIMSessionMsgBody"/>
<functioncall functionName="kNIMSessionTypeP2P"/>
<functioncall functionName="kNIMVideoChatModeAudio"/>
<functioncall functionName="kNIMVideoChatModeVideo"/>
<functioncall functionName="loginStatus"/>
<functioncall functionName="memcpy"/>
<functioncall functionName="memset"/>
<functioncall functionName="mode"/>
<functioncall functionName="msgid"/>
<functioncall functionName="muted"/>
<functioncall functionName="n_debug"/>
<functioncall functionName="n_error"/>
<functioncall functionName="n_toast"/>
<functioncall functionName="nim_client_get_login_state"/>
<functioncall functionName="nim_client_init"/>
<functioncall functionName="nim_client_login"/>
<functioncall functionName="nim_client_logout"/>
<functioncall functionName="nim_client_reg_disconnect_cb"/>
<functioncall functionName="nim_login_callback"/>
<functioncall functionName="nim_sdk_init"/>
<functioncall functionName="nim_sysmsg_reg_sysmsg_cb"/>
<functioncall functionName="nim_talk_reg_ack_cb"/>
<functioncall functionName="nim_talk_reg_receive_cb"/>
<functioncall functionName="nim_talk_send_msg"/>
<functioncall functionName="nim_vchat_audio_mute_enabled"/>
<functioncall functionName="nim_vchat_callee_ack"/>
<functioncall functionName="nim_vchat_control"/>
<functioncall functionName="nim_vchat_create_room"/>
<functioncall functionName="nim_vchat_create_room_callback"/>
<functioncall functionName="nim_vchat_custom_audio_data"/>
<functioncall functionName="nim_vchat_custom_data_cb"/>
<functioncall functionName="nim_vchat_end"/>
<functioncall functionName="nim_vchat_end_device"/>
<functioncall functionName="nim_vchat_get_audio_volumn"/>
<functioncall functionName="nim_vchat_init"/>
<functioncall functionName="nim_vchat_join_room"/>
<functioncall functionName="nim_vchat_join_room_callback"/>
<functioncall functionName="nim_vchat_set_audio_data_cb"/>
<functioncall functionName="nim_vchat_set_audio_mute"/>
<functioncall functionName="nim_vchat_set_audio_volumn"/>
<functioncall functionName="nim_vchat_set_cb_func"/>
<functioncall functionName="nim_vchat_set_custom_data"/>
<functioncall functionName="nim_vchat_set_member_in_blacklist"/>
<functioncall functionName="nim_vchat_start"/>
<functioncall functionName="nim_vchat_start_device"/>
<functioncall functionName="nim_vchat_start_device_callback"/>
<functioncall functionName="nrtc_alsa_available_devices"/>
<functioncall functionName="nrtc_alsa_write_data"/>
<functioncall functionName="nrtc_audio_alsa_core_create"/>
<functioncall functionName="open"/>
<functioncall functionName="password"/>
<functioncall functionName="printf"/>
<functioncall functionName="result"/>
<functioncall functionName="ret"/>
<functioncall functionName="return"/>
<functioncall functionName="room_name"/>
<functioncall functionName="scanf"/>
<functioncall functionName="send"/>
<functioncall functionName="send2"/>
<functioncall functionName="send_vchat_request"/>
<functioncall functionName="set_member_in_blacklist_callback"/>
<functioncall functionName="size"/>
<functioncall functionName="sizeof"/>
<functioncall functionName="snprintf"/>
<functioncall functionName="sprintf"/>
<functioncall functionName="step"/>
<functioncall functionName="strcmp"/>
<functioncall functionName="strcpy"/>
<functioncall functionName="strlen"/>
<functioncall functionName="strncpy"/>
<functioncall functionName="strnlen"/>
<functioncall functionName="switch"/>
<functioncall functionName="talk_id"/>
<functioncall functionName="test_crate_room"/>
<functioncall functionName="test_join_room"/>
<functioncall functionName="test_mute_enabled"/>
<functioncall functionName="test_set_audio_mute"/>
<functioncall functionName="time"/>
<functioncall functionName="tmp"/>
<functioncall functionName="tmpbuf"/>
<functioncall functionName="true"/>
<functioncall functionName="tv_sec"/>
<functioncall functionName="tv_usec"/>
<functioncall functionName="type"/>
<functioncall functionName="uid"/>
<functioncall functionName="user_data"/>
<functioncall functionName="value"/>
<functioncall functionName="volume"/>
<functioncall functionName="while"/>
<functioncall functionName="write"/>
</FileInfo>
</analyzerinfo>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="1">
<builddir>netease_voice-cppcheck-build-dir</builddir>
<analyze-all-vs-configs>true</analyze-all-vs-configs>
<paths>
<dir name="G:/SmartAudio/package/netease/netease_voice/src"/>
</paths>
</project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.