LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2015, 05:08 PM   #16
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227

Quote:
Originally Posted by jpollard View Post
Again, WHY.

You can GET the source to the utilities if you want.
Well it is worth noting that compilation isn't completely irreversible. But decompilation is hit or miss (mostly miss)
 
Old 03-29-2015, 06:05 PM   #17
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
It definitely is not completely reversable.

What gets lost is where compile options (combined with configuration options) can and will eliminate entire code sections. The result of decompilation in no way comes close to the original.

Part of what gets lost is the portability that the original had. What is "decompiled" is focused on one and only one platform.
 
Old 03-29-2015, 07:04 PM   #18
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by jpollard View Post
It definitely is not completely reversable.

What gets lost is where compile options (combined with configuration options) can and will eliminate entire code sections. The result of decompilation in no way comes close to the original.

Part of what gets lost is the portability that the original had. What is "decompiled" is focused on one and only one platform.
Not to mention symbol names are usually lost. You end up with variable names like integer_01 integer_02 and similar function names.
 
Old 03-30-2015, 06:57 AM   #19
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by smeezekitty View Post
Not to mention symbol names are usually lost. You end up with variable names like integer_01 integer_02 and similar function names.
yes, and not just usually - all local variable names disappear, and if the executable is stripped so too are the global names, leaving only those for binding with shared libraries. Structure reconfigurations done by the compiler for the platform as well (mostly the padding added).
 
Old 03-30-2015, 07:02 AM   #20
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,110
Blog Entries: 10

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
Wasting our time, OP hasn't returned with any responses.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using Expect/TCL to move contents of a text file to an executable file jefsa Linux - Newbie 4 04-20-2012 11:43 AM
Force executable .exe files when creating .iso files? red hat flyfisherman Linux - General 6 12-01-2011 07:10 PM
Executable files @er<> Linux - Newbie 2 03-10-2007 07:35 PM
Converting perl files to executable mac files mrozkan Programming 0 04-16-2002 10:56 AM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration