MS forces open source?

This is a discussion on MS forces open source? within the C# Programming forums, part of the General Programming Boards category; At the rah-rah event, they talked about what happens when your finished programs are distributed. Basically sounds like it amounts ...

  1. #1
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825

    MS forces open source?

    At the rah-rah event, they talked about what happens when your finished programs are distributed. Basically sounds like it amounts to sending out the assembly (the CLI and the metacode or whatver it's called), and that's run w/ the .NET framework. Well... If the person on the other end has VS.NET (and consequently, the disassembler) won't that just be like giving your code away?

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    I am not 100% sure about this but I think that CLR scrambles all your varible and function names to something totaly unreadable and also removes all the comments. Tests been showing that even the easiest program get totaly impossible to read and understand when this happens. Atleast thats what I think I read.

  3. #3
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Well, it wasn't completely scrambled when they showed it yesterday... He just open it as a test file... I'm sure the comments and stuff come out... I guess it's not a lot different than using a normal disassembler to break an exe into ASM...

  4. #4
    Unregistered
    Guest
    Still very interesting. I wonder if there is compiler settings for how you want the clr to be scrambled. I would not be supprised to see new and improved dissamlers out there because technicly your shiping the recipie(sp) for your program.I haven't really played with anything of that yet. Opens up some neet prospects for crackers.

  5. #5
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    > technicly your shiping the recipie(sp) for your program.

    Yeah, but the more I think about it, the more I realize it's the same thing as distributing your code as an exe...

  6. #6
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    True but it sems to me that the CLI is a higher level language then Asm so there for it should be easier to read it. It stil probably would be faster and better to just figure out what you want to do and write the code instead of trying to reverse engineer someone else code.

  7. #7
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    > It stil probably would be faster and better to just figure out what you want to do and write the code instead of trying to reverse engineer someone else code.

    Well yes, it would, if you were intending to do something legit. This had a whole bunch of people at the event scared that their code was going to be stolen, since the CLI's just in a text file.

  8. #8
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    So does the dissasembler actualy take it all the way back to C#? And how readable is it? I haven't seen it myself.

  9. #9
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    It doesn't take it back to the native language, although I do believe it's readable (I was in the back and couldn't see exceptionally well)

  10. #10
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    So it could be possible to disassemble the code. Do some cracks. recompile it back to CLI and be a happy thief. Sounds like that would be a huge concern for almost everyone. I have a hard time to belive that MS would base the code integrity on the scrambling alone. Although it would be hysterical if MS missed a huge security issue that couldn't be fixed without rethinking the whole .NET project.

  11. #11
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    I think it's pretty easy to read the IL, here's a release build. See if you can guess what it does -

    Code:
    .method private hidebysig static void  Main(string[] args) cil managed
    {
      .entrypoint
      // Code size       11 (0xb)
      .maxstack  8
      IL_0000:  ldstr      "Hello, World!"
      IL_0005:  call       void [mscorlib]System.Console::WriteLine(string)
      IL_000a:  ret
    } // end of method Class1::Main

  12. #12
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Oh... wow.... That's no good at all...

  13. #13
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    If that is as secret as it will get I know my next project will be in unmanaged C++. It is also interesting to see a MS reference in the code [mscorlib] sense MS claims the IL to be totaly system independent

  14. #14
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    > It is also interesting to see a MS reference in the code [mscorlib] sense MS claims the IL to be totaly system independent

    Maybe (probably) that refers to something in the .NET Framework.... It may be system independent, but it still needs the framework..

  15. #15
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    Thats a good assumption but if IL and the NET framework is supposed to be an independent standard submited to a standard organisation(don't remeber the name) I wouldn't think it should have references to MS. Kinda like you don't see any references to AT&T on C++. Maybee I am making an emu out of an egg here but I like picking on details

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open Source Cell phones
    By abachler in forum Tech Board
    Replies: 9
    Last Post: 03-21-2008, 09:31 AM
  2. Punkbuster / DRM / copy protection as Open Source?
    By sept in forum A Brief History of Cprogramming.com
    Replies: 30
    Last Post: 03-11-2008, 07:15 PM
  3. propogation of open source
    By abachler in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-28-2007, 09:03 AM
  4. Ping
    By ZakkWylde969 in forum Tech Board
    Replies: 5
    Last Post: 09-23-2003, 12:28 PM
  5. Open Source Text Editors
    By Cxx in forum C++ Programming
    Replies: 2
    Last Post: 01-04-2003, 02:46 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21