Skip to content
Snippets Groups Projects
Commit b401f56f authored by Tobin C. Harding's avatar Tobin C. Harding
Browse files

leaking_addresses: simplify path skipping


Currently script has multiple configuration arrays.  This is confusing,
evident by the fact that a bunch of the entries are in the wrong place.
We can simplify the code by just having a single array for absolute
paths to skip and a single array for file names to skip wherever they
appear in the scanned directory tree.  There are also currently multiple
subroutines to handle the different arrays, we can reduce these to a
single subroutine also.

Simplify the path skipping code.

Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
parent e2858cad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment