File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ predicate candidate(
5757 isVarargsArray , _, extensibleType ) and
5858 // It's valid for a node to be both a potential source/sanitizer and a sink. We don't want to include such nodes
5959 // as negative examples in the prompt, because they're ambiguous and might confuse the model, so we explicitly them here.
60- not exists ( EndpointCharacteristic characteristic2 , float confidence2 , EndpointType type2 |
60+ not exists ( EndpointCharacteristic characteristic2 , float confidence2 |
6161 characteristic2 .appliesToEndpoint ( endpoint ) and
6262 confidence2 >= SharedCharacteristics:: maximalConfidence ( ) and
63- characteristic2 .hasImplications ( type2 , true , confidence2 )
63+ characteristic2 .hasImplications ( endpoint . getAPotentialType ( ) , true , confidence2 )
6464 )
6565}
6666
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ where
3131 _, extensibleType ) and
3232 // It's valid for a node to be both a potential source/sanitizer and a sink. We don't want to include such nodes
3333 // as negative examples in the prompt, because they're ambiguous and might confuse the model, so we explicitly them here.
34- not exists ( EndpointCharacteristic characteristic2 , float confidence2 , EndpointType type2 |
34+ not exists ( EndpointCharacteristic characteristic2 , float confidence2 |
3535 characteristic2 .appliesToEndpoint ( endpoint ) and
3636 confidence2 >= SharedCharacteristics:: maximalConfidence ( ) and
37- characteristic2 .hasImplications ( type2 , true , confidence2 )
37+ characteristic2 .hasImplications ( endpoint . getAPotentialType ( ) , true , confidence2 )
3838 ) and
3939 message = characteristic
4040select endpoint ,
You can’t perform that action at this time.
0 commit comments