[Bro-Dev] script loading implementation

Robin Sommer robin at icir.org
Thu Jun 16 16:45:56 PDT 2011

Yeah, I think your examples show that there's a problem.

I'm not sure I fully remember how the @load mechanism currently tracks
what's loaded, but could it just generally canonicalize all scripts 
to their full *absolute* paths of the actual files being loaded (i.e.,
always including the .bro extensions) and then remember those?

We do the same before loading a script and if the absolute path is
already known, we don't load it again.


Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org

More information about the bro-dev mailing list