convert binary file to source code
Hi,i have compiled binary file but i don't have source code for that binary.how can i get source code from binary file.if any one knows let me know(my main intention is i have a vxworks compiled binary but i don't have source code,how can i get source code)
|
Quote:
http://en.wikipedia.org/wiki/Decompiler I have no idea if a decompiler exists for vxworks. Daniel B. Martin |
if it was an open source app you can find the source on the net and you can download it. But in some cases it is simply forbidden (to do that).
|
@Mallem kondaiah.
Quote:
Do you know the application name ? |
Neither possible nor legal.
|
It's possible using decompilers and also assembly source can be get by objdump.
There are few decompilers (to c language and assembly language) around. Use Wikipedia and web search to find them. It's illegal in some place but legal in others and also depends on license terms of the binary. Reverse Engineering is legal in many places. |
The object-files produced by some language systems (e.g. Java) can sometimes be decompiled with marginal results, although, even then, the outcome is "worse than minify'd." All variable names and so-forth are gone.
If the compiler performed optimization, as most compilers do, there's no longer a 1:1 correspondence between the source-code tht went in, and the object-code that came out. The optimized code is functionally equivalent, but not identical. Pragmatically, though, the answer to your question is: "no." |
Quote:
Quote:
OP, vxworks is NOT open source. If you want the source code for a valid reason, and you've purchased a license, you may (emphasis on MAY), be able to contact Wind River and ask them for it. They may require you to sign an NDA, and let you have the pieces you need. You may also be able to contact them and ask them to do a custom build for your company. |
Quote:
It's time to improve your knowledge. And what if that particular binary software does allows decompilation. |
Quote:
Whether a country accepts a 'copyright convention' is immaterial. That just means that COPYRIGHT violations may not be an offense that can be prosecuted. It DOES NOT make it 'legal', shield you from civil lawsuits, or protect you from theft of intellectual property. Not to mention the fact that if you violate the EULA of the software you're decompiling, you CAN be prosecuted for THAT, regardless of 'copyright conventions'. Quote:
Quote:
|
A few comments (and reminders from the LQ rules):
* Personal attacks on others will not be tolerated. * Do not post if you do not have anything constructive to say in the post. * Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without insult and personal attack. Differing opinions is one of the things that make this site great. * We understand there is a gray area with the legality of many things and that different jurisdictions have vastly different rules. We try to strike a balance between freedom of speech / the desire for knowledge with keeping LQ clear of any legal issues in our jurisdiction / not helping with actions that are clearly illegal or unethical. It's a difficult line to walk sometimes, which is why we assess each instance on an individual basis. --jeremy |
Quote:
In the start I felt TBone's post to my posts as making personal attacks on me. Though some were right. But I just ignored rest. It continued then I started commenting back. And he nows thinks I am making personal attacks on him. He uses some words which I feel are personal attacks. |
Quote:
|
Back on topic: Decompiling and reverse engineering is not illegal by itself - anywhere, as far as I know.
http://en.wikipedia.org/wiki/Reverse_engineering Lots of motivations there. "Creation of unlicensed/unapproved duplicates" - one of the many things. But how can decompiling be a copyright violation when you don't copy anything? It's the distribution that's illegal. However, you could be breaking some rule in some EULA, so someone could sue you. I'd maybe worry if I was in the USA. |
All times are GMT -5. The time now is 11:09 PM. |