`A2-5-2`: Missing query
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Empieza por localizar la consulta de CodeQL o la implementación de la regla para A2-5-2, ya que el issue no indica ningún archivo ni prueba. Revisa cómo debería manejar el checker las secuencias de dígrafos independientemente del flag -fno-digraphs de Clang y de la ausencia de un checker en GCC. La tarea estará terminada cuando la regla diagnostique las representaciones de dígrafos indicadas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Affected rules
A2-5-2
Description
The checker for "Rule A2-5-2 (required, implementation, automated) Digraphs shall not be used." was not implemented. Presumably, the expectation was that compiler flags would be sufficient. However, this is not the case.
Clang has the following flag:
-fno-digraphs
Disables alternative token representations <:, :>, <%, %>, %:, %:%: (default)
I haven't tested this, but presumably disable means that it stops converting them into the corresponding characters. However, to be compliant with the rule we need to diagnose these sequences of characters, even if they are not translated.
GCC is much worse, as they have no checker at all so there is no way to enforce this rule if you are using this compiler.
- Lenguaje dominante
- CodeQL
- Estrellas
- 227
- Forks
- 82
- Merge medio
- 6 d 7 h
- PR fusionados (30 d)
- 9
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/codeql-coding-standards
-
false positive/false negative Stardard-MISRA-C++
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/codeql-coding-standards#1172 ·
-
Difficulty-Low false positive/false negative false-negative Impact-Low Standard-MISRA-C
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Difficulty-Medium false positive/false negative false-positive Impact-Medium Standard-CERT-C
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
github/codeql-coding-standards#1200 ·
-
`RULE-0-0-1`: "unreachable statement" false positives due to over-pruning of the control-flow graph Abiertofalse positive/false negative
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
github/codeql-coding-standards#1190 ·
-
false positive/false negative
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
github/codeql-coding-standards#1175 ·
Todos los issues de github/codeql-coding-standards
Issues similares
-
todo:perf
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
StUnhex.number() misformats Long.MIN_VALUE as scientific notation instead of a plain integer Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
objectionary/eo#8894 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
objectionary/phie#154 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
objectionary/jeo-maven-plugin#1774 ·
-
Minor breakage w/ LLVM 7: `test_llvm.cpp: error: cannot convert 'llvm::Module' to 'llvm::Module*'` Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100