steven-michaud / breakpad-scrape-system-symbols

Scripts to scrape symbols from system libraries for use with Breakpad crash reporting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains two scripts intended for use with Breakpad crash reporting.

gathersymbols.py attempts to find system libraries and run Breakpad's dump_syms tool on them to output Breakpad-format symbols. You must need a usable dump_syms binary to use the script. (The setup.sh script in this repository can download one for you.) It will produce a symbols.zip in the current directory. By default gathersymbols.py will download a list of missing symbols from Mozilla's Socorro install and only upload symbols that are present in that list, but you can override this behavior by passing --all or passing library filenames on the command line.

uploadsymbols.py takes a symbols.zip and a Socorro authentication token and uploads the symbols.zip using Socorro's symbol upload API.

Both scripts require the Python requests library to be installed, gathersymbols.py also requires the futures library.

Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/

About

Scripts to scrape symbols from system libraries for use with Breakpad crash reporting

License:Other


Languages

Language:Python 58.6%Language:Shell 41.4%