Get crash signature from Firefox crash ping
Project description
fx-crash-sig
Symbolicates crash pings and generates signatures.
Take crash ping stack traces and:
-
Use tecken symbolication to symbolicate crash ping stack traces
-
use socorro-siggen to get crash signature
Install
pip install fx-crash-sig
Usage
import json
from fx_crash_sig.crash_processor import CrashProcessor
with open("crashping.json") as fp:
crash_ping = json.load(fp)
crash_processor = CrashProcessor()
signature_result = crash_processor.get_signature(crash_ping)
print(signature_result.signature)
Command line (using sample.json):
cat sample.json | fx-crash-sig
Minimal crash ping structure
These are the parts of the crash ping we use:
- normalized_os (optional)
- payload:
- metadata:
- async_shutdown_timeout (optional)
- ipc_channel_error (optional)
- oom_allocation_size (optional)
- moz_crash_reason (optional)
- stack_traces:
- crash_info:
- crashing_thread
- modules[]
- debug_file
- debug_id
- filename
- base_addr
- threads[]
- frames[]
- ip
- module_index
- trust
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fx-crash-sig-0.1.13.tar.gz
(32.8 kB
view hashes)
Built Distribution
Close
Hashes for fx_crash_sig-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40c43b99ff71e006ec05e6b3ee3c918b0fbe4c6fbd3ea5984a39f730c9ea47cb |
|
MD5 | cc8a293f77a4a787c94b2a09b3f7a52d |
|
BLAKE2b-256 | 5b2ba001bf63be9ca1d564dec233a283c6222d61da5ee27500f1b27f7ed87732 |