GSCHECK失败 - 错误BA2022 [英] GSCHECK Failure - Error BA2022
问题描述
我遇到了类似的问题我在哪里得到以下错误。请注意,ABC.dll是使用/ GS标志ON构建的。
错误
BA2022:编译了Abc.dll以下模块无法识别语言。确保使用调试信息编译这些并再次运行BinScope:
error BA2022: Abc.dll was compiled with the following modules for which a language could not be identified. Ensure these were compiled with debug information and run BinScope again:
api.obj(xxxx.lib)
application.obj(xxx.lib)
base64.obj(xxx。 lib)
bintext5.obj(xxx.lib)
boxalg.obj(xxx.lib)
即使使用/ GS标志重新构建
xxx.lib,错误也不会消失。我也尝试使用示例应用程序重现此问题,其中dll具有/ GS检查但是lib它的链接是在没有/ GS的情况下构建的。但是,我无法在示例应用程序中重现这个问题。在我的生产
代码中,我确实看到这个问题,即使用libs构建/ GS标志后。任何人都知道这是什么错误是指 以及如何在示例应用程序中重现它?
推荐答案
你好
Vani Jain ,
感谢您在此发帖。
我认为您应该使用相同的标志和/ GS标志重新构建这些obj文件。
I think you should re-build these obj file with same flag and /GS flag.
这里有
scenario BinScope二进制分析器可以提供帮助,因为它是一个安全工具,可以分析
Here are scenarios where the BinScope Binary Analyzer can help as it is a security tool that analyzes
二进制文件,以确定它们是否正在利用特定的安全缓解措施。
binaries to determine if they are leveraging specific security mitigations.
由于您的问题与 Microsoft安全开发生命周期(SDL)相关 论坛。我想你可以在这里发布
Since your issue is related to Microsoft Security Development Lifecycle (SDL) forum. . I think you can
。
抱歉,我帮不了你。因为我的能力是有限的。我会的将该主题移至主题论坛。
Sorry I cannot help you. Because my ability is limited. I will move the thread to off-topic forum.
最诚挚的问候,
Hart
这篇关于GSCHECK失败 - 错误BA2022的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!