Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 636cf61

Browse files
committed
Python: Allow general content in type-tracker
This should not result in many changes, since store/load steps are still only implemented for attributes.
1 parent fc8caa6 commit 636cf61

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

python/ql/lib/semmle/python/dataflow/new/internal/TypeTrackingImpl.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@ module TypeTrackingInput implements Shared::TypeTrackingInput {
102102

103103
class LocalSourceNode = DataFlowPublic::LocalSourceNode;
104104

105-
class Content extends DataFlowPublic::Content {
106-
// this char-pred is just a temporary restriction while transitioning to more general content
107-
Content() { this instanceof DataFlowPublic::AttributeContent }
108-
}
105+
class Content = DataFlowPublic::Content;
109106

110107
/**
111108
* A label to use for `WithContent` and `WithoutContent` steps, restricting

0 commit comments

Comments
 (0)