erlic122
Hi, I’m new to this ERLANG and BEAM language, I’m looking for a person with experience in Erlang, I want to know how I can decompile and compile a Beam file from my server, I know very little about that type of file or how I can edit it, when opening the file I find this at the beginning FOR1 can be a key piece, more information to the intern, I attach the file in case you need to see it, thank you very much in advance Payment for the service
File .Beam
https://github.com/granados12/decompile/blob/main/holiday_role_data4.beam?raw=true
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
al2o3cr
The BEAM includes tooling to do part of this,
:beam_disasm.This produces output like (you’ll want to make sure to use
IO.inspect(limit: :infinity)to prevent cutting off terms):As for editing this BEAM file, that’s not something that’s normally done - BEAM files are written by the compiler so if you want to change them you change the Erlang etc code and recompile. According to the metadata in that file, that’s in
src/data/holiday_role_data.erl.erlic122
Hello, thank you very much for answering, I really didn’t know how to do it, in the same way there are several files, but with this example I will see if I can decompile them, the only thing I want with the files is to decompile them, edit the texts that are in the Vietnamese language, translate them into English and ready to compile them again, can I talk to you in private for a moment?
Cleidiano
I know nothing about Beam file format, but maybe you can get some inspiration in how to approach the problem inspect this repo GitHub - michalmuskala/decompile · GitHub
erlic122
This solution helped me a lot, thanks man, now how do I save it in a file to be able to edit it, or convert it into a .txt or .erl, edit it and compile it again, as I say, it is to only edit the texts, translate them into English and return them to compile
03juan
Hola erlic122, bienvenido
Have you tried asking in the Erlang forums?
erlic122
Hello, thank you very much for the welcome, if I made an account 3 days ago but it has not been validated and I cannot ask a question without being registered, then I have to use this forum since they have not verified my account registration
erlic122
I have been able to decompile it in this way but I have not been able to recompile it in .BEAM file any other advice?
lud
Given your source file is generated from decompilation, you can open an erlang shell (
erlcommand) and compile it by hand:erlic122
I get an error, it doesn’t seem to decompile correctly, is there any other way to decompile the .beam files or convert them from beam to .erl
lud
PM me your email address and I will send you the .erl file. It is too large for tools like pastebin.