mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Merge pull request #9832 from erik-krogh/misspellings
Fix lots of misspellings
This commit is contained in:
@@ -21,7 +21,7 @@ class File extends Container, @file {
|
||||
|
||||
/** Whether this file is a source code file. */
|
||||
predicate fromSource() {
|
||||
/* If we start to analyse .pyc files, then this will have to change. */
|
||||
/* If we start to analyze .pyc files, then this will have to change. */
|
||||
any()
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ deprecated Node importNode(string name) {
|
||||
// ```
|
||||
//
|
||||
// Where `foo_module_tracker` is a type tracker that tracks references to the `foo` module.
|
||||
// Because named imports are modelled as `AttrRead`s, the statement `from foo import bar as baz`
|
||||
// Because named imports are modeled as `AttrRead`s, the statement `from foo import bar as baz`
|
||||
// is interpreted as if it was an assignment `baz = foo.bar`, which means `baz` gets tracked as a
|
||||
// reference to `foo.bar`, as desired.
|
||||
exists(ImportExpr imp_expr |
|
||||
|
||||
@@ -42,7 +42,7 @@ private module NotExposed {
|
||||
// Implementation below
|
||||
// ---------------------------------------------------------------------------
|
||||
//
|
||||
// We are looking to find all subclassed of the already modelled classes, and ideally
|
||||
// We are looking to find all subclassed of the already modeled classes, and ideally
|
||||
// we would identify an `API::Node` for each (then `toString` would give the API
|
||||
// path).
|
||||
//
|
||||
|
||||
@@ -35,7 +35,7 @@ private import semmle.python.objects.ObjectInternal
|
||||
// functionality into `BuiltinFunctionValue` and `BuiltinMethodValue`, but will
|
||||
// probably require some more work: for this query, it's totally ok to use
|
||||
// `builtins.open` for the code `open(f)`, but well, it requires a bit of thinking to
|
||||
// figure out if that is desireable in general. I simply skipped a corner here!
|
||||
// figure out if that is desirable in general. I simply skipped a corner here!
|
||||
// 4. TaintTrackingPrivate: Nothing else gives us access to `defaultAdditionalTaintStep` :(
|
||||
/**
|
||||
* A callable that is considered a "safe" external API from a security perspective.
|
||||
|
||||
Reference in New Issue
Block a user