Those scripts are used to walk the dependencies of the Kernel Modules in Linux.
One could use any of the following implementation, either on Python or Bash
Note: The python implementation is updated to use a cache, making it instantaneous
Use any of the following commands
# Get the direct dependencies of the evdi
./find_modules.py evdi
# Get all the dependencies of the evdi
./find_modules.py --all evdi
# Get the direct dependents of the drm
./find_modules.py --reverse drm
# Get all the dependents of the drm
./find_modules.py --reverse --all drm
Use any of the following commands
# Get the direct dependencies of the evdi
./find_modules.sh evdi dependencies
# Get all the dependencies of the evdi
./find_modules.sh evdi dependencies_all
# Get the direct dependents of the drm
./find_modules.sh drm dependents
# Get all the dependents of the drm
./find_modules.sh drm dependents_all