=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== kworkflow-20191112/documentation/content/tests.rst-5-Kw's tests rely on `shunit2`. The `run_tests.sh` script automatically detects kworkflow-20191112/documentation/content/tests.rst:6:`shunit2` in `$PATH` in the case installed it via package. Alternatively, you kworkflow-20191112/documentation/content/tests.rst-7-can have shunit2 source code in `tests/` (you can clone it from ############################################## kworkflow-20191112/tests/samples/test.patch-37-@@ -22,11 +22,11 @@ function execute_checkpatch() kworkflow-20191112/tests/samples/test.patch:38: FLIST=`find $FILE_OR_DIR_CHECK -type f ! -name '*\.mod\.c' | grep "\.[ch]$" ` kworkflow-20191112/tests/samples/test.patch-39- ############################################## kworkflow-20191112/tests/external/get_maintainer.pl-722- } else { kworkflow-20191112/tests/external/get_maintainer.pl:723: my $output = `wget --spider -q --no-check-certificate --timeout 10 --tries 1 $value`; kworkflow-20191112/tests/external/get_maintainer.pl-724- if ($? == 0) { ############################################## kworkflow-20191112/tests/external/get_maintainer.pl-747- $branch = $3 if $3; kworkflow-20191112/tests/external/get_maintainer.pl:748: my $output = `git ls-remote --exit-code -h "$url" $branch > /dev/null 2>&1`; kworkflow-20191112/tests/external/get_maintainer.pl-749- if ($? == 0) { ############################################## kworkflow-20191112/tests/external/get_maintainer.pl-756- my $url = $1; kworkflow-20191112/tests/external/get_maintainer.pl:757: my $output = `wget --spider -q --no-check-certificate --timeout 10 --tries 1 $url`; kworkflow-20191112/tests/external/get_maintainer.pl-758- if ($? == 0) { ############################################## kworkflow-20191112/tests/external/get_maintainer.pl-1539- kworkflow-20191112/tests/external/get_maintainer.pl:1540: my $output = `$cmd`; kworkflow-20191112/tests/external/get_maintainer.pl-1541- $output =~ s/^\s*//gm; ############################################## kworkflow-20191112/tests/external/get_maintainer.pl-1550- kworkflow-20191112/tests/external/get_maintainer.pl:1551: my $output = `$cmd`; kworkflow-20191112/tests/external/get_maintainer.pl-1552- @lines = split("\n", $output); ############################################## kworkflow-20191112/tests/external/checkpatch.pl-881- kworkflow-20191112/tests/external/checkpatch.pl:882: my $status = `perl $root/scripts/get_maintainer.pl --status --nom --nol --nogit --nogit-fallback -f $filename 2>&1`; kworkflow-20191112/tests/external/checkpatch.pl-883- ############################################## kworkflow-20191112/tests/external/checkpatch.pl-892- my $root_path = abs_path($root); kworkflow-20191112/tests/external/checkpatch.pl:893: my $status = `cd "$root_path"; echo "$license" | python scripts/spdxcheck.py -`; kworkflow-20191112/tests/external/checkpatch.pl-894- return 0 if ($status ne ""); ############################################## kworkflow-20191112/tests/external/checkpatch.pl-908- if (-e ".git") { kworkflow-20191112/tests/external/checkpatch.pl:909: my $git_last_include_commit = `${git_command} log --no-merges --pretty=format:"%h%n" -1 -- include`; kworkflow-20191112/tests/external/checkpatch.pl-910- chomp $git_last_include_commit; ############################################## kworkflow-20191112/tests/external/checkpatch.pl-913- my $last_mod_date = 0; kworkflow-20191112/tests/external/checkpatch.pl:914: $files = `find $root/include -name "*.h"`; kworkflow-20191112/tests/external/checkpatch.pl-915- @include_files = split('\n', $files); ############################################## kworkflow-20191112/tests/external/checkpatch.pl-936- if (-e ".git") { kworkflow-20191112/tests/external/checkpatch.pl:937: $files = `${git_command} ls-files "include/*.h"`; kworkflow-20191112/tests/external/checkpatch.pl-938- @include_files = split('\n', $files); ############################################## kworkflow-20191112/tests/external/checkpatch.pl-960- kworkflow-20191112/tests/external/checkpatch.pl:961: my $output = `${git_command} log --no-color --format='%H %s' -1 $commit 2>&1`; kworkflow-20191112/tests/external/checkpatch.pl-962- $output =~ s/^\s*//gm; ############################################## kworkflow-20191112/tests/external/checkpatch.pl-1010- } kworkflow-20191112/tests/external/checkpatch.pl:1011: my $lines = `${git_command} log --no-color --no-merges --pretty=format:'%H %s' $git_range`; kworkflow-20191112/tests/external/checkpatch.pl-1012- foreach my $line (split(/\n/, $lines)) { ############################################## kworkflow-20191112/tests/external/checkpatch.pl-3051- $compat3 =~ s/\,([a-z]*)[0-9]*\-/\,$1<\.\*>\-/; kworkflow-20191112/tests/external/checkpatch.pl:3052: `grep -Erq "$compat|$compat2|$compat3" $dt_path`; kworkflow-20191112/tests/external/checkpatch.pl-3053- if ( $? >> 8 ) { ############################################## kworkflow-20191112/tests/external/checkpatch.pl-3059- my $vendor = $1; kworkflow-20191112/tests/external/checkpatch.pl:3060: `grep -Eq "\\"\\^\Q$vendor\E,\\.\\*\\":" $vp_file`; kworkflow-20191112/tests/external/checkpatch.pl-3061- if ( $? >> 8 ) { ############################################## kworkflow-20191112/tests/external/checkpatch.pl-4268- if ($prefix !~ /$Type\s+$/ && kworkflow-20191112/tests/external/checkpatch.pl:4269: ($where != 0 || $prefix !~ /^.\s+$/) && kworkflow-20191112/tests/external/checkpatch.pl-4270- $prefix !~ /[{,:]\s+$/) { ############################################## kworkflow-20191112/tests/external/checkpatch.pl-4584- kworkflow-20191112/tests/external/checkpatch.pl:4585: # for asm volatile statements kworkflow-20191112/tests/external/checkpatch.pl-4586- # ignore a colon with another ############################################## kworkflow-20191112/tests/external/checkpatch.pl-5073- { kworkflow-20191112/tests/external/checkpatch.pl:5074: my $asminclude = `grep -Ec "#include\\s+<asm/$file>" $root/$checkfile`; kworkflow-20191112/tests/external/checkpatch.pl-5075- if ($asminclude > 0) { ############################################## kworkflow-20191112/tests/external/checkpatch.pl-5136- kworkflow-20191112/tests/external/checkpatch.pl:5137: # Make asm volatile uses seem like a generic function kworkflow-20191112/tests/external/checkpatch.pl-5138- $dstat =~ s/\b_*asm_*\s+_*volatile_*\b/asm_volatile/g; ############################################## kworkflow-20191112/tests/external/checkpatch.pl-6101-# $fix) { kworkflow-20191112/tests/external/checkpatch.pl:6102:# $fixed[$fixlinenr] =~ s/\bmemset\s*\(\s*$FuncArg\s*,\s*$FuncArg\s*,\s*ETH_ALEN\s*\)/eth_zero_addr($2)/; kworkflow-20191112/tests/external/checkpatch.pl-6103-# } ############################################## kworkflow-20191112/tests/external/checkpatch.pl-6105-# if (WARN("PREFER_ETH_BROADCAST_ADDR", kworkflow-20191112/tests/external/checkpatch.pl:6106:# "Prefer eth_broadcast_addr() over memset()\n" . "$here\n$stat\n") && kworkflow-20191112/tests/external/checkpatch.pl-6107-# $fix) { kworkflow-20191112/tests/external/checkpatch.pl:6108:# $fixed[$fixlinenr] =~ s/\bmemset\s*\(\s*$FuncArg\s*,\s*$FuncArg\s*,\s*ETH_ALEN\s*\)/eth_broadcast_addr($2)/; kworkflow-20191112/tests/external/checkpatch.pl-6109-# } ############################################## kworkflow-20191112/src/checkpatch_wrapper.sh-41- # Build a list of file to apply check patch kworkflow-20191112/src/checkpatch_wrapper.sh:42: FLIST=`find $FILE_OR_DIR_CHECK -type f ! -name '*\.mod\.c' | grep "\.[ch]$" ` kworkflow-20191112/src/checkpatch_wrapper.sh-43- say "Running checkpatch.pl on: $FILE_OR_DIR_CHECK" ############################################## kworkflow-20191112/src/kwlib.sh-130- kworkflow-20191112/src/kwlib.sh:131: local file_content=`cat "$FILE_PATH"` kworkflow-20191112/src/kwlib.sh-132-