Decompiling .beam to core Erlang and compiling it back to .beam

I don’t know if it is possible. You can have a look here for some discussion: https://erlangforums.com/t/need-help-decompiling-beam-file

Using beam_lib:build_module/1 it should be possible to add more chunks to an existing beam file.

3 Likes