Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Main
ThreatModelFlowSource
1 parent a3f6bfe commit ec6e173Copy full SHA for ec6e173
1 file changed
csharp/ql/src/Security Features/CWE-114/AssemblyPathInjection.ql
@@ -21,10 +21,7 @@ import AssemblyPathInjection::PathGraph
21
* A taint-tracking configuration for untrusted user input used to load a DLL.
22
*/
23
module AssemblyPathInjectionConfig implements DataFlow::ConfigSig {
24
- predicate isSource(DataFlow::Node source) {
25
- source instanceof ThreatModelFlowSource or
26
- source.asExpr() = any(MainMethod main).getParameter(0).getAnAccess()
27
- }
+ predicate isSource(DataFlow::Node source) { source instanceof ThreatModelFlowSource }
28
29
predicate isSink(DataFlow::Node sink) {
30
exists(MethodCall mc, string name, int arg |
0 commit comments