Fancy tools support!

Thomas Lindgren thomasl_erlang@REDACTED
Wed Nov 5 16:15:53 CET 2003

--- Luke Gorrie <luke@REDACTED> wrote:

> Then, if each module_info gave a list like
>   [{function, F, calls, [{M,F,A}]}, ...]
> then who_calls(M,F,A) could be implemented as just a
> 'fold' over every
> module's module_info - which could probably be done
> "instantaneously"
> for interactive purposes.
> I think Thomas Lindgren said he has a
> parse-transform that does just
> this (written to speed up xref-like tools). That
> would seem the right
> mechanism - though maybe my definition of "runtime
> support" is a bit
> loose :-)

As I recall, that parse transform essentially stored
the module's known remote calls as a module_info
key-value. (Adding the whole static call graph instead
is straightforward, though.) I'll see if I can find


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

More information about the erlang-questions mailing list