• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2021 Code Intelligence GmbH
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //      http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 package com.code_intelligence.jazzer.api;
16 
17 /**
18  * Thrown to indicate that a fuzz target has detected a critical severity security issue rather than
19  * a normal bug.
20  * <p>
21  * There is only a semantical but no functional difference between throwing exceptions of this type
22  * or any other. However, automated fuzzing platforms can use the extra information to handle the
23  * detected issues appropriately.
24  */
25 public class FuzzerSecurityIssueCritical extends RuntimeException {
FuzzerSecurityIssueCritical()26   public FuzzerSecurityIssueCritical() {}
27 
FuzzerSecurityIssueCritical(String message)28   public FuzzerSecurityIssueCritical(String message) {
29     super(message);
30   }
31 
FuzzerSecurityIssueCritical(String message, Throwable cause)32   public FuzzerSecurityIssueCritical(String message, Throwable cause) {
33     super(message, cause);
34   }
35 
FuzzerSecurityIssueCritical(Throwable cause)36   public FuzzerSecurityIssueCritical(Throwable cause) {
37     super(cause);
38   }
39 }
40