Skip to content
Eric Hennenfent edited this page Jun 28, 2019 · 2 revisions

Plugins

Plugins provide a powerful interface for interacting with Manticore's event callback system

from manticore.core.plugin import Plugin

class CustomPlugin(Plugin):
	def will_run_callback(self):
		print("started running")

m.register_plugin(CustomPlugin())

The full list of callbacks can be found here.

Note that if Manticore is running in multiprocessing mode, your plugin instance may be copied into several processes. If your plugin has state, consider storing it in self.context