Originality of OS code: a different way of asking a question
Posted: Fri Sep 06, 2013 5:01 pm
One afternoon I went crazy and decided that I wanted to decompile kernels. (I have a magic decompiler for Windows that lets me do that.) I get out my old Windows XP disk, and then download the first Linux kernel. I decompile them and now have thousands of pages of code sitting in front of me.
Then I go completely mad. I decide I want to compare kernels on a line by line basis to see if there are any instances in which code, regardless of its function, has been written in precisely the same way in both the Windows and Linux kernel. Some questions arise from this:
1. How likely am I to find instances in which this occurs?
2. Where would this most likely occur, if it did?
3. If this kind of overlap doesn't occur, why not?
4. If Windows and Linux shared identical sequences of code, doesn't that imply that it's very difficult to design a completely original (from a code implementation perspective) OS?
5. Wouldn't similar code yield similar vulnerabilities?
Then I go completely mad. I decide I want to compare kernels on a line by line basis to see if there are any instances in which code, regardless of its function, has been written in precisely the same way in both the Windows and Linux kernel. Some questions arise from this:
1. How likely am I to find instances in which this occurs?
2. Where would this most likely occur, if it did?
3. If this kind of overlap doesn't occur, why not?
4. If Windows and Linux shared identical sequences of code, doesn't that imply that it's very difficult to design a completely original (from a code implementation perspective) OS?
5. Wouldn't similar code yield similar vulnerabilities?