Skip to content

Commit 661a691

Browse files
committed
MSM: Remove @problem.severity tags with no effect
1 parent f86ab8d commit 661a691

6 files changed

Lines changed: 0 additions & 6 deletions

File tree

ql_demos/cpp/Qualcomm-MSM-copy_from_user/00_copy_from_user.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* @name Calls to copy_from_user
33
* @description Find all calls to copy_from_user.
4-
* @problem.severity warning
54
*/
65

76
import cpp

ql_demos/cpp/Qualcomm-MSM-copy_from_user/01_copy_from_user_annotated.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* @name Annotate with types and bounds
33
* @description Find all calls to copy_from_user and annotates them with their
44
* type and inferred size bounds.
5-
* @problem.severity warning
65
*/
76

87
import cpp

ql_demos/cpp/Qualcomm-MSM-copy_from_user/02_filter_with_upperbound.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* @description This query excludes results that are safe because the upper
44
* bound of the size argument is less than or equal to the size of
55
* the destination variable.
6-
* @problem.severity warning
76
*/
87

98
import cpp

ql_demos/cpp/Qualcomm-MSM-copy_from_user/03_filter_with_upperbound.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* @description This query excludes results that are safe because the upper
44
* bound of the size argument is less than or equal to the size of
55
* the destination variable or array.
6-
* @problem.severity warning
76
*/
87

98
import cpp

ql_demos/cpp/Qualcomm-MSM-copy_from_user/04_safe_malloc.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* @name kzalloc only
33
* @description If the copy_from_user is preceded by a kzalloc of the correct
44
* size, then it is safe. To demonstrate, find only those results.
5-
* @problem.severity warning
65
*/
76

87
import cpp

ql_demos/cpp/Qualcomm-MSM-copy_from_user/05_filter_with_upperbound_and_safe_malloc.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* the destination variable or array. It also excludes results
66
* that are safe because the right amount of memory was allocated
77
* with kzalloc.
8-
* @problem.severity warning
98
*/
109

1110
import cpp

0 commit comments

Comments
 (0)