=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== latexml-0.8.4/Makefile.PL-127- $$MORE_MACROS{OLD_REVISION} latexml-0.8.4/Makefile.PL:128: = '`$(PERLRUN) -ne \'chomp;if(s/.*?REVISION\\s*=\\s*\\"// && s/\\".*//){print;}\' < $(REVISION_FILE)`'; latexml-0.8.4/Makefile.PL-129- # Substitute the revision into the revision template ############################################## latexml-0.8.4/Makefile.PL-205- $KPSE_TOOLCHAIN = "--miktex-admin"; } latexml-0.8.4/Makefile.PL:206: if (system("kpsewhich --version $KPSE_TOOLCHAIN") == 0) { # can run kpsewhich? latexml-0.8.4/Makefile.PL:207: $TEXMF = `kpsewhich --expand-var='\$TEXMFLOCAL' $KPSE_TOOLCHAIN`; latexml-0.8.4/Makefile.PL-208- # Strip the quotes (they appear in windows, when spaces in pathnames(?)) ############################################## latexml-0.8.4/doc/MakeTools.pm-134- message("Running makeindex on $name"); latexml-0.8.4/doc/MakeTools.pm:135: System("makeindex", $name, @{ $options{indexoptions} }) == 0 latexml-0.8.4/doc/MakeTools.pm-136- or die "Failed to run makeindex for $name"; ############################################## latexml-0.8.4/doc/MakeTools.pm-139- message("Running bibtex on $name"); latexml-0.8.4/doc/MakeTools.pm:140: System("bibtex", $name, @{ $options{bibtexoptions} }) == 0 latexml-0.8.4/doc/MakeTools.pm-141- or die "Failed to run bibtex for $name"; ############################################## latexml-0.8.4/doc/MakeTools.pm-182- print "\$ " . join(' ', $command, @args) . "\n" if $VERBOSITY; latexml-0.8.4/doc/MakeTools.pm:183: return system($command, @args); } latexml-0.8.4/doc/MakeTools.pm-184- ############################################## latexml-0.8.4/doc/makemanual-55-heading("Extracting Appendices"); latexml-0.8.4/doc/makemanual:56:system("$MANDIR/genpods" . ($force ? " --force" : "")) == 0 latexml-0.8.4/doc/makemanual-57- or warn "Failed to generate pods?"; latexml-0.8.4/doc/makemanual:58:system("$MANDIR/genschema" . ($force ? " --force" : "")) == 0 latexml-0.8.4/doc/makemanual-59- or warn "Failed to generate schema documentation?"; ############################################## latexml-0.8.4/lib/LaTeXML/Post/LaTeXImages.pm-282- my $ltxcommand = "$LATEXCMD $jobname > $jobname.ltxoutput"; latexml-0.8.4/lib/LaTeXML/Post/LaTeXImages.pm:283: my $ltxerr = system($ltxcommand); latexml-0.8.4/lib/LaTeXML/Post/LaTeXImages.pm-284- pathname_chdir($orig_cwd); ############################################## latexml-0.8.4/lib/LaTeXML/Post/LaTeXImages.pm-313- my $dvicommand = "$$self{dvicmd} $jobname.dvi > $jobname.dvioutput"; latexml-0.8.4/lib/LaTeXML/Post/LaTeXImages.pm:314: my $dvierr = system($dvicommand); latexml-0.8.4/lib/LaTeXML/Post/LaTeXImages.pm-315- pathname_chdir($orig_cwd); ############################################## latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-243-### # According to Ioan, this should work: latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm:244:### system("xcopy /P $source $destination")==0 or return; } latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-245-### else { # Unix latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm:246:### system("cp --preserve=timestamps $source $destination")==0 or return; } latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-247- # Hopefully this portably copies, preserving timestamp. ############################################## latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-367- my $files = join(' ', @candidates); latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm:368: if ($kpsewhich && (my $result = `"$kpsewhich" $files $kpse_toolchain`)) { latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-369- if ($result =~ /^\s*(.+?)\s*\n/s) { ############################################## latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-379- } latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm:380: my $texmf = `"$kpsewhich" --expand-var \'\\\$TEXMF\' $kpse_toolchain`; chomp($texmf); latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-381- # These are directories which contain the tex related files we're interested in. latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-382- # (but they're typically below where the ls-R indexes are!) latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm:383: my $texpaths = `"$kpsewhich" --show-path tex $kpse_toolchain`; chomp($texpaths); latexml-0.8.4/lib/LaTeXML/Util/Pathname.pm-384- my @filters = (); ############################################## latexml-0.8.4/lib/LaTeXML/Util/Test.pm-225- pathname_chdir($dir); latexml-0.8.4/lib/LaTeXML/Util/Test.pm:226: my $exit_code = system($invocation); latexml-0.8.4/lib/LaTeXML/Util/Test.pm-227- if ($exit_code != 0) { ############################################## latexml-0.8.4/lib/LaTeXML/Util/Test.pm-247- pathname_chdir($dir); latexml-0.8.4/lib/LaTeXML/Util/Test.pm:248: system($invocation); latexml-0.8.4/lib/LaTeXML/Util/Test.pm-249- pathname_chdir($current_dir); ############################################## latexml-0.8.4/t/96_fatal.t-25- latexml-0.8.4/t/96_fatal.t:26:my $exit_code = system($invocation); latexml-0.8.4/t/96_fatal.t-27-if ($exit_code != 0) { ############################################## latexml-0.8.4/t/structure/myclass.cls.ltxml-9-DeclareOption(undef, sub { PassOptions('article', 'cls', ToString(Digest(T_CS('\CurrentOption')))); }); latexml-0.8.4/t/structure/myclass.cls.ltxml:10:# Execution of options latexml-0.8.4/t/structure/myclass.cls.ltxml-11-ProcessOptions(); ############################################## latexml-0.8.4/tools/genencoded-25- # Find & Scan the TeX encoding file latexml-0.8.4/tools/genencoded:26: my $defpath = `kpsewhich $encoding.def`; latexml-0.8.4/tools/genencoded-27- chomp($defpath); ############################################## latexml-0.8.4/tools/genfontmap-93- my ($defn) = @_; latexml-0.8.4/tools/genfontmap:94: my $defpath = `kpsewhich $defn`; latexml-0.8.4/tools/genfontmap-95- chomp($defpath); ############################################## latexml-0.8.4/tools/latexmllint-141- return { xslt => 1 }; } latexml-0.8.4/tools/latexmllint:142: elsif (my $type = `file -b $file`) { latexml-0.8.4/tools/latexmllint-143- if ($type =~ /^Perl script/) { ############################################## latexml-0.8.4/tools/latexmllint-164- # Output doesn't distinguish errors from warnings? latexml-0.8.4/tools/latexmllint:165: my $critique = `$PERL -I $LIBDIR -c $file 2>&1`; latexml-0.8.4/tools/latexmllint-166- if ($critique) { # file has issues ############################################## latexml-0.8.4/tools/latexmllint-227- or croak "Couldn't run $PERLTIDY on '$file': $!"; latexml-0.8.4/tools/latexmllint:228: my $diffs = length(`diff $file $file.tdy`); latexml-0.8.4/tools/latexmllint-229- if (!$diffs) { # No diffs after formatting? No formatting needed. ############################################## latexml-0.8.4/tools/latexmllint-252- my $themes = join(' and ', map { 'not non_' . $_ } keys %$classes); latexml-0.8.4/tools/latexmllint:253:# my $critique = `$PERLCRITIC --profile=$profile --theme='$themes' --severity=$SEVERITY --quiet $file`; latexml-0.8.4/tools/latexmllint:254: my $critique = `$PERL -I $TOOLDIR $PERLCRITIC --profile=$profile --theme='$themes' --severity=$SEVERITY --quiet --verbose=8 $file`; latexml-0.8.4/tools/latexmllint-255- if ($critique eq "") { # No errors and no policy violations ############################################## latexml-0.8.4/tools/maketests-125- pathname_chdir($dir); latexml-0.8.4/tools/maketests:126: if (system($invocation) != 0) { latexml-0.8.4/tools/maketests-127- unlink "$name.test.xml" if -e "$name.test.xml"; ############################################## latexml-0.8.4/tools/maketests-269- local $ENV{TEXINPUTS} = "$FindBin::RealBin/../lib/LaTeXML/texmf/::" . ($ENV{TEXINPUTS} || ''); latexml-0.8.4/tools/maketests:270: system($program, '-interaction=batchmode', $name) == 0 or die "Couldn't run $program $name: $!"; latexml-0.8.4/tools/maketests:271: system($program, '-interaction=batchmode', $name) == 0 or die "Couldn't run $program $name: $!"; latexml-0.8.4/tools/maketests-272- ############################################## latexml-0.8.4/tools/pre-commit-34- my $temp_file = catfile($workdir, $modified_file); latexml-0.8.4/tools/pre-commit:35: system("git show ':$modified_file' > $temp_file"); latexml-0.8.4/tools/pre-commit-36- # Finally run latexmllint on it. latexml-0.8.4/tools/pre-commit:37: my $status = system(catfile('tools', 'latexmllint'), "--precommit", $temp_file); latexml-0.8.4/tools/pre-commit-38- my $code = $status >> 8; ############################################## latexml-0.8.4/tools/profile-3-# Make the latexml run latexml-0.8.4/tools/profile:4:perl -d:NYTProf `dirname $0`/../blib/script/latexml $@ latexml-0.8.4/tools/profile-5- ############################################## latexml-0.8.4/tools/texscan-305- my $name = $$self{name}; latexml-0.8.4/tools/texscan:306: my $file = `kpsewhich $name`; chomp($file); latexml-0.8.4/tools/texscan-307- if (!$file) { ############################################## latexml-0.8.4/tools/travis/README.md-37- latexml-0.8.4/tools/travis/README.md:38:The `src/build-test-image.sh` takes two arguments (the `TEX` and `PERL` versions to be used), generates a `Dockerfile` into the `dist/$PERL_$TEX` directory, and then builds the docker image. latexml-0.8.4/tools/travis/README.md-39- ############################################## latexml-0.8.4/tools/xtest-81- "<td class='xml'><a href='$set/$test.xml'>xml</a></td>"); latexml-0.8.4/tools/xtest:82: my $usesdtd = system('grep', '--quiet', 'DOCTYPE', $srcxml) == 0; latexml-0.8.4/tools/xtest-83- copy($srcxml, "$htmldest/$set/$test.xml"); ############################################## latexml-0.8.4/tools/xtest-116- print STDERR "Copying $src to $dst\n" if $verbosity >= 0; latexml-0.8.4/tools/xtest:117: system('cp', $src, $dst) == 0 or die "Couldn't copy $src to $dst: $!"; } latexml-0.8.4/tools/xtest-118- return; } ############################################## latexml-0.8.4/debian/rules-60-make-orig-tar: latexml-0.8.4/debian/rules:61: v=`dpkg-parsechangelog --show-field version | sed -e s/-.*$$//` ;\ latexml-0.8.4/debian/rules-62- d=latexml-$$v; rm -rf $$d ; mkdir $$d ; git checkout v$$v ; \