# sysvelf

> An Executable and Linkable Format (ELF) parser.

Latest version **0.1.0** (published 2013-06-04) · 0 weekly downloads

## Install

```sh
npm install sysvelf
pnpm add sysvelf
yarn add sysvelf
bun add sysvelf
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2013-06-04 |
| First published | 2013-06-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Jared Hanson |
| Maintainers | jaredhanson |
| Keywords | elf, systemv, unix, abi |

## Links

- npm: https://www.npmjs.com/package/sysvelf
- Repository: https://github.com/sifteo/node-elf
- Issues: http://github.com/sifteo/node-elf/issues
- npm.io page: https://npm.io/package/sysvelf

## Dependencies (2)

- [bignum](https://npm.io/package/bignum.md) 0.6.x
- [endian-buffer](https://npm.io/package/endian-buffer.md) 0.1.x

## Recent versions

- 0.1.0 (latest) — 2013-06-04

## README

# node-elf

This module provides a parser for [ELF](http://en.wikipedia.org/wiki/Executable_and_Linkable_Format)
files.

## Install

    $ npm install sysvelf

## Usage

Load an ELF file:

```javascript
elf.load('/usr/local/bin/node', function(err, file) {
  if (err) throw err;
  console.log('version: ' + file.version);
  console.log('machine: ' + file.machine);
});
```

Read a segment:

```javascript
file.readSegment(0x01, function(err, buf) {
});
```

Read a section:

```javascript
file.readSection('.text', function(err, buf) {
});
```

## Examples

For an example that parses an ELF header, refer to the [parse.js](https://github.com/sifteo/node-elf/blob/master/examples/parse.js)
example.

## Tests

    $ npm install
    $ make test

[![Build Status](https://secure.travis-ci.org/sifteo/node-elf.png)](http://travis-ci.org/sifteo/node-elf)

## Credits

  - [Jared Hanson](http://github.com/jaredhanson)

## License

[The MIT License](http://opensource.org/licenses/MIT)

Copyright (c) 2013 Sifteo Inc. <[http://www.sifteo.com/](http://www.sifteo.com/)>

---
_Source: https://npm.io/package/sysvelf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
