从DLL函数获取参数值 [英] Get parameter value from DLL function

查看:164
本文介绍了从DLL函数获取参数值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



是否有任何软件可以获取DLL中的函数参数?我已经尝试了Depends,但它只列出了API中可用的功能。我有DLL的文档,但手册中没有列出一些功能,我需要使用它来发送Pointer以从API获取返回值。



我也试过PE Explorer但没有成功。我不知道该怎么办。尝试搜索大约1个月的软件。仅供参考,我的目的是获取函数参数require来调用API,而不是逆向工程。

Hi all,

Is there any software to get the parameter on function available in a DLL? I've tried Depends, but it's only list the function that available in the API. I have the documentation of the DLL, but some of the function is not listed on the manual and I need to use it to send the Pointer to get the return value from the API.

I also tried PE Explorer but no success. I don't know what to do. Try to search for the software about 1 month. FYI, my intention is to get the function parameter require to call the API, not reverse engineering.

推荐答案

对于本机DLL文件,我无法知道提取信息,缺少完整的反编译,因为信息根本没有存储在文件中 - 只是参数占用的字节数,而不是它们的类型。如果你考虑一下,那就有意义了:DLL是一个完全编译的机器代码可执行文件,它不知道原始参数组成的更高级别的结构。



对不起 - 但是你需要文件。
For a native DLL file, there is no way I know of to extract the information, short of a full decompile as the information simply isn't stored in the file - just the number of bytes the parameters take up but not what type they are. If you think about it, it makes sense that it would be that way: the DLL is a fully compiled "machine code" executable, and it does not know about the higher level constructs that the original parameters were made up of.

Sorry - but you need the documentation.


这篇关于从DLL函数获取参数值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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