Skip to content

Commit 783f337

Browse files
committed
Update Banned package meta data
We updated the title, name, and description of queries to consistently quote code elements, use the US variant behavior, and remove the angle brackets from header file mentions.
1 parent ba1c8e9 commit 783f337

20 files changed

+80
-80
lines changed

c/cert/src/rules/ENV33-C/DoNotCallSystem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ENV33-C: Do not call system()
1+
# ENV33-C: Do not call 'system'
22

33
This query implements the CERT-C rule ENV33-C:
44

c/cert/src/rules/ENV33-C/DoNotCallSystem.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/cert/do-not-call-system
3-
* @name ENV33-C: Do not call system()
4-
* @description Use of the 'system()' function may result in exploitable vulnerabilities.
3+
* @name ENV33-C: Do not call 'system'
4+
* @description Use of the 'system' function may result in exploitable vulnerabilities.
55
* @kind problem
66
* @precision very-high
77
* @problem.severity error

c/misra/src/rules/RULE-17-1/FeaturesOfStdarghUsed.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/features-of-stdargh-used
3-
* @name RULE-17-1: The features of <stdarg.h> shall not be used
4-
* @description The use of the features of '<stdarg.h> may result in undefined behaviour.
3+
* @name RULE-17-1: The features of 'stdarg.h' shall not be used
4+
* @description The use of the features of 'stdarg.h' may result in undefined behavior.
55
* @kind problem
66
* @precision very-high
77
* @problem.severity error

c/misra/src/rules/RULE-19-2/UnionKeywordShouldNotBeUsed.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/union-keyword-should-not-be-used
3-
* @name RULE-19-2: The union keyword should not be used
4-
* @description The use of 'union' may result in undefined behaviour.
3+
* @name RULE-19-2: The 'union' keyword should not be used
4+
* @description The use of 'union' may result in undefined behavior.
55
* @kind problem
66
* @precision very-high
77
* @problem.severity warning

c/misra/src/rules/RULE-21-10/StandardLibraryTimeAndDateFunctionsUsed.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/standard-library-time-and-date-functions-used
33
* @name RULE-21-10: The Standard Library time and date functions shall not be used
4-
* @description The use of date and time functions may result in undefined behaviour.
4+
* @description The use of date and time functions may result in undefined behavior.
55
* @kind problem
66
* @precision very-high
77
* @problem.severity error

c/misra/src/rules/RULE-21-11/StandardHeaderFileTgmathhUsed.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/standard-header-file-tgmathh-used
3-
* @name RULE-21-11: The standard header file <tgmath.h> shall not be used
4-
* @description The use of the header file '<tgmath.h>' may result in undefined behaviour.
3+
* @name RULE-21-11: The standard header file 'tgmath.h' shall not be used
4+
* @description The use of the header file 'tgmath.h' may result in undefined behavior.
55
* @kind problem
66
* @precision very-high
77
* @problem.severity error

c/misra/src/rules/RULE-21-12/ExceptionHandlingFeaturesOfFenvhUsed.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @id c/misra/exception-handling-features-of-fenvh-used
3-
* @name RULE-21-12: The exception handling features of <fenv.h> should not be used
4-
* @description The use of the exception handling features of '<fenv.h>' may result in undefined
5-
* behaviour.
3+
* @name RULE-21-12: The exception handling features of 'fenv.h' should not be used
4+
* @description The use of the exception handling features of 'fenv.h' may result in undefined
5+
* behavior.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity warning

c/misra/src/rules/RULE-21-21/SystemOfStdlibhUsed.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/system-of-stdlibh-used
3-
* @name RULE-21-21: The Standard Library function system of <stdlib.h> shall not be used
4-
* @description They use of the 'system()' function from '<stdlib.h> may result in exploitable
3+
* @name RULE-21-21: The Standard Library function system of 'stdlib.h' shall not be used
4+
* @description They use of the 'system()' function from 'stdlib.h' may result in exploitable
55
* vulnerabilities.
66
* @kind problem
77
* @precision very-high

c/misra/src/rules/RULE-21-3/MemoryAllocDeallocFunctionsOfStdlibhUsed.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @id c/misra/memory-alloc-dealloc-functions-of-stdlibh-used
3-
* @name RULE-21-3: The memory allocation and deallocation functions of <stdlib.h> shall not be used
4-
* @description The use of memory allocation and deallocation in '<stdlib.h>' may result in
5-
* undefined behaviour.
3+
* @name RULE-21-3: The memory allocation and deallocation functions of 'stdlib.h' shall not be used
4+
* @description The use of memory allocation and deallocation in 'stdlib.h' may result in undefined
5+
* behavior.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity error

c/misra/src/rules/RULE-21-4/StandardHeaderFileUsedSetjmph.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/standard-header-file-used-setjmph
3-
* @name RULE-21-4: The standard header file shall not be used <setjmp.h>
4-
* @description The use of features of '<setjmp.h>' may result in undefined behaviour.
3+
* @name RULE-21-4: The standard header file shall not be used 'setjmp.h'
4+
* @description The use of features of 'setjmp.h' may result in undefined behavior.
55
* @kind problem
66
* @precision very-high
77
* @problem.severity error

c/misra/src/rules/RULE-21-5/StandardHeaderFileUsedSignalh.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/standard-header-file-used-signalh
3-
* @name RULE-21-5: The standard header file shall not be used <signal.h>
4-
* @description The use of features of '<signal.h>' may result in undefined behaviour.
3+
* @name RULE-21-5: The standard header file shall not be used 'signal.h'
4+
* @description The use of features of 'signal.h' may result in undefined behavior.
55
* @kind problem
66
* @precision very-high
77
* @problem.severity error

c/misra/src/rules/RULE-21-6/StandardLibraryInputoutputFunctionsUsed.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @id c/misra/standard-library-inputoutput-functions-used
33
* @name RULE-21-6: The Standard Library input/output functions shall not be used
44
* @description The use of the Standard Library input/output functions may result in undefined
5-
* behaviour.
5+
* behavior.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity error

c/misra/src/rules/RULE-21-7/AtofAtoiAtolAndAtollOfStdlibhUsed.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @id c/misra/atof-atoi-atol-and-atoll-of-stdlibh-used
3-
* @name RULE-21-7: The Standard Library functions atof, atoi, atol and atoll of <stdlib.h> shall not be used
4-
* @description The use of Standard Library functions atof, atoi, atol and atoll of <stdlib.h> may
5-
* result in undefined behaviour.
3+
* @name RULE-21-7: The Standard Library functions 'atof', 'atoi', 'atol' and 'atoll' of 'stdlib.h' shall not be used
4+
* @description The use of Standard Library functions 'atof', 'atoi', 'atol' and 'atoll' of
5+
* 'stdlib.h' may result in undefined behavior.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity error

c/misra/src/rules/RULE-21-8/TerminationFunctionsOfStdlibhUsed.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @id c/misra/termination-functions-of-stdlibh-used
3-
* @name RULE-21-8: The Standard Library termination functions of <stdlib.h> shall not be used
4-
* @description The use of the Standard Library functions 'abort', 'exit' and 'system' of <stdlib.h>
5-
* may result in undefined behaviour.
3+
* @name RULE-21-8: The Standard Library termination functions of stdlib.h shall not be used
4+
* @description The use of the Standard Library functions 'abort', 'exit' and 'system' of 'stdlib.h'
5+
* may result in undefined behavior.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity error

c/misra/src/rules/RULE-21-8/TerminationMacrosOfStdlibhUsed.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @id c/misra/termination-macros-of-stdlibh-used
3-
* @name RULE-21-8: The Standard Library termination macros of <stdlib.h> shall not be used
4-
* @description The use of the Standard Library macros 'abort', 'exit' and 'system' of <stdlib.h>
5-
* may result in undefined behaviour.
3+
* @name RULE-21-8: The Standard Library termination macros of 'stdlib.h' shall not be used
4+
* @description The use of the Standard Library macros 'abort', 'exit' and 'system' of 'stdlib.h'
5+
* may result in undefined behavior.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity warning

c/misra/src/rules/RULE-21-9/BsearchAndQsortOfStdlibhUsed.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @id c/misra/bsearch-and-qsort-of-stdlibh-used
3-
* @name RULE-21-9: The Standard Library functions bsearch and qsort of <stdlib.h> shall not be used
4-
* @description The use of the Standard Library functions 'bsearch' and 'qsort' of <stdlib.h> may
5-
* result in undefined behaviour.
3+
* @name RULE-21-9: The Standard Library functions 'bsearch' and 'qsort' of 'stdlib.h' shall not be used
4+
* @description The use of the Standard Library functions 'bsearch' and 'qsort' of 'stdlib.h' may
5+
* result in undefined behavior.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity error

c/misra/src/rules/RULE-4-12/StdLibDynamicMemoryAllocationUsed.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* @id c/misra/std-lib-dynamic-memory-allocation-used
33
* @name RULE-4-12: Dynamic memory allocation shall not be used
4-
* @description Using dynamic memory allocation and deallocation can result to undefined behaviour.
4+
* @description Using dynamic memory allocation and deallocation can result to undefined behavior.
55
* This query is for the Standard Library Implementation. Any implementation outside it
6-
* will require a seperate query under the same directive
6+
* will require a separate query under the same directive
77
* @kind problem
88
* @precision very-high
99
* @problem.severity error

c/misra/src/rules/RULE-7-1/OctalConstantsUsed.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/octal-constants-used
33
* @name RULE-7-1: Octal constants shall not be used
4-
* @description The use of octal constants affects the readbility of the program and should not be
4+
* @description The use of octal constants affects the readability of the program and should not be
55
* used.
66
* @kind problem
77
* @precision very-high

c/misra/src/rules/RULE-8-14/RestrictTypeQualifierUsed.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id c/misra/restrict-type-qualifier-used
33
* @name RULE-8-14: The restrict type qualifier shall not be used
4-
* @description The use of the 'restrict' type qualifier may result in undefined behaviour.
4+
* @description The use of the 'restrict' type qualifier may result in undefined behavior.
55
* @kind problem
66
* @precision very-high
77
* @problem.severity error

0 commit comments

Comments
 (0)