A service to generate a crash signature based on a stack trace frames list.
It works with several languages (including C/C++ and Java at the moment), and is highly configurable.
$ http --json post 'https://crash-signature-service.herokuapp.com/sign?lang=c' \
frames:='["NtWaitForMultipleObjects", "WaitForMultipleObjectsEx", \
"WaitForMultipleObjectsExImplementation", "RealMsgWaitForMultipleObjectsEx", \
"MsgWaitForMultipleObjects", "F_1152915508___________________________________", \
"F2166389_____________________________________________________________________"]'Returns:
{
"language": "c",
"notes": [],
"signature": "WaitForMultipleObjectsEx | MsgWaitForMultipleObjects | F_1152915508___________________________________"
}Create a Python virtualenv:
$ virtualenv envUpdate pip to the latest version (version >8 is needed to use secure hashes):
$ pip install -U pipThen install all dependencies:
$ pip install --require-hashes -r requirements.txtThis service uses gunicorn to expose itself on the Web.
$ make runTests run using py.test.
$ make test