next up previous
Next: About this document ... Up: SAM User Manual Previous: Standard Output Plugins

Adding plugins

The source code for SAM and compiled bytecode are both located in the /usr/lib/rami-sam directory on a typical Debian installation. From this directory, analysis plugins for SAM are located in the analysis subdirectory, and output plugins are located in the output subdirectory. Both types of plugins are loaded dynamically each time SAM is started.

To add a new plugin, the python code for that plugin should be added to one of the two directories mentioned above, depending on the plugin's type. Alternatively, a symbolic link to the code should be placed in the appropriate plugin directory. If the plugin is correctly written, it will be available the next time SAM is run. Any currently running instances of SAM must be closed and opened again to use the new plugin.

For developer information on SAM's plugin interface, please refer to the AnalysisPlugins and OutputPlugins modules in SAM's API, found at http://www.cs.mu.oz.au/340/s340gm/doc.



Chris Edwards 2002-10-30