Valhalla Legends Archive

Programming => General Programming => Topic started by: I_Smell_Tuna on February 15, 2005, 09:53 PM

Title: Reverse Enginering
Post by: I_Smell_Tuna on February 15, 2005, 09:53 PM
Windows is programmed in C\C++ correct? Well there are open source C\C++ compilers also. So has anybody ever reverse enginered Windows?
Title: Re: Reverse Enginering
Post by: iago on February 15, 2005, 10:47 PM
Doing a complete reverse engineer would take too long, and would be infeasible. 

Yes, Windows is programmed in C (or C++, not sure). 

I don't understand what any of that has to do with open source C/C++ compilers.
Title: Re: Reverse Enginering
Post by: Lenny on February 15, 2005, 11:26 PM
Maybe if you compiled(gathered) all the dissassembled pieces of windows floating all over the net you could have a complete reverse engineering of windows.

But why would anyone want that?
Title: Re: Reverse Enginering
Post by: tA-Kane on February 15, 2005, 11:54 PM
I highly doubt you'd get a working (let alone stable) version of Windows with all Microsoft code snippets floating around.

As for why would someone want that... Well, isn't it obvious? It's an excellent way of finding (and thusly writing abuses for) problems within Windows which will result in mayhem to the end users, such as incorrect functionalities, system crashes, or even remote access to private data.
Title: Re: Reverse Enginering
Post by: Soul Taker on February 16, 2005, 08:18 AM
Considering Windows 2000 is about 35 million lines of code, I seriously doubt anyone would ever reverse it all.
Title: Re: Reverse Enginering
Post by: MyndFyre on February 16, 2005, 09:49 AM
Quote from: Soul Taker on February 16, 2005, 08:18 AM
Considering Windows 2000 is about 35 million lines of code, I seriously doubt anyone would ever reverse it all.

But is it even all necessary?  Within that estimation, they include Windows Media Player, Internet Explorer, Paint, Clipboard, Notepad, Calculator, Character Map, Backup, all the command-line tools, etc.

The most important things to get would be the kernel, the HAL, and the windowing system.  I bet it wouldn't be THAT much.  :P
Title: Re: Reverse Enginering
Post by: I_Smell_Tuna on February 16, 2005, 01:24 PM
Thanks for the response.
Title: Re: Reverse Enginering
Post by: Lenny on February 16, 2005, 03:28 PM
Quote from: tA-Kane on February 15, 2005, 11:54 PM
I highly doubt you'd get a working (let alone stable) version of Windows with all Microsoft code snippets floating around.

As for why would someone want that... Well, isn't it obvious? It's an excellent way of finding (and thusly writing abuses for) problems within Windows which will result in mayhem to the end users, such as incorrect functionalities, system crashes, or even remote access to private data.

Pessimist :P
It's also an excellent way to tell microsoft how to fix their vulnerabilities.  But why would anyone want to do that?

Well I'm done with my rhetorical questions....
Title: Re: Reverse Enginering
Post by: Blaze on February 24, 2005, 06:54 AM
Quote from: tA-Kane on February 15, 2005, 11:54 PM
I highly doubt you'd get a working (let alone stable) version of Windows with all Microsoft code snippets floating around.
I doubt you could get a stable version WITH all the source code.  Windows likes to crash when I am doing something important, like essays or research.
Title: Re: Reverse Enginering
Post by: tA-Kane on February 24, 2005, 07:57 AM
kthx for practically repeating exactly what I said.
Title: Re: Reverse Enginering
Post by: Maddox on February 25, 2005, 07:51 PM
Only Windows 4.0 and up are coded in C/C++ IIRC. The rest are in assembly.
Title: Re: Reverse Enginering
Post by: tA-Kane on February 26, 2005, 02:20 AM
Eww. Just... eww.
Title: Re: Reverse Enginering
Post by: CrAz3D on February 26, 2005, 06:58 PM
Quote from: MyndFyre on February 16, 2005, 09:49 AM
Quote from: Soul Taker on February 16, 2005, 08:18 AM
Considering Windows 2000 is about 35 million lines of code, I seriously doubt anyone would ever reverse it all.

But is it even all necessary?  Within that estimation, they include Windows Media Player, Internet Explorer, Paint, Clipboard, Notepad, Calculator, Character Map, Backup, all the command-line tools, etc.

The most important things to get would be the kernel, the HAL, and the windowing system.  I bet it wouldn't be THAT much.  :P
What is HAL?
Title: Re: Reverse Enginering
Post by: dxoigmn on February 26, 2005, 07:06 PM
Quote from: CrAz3D on February 26, 2005, 06:58 PM
Quote from: MyndFyre on February 16, 2005, 09:49 AM
Quote from: Soul Taker on February 16, 2005, 08:18 AM
Considering Windows 2000 is about 35 million lines of code, I seriously doubt anyone would ever reverse it all.

But is it even all necessary?  Within that estimation, they include Windows Media Player, Internet Explorer, Paint, Clipboard, Notepad, Calculator, Character Map, Backup, all the command-line tools, etc.

The most important things to get would be the kernel, the HAL, and the windowing system.  I bet it wouldn't be THAT much.  :P
What is HAL?

http://www.google.com/search?hl=en&q=HAL+Windows&btnG=Google+Search
Title: Re: Reverse Enginering
Post by: Kp on February 26, 2005, 11:11 PM
Quote from: CrAz3D on February 26, 2005, 06:58 PMWhat is HAL?

I'm sorry.  I can't tell you that, Dave.
Title: Re: Reverse Enginering
Post by: Blaze on February 26, 2005, 11:21 PM
Was that a quote from a movie? I swear I have heard something like that before.
Title: Re: Reverse Enginering
Post by: shout on February 26, 2005, 11:36 PM
Space Odyessy: 2001
Title: Re: Reverse Enginering
Post by: Mangix on February 27, 2005, 12:21 AM
Quote from: Blaze - (S-1-0-0) on February 24, 2005, 06:54 AM
Quote from: tA-Kane on February 15, 2005, 11:54 PM
I highly doubt you'd get a working (let alone stable) version of Windows with all Microsoft code snippets floating around.
I doubt you could get a stable version WITH all the source code. Windows likes to crash when I am doing something important, like essays or research.
get windows xp.
Title: Re: Reverse Enginering
Post by: tA-Kane on February 27, 2005, 10:47 AM
Quote from: Shout on February 26, 2005, 11:36 PM
Space Odyessy: 2001
Actually, it's called 2001: A Space Odyssey
Title: Re: Reverse Enginering
Post by: Joe[x86] on February 28, 2005, 04:51 PM
Rosen, get a brain.

If you want a stable windows.. No. Get Slackware.
Title: Re: Reverse Enginering
Post by: shout on March 05, 2005, 11:08 PM
If you want a stable windows, stick magnets on the side of your case. Really powerful ones.
Title: Re: Reverse Enginering
Post by: Adron on March 06, 2005, 09:21 AM
Quote from: Shout on March 05, 2005, 11:08 PM
If you want a stable windows, stick magnets on the side of your case. Really powerful ones.

More fun to stick them on the side of your monitor? (warning) :P
Title: Re: Reverse Enginering
Post by: Banana fanna fo fanna on March 06, 2005, 12:42 PM
Hardware Abstraction Layer