Full support on security issues. The reason for the shared library is the fact that netlist can also be used stand-alone and I want to provide a possibility to use the enhanced performance in nltool without the need to recompile nltool.
I can add code to statically link in the generated code. This would basically be a function and a table with the functions as entries. If we want to include this in the Mame build process like we do with other code generators than nltool needs to be build as a build tool. That's the part I am struggling with. Any help on this part is appreciated.