C ++ member function pointer from assembly (2)

Source: Internet
Author: User

#include <cstdio>          Z :  X,   * zp = &* xp =* yp =(X::*xgp1)() = &(X::*xgp2)() = &(Y::*ygp3)() = &(Y::*ygp4)() = &(Z::*zgp1)() = &(Z::*zgp2)() = &(Z::*zgp3)() = &(Z::*zgp4)() = &, &, &, &, &, &, &, &, &->*->*->*->*->*->*->*->*->*->*->*->*

        eax, DWORD PTR [ecx]        DWORD PTR [eax]??_9X@@$BA@AE ENDP                            eax, DWORD PTR [ecx]        DWORD PTR [eax+]??_9X@@$B3AE ENDP                    _TEXT    ENDS


        DWORD PTR _xgp1$[ebp], OFFSET ??_9X@@$BA@AE         DWORD PTR _xgp2$[ebp], OFFSET ??_9X@@$B3AE         DWORD PTR _ygp3$[ebp], OFFSET ??_9X@@$BA@AE         DWORD PTR _ygp4$[ebp], OFFSET ??_9X@@$B3AE         DWORD PTR $T4081[ebp], OFFSET ??_9X@@$BA@AE         DWORD PTR $T4081[ebp+],         ecx, DWORD PTR $T4081[ebp]        DWORD PTR _zgp1$[ebp], ecx        edx, DWORD PTR $T4081[ebp+]        DWORD PTR _zgp1$[ebp+], edx                                                                                                                            DWORD PTR $T4082[ebp], OFFSET ??_9X@@$B3AE         DWORD PTR $T4082[ebp+],         ecx, DWORD PTR $T4082[ebp+    DWORD PTR _zgp2$[ebp+        DWORD PTR $T4083[ebp], OFFSET ??_9X@@$BA@AE         DWORD PTR $T4083[ebp+],         eax, DWORD PTR $T4083[ebp+    DWORD PTR _zgp3$[ebp+        DWORD PTR $T4084[ebp], OFFSET ??_9X@@$B3AE         DWORD PTR $T4084[ebp+],         edx, DWORD PTR $T4084[ebp+    DWORD PTR _zgp4$[ebp+], edx

        ecx, DWORD PTR _zp$[ebp]        DWORD PTR _xgp1$[ebp]        ecx, DWORD PTR _zp$[ebp]        ecx, DWORD PTR _zgp1$[ebp+]                                                                                DWORD PTR _zgp1$[ebp]        ecx, DWORD PTR _xp$[ebp]        DWORD PTR _xgp1$[ebp]                ecx, DWORD PTR _zgp2$[ebp+            DWORD PTR _zp$[ebp],         SHORT $LN5@main        ecx, DWORD PTR _zp$[ebp]        ecx,         DWORD PTR tv192[ebp], ecx        SHORT $LN6@main$        DWORD PTR tv192[ebp], $        ecx, DWORD PTR tv192[ebp]        DWORD PTR _ygp3$[ebp]        ecx, DWORD PTR _zp$[ebp]        ecx, DWORD PTR _zgp3$[ebp+]        DWORD PTR _zgp3$[ebp]        ecx, DWORD PTR _yp$[ebp]        DWORD PTR _ygp3$[ebp]                DWORD PTR _zp$[ebp],         edx,             DWORD PTR tv202[ebp],             ecx, DWORD PTR _zgp4$[ebp+        DWORD PTR _ygp4$[ebp]

        ecx, DWORD PTR _zp$[ebp]        ecx, DWORD PTR _zgp4$[ebp+]                                                                                DWORD PTR _zgp4$[ebp]

zgp4 = ygp4        eax, DWORD PTR _ygp4$[ebp]        DWORD PTR $T4092[ebp], eax        DWORD PTR $T4092[ebp+],         ecx, DWORD PTR $T4092[ebp]        DWORD PTR _zgp4$[ebp], ecx        edx, DWORD PTR $T4092[ebp+]        DWORD PTR _zgp4$[ebp+], edx

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.