• <i id='hIAGF'><tr id='hIAGF'><dt id='hIAGF'><q id='hIAGF'><span id='hIAGF'><b id='hIAGF'><form id='hIAGF'><ins id='hIAGF'></ins><ul id='hIAGF'></ul><sub id='hIAGF'></sub></form><legend id='hIAGF'></legend><bdo id='hIAGF'><pre id='hIAGF'><center id='hIAGF'></center></pre></bdo></b><th id='hIAGF'></th></span></q></dt></tr></i><div id='hIAGF'><tfoot id='hIAGF'></tfoot><dl id='hIAGF'><fieldset id='hIAGF'></fieldset></dl></div>

    <small id='hIAGF'></small><noframes id='hIAGF'>

        <bdo id='hIAGF'></bdo><ul id='hIAGF'></ul>

      <tfoot id='hIAGF'></tfoot>

      1. <legend id='hIAGF'><style id='hIAGF'><dir id='hIAGF'><q id='hIAGF'></q></dir></style></legend>

        在没有标题的c ++ dll中调用函数

        时间:2023-08-28

          <legend id='UIBXd'><style id='UIBXd'><dir id='UIBXd'><q id='UIBXd'></q></dir></style></legend>

            <tbody id='UIBXd'></tbody>

            <bdo id='UIBXd'></bdo><ul id='UIBXd'></ul>
            <i id='UIBXd'><tr id='UIBXd'><dt id='UIBXd'><q id='UIBXd'><span id='UIBXd'><b id='UIBXd'><form id='UIBXd'><ins id='UIBXd'></ins><ul id='UIBXd'></ul><sub id='UIBXd'></sub></form><legend id='UIBXd'></legend><bdo id='UIBXd'><pre id='UIBXd'><center id='UIBXd'></center></pre></bdo></b><th id='UIBXd'></th></span></q></dt></tr></i><div id='UIBXd'><tfoot id='UIBXd'></tfoot><dl id='UIBXd'><fieldset id='UIBXd'></fieldset></dl></div>
            <tfoot id='UIBXd'></tfoot>
            1. <small id='UIBXd'></small><noframes id='UIBXd'>

                • 本文介绍了在没有标题的c ++ dll中调用函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想从 dll 调用方法,但我没有源文件和头文件.我尝试使用dumpbin/exports 查看方法名称,但我可以找到方法签名?

                  I would like to call a method from an dll, but i don't have the source neither the header file. I tried to use the dumpbin /exports to see the name of the method, but i can found the methods signature?

                  有没有办法调用这个方法?

                  Is there any way to call this method?

                  谢谢,

                  推荐答案

                  可以通过分析反汇编的开始来找出 C 函数的签名.函数参数将在堆栈中,并且函数将执行一些弹出"操作以相反的顺序读取它们.您不会找到参数名称,但您应该能够找到它们的编号和类型.返回值可能会变得更加困难 - 它可能通过eax"寄存器或通过作为最后一个伪参数传递给函数的特殊指针(在堆栈顶部).

                  It is possible to figure out a C function signature by analysing beginnig of its disassembly. The function arguments will be on the stack and the function will do some "pops" to read them in reverse order. You will not find the argument names, but you should be able to find out their number and the types. Things may get more difficult with return value - it may be via 'eax' register or via a special pointer passed to the function as the last pseudo-argument (on the top of the stack).

                  这篇关于在没有标题的c ++ dll中调用函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:.dll 文件是为每个程序加载一次还是为所有程序加载一次? 下一篇:系统错误:程序无法启动,因为您的计算机缺少 MSVCP140D.DLL.尝试重新安装程序以解决此问题

                  相关文章

                  <legend id='nSfNW'><style id='nSfNW'><dir id='nSfNW'><q id='nSfNW'></q></dir></style></legend>

                      <i id='nSfNW'><tr id='nSfNW'><dt id='nSfNW'><q id='nSfNW'><span id='nSfNW'><b id='nSfNW'><form id='nSfNW'><ins id='nSfNW'></ins><ul id='nSfNW'></ul><sub id='nSfNW'></sub></form><legend id='nSfNW'></legend><bdo id='nSfNW'><pre id='nSfNW'><center id='nSfNW'></center></pre></bdo></b><th id='nSfNW'></th></span></q></dt></tr></i><div id='nSfNW'><tfoot id='nSfNW'></tfoot><dl id='nSfNW'><fieldset id='nSfNW'></fieldset></dl></div>

                        <bdo id='nSfNW'></bdo><ul id='nSfNW'></ul>

                      <small id='nSfNW'></small><noframes id='nSfNW'>

                      <tfoot id='nSfNW'></tfoot>