02-14-2003, 08:31 PM
when i disassemble porgrams it seems like assembly is a whole buncha crap and strain to use than normal programming languages. i disassembled a small console calculator program with about 15 lines of C++ and it turned out to be close to 3000 lines in assembly. why is this. is there any kind of program that outputs source for programs in a manageable format like a well-known programming languages.
02-14-2003, 08:41 PM
Well for starters decompiling/reverse engineering programs without permission of the owners/authors of the software is illegal and we will not discuss nor encourage that in our forums.
As for assembly language showing up in decompilations of other languages you need to know how other languages work and compile.
As higher level languages were produced they are built off of assembly language. They are just an abstraction of assembly. They were designed to be more readable and easier to use or if you will....an easier interface. When you comile a program written in C++ or Java, etc it compiles down to assembly language code and then to machine code.
02-15-2003, 02:38 AM
im not talking about cracking large commercial business programs or 1.5 gig games ... just doing a few peeks at some code to learn some quick snippets. i in no way intend to do anything so illegal as steal apps or games at all.
02-15-2003, 05:10 AM
Last time I checked the law doesn't stipulate that it is only illegal to reverse engineer software over a certain size. :rolleyes:
Generally, unless the source is provided, then you aren't intended to look at it. And doing so can violate laws, as Spookster pointed out.
Doesn't matter if it is 2k or 2gb, there are legal ramifications for doing so.
02-15-2003, 06:53 AM
yes i know ... i cant get it to work anyway.
02-15-2003, 08:37 AM
to the best of my knowledge, simply looking at the code, and playing with it for your own use, is fine. trying to profit from it, though, by removing nags, ads, or security features from software, or writing your own program using that code, is illegal. that's always been my understanding, anyway.
i googled (reverse engineering) (http://www.google.com/search?q=reverse+engineering&sourceid=mozilla-search&start=0&start=0) quickly, to see whether this was a true or not. i only very quickly skimmed the titles, but based on the fact that a lot of these look like they belong to universities and other institutions, i'm gonna stick by my belief.
i don't really know anything about reverse engineering, or decompilers. i have worked with this a bit though: Resource Hacker (http://www.users.on.net/johnson/resourcehacker/). it doesn't show you the source code, but it does let you rearrange, add, and delete controls and items in programs. if you look, you can find some tutorials for it from PC Magazine.
whatever you do, though, be careful. there is a very very fine line regarding what is and is not permissable, both in these forums, and in a court of law.
02-15-2003, 05:05 PM
Well John I would be incredibly careful with that belief because unless you are playing with open-source software or the company/owner of the software explicitly states that the software may be reverse-engineered then you can be in violation of copyright and intellectual property laws. It also depends on what country you are from as certain countries have different adaptations of those laws pertaining to reverse-engineering.
By providing informatoin on how to reverse-engineer in these forums whether we believe it is illegal or not is providing someone somewhere the means to potentially commit illegal activity and that could put WA in a compromising position if some company were to take action against that someone for their activities and actoin against WA for providing the information or tools necessary to commit those actions.
02-15-2003, 07:37 PM
ok then ... delete the thread if you want. the only true reason was to actually learn some assembly and bits of other languages. it doesnt work anyway so you dont have to worry about it.
02-20-2003, 02:06 AM
Delete it! Set a good example for forums all over the world. Please.