1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-07-02 14:04:15 +00:00

Support another variant of AIDA64 dumps in cpuid_deserialize_raw_data_internal()

It support lines like 'CPU#000 AffMask: 0x0000000000000001'
This commit is contained in:
The Tumultuous Unicorn Of Darkness 2023-05-07 12:41:25 +02:00
parent 2317f40b36
commit 5789a6e297
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
2 changed files with 8 additions and 4 deletions

View file

@ -12,7 +12,7 @@ if len(args) != 3:
def readRawFile():
rawdata = []
for line in open(args[1], "rt").readlines():
lookfor = ["basic_cpuid", "ext_cpuid", "intel_fn4", "intel_fn11", "amd_fn8000001dh", "Logical CPU", "CPUID"]
lookfor = ["basic_cpuid", "ext_cpuid", "intel_fn4", "intel_fn11", "amd_fn8000001dh", "Logical CPU", "CPUID", "CPU#"]
ignore = ["MSR Register"]
good = False
for match in lookfor: