GithubHelp home page GithubHelp logo

scout119 / beamdasm Goto Github PK

View Code? Open in Web Editor NEW
47.0 1.0 12.0 6.78 MB

Erlang\Elixir byte code viewer. BEAM file disassembler extension for Visual Studio Code.

License: Apache License 2.0

TypeScript 99.18% JavaScript 0.82%
beam beam-files disassembler-extension visual-studio opcodes

beamdasm's Introduction

Hi, I am Valentin

header

๐Ÿ“ˆ My GitHub Stats

abhisheknaiidu

beamdasm's People

Contributors

crertel avatar dependabot[bot] avatar gitter-badger avatar neanton avatar scout119 avatar yoctozepto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

beamdasm's Issues

Does not open with VSCode 1.31.1

The error I get is:

Unable to open 'bounce.beam_code': The value of "offset" is out of range. It must be an integer. Received NaN.

Unable to open files :(

This is great!

I'm unfortunately unable to get it to load any beam files; debugging, it gives:

image

VSCode info version:

image

I think this also may be due to me running on Linux.

Linux attenborough 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Command `beamdasm.disassemble` not found

OTP versions tried: 24.3.3, 25.0
Elixir versions tried: 1.13, 1.14

Operating systems tried: Windows 10, Ubuntu 20.04, MacOS

Expected behavior:

  1. I click "Disassemble BEAM" on a .beam file
  2. The disassembled beam files are shown

Actual behavior:

  1. I click "Disassemble BEAM" on a .beam file
  2. Nothing happens
  3. Running the extension via the command pallette produces this error message:
    image

Steps to reproduce:
For erlang files:

  1. In an empty folder, create a file with a module test1.erl:
-module(test1).
-export([foo/0]).

foo() -> 42.
  1. Run erlc test1.erl
  2. Right click on the generated test1.beam file and click "Disassemble BEAM"
  3. Nothing happens.

For elixir files:

  1. In an empty folder, create a file with a module test1.ex:
defmodule Test1 do
  def foo, do: 42
end
  1. Run elixirc test1.ex
  2. Right click on the generated Elixir.Test1.beam file and click "Disassemble BEAM"
  3. Nothing happens.

Cannot read property 'ar' of undefined

Hi,

Thanks for this extension.

When I try to open some of my beam files there have been compiled with code coverage I get this error Unable to open 'Elixir.Myapp.beam_code': Cannot read property 'ar' of undefined.

This is on OTP 22.0.2 and Elixir master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.