The IOKit registry matching the DeviceTree plane.

Platform support

Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: iokit_devicetree

  • Mac OSX

Table schema

Name Type Description
name TEXT Device node name
class TEXT Best matching device class (most-specific category)
id BIGINT IOKit internal registry ID
parent BIGINT Parent device registry ID
device_path TEXT Device tree path
service INTEGER 1 if the device conforms to IOService else 0
busy_state INTEGER 1 if the device is in a busy state else 0
retain_count INTEGER The device reference count
depth INTEGER Device nested depth

Query examples

Select all the results for the given table.

SELECT * FROM iokit_devicetree;