mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Apply suggestions from code review
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
The signature of `allowImplicitRead` on `DataFlow::Configuration` and `TaintTracking::Configuration` has changed from `allowImplicitRead(DataFlow::Node node, DataFlow::Content c)` to `allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c)`.
|
||||
* The signature of `allowImplicitRead` on `DataFlow::Configuration` and `TaintTracking::Configuration` has changed from `allowImplicitRead(DataFlow::Node node, DataFlow::Content c)` to `allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c)`.
|
||||
|
||||
### Deprecated APIs
|
||||
|
||||
@@ -11,11 +11,7 @@ The signature of `allowImplicitRead` on `DataFlow::Configuration` and `TaintTrac
|
||||
### Minor Analysis Improvements
|
||||
|
||||
* The predicate `getNumParameter` on `FuncTypeExpr` has been changed to actually give the number of parameters. It previously gave the number of parameter declarations. `getNumParameterDecl` has been introduced to preserve this functionality.
|
||||
The definition of `mayHaveSideEffects` for `ReturnStmt` was incorrect when more
|
||||
than one expression was being returned. Such return statements were
|
||||
effectively considered to never have side effects. This has now been fixed.
|
||||
In rare circumstances `globalValueNumber` may have incorrectly treated two
|
||||
values as the same when they were in fact distinct.
|
||||
* The definition of `mayHaveSideEffects` for `ReturnStmt` was incorrect when more than one expression was being returned. Such return statements were effectively considered to never have side effects. This has now been fixed. In rare circumstances `globalValueNumber` may have incorrectly treated two values as the same when they were in fact distinct.
|
||||
* Queries that care about SQL, such as `go/sql-injection`, now recognise SQL-consuming functions belonging to the `gorqlite` and `GoFrame` packages.
|
||||
* `rsync` has been added to the list of commands which may evaluate its parameters as a shell command.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
The signature of `allowImplicitRead` on `DataFlow::Configuration` and `TaintTracking::Configuration` has changed from `allowImplicitRead(DataFlow::Node node, DataFlow::Content c)` to `allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c)`.
|
||||
* The signature of `allowImplicitRead` on `DataFlow::Configuration` and `TaintTracking::Configuration` has changed from `allowImplicitRead(DataFlow::Node node, DataFlow::Content c)` to `allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c)`.
|
||||
|
||||
### Deprecated APIs
|
||||
|
||||
@@ -11,13 +11,9 @@ The signature of `allowImplicitRead` on `DataFlow::Configuration` and `TaintTrac
|
||||
### Minor Analysis Improvements
|
||||
|
||||
* The predicate `getNumParameter` on `FuncTypeExpr` has been changed to actually give the number of parameters. It previously gave the number of parameter declarations. `getNumParameterDecl` has been introduced to preserve this functionality.
|
||||
The definition of `mayHaveSideEffects` for `ReturnStmt` was incorrect when more
|
||||
than one expression was being returned. Such return statements were
|
||||
effectively considered to never have side effects. This has now been fixed.
|
||||
In rare circumstances `globalValueNumber` may have incorrectly treated two
|
||||
values as the same when they were in fact distinct.
|
||||
* The definition of `mayHaveSideEffects` for `ReturnStmt` was incorrect when more than one expression was being returned. Such return statements were effectively considered to never have side effects. This has now been fixed. In rare circumstances `globalValueNumber` may have incorrectly treated two values as the same when they were in fact distinct.
|
||||
* Queries that care about SQL, such as `go/sql-injection`, now recognise SQL-consuming functions belonging to the `gorqlite` and `GoFrame` packages.
|
||||
* `rsync` has been added to the list of commands which may evaluate its parameters as a shell command.
|
||||
* `rsync` has been added to the list of commands which may evaluate its parameters as a shell command.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user