Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows では、VC コンパイラは、関数呼び出しの最後に _chkesp 暗黙関数を使用してデバッグ バージョンのコードを生成し、スタックに 0xCCCCCCCC バッファーを割り当てて、スタックの破損をチェックして防止します。
gcc/clang には、いくつかのコマンド ライン オプションによって追加のスタック チェック/防止を提供する同じ機能がありますか? 追加のスタックスペースまたはスタックチェックのいずれか?
ありがとう。!