Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I decode Visual C++ method parameters for mangled decorated names?
    text
    copied!<p>Given the exported names examples below:</p> <pre><code>0x00cf ?GetI@PyIDispatch@@SAPAUIDispatch@@PAU_object@@@Z 0x0119 ?ParseTypeInformation@PythonOleArgHelper@@QAEHPAU_object@@@Z 0x014f ?PyObject_FromSTGMEDIUM@@YAPAVPySTGMEDIUM@@PAUtagSTGMEDIUM@@@Z </code></pre> <p>What are the method <strong>parameters</strong> for methods <strong>GetI</strong>, <strong>ParseTypeInformation</strong>, <strong>PyObject_FromSTGMEDIUM</strong>?</p> <p>Current workaround is to skip parsing the parameters, but then I have the uninformative gap as shown below :)</p> <pre><code>PyObject_FromSTGMEDIUM(...) ParseTypeInformation(...) GetI(...) </code></pre> <p>References: </p> <ul> <li><a href="http://theory.uwinnipeg.ca/localfiles/infofiles/gcc/gxxint_15.html#SEC20" rel="nofollow">http://theory.uwinnipeg.ca/localfiles/infofiles/gcc/gxxint_15.html#SEC20</a></li> <li><a href="http://sourcery.mentor.com/public/cxx-abi/abi.html" rel="nofollow">http://sourcery.mentor.com/public/cxx-abi/abi.html</a></li> <li><a href="http://www.kegel.com/mangle.html" rel="nofollow">http://www.kegel.com/mangle.html</a></li> <li><a href="http://www.unixwiz.net/techtips/win32-callconv.html#decor" rel="nofollow">http://www.unixwiz.net/techtips/win32-callconv.html#decor</a></li> <li><a href="http://www.int0x80.gr/papers/name_mangling.pdf" rel="nofollow">http://www.int0x80.gr/papers/name_mangling.pdf</a></li> </ul> <blockquote> <p>stdcall has the form of _name@x and fastcall has the form of @name@x</p> </blockquote> <p>How should the algorithm to decode parameters look like? Example in C# would be awesome.</p> <p><strong>Constraints: PInvoke is not available.</strong> </p> <p>Please give also the parameters for the examples above within the anwser. Thank you!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload