Skip to main content

Module ffi

Module ffi 

Source
Available on crate feature ffi only.
Expand description

C interface to the Intel Crash Log extraction and decoding functions.

Structs§

CrashLogContext
Crash Log Global Context.
CrashLogExport
Opaque type that stores a representation of a Crash Log.
CrashLogNodeChildren
Opaque type that represents an iterator over the children of a Crash Log register tree node.
CrashLogs
Opaque type that represents an iterator over Crash Logs.

Functions§

crashlog_decode
Decodes a CrashLog into a register tree.
crashlog_deinit
Releases the memory allocated for the Crash Log global context.
crashlog_export_to_cper
Exports the Crash Log as a CPER record.
crashlog_export_to_jsonserialize
Exports the Crash Log register tree (Node) as JSON file.
crashlog_get_next_node_child
Returns the next child of a Crash Log register tree node.
crashlog_get_node_by_path
Returns the Crash Log register tree node located at the provided path.
crashlog_get_node_children
Returns a iterator over the children of a Crash Log register tree node.
crashlog_get_node_name
Writes the name of the Crash Log Node in the buffer pointed by the buffer argument.
crashlog_get_node_value
Copies the value stored in the Crash Log register tree node into the qword pointed by the value argument.
crashlog_init
Initializes the Crash Log Decoder Context
crashlog_next
Returns the next Crash Log in the iterator.
crashlog_read_export
Reads the next chunk of the Crash Log export.
crashlog_read_from_acpi_sysfsLinux and extraction
Reads the Crash Log reported through ACPI from the linux sysfs
crashlog_read_from_buffer
Creates a CrashLog object from a binary blob.
crashlog_read_from_pmt_sysfsLinux and extraction
Reads the Crash Log reported through Intel PMT from the linux sysfs
crashlog_read_from_windows_event_logsWindows and extraction
Reads the Crash Log records from the Windows Event Logs.
crashlog_release
Releases the memory allocated for the Crash Log.
crashlog_release_export
Releases the memory allocated for the Crash Log export.
crashlog_release_nodes
Releases the memory allocated for the Crash Log register tree.