@@ -174,7 +174,7 @@ private module CleverGo {
174174 /**
175175 * Models HTTP redirects.
176176 */
177- private class HttpRedirect extends Http:: Redirect:: Range , DataFlow:: CallNode {
177+ private class HttpRedirect extends Http:: Redirect:: Range , DataFlow:: MethodCallNode {
178178 DataFlow:: Node urlNode ;
179179
180180 HttpRedirect ( ) {
@@ -211,7 +211,7 @@ private module CleverGo {
211211 string package , string receiverName , DataFlow:: Node bodyNode , string contentTypeString ,
212212 DataFlow:: Node receiverNode
213213 ) {
214- exists ( string methodName , Method met , DataFlow:: CallNode bodySetterCall |
214+ exists ( string methodName , Method met , DataFlow:: MethodCallNode bodySetterCall |
215215 met .hasQualifiedName ( package , receiverName , methodName ) and
216216 bodySetterCall = met .getACall ( ) and
217217 receiverNode = bodySetterCall .getReceiver ( )
@@ -317,7 +317,7 @@ private module CleverGo {
317317 string package , string receiverName , DataFlow:: Node bodyNode , DataFlow:: Node contentTypeNode ,
318318 DataFlow:: Node receiverNode
319319 ) {
320- exists ( string methodName , Method met , DataFlow:: CallNode bodySetterCall |
320+ exists ( string methodName , Method met , DataFlow:: MethodCallNode bodySetterCall |
321321 met .hasQualifiedName ( package , receiverName , methodName ) and
322322 bodySetterCall = met .getACall ( ) and
323323 receiverNode = bodySetterCall .getReceiver ( )
@@ -356,7 +356,7 @@ private module CleverGo {
356356 private predicate setsBody (
357357 string package , string receiverName , DataFlow:: Node receiverNode , DataFlow:: Node bodyNode
358358 ) {
359- exists ( string methodName , Method met , DataFlow:: CallNode bodySetterCall |
359+ exists ( string methodName , Method met , DataFlow:: MethodCallNode bodySetterCall |
360360 met .hasQualifiedName ( package , receiverName , methodName ) and
361361 bodySetterCall = met .getACall ( ) and
362362 receiverNode = bodySetterCall .getReceiver ( )
@@ -400,7 +400,7 @@ private module CleverGo {
400400
401401 // Holds for a call that sets a header with a key-value combination.
402402 private predicate setsHeaderDynamicKeyValue (
403- string package , string receiverName , DataFlow:: CallNode headerSetterCall ,
403+ string package , string receiverName , DataFlow:: MethodCallNode headerSetterCall ,
404404 DataFlow:: Node headerNameNode , DataFlow:: Node headerValueNode , DataFlow:: Node receiverNode
405405 ) {
406406 exists ( string methodName , Method met |
@@ -446,7 +446,7 @@ private module CleverGo {
446446
447447 // Holds for a call that sets the content-type header (implicit).
448448 private predicate setsStaticHeaderContentType (
449- string package , string receiverName , DataFlow:: CallNode setterCall , string valueString ,
449+ string package , string receiverName , DataFlow:: MethodCallNode setterCall , string valueString ,
450450 DataFlow:: Node receiverNode
451451 ) {
452452 exists ( string methodName , Method met |
@@ -501,8 +501,8 @@ private module CleverGo {
501501
502502 // Holds for a call that sets the content-type header via a parameter.
503503 private predicate setsDynamicHeaderContentType (
504- string package , string receiverName , DataFlow:: CallNode setterCall , DataFlow :: Node valueNode ,
505- DataFlow:: Node receiverNode
504+ string package , string receiverName , DataFlow:: MethodCallNode setterCall ,
505+ DataFlow:: Node valueNode , DataFlow :: Node receiverNode
506506 ) {
507507 exists ( string methodName , Method met |
508508 met .hasQualifiedName ( package , receiverName , methodName ) and
0 commit comments