This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 字符串漏洞预防查询

Guru**** 2348500 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1252611/string-vulnerability-prevention-inquiry

您好!

我想询问是否有任何设置会在编译 C/C++时捕获字符串漏洞。 在 gcc 编译器中、这可以通过"-Wformat -Wformat-security -Werror=format"实现、 如需更多信息、请点击此处。  上述方法会将所有违反规则的警告变为错误。 我是否知道 C674x 中有任何等效的东西?

谢谢。此致、

约翰

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Unknown 说:
    C674x 中是否有任何等价的东西?

    遗憾的是、不能。

    谢谢。此致、

    -乔治