Function library for SG4: how secure?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Function library for SG4: how secure?

Jump to solution
808 Views
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,

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
713 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
714 Views
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 Kudos
Reply