@@ -465,7 +465,7 @@ predicate isPositiveExample(
465
465
* TODO: this might filter too much, it's possible that methods with more than one parameter contain interesting sinks
466
466
*/
467
467
private class UnexploitableIsCharacteristic extends CharacteristicsImpl:: NotASinkCharacteristic {
468
- UnexploitableIsCharacteristic ( ) { this = "unexploitable ( is-style boolean method) " }
468
+ UnexploitableIsCharacteristic ( ) { this = "argument of is-style boolean method" }
469
469
470
470
override predicate appliesToEndpoint ( Endpoint e ) {
471
471
e .getCallable ( ) .getName ( ) .matches ( "is%" ) and
@@ -483,7 +483,7 @@ private class UnexploitableIsCharacteristic extends CharacteristicsImpl::NotASin
483
483
* dangerous/interesting thing, so we want the latter to be modeled as the sink.
484
484
*/
485
485
private class UnexploitableExistsCharacteristic extends CharacteristicsImpl:: NotASinkCharacteristic {
486
- UnexploitableExistsCharacteristic ( ) { this = "unexploitable ( existence-checking boolean method) " }
486
+ UnexploitableExistsCharacteristic ( ) { this = "argument of existence-checking boolean method" }
487
487
488
488
override predicate appliesToEndpoint ( Endpoint e ) {
489
489
exists ( Callable callable | callable = e .getCallable ( ) |
@@ -499,7 +499,7 @@ private class UnexploitableExistsCharacteristic extends CharacteristicsImpl::Not
499
499
*/
500
500
private class ExceptionCharacteristic extends CharacteristicsImpl:: NeitherSourceNorSinkCharacteristic
501
501
{
502
- ExceptionCharacteristic ( ) { this = "exception" }
502
+ ExceptionCharacteristic ( ) { this = "argument/result of exception-related method " }
503
503
504
504
override predicate appliesToEndpoint ( Endpoint e ) {
505
505
e .getCallable ( ) .getDeclaringType ( ) .getASupertype * ( ) instanceof TypeThrowable and
0 commit comments