Warning: This tool will perform a inefficient file analysis, one by one. This will consume snyk tests. Use with caution.
This tool helps to identify specific files that have failed parsing by Snyk Code.
Additionally, a small set of pre-flight checks is included and affected files are listed. The list of checks currently includes:
- Unicode check, files not encoded in UTF-8 or compatible (e.g. CP1252) will be printed out separately.
For a whole set of restrictions around Snyk Code's supported files, please see the documentation.
This tool is not available in public pip
, therefore please install it using:
pip install git+https://github.com/sebsnyk/snyk-code-debug.git
The script will collect all files specified by the extension
command line argument.
% snyk-code-debug --extension cpp
A list of files will be returned that have failed parsing:
% snyk-code-debug --extension cpp
Determining file list.
Progress: [####################] 100% Completed
Some files have failed analysis:
invalid-file.cpp
Use PIPs built-in tooling to activate a locally linked binary for development.
pip install -e .