We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ae41c commit 37bcff5Copy full SHA for 37bcff5
CWE-780/README.md
@@ -16,11 +16,11 @@ ruleInstance = Rule(RULE_PATH)
16
quarkResult = runQuarkAnalysis(SAMPLE_PATH, ruleInstance)
17
18
for useCryptographicAlgo in quarkResult.behaviorOccurList:
19
-
20
methodCaller = useCryptographicAlgo.methodCaller
21
22
- if useCryptographicAlgor.hasString("RSA") and \
23
- not useCryptographicAlgo.hasString("OAEP"):
+ if useCryptographicAlgo.hasString(
+ "RSA"
+ ) and not useCryptographicAlgo.hasString("OAEP"):
24
print(f"CWE-780 is detected in method, {methodCaller.fullName}")
25
```
26
0 commit comments