mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Merge pull request #3232 from RasmusWL/python-more-deprecated-annotations
Approved by BekaValentine
This commit is contained in:
@@ -659,7 +659,7 @@ module DataFlow {
|
||||
}
|
||||
}
|
||||
|
||||
private class ConfigurationAdapter extends TaintTracking::Configuration {
|
||||
deprecated private class ConfigurationAdapter extends TaintTracking::Configuration {
|
||||
ConfigurationAdapter() { this instanceof Configuration }
|
||||
|
||||
override predicate isSource(DataFlow::Node node, TaintKind kind) {
|
||||
@@ -727,7 +727,7 @@ module DataFlow {
|
||||
}
|
||||
}
|
||||
|
||||
private class DataFlowType extends TaintKind {
|
||||
deprecated private class DataFlowType extends TaintKind {
|
||||
DataFlowType() {
|
||||
this = "Data flow" and
|
||||
exists(DataFlow::Configuration c)
|
||||
|
||||
@@ -37,8 +37,8 @@ abstract deprecated class CustomPointsToFact extends @py_flow_node {
|
||||
abstract predicate pointsTo(Context context, Object value, ClassObject cls, ControlFlowNode origin);
|
||||
}
|
||||
|
||||
/* For backwards compatibility */
|
||||
class FinalCustomPointsToFact = CustomPointsToFact;
|
||||
/** DEPRECATED -- Use PointsToExtension instead */
|
||||
deprecated class FinalCustomPointsToFact = CustomPointsToFact;
|
||||
|
||||
abstract deprecated class CustomPointsToOriginFact extends CustomPointsToFact {
|
||||
abstract predicate pointsTo(Object value, ClassObject cls);
|
||||
@@ -151,7 +151,7 @@ class ReModulePointToExtension extends PointsToExtension {
|
||||
private predicate pointsTo_helper(Context context) { context.appliesTo(this) }
|
||||
}
|
||||
|
||||
private class BackwardCompatiblePointToExtension extends PointsToExtension {
|
||||
deprecated private class BackwardCompatiblePointToExtension extends PointsToExtension {
|
||||
BackwardCompatiblePointToExtension() { this instanceof CustomPointsToFact }
|
||||
|
||||
override predicate pointsTo(Context context, ObjectInternal value, ControlFlowNode origin) {
|
||||
@@ -174,7 +174,7 @@ private class BackwardCompatiblePointToExtension extends PointsToExtension {
|
||||
}
|
||||
}
|
||||
|
||||
private predicate additionalAttribute(
|
||||
deprecated private predicate additionalAttribute(
|
||||
ObjectInternal owner, string name, ObjectInternal value, ControlFlowNode origin
|
||||
) {
|
||||
exists(Object obj, ClassObject cls |
|
||||
|
||||
Reference in New Issue
Block a user