繁体   English   中英

可执行VC ++中的奇怪字符串

[英]Strange strings in executable VC++

我创建了一个简单的C ++ Hello世界程序,然后使用MSVC ++对其进行了编译,然后使用Notepad ++研究了可执行文件(我知道用它来打开二进制文件不是最好的程序,但是我想知道是否有人可读的字符串)。 我发现像A cast to a smaller data type has caused a loss of data. If this was intentional, you should mask the source of the cast with the appropriate bitmask.这样的字符串A cast to a smaller data type has caused a loss of data. If this was intentional, you should mask the source of the cast with the appropriate bitmask. A cast to a smaller data type has caused a loss of data. If this was intentional, you should mask the source of the cast with the appropriate bitmask.

The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

这些字符串是什么,它们来自何处,我如何摆脱它们?

通过使用文本编辑器,所有常量字符串都易于阅读。 尝试在程序中查找“ hello world”,它将弹出。 (当我们试图弄清混淆我们的opencl代码是否值得这样做时,这是第一次。)。

这些字符串是Windows在每个可执行文件之上抛出的错误字符串。 我不知道如何摆脱它们。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM