1.问一下高手 c++dll文件如何反编译 看源代码啊
2.cè°ç¨cdll
问一下高手 c++dll文件如何反编译 看源代码啊
c++dll文件反编译源代码的源码操作步骤如下:
1、在开始菜单内找到Reflector工具。源码
/iknow-pic.cdn.bcebos.com/bcabd6aaeffd"target="_blank"title=""class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/bcabd6aaeffd?源码微信三级分销商城源码x-bce-process=image%2Fresize%2Cm_lfit%2Cw_%2Ch_%2Climit_1%2Fquality%2Cq_%2Fformat%2Cf_auto"esrc="/bcabd6aaeffd"/>
2、打开Reflector点击File--OpenAssembly...在打开的源码对话框内选择要反编译的DLL文件。
/iknow-pic.cdn.bcebos.com/aabdfabf4abfbf"target="_blank"title=""class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/aabdfabf4abfbf?源码版权引流app源码x-bce-process=image%2Fresize%2Cm_lfit%2Cw_%2Ch_%2Climit_1%2Fquality%2Cq_%2Fformat%2Cf_auto"esrc="/aabdfabf4abfbf"/>
3、打开DLL成功后,源码淘宝选品页面源码会在左侧的源码最下方看到反编译DLL文件。
/iknow-pic.cdn.bcebos.com/fae6cd7beda7dcd"target="_blank"title=""class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/fae6cd7beda7dcd?源码x-bce-process=image%2Fresize%2Cm_lfit%2Cw_%2Ch_%2Climit_1%2Fquality%2Cq_%2Fformat%2Cf_auto"esrc="/fae6cd7beda7dcd"/>
4、点击展开该DLL文件就可以看到样关的源码类,以及类反编译后的源码代码,这样问题就解决了
/iknow-pic.cdn.bcebos.com/bbfc2dfe1eefcc2b"target="_blank"title=""class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/bbfc2dfe1eefcc2b?源码x-bce-process=image%2Fresize%2Cm_lfit%2Cw_%2Ch_%2Climit_1%2Fquality%2Cq_%2Fformat%2Cf_auto"esrc="/bbfc2dfe1eefcc2b"/>
cè°ç¨cdll
è°ç¨éäºæ¥ï¼å®ä¹ååãå è½½dllæ件ãè·ådllå½æ°å°åãè°ç¨dllå½æ°ãéæ¾dllæ件ã
1ãå®ä¹DLLå½æ°çååï¼port)å ³é®åå³å¯ãä¾å¦porttttb)ï¼
2ãå è½½DLLæ件ï¼å¨Cè¯è¨ä¸ï¼éè¦ä½¿ç¨LoadLibraryå½æ°æ¥å è½½DLLæ件ãLoadLibraryå½æ°çåæ°æ¯DLLæ件çè·¯å¾ï¼å¦æDLLæ件å¨å½åç®å½ä¸ï¼åå¯ä»¥ç´æ¥ä½¿ç¨æ件åã
3ãè·åDLLå½æ°å°åï¼å¨Cè¯è¨ä¸ï¼éè¦ä½¿ç¨GetProcddresså½æ°æ¥è·åDLLå½æ°çå°åï¼è¿æ ·æè½å¨ç¨åºä¸è°ç¨DLLå½æ°ãGetProcddresså½æ°çåæ°æ¯DLLæ件çå¥æåå½æ°åï¼è¿åå¼æ¯å½æ°çå°åã
4ãè°ç¨DLLå½æ°ï¼å¨Cè¯è¨ä¸ï¼å¯ä»¥ä½¿ç¨æéçæ¹æ³æ¥è°ç¨DLLå½æ°ãä¾å¦tresult=pdd(1ï¼2)ï¼
5ãéæ¾DLLæ件ï¼å¨Cè¯è¨ä¸ï¼éè¦ä½¿ç¨FreeLibraryå½æ°æ¥éæ¾DLLæ件ï¼ä»¥èçå å空é´ãä¾å¦FreeLibrary(hDLL)ï¼