Skip to content

Fast symbolication of crash reports using breakpad symbol files

Notifications You must be signed in to change notification settings

indutny/breakpad

Repository files navigation

@indutny/breakpad

npm

Fast symbolication of crash reports using breakpad symbol files.

Installation

npm install @indutny/breakpad

Usage

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

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

LICENSE

This software is licensed under the MIT License.

About

Fast symbolication of crash reports using breakpad symbol files

Topics

Resources

Stars

Watchers

Forks