Wondering what’s next for npm?Check out our public roadmap! »

@pubgcorp/node-xed
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

node-xed

nodejs binding for INTEL XED (The X86 Encoder Decoder)

usage

const xed = require('node-xed');

var data = new Uint8Array([0xe9, 0xfb, 0xff, 0xff, 0xff]);
var addr = "0x7fffffff00000000";
var addrLen = 16;
var instructions = xed.disassemble(data, addr, addrLen);

console.log(instructions);

// result is
[ { asm: 'jmp 0x7fffffff00000000',
    addr: '0x7fffffff00000000',
    offset: 0,
    len: 5 } ]

Keywords

none

Install

npm i @pubgcorp/node-xed

DownloadsWeekly Downloads

7

Version

0.0.12

License

Apache-2.0

Unpacked Size

46.9 MB

Total Files

97

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar