MXS include method... how could it work?


Can anyone suggest how the “include” method works in MXS? I’m interested in the mechanics of “feeding” the current frame or codeblock… It would be great to look at the code behind it, but I can’t find any examples.


What’s interesting is that include_cf never actually gets called by the parser class nor by any other class.
Instead if the previous token is named include it calls Parser::open_include_file(parser, &buffer);
As always I used IDA to analyze the dll.