Package com.abovevacant.epitaph.core
Class Signal
java.lang.Object
com.abovevacant.epitaph.core.Signal
Signal information from a native crash.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intSignal code (e.g., 1 for SEGV_MAPERR).final StringSignal code name (e.g., "SEGV_MAPERR").final longFault address that caused the signal.final MemoryDumpMemory dump of the area adjacent to the fault, if available.final booleanWhether fault address is available.final booleanWhether sender information is available.final StringSignal name (e.g., "SIGSEGV").final intSignal number (e.g., 11 for SIGSEGV).final intPID of the process that sent the signal.final intUID of the process that sent the signal. -
Constructor Summary
ConstructorsConstructorDescriptionSignal(int number, String name, int code, String codeName, boolean hasSender, int senderUid, int senderPid, boolean hasFaultAddress, long faultAddress, MemoryDump faultAdjacentMetadata) -
Method Summary
-
Field Details
-
number
public final int numberSignal number (e.g., 11 for SIGSEGV). -
name
Signal name (e.g., "SIGSEGV"). -
code
public final int codeSignal code (e.g., 1 for SEGV_MAPERR). -
codeName
Signal code name (e.g., "SEGV_MAPERR"). -
hasSender
public final boolean hasSenderWhether sender information is available. -
senderUid
public final int senderUidUID of the process that sent the signal. -
senderPid
public final int senderPidPID of the process that sent the signal. -
hasFaultAddress
public final boolean hasFaultAddressWhether fault address is available. -
faultAddress
public final long faultAddressFault address that caused the signal. -
faultAdjacentMetadata
Memory dump of the area adjacent to the fault, if available.
-
-
Constructor Details
-
Signal
public Signal(int number, String name, int code, String codeName, boolean hasSender, int senderUid, int senderPid, boolean hasFaultAddress, long faultAddress, MemoryDump faultAdjacentMetadata)
-