Function library for SG4: how secure?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Function library for SG4: how secure?

ソリューションへジャンプ
836件の閲覧回数
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 解決策
741件の閲覧回数
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 返信
742件の閲覧回数
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 件の賞賛
返信