2019-09-30から1日間の記事一覧
はじめに C++の静的解析ツール「cppcheck」でソースコードを静的解析した場合に、以下の警告がでることがあります。 error: Undefined behavior: Variable 'buf' is used as parameter and destination in sprintf(). cppcheckのバージョン v1.89 サンプルプ…
はじめに C++の静的解析ツール「cppcheck」でソースコードを静的解析した場合に、以下の警告がでることがあります。 error: Undefined behavior: Variable 'buf' is used as parameter and destination in sprintf(). cppcheckのバージョン v1.89 サンプルプ…