[ オリジナルレポート ]

BugID: #03536

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
その他解決済み修正済み2009-11-15 23:592010-07-18 04:37
 
テスターFirewave担当者Atari Aceソース
バージョン0.135発生バージョン修正バージョン0.138u4
修正コミットプルリク
フラグ
セット PowerPC core
セット詳細
 
概 要PowerPCコアのデータバッファ重複。
詳 細cppcheck reports the following:

[c:\svn\mess\src\emu\cpu\powerpc\ppc_dasm.c:454]: (error) Overlapping data buffer dest
[c:\svn\mess\src\emu\cpu\powerpc\ppc_dasm.c:518]: (error) Overlapping data buffer dest
[c:\svn\mess\src\emu\cpu\powerpc\ppc_dasm.c:1107]: (error) Overlapping data buffer oprs
[c:\svn\mess\src\emu\cpu\powerpc\ppc_dasm.c:1112]: (error) Overlapping data buffer oprs


The code of the first report looks like this:

		default:	sprintf(dest, "%s%d", dest, spr); break;


The destination and source are the same variable, so I guess that's the reason for the warning. It's the same in the other three cases.
再現手順 
追加情報 
 
添付ファイル