@@ -294,9 +294,9 @@ private predicate nodeCandFwd1(Node node, boolean fromArg, Configuration config)
294294 )
295295 or
296296 // read
297- exists ( Content f |
298- nodeCandFwd1Read ( f , node , fromArg , config ) and
299- nodeCandFwd1IsStored ( f , config ) and
297+ exists ( Content c |
298+ nodeCandFwd1Read ( c , node , fromArg , config ) and
299+ nodeCandFwd1IsStored ( c , config ) and
300300 not inBarrier ( node , config )
301301 )
302302 or
@@ -321,10 +321,10 @@ private predicate nodeCandFwd1(Node node, boolean fromArg, Configuration config)
321321private predicate nodeCandFwd1 ( Node node , Configuration config ) { nodeCandFwd1 ( node , _, config ) }
322322
323323pragma [ nomagic]
324- private predicate nodeCandFwd1Read ( Content f , Node node , boolean fromArg , Configuration config ) {
324+ private predicate nodeCandFwd1Read ( Content c , Node node , boolean fromArg , Configuration config ) {
325325 exists ( Node mid |
326326 nodeCandFwd1 ( mid , fromArg , config ) and
327- read ( mid , f , node )
327+ read ( mid , c , node )
328328 )
329329}
330330
@@ -421,15 +421,15 @@ private predicate nodeCand1_0(Node node, boolean toReturn, Configuration config)
421421 )
422422 or
423423 // store
424- exists ( Content f |
425- nodeCand1Store ( f , node , toReturn , config ) and
426- nodeCand1IsRead ( f , config )
424+ exists ( Content c |
425+ nodeCand1Store ( c , node , toReturn , config ) and
426+ nodeCand1IsRead ( c , config )
427427 )
428428 or
429429 // read
430- exists ( Node mid , Content f |
431- read ( node , f , mid ) and
432- nodeCandFwd1IsStored ( f , unbind ( config ) ) and
430+ exists ( Node mid , Content c |
431+ read ( node , c , mid ) and
432+ nodeCandFwd1IsStored ( c , unbind ( config ) ) and
433433 nodeCand1 ( mid , toReturn , config )
434434 )
435435 or
@@ -451,15 +451,15 @@ private predicate nodeCand1_0(Node node, boolean toReturn, Configuration config)
451451}
452452
453453/**
454- * Holds if `f ` is the target of a read in the flow covered by `nodeCand1`.
454+ * Holds if `c ` is the target of a read in the flow covered by `nodeCand1`.
455455 */
456456pragma [ nomagic]
457- private predicate nodeCand1IsRead ( Content f , Configuration config ) {
457+ private predicate nodeCand1IsRead ( Content c , Configuration config ) {
458458 exists ( Node mid , Node node |
459459 useFieldFlow ( config ) and
460460 nodeCandFwd1 ( node , unbind ( config ) ) and
461- read ( node , f , mid ) and
462- nodeCandFwd1IsStored ( f , unbind ( config ) ) and
461+ read ( node , c , mid ) and
462+ nodeCandFwd1IsStored ( c , unbind ( config ) ) and
463463 nodeCand1 ( mid , _, config )
464464 )
465465}
@@ -475,12 +475,12 @@ private predicate nodeCand1Store(Content c, Node node, boolean toReturn, Configu
475475}
476476
477477/**
478- * Holds if `f ` is the target of both a read and a store in the flow covered
478+ * Holds if `c ` is the target of both a read and a store in the flow covered
479479 * by `nodeCand1`.
480480 */
481- private predicate nodeCand1IsReadAndStored ( Content f , Configuration conf ) {
482- nodeCand1IsRead ( f , conf ) and
483- nodeCand1Store ( f , _, _, conf )
481+ private predicate nodeCand1IsReadAndStored ( Content c , Configuration conf ) {
482+ nodeCand1IsRead ( c , conf ) and
483+ nodeCand1Store ( c , _, _, conf )
484484}
485485
486486pragma [ nomagic]
@@ -581,10 +581,10 @@ private predicate store(Node n1, Content c, Node n2, Configuration config) {
581581}
582582
583583pragma [ nomagic]
584- private predicate read ( Node n1 , Content f , Node n2 , Configuration config ) {
585- nodeCand1IsReadAndStored ( f , config ) and
584+ private predicate read ( Node n1 , Content c , Node n2 , Configuration config ) {
585+ nodeCand1IsReadAndStored ( c , config ) and
586586 nodeCand1 ( n2 , unbind ( config ) ) and
587- read ( n1 , f , n2 )
587+ read ( n1 , c , n2 )
588588}
589589
590590pragma [ noinline]
@@ -756,16 +756,16 @@ private predicate nodeCandFwd2(
756756 )
757757 or
758758 // store
759- exists ( Node mid , Content f |
759+ exists ( Node mid |
760760 nodeCandFwd2 ( mid , fromArg , argStored , _, config ) and
761- store ( mid , f , node , config ) and
761+ store ( mid , _ , node , config ) and
762762 stored = true
763763 )
764764 or
765765 // read
766- exists ( Content f |
767- nodeCandFwd2Read ( f , node , fromArg , argStored , config ) and
768- nodeCandFwd2IsStored ( f , stored , config )
766+ exists ( Content c |
767+ nodeCandFwd2Read ( c , node , fromArg , argStored , config ) and
768+ nodeCandFwd2IsStored ( c , stored , config )
769769 )
770770 or
771771 // flow into a callable
@@ -789,25 +789,25 @@ private predicate nodeCandFwd2(
789789}
790790
791791/**
792- * Holds if `f ` is the target of a store in the flow covered by `nodeCandFwd2`.
792+ * Holds if `c ` is the target of a store in the flow covered by `nodeCandFwd2`.
793793 */
794794pragma [ noinline]
795- private predicate nodeCandFwd2IsStored ( Content f , boolean stored , Configuration config ) {
795+ private predicate nodeCandFwd2IsStored ( Content c , boolean stored , Configuration config ) {
796796 exists ( Node mid , Node node |
797797 useFieldFlow ( config ) and
798798 nodeCand1 ( node , unbind ( config ) ) and
799799 nodeCandFwd2 ( mid , _, _, stored , config ) and
800- store ( mid , f , node , config )
800+ store ( mid , c , node , config )
801801 )
802802}
803803
804804pragma [ nomagic]
805805private predicate nodeCandFwd2Read (
806- Content f , Node node , boolean fromArg , BooleanOption argStored , Configuration config
806+ Content c , Node node , boolean fromArg , BooleanOption argStored , Configuration config
807807) {
808808 exists ( Node mid |
809809 nodeCandFwd2 ( mid , fromArg , argStored , true , config ) and
810- read ( mid , f , node , config )
810+ read ( mid , c , node , config )
811811 )
812812}
813813
@@ -904,15 +904,15 @@ private predicate nodeCand2(
904904 )
905905 or
906906 // store
907- exists ( Content f |
908- nodeCand2Store ( f , node , toReturn , returnRead , read , config ) and
909- nodeCand2IsRead ( f , read , config )
907+ exists ( Content c |
908+ nodeCand2Store ( c , node , toReturn , returnRead , read , config ) and
909+ nodeCand2IsRead ( c , read , config )
910910 )
911911 or
912912 // read
913- exists ( Node mid , Content f , boolean read0 |
914- read ( node , f , mid , config ) and
915- nodeCandFwd2IsStored ( f , unbindBool ( read0 ) , unbind ( config ) ) and
913+ exists ( Node mid , Content c , boolean read0 |
914+ read ( node , c , mid , config ) and
915+ nodeCandFwd2IsStored ( c , unbindBool ( read0 ) , unbind ( config ) ) and
916916 nodeCand2 ( mid , toReturn , returnRead , read0 , config ) and
917917 read = true
918918 )
@@ -938,51 +938,51 @@ private predicate nodeCand2(
938938}
939939
940940/**
941- * Holds if `f ` is the target of a read in the flow covered by `nodeCand2`.
941+ * Holds if `c ` is the target of a read in the flow covered by `nodeCand2`.
942942 */
943943pragma [ noinline]
944- private predicate nodeCand2IsRead ( Content f , boolean read , Configuration config ) {
944+ private predicate nodeCand2IsRead ( Content c , boolean read , Configuration config ) {
945945 exists ( Node mid , Node node |
946946 useFieldFlow ( config ) and
947947 nodeCandFwd2 ( node , _, _, true , unbind ( config ) ) and
948- read ( node , f , mid , config ) and
949- nodeCandFwd2IsStored ( f , unbindBool ( read ) , unbind ( config ) ) and
948+ read ( node , c , mid , config ) and
949+ nodeCandFwd2IsStored ( c , unbindBool ( read ) , unbind ( config ) ) and
950950 nodeCand2 ( mid , _, _, read , config )
951951 )
952952}
953953
954954pragma [ nomagic]
955955private predicate nodeCand2Store (
956- Content f , Node node , boolean toReturn , BooleanOption returnRead , boolean stored ,
956+ Content c , Node node , boolean toReturn , BooleanOption returnRead , boolean stored ,
957957 Configuration config
958958) {
959959 exists ( Node mid |
960- store ( node , f , mid , config ) and
960+ store ( node , c , mid , config ) and
961961 nodeCand2 ( mid , toReturn , returnRead , true , config ) and
962962 nodeCandFwd2 ( node , _, _, stored , unbind ( config ) )
963963 )
964964}
965965
966966/**
967- * Holds if `f ` is the target of a store in the flow covered by `nodeCand2`.
967+ * Holds if `c ` is the target of a store in the flow covered by `nodeCand2`.
968968 */
969969pragma [ nomagic]
970- private predicate nodeCand2IsStored ( Content f , boolean stored , Configuration conf ) {
970+ private predicate nodeCand2IsStored ( Content c , boolean stored , Configuration conf ) {
971971 exists ( Node node |
972- nodeCand2Store ( f , node , _, _, stored , conf ) and
972+ nodeCand2Store ( c , node , _, _, stored , conf ) and
973973 nodeCand2 ( node , _, _, stored , conf )
974974 )
975975}
976976
977977/**
978- * Holds if `f ` is the target of both a store and a read in the path graph
978+ * Holds if `c ` is the target of both a store and a read in the path graph
979979 * covered by `nodeCand2`.
980980 */
981981pragma [ noinline]
982- private predicate nodeCand2IsReadAndStored ( Content f , Configuration conf ) {
982+ private predicate nodeCand2IsReadAndStored ( Content c , Configuration conf ) {
983983 exists ( boolean apNonEmpty |
984- nodeCand2IsStored ( f , apNonEmpty , conf ) and
985- nodeCand2IsRead ( f , apNonEmpty , conf )
984+ nodeCand2IsStored ( c , apNonEmpty , conf ) and
985+ nodeCand2IsRead ( c , apNonEmpty , conf )
986986 )
987987}
988988
@@ -1162,11 +1162,11 @@ private module LocalFlowBigStep {
11621162private import LocalFlowBigStep
11631163
11641164pragma [ nomagic]
1165- private predicate readCand2 ( Node node1 , Content f , Node node2 , Configuration config ) {
1166- read ( node1 , f , node2 , config ) and
1165+ private predicate readCand2 ( Node node1 , Content c , Node node2 , Configuration config ) {
1166+ read ( node1 , c , node2 , config ) and
11671167 nodeCand2 ( node1 , _, _, true , unbind ( config ) ) and
11681168 nodeCand2 ( node2 , config ) and
1169- nodeCand2IsReadAndStored ( f , unbind ( config ) )
1169+ nodeCand2IsReadAndStored ( c , unbind ( config ) )
11701170}
11711171
11721172pragma [ nomagic]
0 commit comments