Skip to content

Dump windows device manager info by Rust🦀

Notifications You must be signed in to change notification settings

WesleyCh3n/ddump-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddump

Dumping the device info using windows abi by rust.

How to Build

Below requirement are tested on windows 10.

Using rust 1.62.0 with stable-x86_64-pc-windows-msvc toolchain.

cargo build --release

Usage

$ ddump
# or
$ ddump <some_name.json>

It will create device_info.json when no filename specify.

Output json file will something like this

[
  {
    "class": "System",
    "enumerator": "ACPI",
    "description": "Motherboard resources",
    "manufacturer": "(Standard system devices)",
    "hardware_id": "ACPI\\VEN_PNP&DEV_0C02",
    "compatible_id": "",
    "class_guid": "{4d36e97d-e325-11ce-bfc1-08002be10318}"
  },
  {
    "class": "System",
    "enumerator": "ACPI",
    "description": "Motherboard resources",
    "manufacturer": "(Standard system devices)",
    "hardware_id": "ACPI\\VEN_PNP&DEV_0C02",
    "compatible_id": "",
    "class_guid": "{4d36e97d-e325-11ce-bfc1-08002be10318}"
  },
...