Exported variable vs exported function in a DLL

南笙酒味 提交于 2019-12-11 19:32:07

问题


How to know if the exported symbol from a dll is actually variable or a function ?

One way may be to look whether the destination address of the symbol resides in the .code section or not.
Another method could be to check the memory protection attributes of the selected section.

But all these methods seem to be unreliable.

What is the best way ?

来源:https://stackoverflow.com/questions/22651581/exported-variable-vs-exported-function-in-a-dll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!