Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/Information Request: Skipping specific files or folders #89

Open
RochaStratovan opened this issue Aug 28, 2024 · 0 comments
Open

Comments

@RochaStratovan
Copy link

Flaw finder's default folder listing is not correct, we have more than say app or lib

We have a few different project layouts, some are rather shallow

top
 +--app
 +--<other>
 +--lib
 +--test

Some are deeper

top
  +DOCOS
  |   +--app
  |   +--<other>
  |   +--lib
  |   +--test
  +DOCOSTools
      +--app
      +--<other>
      +--lib
      +--test

and we want to use flawfinder on the source code, but skip anything under the test folder. Is there a way to do this from the command line?

I know that I could hard code this to manually specify the folders other than the test folder. However, that means that the developer has to remember to update the "check me folder list" for the project, instead of having a generic process that just skips the test folder.

I also recognize that we should scan all files, however, this is a case where "it has been decided" that files in the test folder will not be analyzed.

Is this a possible new feature, or is there an existing metho that I'm not seeing?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant