.vhm (VulHunt Module) extension, placed in a dedicated modules directory.
Writing a module
A module is a.vhm file that defines a Lua table with helper functions and returns it.
For example, a module providing x86 instruction helpers could be structured as follows:
Using a module in a rule
Import a module withrequire using its path relative to the modules directory, without the .vhm extension: