disasm

JS Disassembler

Subscribe to updates I use disasm


Statistics on disasm

Number of watchers on Github 41
Number of open issues 0
Main language JavaScript
Open pull requests 0+
Closed pull requests 0+
Last commit about 3 years ago
Repo Created almost 4 years ago
Repo Last Updated 9 months ago
Size 237 KB
Organization / Authorindutny
Contributors1
Page Updated
Do you use disasm? Leave a review!
View disasm activity
View on github
Latest Open Source Launches
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating disasm for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Disassembler

Usage

var disasm = require('disasm');

var code = new Buffer(
    '48554889e5488b4510a8010f85360000' +
        '00488b5d18f6c3010f85290000004839' +
        'd80f8f1000000048b8f109e152010000' +
        '004889ec485dc348b8010ae152010000' +
        '004889ec485dc3cc',
    'hex');
var out = disasm.create().disasm(code)
console.log(disasm.stringify(out));
/*
  push rbp
  mov rbp, rsp
  mov rax, [rbp, 0x10]
  test al, 0x1
  far-jcc nz, 0x36
  mov rbx, [rbp, 0x18]
  test ebx, 0x1
  far-jcc nz, 0x29
  cmp rax, rbx
  far-jcc nle, 0x10
  mov rax, 0xf109e15201000000
  mov rsp, rbp
  pop rbp
  ret
  mov rax, 0x010ae15201000000
  mov rsp, rbp
  pop rbp
  ret
  int3
*/

LICENSE

This software is licensed under the MIT License.

Copyright Fedor Indutny, 2014.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

disasm questions on Stackoverflow (View All Questions)
  • Need Help in C++ Disasm
  • Why a function's real address(ARM) is different from disasm?
  • Nasm and Disasm issue with 32/64 bit
  • AT91SAM7x: DisASM chaos probably caused by linker
disasm list of languages used
Other projects in JavaScript