File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
python/ql/lib/semmle/python Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -520,9 +520,9 @@ module API {
520
520
rhs ( base , def ) and pred = trackDefNode ( def )
521
521
|
522
522
// from `x` to a definition of `x.prop`
523
- exists ( DataFlow:: AttrWrite pw | pw = pred .getAnAttributeWrite ( ) |
524
- lbl = Label:: memberFromRef ( pw ) and
525
- rhs = pw .getValue ( )
523
+ exists ( DataFlow:: AttrWrite aw | aw = pred .getAnAttributeWrite ( ) |
524
+ lbl = Label:: memberFromRef ( aw ) and
525
+ rhs = aw .getValue ( )
526
526
)
527
527
or
528
528
// TODO: I had expected `DataFlow::AttrWrite` to contain the attribute writes from a dict, that's how JS works.
@@ -545,10 +545,10 @@ module API {
545
545
or
546
546
argumentPassing ( base , lbl , rhs )
547
547
or
548
- exists ( DataFlow:: LocalSourceNode src , DataFlow:: AttrWrite pw |
549
- use ( base , src ) and pw = trackUseNode ( src ) .getAnAttributeWrite ( ) and rhs = pw .getValue ( )
548
+ exists ( DataFlow:: LocalSourceNode src , DataFlow:: AttrWrite aw |
549
+ use ( base , src ) and aw = trackUseNode ( src ) .getAnAttributeWrite ( ) and rhs = aw .getValue ( )
550
550
|
551
- lbl = Label:: memberFromRef ( pw )
551
+ lbl = Label:: memberFromRef ( aw )
552
552
)
553
553
}
554
554
You can’t perform that action at this time.
0 commit comments