Crate nt_hive[−][src]
nt-hive
The nt-hive Rust crate provides a comfortable and safe interface for accessing keys, values, and data stored in hive files.
Hive files can be found in C:\Windows\system32\config
and store what is commonly called the Windows registry.
This crate supports the hive format that is used from Windows NT 4.0 up to the current Windows 10.
Getting started
- Create a
Hive
structure from hive data by callingHive::new
. - Retrieve the root
KeyNode
viaHive::root_key_node
. - Move to a subkey via
KeyNode::subkey
,KeyNode::subkeys
orKeyNode::subpath
. - Get an interesting value using
KeyNode::value
orKeyNode::values
.
Structs
BigDataSlices | Iterator over
a contiguous range of data bytes containing Big Data list items,
returning a constant byte slice for each item,
used by |
Hive | Root structure describing a registry hive. |
IndexRootKeyNodes | Iterator over
a contiguous range of data bytes containing Index Root items,
returning a constant |
KeyNode | A single key that belongs to a |
KeyValue | A single value that belongs to a |
KeyValues | Iterator over
a contiguous range of data bytes containing Key Value items,
returning a constant |
LeafKeyNodes | Iterator over
a contiguous range of data bytes containing Leaf items of any type (Fast/Hash/Index),
returning a constant |
Enums
HiveMinorVersion | Known hive minor versions. |
KeyValueData | Zero-copy representation of raw Key Value data, returned by |
KeyValueDataType | Possible data types of the data belonging to a |
NtHiveError | Central error type of nt-hive. |
NtHiveNameString | Zero-copy representation of a key name or value name string stored in hive data. Can be either in Latin1 (ISO-8859-1) or UTF-16 (Little-Endian). |
SubKeyNodes | Iterator over
all subkeys of a |
Type Definitions
Result | Central result type of nt-hive. |