File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -781,19 +781,15 @@ module Cryptography {
781
781
* Extend this class to refine existing API models. If you want to model new APIs,
782
782
* extend `CryptographicOperation::Range` instead.
783
783
*/
784
- class CryptographicOperation extends DataFlow:: Node {
785
- CryptographicOperation:: Range range ;
786
-
787
- CryptographicOperation ( ) { this = range }
788
-
784
+ class CryptographicOperation extends DataFlow:: Node instanceof CryptographicOperation:: Range {
789
785
/** Gets the algorithm used, if it matches a known `CryptographicAlgorithm`. */
790
- CryptographicAlgorithm getAlgorithm ( ) { result = range .getAlgorithm ( ) }
786
+ CryptographicAlgorithm getAlgorithm ( ) { result = super .getAlgorithm ( ) }
791
787
792
788
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
793
- DataFlow:: Node getAnInput ( ) { result = range .getAnInput ( ) }
789
+ DataFlow:: Node getAnInput ( ) { result = super .getAnInput ( ) }
794
790
795
791
/** Holds if this encryption operation is known to be weak. */
796
- predicate isWeak ( ) { range .isWeak ( ) }
792
+ predicate isWeak ( ) { super .isWeak ( ) }
797
793
}
798
794
799
795
/** Provides classes for modeling new applications of a cryptographic algorithms. */
You can’t perform that action at this time.
0 commit comments