File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ predicate candidate(
57
57
isVarargsArray , _, extensibleType ) and
58
58
// It's valid for a node to be both a potential source/sanitizer and a sink. We don't want to include such nodes
59
59
// 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 |
61
61
characteristic2 .appliesToEndpoint ( endpoint ) and
62
62
confidence2 >= SharedCharacteristics:: maximalConfidence ( ) and
63
- characteristic2 .hasImplications ( type2 , true , confidence2 )
63
+ characteristic2 .hasImplications ( endpoint . getAPotentialType ( ) , true , confidence2 )
64
64
)
65
65
}
66
66
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ where
31
31
_, extensibleType ) and
32
32
// It's valid for a node to be both a potential source/sanitizer and a sink. We don't want to include such nodes
33
33
// 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 |
35
35
characteristic2 .appliesToEndpoint ( endpoint ) and
36
36
confidence2 >= SharedCharacteristics:: maximalConfidence ( ) and
37
- characteristic2 .hasImplications ( type2 , true , confidence2 )
37
+ characteristic2 .hasImplications ( endpoint . getAPotentialType ( ) , true , confidence2 )
38
38
) and
39
39
message = characteristic
40
40
select endpoint ,
You can’t perform that action at this time.
0 commit comments