[erlang-questions] Inserting a "seam" in external calls

Bjorn Gustavsson bgustavsson@REDACTED
Wed Nov 19 11:24:25 CET 2008


On Wed, Nov 19, 2008 at 11:01 AM, Christian <chsu79@REDACTED> wrote:
> I did see some code in beam_load.c that iterated through the import
> table of the beam file it was loading, and it had an array of MFAs of
> bifs that it allowed to be redefined, it contained erlang:apply/2 and
> 3. What does this mean? Can a module override erlang:apply for its own
> nefarious goals and all external calls will change due to it?

No.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list