File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,17 @@ signature module CandidateSig {
3333 */
3434 class NegativeEndpointType extends EndpointType ;
3535
36+ /**
37+ * Gets the endpoint as a location.
38+ *
39+ * This is a utility function to convert an endpoint to its corresponding location.
40+ */
3641 RelatedLocation asLocation ( Endpoint e ) ;
3742
3843 /**
3944 * Defines what MaD kinds are known, and what endpoint type they correspond to.
4045 */
41- predicate isKnownLabel ( string kind , string humanReadableLabel , EndpointType type ) ;
46+ predicate isKnownKind ( string kind , string humanReadableLabel , EndpointType type ) ;
4247
4348 /**
4449 * Should hold for any endpoint that is a flow sanitizer.
@@ -56,6 +61,8 @@ signature module CandidateSig {
5661 predicate isNeutral ( Endpoint e ) ;
5762
5863 /**
64+ * Gets a related location.
65+ *
5966 * A related location is a source code location that may hold extra information about an endpoint that can be useful
6067 * to the machine learning model.
6168 *
You can’t perform that action at this time.
0 commit comments