@@ -465,7 +465,7 @@ predicate isPositiveExample(
465465 * TODO: this might filter too much, it's possible that methods with more than one parameter contain interesting sinks
466466 */
467467private class UnexploitableIsCharacteristic extends CharacteristicsImpl:: NotASinkCharacteristic {
468- UnexploitableIsCharacteristic ( ) { this = "unexploitable ( is-style boolean method) " }
468+ UnexploitableIsCharacteristic ( ) { this = "argument of is-style boolean method" }
469469
470470 override predicate appliesToEndpoint ( Endpoint e ) {
471471 e .getCallable ( ) .getName ( ) .matches ( "is%" ) and
@@ -483,7 +483,7 @@ private class UnexploitableIsCharacteristic extends CharacteristicsImpl::NotASin
483483 * dangerous/interesting thing, so we want the latter to be modeled as the sink.
484484 */
485485private class UnexploitableExistsCharacteristic extends CharacteristicsImpl:: NotASinkCharacteristic {
486- UnexploitableExistsCharacteristic ( ) { this = "unexploitable ( existence-checking boolean method) " }
486+ UnexploitableExistsCharacteristic ( ) { this = "argument of existence-checking boolean method" }
487487
488488 override predicate appliesToEndpoint ( Endpoint e ) {
489489 exists ( Callable callable | callable = e .getCallable ( ) |
@@ -499,7 +499,7 @@ private class UnexploitableExistsCharacteristic extends CharacteristicsImpl::Not
499499 */
500500private class ExceptionCharacteristic extends CharacteristicsImpl:: NeitherSourceNorSinkCharacteristic
501501{
502- ExceptionCharacteristic ( ) { this = "exception" }
502+ ExceptionCharacteristic ( ) { this = "argument/result of exception-related method " }
503503
504504 override predicate appliesToEndpoint ( Endpoint e ) {
505505 e .getCallable ( ) .getDeclaringType ( ) .getASupertype * ( ) instanceof TypeThrowable and
0 commit comments