Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//NOFORN
6 Rule Search Path
Grasshopper uses a search path to locate rule source files. The current rule search
path can be viewed using ghbuild’s env command.
The search path is constructed from the following paths:
Environment Paths
Directories specified using the GHRULEPATH environment variable.
The value of the variable is delimited by the system-appropriate path separator
(‘:’ on Linux, ‘;’ on Windows).
Working Path
Optional subdirectory of the current working directory named “grasshopper-rules”.
System Path
Optional subdirectory of the Grasshopper system directory named “rules”. The
Grasshopper system directory is /var/lib/grasshopper on Linux operating systems
and %PROGRAMDATA%\Grasshopper on Windows operating systems.
Local Path
Optional directory co-located with the Grasshopper Python package named
“grasshopper-rules”.
67
SECRET//NOFORN