Package com.abovevacant.epitaph.core
Class Tombstone
java.lang.Object
com.abovevacant.epitaph.core.Tombstone
Parsed Android tombstone (native crash dump).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for constructing Tombstone instances with sensible defaults. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringAbort message, or empty string if not present.final ArchitectureCPU architecture of the crashed process.final StringAndroid build fingerprint.Causes of the crash.Command line arguments.final List<CrashDetail> Additional crash details.final ArchitectureGuest CPU architecture (for emulated processes).final Map<Integer, TombstoneThread> Guest threads (for emulated processes), keyed by thread ID.final booleanWhether the process has been in 16KB page mode.Log buffers (logcat dumps).final List<MemoryMapping> Memory mappings (loaded libraries/executables).Open file descriptors.final intPage size in bytes.final intProcess ID.final intProcess uptime in seconds.final StringDevice revision.final StringSELinux label.final SignalSignal information, or null if not present.final StackHistoryBufferStack history buffer for shadow call stack.final Map<Integer, TombstoneThread> All threads in the process, keyed by thread ID.final intThread ID that crashed.final StringTimestamp of the crash.final intUser ID. -
Constructor Summary
ConstructorsConstructorDescriptionTombstone(Architecture arch, Architecture guestArch, String buildFingerprint, String revision, String timestamp, int pid, int tid, int uid, String selinuxLabel, List<String> commandLine, int processUptime, Signal signal, String abortMessage, List<CrashDetail> crashDetails, List<Cause> causes, Map<Integer, TombstoneThread> threads, Map<Integer, TombstoneThread> guestThreads, List<MemoryMapping> memoryMappings, List<LogBuffer> logBuffers, List<FD> openFds, int pageSize, boolean hasBeen16kbMode, StackHistoryBuffer stackHistoryBuffer) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if signal information is present.
-
Field Details
-
arch
CPU architecture of the crashed process. -
guestArch
Guest CPU architecture (for emulated processes). -
buildFingerprint
Android build fingerprint. -
revision
Device revision. -
timestamp
Timestamp of the crash. -
pid
public final int pidProcess ID. -
tid
public final int tidThread ID that crashed. -
uid
public final int uidUser ID. -
selinuxLabel
SELinux label. -
commandLine
Command line arguments. -
processUptime
public final int processUptimeProcess uptime in seconds. -
signal
Signal information, or null if not present. -
abortMessage
Abort message, or empty string if not present. -
crashDetails
Additional crash details. -
causes
Causes of the crash. -
threads
All threads in the process, keyed by thread ID. -
guestThreads
Guest threads (for emulated processes), keyed by thread ID. -
memoryMappings
Memory mappings (loaded libraries/executables). -
logBuffers
Log buffers (logcat dumps). -
openFds
Open file descriptors. -
pageSize
public final int pageSizePage size in bytes. -
hasBeen16kbMode
public final boolean hasBeen16kbModeWhether the process has been in 16KB page mode. -
stackHistoryBuffer
Stack history buffer for shadow call stack.
-
-
Constructor Details
-
Tombstone
public Tombstone(Architecture arch, Architecture guestArch, String buildFingerprint, String revision, String timestamp, int pid, int tid, int uid, String selinuxLabel, List<String> commandLine, int processUptime, Signal signal, String abortMessage, List<CrashDetail> crashDetails, List<Cause> causes, Map<Integer, TombstoneThread> threads, Map<Integer, TombstoneThread> guestThreads, List<MemoryMapping> memoryMappings, List<LogBuffer> logBuffers, List<FD> openFds, int pageSize, boolean hasBeen16kbMode, StackHistoryBuffer stackHistoryBuffer)
-
-
Method Details
-
hasSignal
public boolean hasSignal()Returns true if signal information is present.
-