Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/indutny/breakpad

Fast symbolication of crash reports using breakpad symbol files
https://github.com/indutny/breakpad

breakpad crash-reporting

Last synced: about 1 month ago
JSON representation

Fast symbolication of crash reports using breakpad symbol files

Awesome Lists containing this project

README

        

# @indutny/breakpad

[![npm](https://img.shields.io/npm/v/@indutny/breakpad)](https://www.npmjs.com/package/@indutny/breakpad)

Fast symbolication of crash reports using
[breakpad symbol files](https://chromium.googlesource.com/breakpad/breakpad/+/master/docs/symbol_files.md).

## Installation

```sh
npm install @indutny/breakpad
```

## Usage

```js
import { createReadStream } from 'node:fs';

import { symbolicateFrames } from '@indutny/breakpad';

const symbolsFile = createReadStream('/tmp/1.sym');

const result = await symbolicateFrames(
symbolsFile,
[
0x0000000006e21774, 0x00000000035253ac, 0x0000000003521eec,
0x0000000003521ff8,
],
);

console.log(result);
```

## Benchmarks

```sh
$ npm run benchmark
...
Mean Throughput: 735.9mb/s
StdDev: 1.1%
```

## LICENSE

This software is licensed under the MIT License.