LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 04:08 PM   #16
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231

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, 05:05 PM   #17
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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, 06:04 PM   #18
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
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, 05:57 AM   #19
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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, 06:02 AM   #20
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

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


Reply



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 10:43 AM
Force executable .exe files when creating .iso files? red hat flyfisherman Linux - General 6 12-01-2011 06:10 PM
Executable files @er<> Linux - Newbie 2 03-10-2007 06:35 PM
Converting perl files to executable mac files mrozkan Programming 0 04-16-2002 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:16 PM.

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
Open Source Consulting | Domain Registration