Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New Coder
    Join Date
    Feb 2003
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts

    extensive useless assembly

    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.

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    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.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    New Coder
    Join Date
    Feb 2003
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Last time I checked the law doesn't stipulate that it is only illegal to reverse engineer software over a certain size.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #5
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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.

  • #6
    New Coder
    Join Date
    Feb 2003
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes i know ... i cant get it to work anyway.

  • #7
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72 W. 48' 57" , 41 N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    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) 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. 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.
    Last edited by joh6nn; 02-15-2003 at 07:40 AM.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #8
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    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.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #9
    New Coder
    Join Date
    Feb 2003
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #10
    Senior Coder
    Join Date
    Jun 2002
    Location
    41 8' 52" N -95 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Delete it! Set a good example for forums all over the world. Please.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •