Extract Source Code from Compiled App

35 ビュー (過去 30 日間)
Benjiman
Benjiman 2022 年 7 月 19 日
コメント済み: Benjiman 2022 年 7 月 19 日
Hi at all,
I hava a Matlab App that I want to publish to colleagues. I used mcc to compile a standalone .exe and noticed, that this .exe is openable with the explorer.
Looking inside, i found that in some cases you can at least reconstruct the paths of the packages, functions and classes, that I wrote for my app.
This brings me to my actual question: Is it possible to extract or reconstruct the Source Code from a compiled app?
Thanks and all the best,
Benjamin

採用された回答

Walter Roberson
Walter Roberson 2022 年 7 月 19 日
In your release, it is known that it is possible to reconstruct code, with comments removed, and not necessarily the same variable names or exact same way of writing the code. The method of doing so is not published and Mathworks will not assist you in the process, and reported declines to be hired to decompile.
In a release after yours, an option was added to hide the paths that you are observing, and in a release after that, the encoding algorithm was changed to make decompilation more difficult.
  1 件のコメント
Benjiman
Benjiman 2022 年 7 月 19 日
Thanks for your quick answer! In this case I will finally upgrade to the newest release.

サインインしてコメントする。

その他の回答 (1 件)

Bruno Luong
Bruno Luong 2022 年 7 月 19 日
"Is it possible to extract or reconstruct the Source Code from a compiled app?"
The source code is obfuscated, only TMW and confirmed hackers who know secretly the algorithm can reconstruct the source code. Mortal people cannot.

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by