Windows PE资源 [英] Windows PE Resources

查看:59
本文介绍了Windows PE资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有许多Windows PE资源查看器程序。但是它们如何工作?它们是否解码对winapi的函数调用,或者PE是否具有用于GUI信息的部分?像Android一样具有XML GUI定义吗?谢谢。

there are many windows PE resource viewers programs. But how do they work? Do they decode function calls to winapi, or does PE have some section for GUI information? Like Android has XML GUI definitons? Thanks.

推荐答案

可能会有不同的实现策略,因此不可能对所有工具都统一回答。

There are probably different implementation strategies, so it's not possible to answer this universally for all tools.

PE文件格式规范是公开可用的。它指定了PE文件的节结构,如何在文件中查找.rsrc节以及如何从该节中提取单个资源。 MSDN上也记录了单个资源格式 。例如,对话框GUI定义在 DLGTEMPLATE 结构。

The PE file format specification is publicly available. It specifies the section structure of a PE file, how to find the .rsrc section in the file, and how to extract individual resources from that section. The individual resource formats are also documented on MSDN. For example, the dialog GUI definitions are defined in the DLGTEMPLATE structure.

这篇关于Windows PE资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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