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

0 commit comments

Comments
 (0)