[Nix-dev] Re: libgmp impurity

Marc Weber marco-oweber at gmx.de
Mon Jun 29 23:51:26 CEST 2009


> kernel, is there a way to trap all uses of the CPUID instruction?  On the 
Probably not. That's why I said: Don't patch the kernel but patch the
tools creating the code using CPUID by making the tools create fake code.
Eg make the assembler replace usagce of CPUID by some other assembler
code returning a constant string. So after having done this no
executable should contain tha CPUID instruction anymore. However this
can break code

Marc Weber



More information about the nix-dev mailing list