MATLAB De_Pcode Mex for help

Due to the needs of the project, it is necessary to know the calling sequence of MATLAB p-files and the names of specific functions to be called. It is said that some people on the Internet have found a way to restore. In fact, it is feasible. After all, MATLAB runs the p-file for single-step debugging. Like binary dll files. This greatly reduces the difficulty of p file restoration. At the same time, the restored quality is also very high.
After searching hard on the Internet, I finally found a similar tool on a blog. However, because this website was officially notified by mathworks, after the original author took the website off the shelves, and the copyright has attracted more and more people’s attention, it is now difficult to find, and it is difficult to find it when searching for keywords on the Internet. The picture below is I saw an html written by someone else on the blog,
Insert picture description here
but now the page of that website disappeared, alas.
%%%%%%%%%%%%%%%%%%%%%%%%% updated%%%%%%%%%
I found the html script of the above website before. According to the key statement in the html, you can input the p file to the de_pcode.py website. Now The source code can be restored. This function is fine. Those who don't know how to operate are welcome to leave a message to discuss, or contact q 2807073834.
Because viewing the p-file is easy to infringe the interests of the creators of the hard-working encryption code, but it can't stop the enthusiasm for the source code learning! !
%%%%%%%% Problem%%%%%%%%%%%%
After researching the m file after restoring the p file, it is now found that most of the m files often call mex functions. On the Internet, mex is similar. In dll file, binary; understand C and MATLAB mixed programming, mex file is C function compiled by MATLAB, which greatly increases the method of understanding internal specific execution, so it also provides a way for m function or c function encryption A safer method, this method is unlikely to be restored, but it is also necessary to convert the logic in the m file to the c language. I hope that those who have this knowledge can leave a message for discussion.

Guess you like

Origin blog.csdn.net/qq_36320710/article/details/112968381