CoreDump

open class CoreDump

A core dump collected from a device. Use the fromBytes method to parse the file into this object.

Constructors

Link copied to clipboard
constructor(@NotNull header: @NotNull CoreDumpHeader, @NotNull tlv: @NotNull CoreDumpTlv)

Functions

Link copied to clipboard
@NotNull
open fun fromBytes(data: @NotNull Array<Byte>): @NotNull CoreDump
Parse a core dump file from a byte array.
Link copied to clipboard
@NotNull
open fun getHeader(): @NotNull CoreDumpHeader
Link copied to clipboard
open fun getImageHash(): @Nullable Array<Byte>
Get the image hash from the core dump TLV.
Link copied to clipboard
open fun getRegisters(): @Nullable Array<Byte>
Get the registers from the core dump TLV.
Link copied to clipboard
@NotNull
open fun getTlv(): @NotNull CoreDumpTlv