mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
Merge pull request #5171 from RasmusWL/restructure-queries
Python: Restructure query file layout
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
example uses AES, which is a stronger modern algorithm.
|
||||
</p>
|
||||
|
||||
<sample src="examples/broken_crypto.py" />
|
||||
<sample src="examples/weak_crypto_algorithm.py" />
|
||||
|
||||
<p>
|
||||
WARNING: Although the second example above is more robust,
|
||||
@@ -41,6 +41,7 @@ private import semmle.python.objects.ObjectInternal
|
||||
* A callable that is considered a "safe" external API from a security perspective.
|
||||
*/
|
||||
class SafeExternalAPI extends Unit {
|
||||
/** Gets a callable that is considered a "safe" external API from a security perspective. */
|
||||
abstract DataFlowPrivate::DataFlowCallable getSafeCallable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user