6 ms·
Is it legal to reverse the CPU to figure out those things? According to Intel, it’s not According to the basic law, it should be (DMCA and others notwithstandi
by userbinator 12y ago
Is it legal to reverse the CPU to figure out those things? According to Intel, it’s not
According to the basic law, it should be (DMCA and others notwithstanding):
http://en.wikipedia.org/wiki/Semiconductor_Chip_Protection_Act_of_1984#Reverse_engineering_not_prohibited http://en.wikipedia.org/wiki/Semiconductor_Chip_Protection_A...
However, you're unlikely to be able to make any significant progress in a reasonable amount of time due to the overwhelming complexity of a modern x86 CPU. The fact that there are many hidden/undocumented MSRs (Google 9C5A203A for some nice links) makes it all the more difficult.
AMD microcode used to be unsigned, and it was possible to induce some... odd behaviour with it: http://www.securiteam.com/securityreviews/5FP0M1PDFO.html http://www.securiteam.com/securityreviews/5FP0M1PDFO.html
(Interestingly enough, no one at the time thought to hit it with a fuzzer and see what could really be done... or if anyone did, they didn't tell. Also, I remember a far more detailed version of this article was on the 'net around a decade ago, but Google seems unable to find it, just like how information on AMD's hidden MSRs was far easier to find a few years ago..)
- mtnmts 12y agoThat's very cool, i wonder if the same extends to the microcode (.inc files) themselves. That AMD Research looks very, very very cool, Maybe i can get my hands on an AMD CPU and try it for myself.
- makomk 12y agohttps://www.dcddcc.com/pubs/paper_microcode.pdf https://www.dcddcc.com/pubs/paper_microcode.pdf seems to have more details on AMD's K8 microcode format.