Skip to content

Commit 6631125

Browse files
committed
Java: Update commons-io models.
1 parent 530b795 commit 6631125

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

java/ql/lib/semmle/code/java/frameworks/apache/IOGenerated.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ private class IOGeneratedSummaryCsv extends SummaryModelCsv {
540540
"org.apache.commons.io;DirectoryWalker$CancelException;true;getFile;();;Argument[-1];ReturnValue;taint;generated",
541541
"org.apache.commons.io;FileCleaningTracker;true;getDeleteFailures;();;Argument[-1];ReturnValue;taint;generated",
542542
"org.apache.commons.io;FileDeleteStrategy;true;toString;();;Argument[-1];ReturnValue;taint;generated",
543+
"org.apache.commons.io;FileSystem;false;normalizeSeparators;(String);;Argument[0];ReturnValue;taint;generated",
543544
"org.apache.commons.io;FileSystem;false;toLegalFileName;(String,char);;Argument[0];ReturnValue;taint;generated",
544545
"org.apache.commons.io;FileUtils;true;checksum;(File,Checksum);;Argument[1];ReturnValue;taint;generated",
545546
"org.apache.commons.io;FileUtils;true;convertFileCollectionToFileArray;(Collection);;Argument[0].Element;ReturnValue;taint;generated",
@@ -563,6 +564,9 @@ private class IOGeneratedSummaryCsv extends SummaryModelCsv {
563564
"org.apache.commons.io;FilenameUtils;true;normalizeNoEndSeparator;(String);;Argument[0];ReturnValue;taint;generated",
564565
"org.apache.commons.io;FilenameUtils;true;normalizeNoEndSeparator;(String,boolean);;Argument[0];ReturnValue;taint;generated",
565566
"org.apache.commons.io;FilenameUtils;true;removeExtension;(String);;Argument[0];ReturnValue;taint;generated",
567+
"org.apache.commons.io;FilenameUtils;true;separatorsToSystem;(String);;Argument[0];ReturnValue;taint;generated",
568+
"org.apache.commons.io;FilenameUtils;true;separatorsToUnix;(String);;Argument[0];ReturnValue;taint;generated",
569+
"org.apache.commons.io;FilenameUtils;true;separatorsToWindows;(String);;Argument[0];ReturnValue;taint;generated",
566570
"org.apache.commons.io;IOExceptionList;true;IOExceptionList;(List);;Argument[0].Element;Argument[-1];taint;generated",
567571
"org.apache.commons.io;IOExceptionList;true;IOExceptionList;(String,List);;Argument[1].Element;Argument[-1];taint;generated",
568572
"org.apache.commons.io;IOExceptionList;true;getCause;(int);;Argument[-1];ReturnValue;taint;generated",

java/ql/lib/semmle/code/java/frameworks/apache/NegativeIOGenerated.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ private class IOGeneratedNegativesummaryCsv extends NegativeSummaryModelCsv {
506506
"org.apache.commons.io;FileSystem;isCaseSensitive;();generated",
507507
"org.apache.commons.io;FileSystem;isLegalFileName;(CharSequence);generated",
508508
"org.apache.commons.io;FileSystem;isReservedFileName;(CharSequence);generated",
509-
"org.apache.commons.io;FileSystem;normalizeSeparators;(String);generated",
510509
"org.apache.commons.io;FileSystem;supportsDriveLetter;();generated",
511510
"org.apache.commons.io;FileSystemUtils;FileSystemUtils;();generated",
512511
"org.apache.commons.io;FileSystemUtils;freeSpace;(String);generated",
@@ -652,9 +651,6 @@ private class IOGeneratedNegativesummaryCsv extends NegativeSummaryModelCsv {
652651
"org.apache.commons.io;FilenameUtils;isExtension;(String,Collection);generated",
653652
"org.apache.commons.io;FilenameUtils;isExtension;(String,String);generated",
654653
"org.apache.commons.io;FilenameUtils;isExtension;(String,String[]);generated",
655-
"org.apache.commons.io;FilenameUtils;separatorsToSystem;(String);generated",
656-
"org.apache.commons.io;FilenameUtils;separatorsToUnix;(String);generated",
657-
"org.apache.commons.io;FilenameUtils;separatorsToWindows;(String);generated",
658654
"org.apache.commons.io;FilenameUtils;wildcardMatch;(String,String);generated",
659655
"org.apache.commons.io;FilenameUtils;wildcardMatch;(String,String,IOCase);generated",
660656
"org.apache.commons.io;FilenameUtils;wildcardMatchOnSystem;(String,String);generated",

0 commit comments

Comments
 (0)