内存中的视觉模式? [英] Visual patterns in memory?

查看:144
本文介绍了内存中的视觉模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天在VMWare上运行的Win 7机器上开始远程调试C ++项目,并惊讶地发现在随机内存位置上看到以下模式:

Started up remote debugging a C++ project today on a Win 7 machine running in VMWare and was astonished to see the following pattern on a random memory location:

谁可能会编码我!)和什么原因?只是好奇,如果有人看到这样的东西。

Who might code this (it's not me!) and for what reason?? Just curious if anyone has seen something like this.

推荐答案

它看起来像是一个字体的渲染遮罩(字体中的每个字符在内存中,然后blitted到输出表面)使用8bpp,这表明你已经启用字体反锯齿。

It looks like a rendered mask for a font (each character in a font (typeface+size+style) is rendered once in-memory, then blitted to the output surface) using 8bpp, which suggests you've got font anti-aliasing enabled.

我假设你的项目涉及一个GUI ,你可能正在寻找GDI用于存储光栅化字体的共享内存区域。

I'm assuming your project involves a GUI, you might be looking at a shared-memory area that GDI uses for storing rasterized fonts.

如果没有,那么这可能只是来自上一个进程或操作系统的剩余内存在您的应用程序使用之前未归零的组件。

If not, then this might just be leftover memory from a previous process or OS component that wasn't zeroed before being used by your application.

这篇关于内存中的视觉模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆