Resistance is futile. You will be simulated. was the text printed (using a Star Trek font) on a limited number of t-shirts we had printed when I worked at Virtutech. The simulator is called Simics, and is a full-system simulator capable of simulator entire computer systems with sufficient fidelity that the simulated software is not aware that it is being simulated.
Raymond Chen recently posted an entry on his excellent The Old New Thing blog, titled If you can detect the difference between an emulator and the real thing, then the emulator has failed. This made remember a fun challenge once held at a party at Virtutech after I had left the company (I don't remember the occasion). There were two black screens displaying a Linux command prompt. One of the screens was connected to a physical PowerPC board, and the other was connected to a simulated PowerPC board. The task was then to decide, using the only the command lines of the two machines, which machine was simulated and which one was not.
Doing "cat /proc/cpuinfo" only revealed that both systems where running on PowerPC hardware (the output was different, but then only the people setting up the challenge new exactly which PowerPC hardware was being used), and the simulation was fast enough to not reveal anything performance wise. Now, I happened to have some insider info allowing me to solve the problem: Simics does not (or did not then) have any USB-support, which meant that the "lsusb" command should provide some crucial hints. Quite correctly, the simulated machine did not have any USB-devices, while the real hardware had a number of USB-related devices. I'm not sure if I won the challenge or not, but I remember a bunch of people standing around the terminal discussing different ways of beating the system.
Van vem?
9 hours ago


19 comments:
A good medicine tastes bitter. ..................................................
看到好文章心情就很好 ^^............................................................
死亡是悲哀的,但活得不快樂更悲哀。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
It is no use crying over spilt milk.............................................................
人生有些波折,才能有些成長,所以不論順逆,凡是成長、成功的助緣,都應該心存感激。..................................................
聰明人之所以不會成功,是因為他們缺乏了堅忍的毅力。.......................................................
老天爺賦予了強者的能力,就是要他比弱者多擔待.......................................................
Pay somebody back in his own coin...................................................................
Make yourself necessary to someone..................................................................
知識可以傳授,智慧卻不行。每個人必須成為他自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
心平氣和~祝你也快樂~~............................................................
培養健全孩子最好的方法是父母先成為健全的人。......................................................................
請繼續發表好文!加油加油再加油!............................................................
若有人問你成功時會不會記得他 試問若你失敗時他會不會記得你......................................................................
君子立恆志,小人恆立志。................. ................................................
Post a Comment