Could this code damage my processor?

前端 未结 7 782
有刺的猬
有刺的猬 2021-02-05 18:50

A friend sent me that code and alleges that it could damage the processor. Is that true?

void damage_processor() {
    while (true) {
        // Assembly code th         


        
7条回答
  •  耶瑟儿~
    2021-02-05 19:54

    The code in question is unlikely to do much except reboot the machine. In my experience, an x86 CPU could be bricked by executing software code.

提交回复
热议问题