Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

clrscr

libs...

This topic is 6191 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there anyway to open .lib file and see the source code? "A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila." -Mitch Ratliffe

Share this post


Link to post
Share on other sites
Advertisement
Why not?

"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila."
-Mitch Ratliffe

Share this post


Link to post
Share on other sites
.lib files are compiled and linked so there isn''t any sourcecode in it! You could surely take a hexeditor and look at the data in it, but to get the source code (the .c and .h files that are human readable) you need to disassemble and decompile the lib!
BUT:
If it is copyrighted material, then reversengineering (that''s how this is called) is forbidden and illeagal.
While disassembling is fairly easy (many tools) decompilation is possible, but the output is very very bad (extremely hard to understand) as there is no way to restore the names of the variables and comments, etc.

Anyway, what lib do you want to decompile and why?


Yesterday we still stood at the verge of the abyss,
today we''re a step onward!

Share this post


Link to post
Share on other sites
I was just wondering if it can be done.

"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila."
-Mitch Ratliffe

Share this post


Link to post
Share on other sites
.lib files are not linked. They are just compiled.

You can link other files with them.

Edited by - Omaha on December 30, 2001 9:56:29 PM

Share this post


Link to post
Share on other sites
quote:
Original post by Omaha
.lib files are not linked. They are just compiled.

You can link other files with them.

Edited by - Omaha on December 30, 2001 9:56:29 PM


Definetly right, thanks!
Wouldn''t that make reversengineering easier?


Yesterday we still stood at the verge of the abyss,
today we''re a step onward!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!