You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to add nilaway to my makefile, my intention is to run make nilaway and for it to analyze the modified files only. So imagine my repository is the following:
However I receive a lot of warning such as undefined, or such as below:
nilaway_config: analysis skipped due to errors in package
ctrlflow: analysis skipped due to errors in package
nilaway_struct_field_analyzer: failed prerequisites: nilaway_config@command-line-arguments
nilaway_anonymous_func_analyzer: failed prerequisites: nilaway_config@command-line-arguments
buildssa: analysis skipped due to errors in package
nilaway_function_contracts_analyzer: failed prerequisites: buildssa@command-line-arguments, nilaway_config@command-line-arguments
Could you please advice how should I use the command? What exactly should I input in include-pkgs flag?
My script fetches all modified files, excludes any file that is not .go, any file that has test and mock keywords in it. Then for each file I run the nilaway command (assumption is nilaway analyzes that file and takes into account the package).
Also, my main intention is to run the analysis on the new files that I am going to merge into master, is there any flag that does it automatically?
Thank you in advance
The text was updated successfully, but these errors were encountered:
Hello team,
I am currently trying to add nilaway to my makefile, my intention is to run
make nilaway
and for it to analyze the modified files only. So imagine my repository is the following:I am modifying file4.go and file1.go, my nilaway command runs as:
However I receive a lot of warning such as
undefined
, or such as below:Could you please advice how should I use the command? What exactly should I input in include-pkgs flag?
My script fetches all modified files, excludes any file that is not .go, any file that has test and mock keywords in it. Then for each file I run the nilaway command (assumption is nilaway analyzes that file and takes into account the package).
Also, my main intention is to run the analysis on the new files that I am going to merge into master, is there any flag that does it automatically?
Thank you in advance
The text was updated successfully, but these errors were encountered: