Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Empty file added csharp/lib/frameworks/.gitkeep
Empty file.
Empty file added csharp/src/CVEs/.gitkeep
Empty file.
15 changes: 6 additions & 9 deletions csharp/src/audit/templates/ForwardPartialDataflow.ql
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/**
* @name Forward Partial Dataflow
* @description Forward Partial Dataflow
* @kind problem
* @precision low
* @problem.severity error
* @id seclab/forward-partial-dataflow
* @tags audit
* @kind table
* @id githubsecuritylab/forward-partial-dataflow
* @tags template
*/

import csharp
Expand All @@ -22,16 +20,15 @@ private module MyConfig implements DataFlow::ConfigSig {
none()
}

predicate isSink(DataFlow::Node sink) {
none()
}
predicate isSink(DataFlow::Node sink) { none() }
}

private module MyFlow = TaintTracking::Global<MyConfig>; // or DataFlow::Global<..>

int explorationLimit() { result = 10 }

private module PartialFlow = MyFlow::FlowExploration<explorationLimit/0>;

from PartialFlow::PartialPathNode n, int dist
where PartialFlow::partialFlow(_, n, dist)
select dist, n

Binary file added csharp/src/suites/.DS_Store
Binary file not shown.
File renamed without changes.
Empty file added csharp/test/audit/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion csharp/test/security/CWE-328/WeakHashingAlgorithms.qlref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CWE-328/WeakHashingAlgorithms.ql
security/CWE-328/WeakHashingAlgorithms.ql
2 changes: 1 addition & 1 deletion csharp/test/security/CWE-328/WeakPasswordHashing.qlref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CWE-328/WeakPasswordHashing.ql
security/CWE-328/WeakPasswordHashing.ql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CWE-328/WeakSensitiveDataHashing.ql
security/CWE-328/WeakSensitiveDataHashing.ql
2 changes: 1 addition & 1 deletion csharp/test/security/CWE-760/HardcodedSalt.qlref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CWE-760/HardcodedSalt.ql
security/CWE-760/HardcodedSalt.ql

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion csharp/test/security/CWE-798/options

This file was deleted.