Getting object code directly from code server
Wed Sep 1 09:17:49 CEST 2021
No, it is not possible because after the beam code is loaded it is not kept
in memory, and it is not possible to re-create the original beam code from
the loaded code.
So if you need to keep track of dynamically created code, you need to build
something yourself that does that.
On Wed, Sep 1, 2021 at 8:57 AM Devon Estes <devon.c.estes@REDACTED> wrote:
> Hello all,
> Is it at all possible to get the current object code for a module directly
> from the code server? `code:get_object_code/1` returns information from the
> beam files in the code path and not from the code server itself, and so if
> there are modules that are dynamically compiled and loaded with
> `code:load_binary/3` that doesn't work.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions