218
edits
As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com. |
Changes
→Adding New Modules
These paths are checked both inside the tool's root directory (where the tool is installed), and in the Project Folder (default is ~/chipwhisperer_projects), allowing the usage of custom modules without the requirement of being system administer . The CW tools scan these directories looking for classes that inherits from the ''Plugin'' class (a marker interface actually) in each public module (that doesn't begin with "_").
'''IMPORTANT''': Accessing Help->List Enabled/Disabled Plugins in the tool's menu, you'll find a list with all modules it tried to load. In case of any problem, you can check in the table the error message and its details.
It should be easier to visuallise if you copy and paste the text in an editor (example: notepad).
These folders usually have a file called ''base.py'' or ''_base.py'' that contains the base class to all plugins in these directories. Ex.: