Function library for SG4: how secure?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Function library for SG4: how secure?

跳至解决方案
831 次查看
blitzamit
Contributor I

Hi all,

 

I want to distribute a function library (.lib or .o) to one of our clients. I wish to know if it is possible to extract source code from such a libray, In short, how secure is such a library?

I am interested only in knowing if it possible to extract source code, not in knowing how to do it :smileywink:

 

Thanks in advance,

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
736 次查看
rocco
Senior Contributor II

Hi Blitzamit,

 

It depends on what you mean by "source code". If you mean the original source code, with labels, variable names and comments, then no. That information is not included in the library.

 

But if you mean a source code file that can then be modified and recompiled, then yes. Modules in the library can be "disassembled" into code that is somewhat readable. The only symbols that would be accessible are those that were XDEFed or XREFed in your original source, so the code may not be easy to understand. Depending on the complexity, the underlying algorithms could be derived.

在原帖中查看解决方案

0 项奖励
回复
1 回复
737 次查看
rocco
Senior Contributor II

Hi Blitzamit,

 

It depends on what you mean by "source code". If you mean the original source code, with labels, variable names and comments, then no. That information is not included in the library.

 

But if you mean a source code file that can then be modified and recompiled, then yes. Modules in the library can be "disassembled" into code that is somewhat readable. The only symbols that would be accessible are those that were XDEFed or XREFed in your original source, so the code may not be easy to understand. Depending on the complexity, the underlying algorithms could be derived.

0 项奖励
回复