Socket
Book a DemoInstallSign in
Socket

@bugsplat/elfy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bugsplat/elfy

Tiny utility for parsing ELF/SELF files.

1.0.1
latest
npmnpm
Version published
Weekly downloads
604
9.03%
Maintainers
1
Weekly downloads
 
Created
Source

bugsplat-github-banner-basic-outline

BugSplat

Crash and error reporting built for busy developers.


elfy

A tiny utility for parsing ELF/SELF files.

Usage

  • Install this package
npm i @bugsplat/elfy
  • Create an instance of ElfFile using the async static factory function create. The ElfFile class implements Disposable so you should use a using statement in TypeScript 5.2+ or call dispose manually.
import { ElfFile } from '@bugsplat/elfy';
using elfFile = await ElfFile.create('path/to/elf/file');
// or
const elfFile = await ElfFile.create('path/to/elf/file');
try {
    ...
} finally {
    elfFile.dispose();
}
  • Read the contents of a section using readSection. This method throws if the section does not exist.
const contents: Buffer = await elfFile.readSection('.note.gnu.build-id');
  • You can also safely read the contents of a section using tryReadSection.
const { success, section } = await elfFile.tryReadSection('.note.gnu.build-id');

🐛 About

BugSplat is a software crash and error reporting service with support for game engines like Unreal Engine, and supports platforms such as PlayStation, Xbox and many more. BugSplat automatically captures critical diagnostic data such as stack traces, log files, and other runtime information. BugSplat also provides automated incident notifications, a convenient dashboard for monitoring trends and prioritizing engineering efforts, and integrations with popular development tools to maximize productivity and ship more profitable software.

Keywords

bugsplat

FAQs

Package last updated on 29 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.