Safe to open P-code files?
Afficher commentaires plus anciens
Hi,
My question and concern is that I have purchased some .p and .m files from a MATLAB software developer. I would like to know what risks I assume by opening the files, especially the .p files that I cannot review to ensure safe operation (risks such as spreading a fatal virus to my employer's entire network, etc). My limited research on p-coded files explained that no one except those who have purchased the rights to view source code (million dollar rights) from MathWorks will be able to open or view the .p files. Are there any tools in addition to requiredFilesandProducts that I can use to determine a threat? Or is author trust the ultimate answer?
Thanks in advance.
3 commentaires
dpb
le 20 Déc 2016
It's pretty-much the latter; which sorta' begs the question of why would you buy from a vendor you don't trust?
Guess you could start by using a workstation totally isolated from the rest of the network if you think there's really somesuch possibility, even.
Walter Roberson
le 20 Déc 2016
The original source file of .p files is discarded. There is, though, still information about variable names. It seems likely to me that somewhere along the way that Mathworks wrote a "decompile" tool for .p files that would produce some version of source from a .p file. But that is speculation.
Réponse acceptée
Plus de réponses (1)
David Barry
le 20 Déc 2016
Modifié(e) : David Barry
le 20 Déc 2016
0 votes
Yes author trust is the ultimate answer. If you don't trust them then why work with them? Alternatively you should have stated in your terms and conditions with said supplier that you want open access to all source code. p-code is a way for people to obfuscate intellectual property not distribute viruses.
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!