#amd64 #cpuid

程序 cpuid_dump_rs

简单的cpuid转储工具和库

1个不稳定版本

0.1.2 2023年11月19日

#820硬件支持

MIT 许可证

205KB
5K SLoC

用法

USAGE:
     cargo run -- [options ..] or <cpuid_dump> [options ..]

FLAGS:
     -a, -all
         Display result for all threads.
     -r, -raw
         Display raw/hex result.
     -bin
         Display binary result.
     -c, -compat
         Display the same format as `cpuid -r` (cpuid by Todd Allen)
     -full
         Combine "-disp-zero" and "-no-diff"
     -disp-zero
         Display result even if E[ABCD]X are zero.
     -no-diff
         Do not omit diff when all threads execution

OPTIONS:
     --l <u32>, --leaf <u32>
         Display result only for the specified value, the value is Leaf/InputEAX <u32>.
         e.g. --leaf 1, --leaf 0x8000_0008,
     --sub_leaf <u32>, --subleaf <u32>
         Display result only for the specified value, the value is Sub_Leaf/InputECX <u32>.
     --s <path/filename>, --save <path/filename>
         Save dump result to text file.
         If there is no path/filename argument, will be used "./<processor_name>".

转储结果

依赖项

~0–25MB
~316K SLoC