Can Mathworks perform a reverse compile of an .exe when the source code is long gone?

조회 수: 8 (최근 30일)
I was recently asked by a former employer to update a compiled .exe that I made around 2008. While I am flattered that my code is still being used, the source code, associated files, and computer that I compiled the .exe on are long gone. Does Mathworks have the capability to reverse compile and .exe into source code? This is a 16bit Windows OS .exe compiled on circa 2008 release of MatLab and had some statistics toolbox and advanced .xls writing functions in it. I have an active MatLab license with a compiler at my current job.

채택된 답변

Jan
Jan 2016년 12월 7일
I'm convinced, that MathWorks can do this. Tne AES encryption and the P-coding leaves enough information to obtain M-code. But can you prove, that this is your code? When Mathworks cannot be 100% sure, that they do not break the intellectual property of the author, they will not do this, because it would be illegal.
A proof would be, if you code replies your name as the author, when you provide a secret input argument. Well.
  댓글 수: 1
André
André 2016년 12월 7일
My name, the company's name, and revision history are all in the embedded in %%'s in the first few lines of the header. Not sure if that would qualify? My full name as I coded it is rather unique and I am a short drive to MathWorks HQ so I could provide photo ID. Might be an interesting test case...

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2016년 12월 7일
Oddly... we do not know. I have never seen Mathworks comment publicly as to whether they themselves could reverse engineer a compiled .exe . We tend to think they could probably do it, since they know the properties of their AES encryption... but we do not know. If they can do it, then what they would get back at a first step would probably be the equivalent of .p files; it is not clear to what extent variable names would be lost. The comments would certainly be lost.
If Mathworks can do this, it would be something you would have to send to the Mathworks Consulting Service . It would probably be expensive.
  댓글 수: 1
André
André 2016년 12월 7일
Thank you for the quick reply Walter. My former employer is a very well funded company - so the consulting service might be a viable option for them. But then I am flattering myself - it might be cheaper for someone to just re-code from scratch :-)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by