dd86k / ddcpuid

🔬 dd's x86 CPU Identification tool
MIT License
36 stars 1 forks source link

Verify input of maximum leafs #41

Closed dd86k closed 1 year ago

dd86k commented 1 year ago

On the Pentium II, with CPUID.8000_0000h(ECX=0h), the value in EAX will be 03020101h which may confuse ddcpuid.

Getting checking against 0x4000_0000 and 0x8000_0000, the minimum and maximum (+0xfff_ffff) should be used to check again the input leaf

dd86k commented 1 year ago

Done in 3f418eb1acb0e7683b46998d37e1e231ece7cba4