Skip to content

Commit

Permalink
C#: Remove reference to the deleted api.
Browse files Browse the repository at this point in the history
  • Loading branch information
aschackmull committed Dec 3, 2024
1 parent c84a102 commit d1fffc3
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import csharp
private import DataFlow
private import semmle.code.csharp.dataflow.TaintTracking2

predicate maybeANonCryptographicHash(
Callable callable, Variable v, Expr xor, Expr mul, LoopStmt loop
Expand Down
1 change: 0 additions & 1 deletion csharp/ql/lib/semmle/code/csharp/frameworks/Format.qll
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import csharp
private import semmle.code.csharp.frameworks.System
private import semmle.code.csharp.frameworks.system.Text
private import semmle.code.csharp.dataflow.DataFlow2

/** A method that formats a string, for example `string.Format()`. */
class FormatMethod extends Method {
Expand Down
1 change: 0 additions & 1 deletion csharp/ql/lib/semmle/code/csharp/frameworks/Sql.qll
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ private import semmle.code.csharp.frameworks.system.data.SqlClient
private import semmle.code.csharp.frameworks.EntityFramework
private import semmle.code.csharp.frameworks.NHibernate
private import semmle.code.csharp.frameworks.Dapper
private import semmle.code.csharp.dataflow.DataFlow4

/** An expression containing a SQL command. */
abstract class SqlExpr extends Expr {
Expand Down
1 change: 0 additions & 1 deletion csharp/ql/lib/semmle/code/csharp/frameworks/system/Xml.qll
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import csharp
private import semmle.code.csharp.frameworks.System
private import semmle.code.csharp.dataflow.DataFlow3

/** The `System.Xml` namespace. */
class SystemXmlNamespace extends Namespace {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import csharp
private import semmle.code.csharp.dataflow.DataFlow2
private import semmle.code.csharp.security.dataflow.flowsinks.FlowSinks
private import semmle.code.csharp.security.dataflow.flowsources.FlowSources
private import semmle.code.csharp.frameworks.system.text.RegularExpressions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import csharp
private import semmle.code.csharp.serialization.Deserializers
private import semmle.code.csharp.dataflow.TaintTracking2
private import semmle.code.csharp.security.dataflow.flowsinks.FlowSinks
private import semmle.code.csharp.security.dataflow.flowsources.FlowSources

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import csharp
private import XSSSinks
private import semmle.code.csharp.security.Sanitizers
private import semmle.code.csharp.security.dataflow.flowsources.FlowSources
private import semmle.code.csharp.dataflow.DataFlow2
private import semmle.code.csharp.dataflow.TaintTracking2

/**
* Holds if there is tainted flow from `source` to `sink` that may lead to a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ module XmlSettings {

/** Provides predicates related to `System.Xml.XmlReader`. */
module XmlReader {
private import semmle.code.csharp.dataflow.DataFlow2

private class InsecureXmlReaderCreate extends InsecureXmlProcessing, MethodCall {
InsecureXmlReaderCreate() {
this.getTarget().hasFullyQualifiedName("System.Xml.XmlReader", "Create")
Expand Down

0 comments on commit d1fffc3

Please sign in to comment.