Michael R Fairhurst

Results 86 issues of Michael R Fairhurst

### Affected rules - `CON34-C` ### Description [The documentation](https://wiki.sei.cmu.edu/confluence/display/c/CON34-C.+Declare+objects+shared+between+threads+with+appropriate+storage+durations) seems to describe the risk of passing a `tss_t` into a thread. The risk here is that the new thread will...

false positive/false negative
Standard-CERT-C

### Affected rules - `RULE-18-1` - `M5-0-16` ### Description The query expects that as pointers are made they are assigned to variables, and assumes that pointers into arrays always use...

Difficulty-Medium
Impact-Medium
false positive/false negative
false-negative
Standard-AUTOSAR
Standard-MISRA-C

A new module in [https://github.com/github/codeql-coding-standards/pull/784](thisPR) adds support for reducing noise from reports in macros, which `A5-2-2` and `RULE-1-2` both have logic to do. This module should be integrated and will...

enhancement
Difficulty-Low
Impact-Low
Standard-AUTOSAR
Standard-MISRA-C

### Affected rules - `RULE-2-2`, and likely others ### Description These rules look for dead code and exclude results from macros to reduce noise, since macros may be expanded dozens...

enhancement
Difficulty-Low
Impact-Low
false positive/false negative
false-negative
Standard-AUTOSAR
Standard-MISRA-C
Stardard-MISRA-C++

### Affected rules - `RULE-10-4` ### Description The text states that the rule applies to _usual arithmetic conversions_, and the c spec states that for `a ? b : c`...

Difficulty-Low
Impact-Low
false positive/false negative
false-negative
Standard-MISRA-C

It's awkward to call a function when a parameter is not null, such as: ```dart String toPrint; if (toPrint != null) { print(toPrint); } ``` This is significantly more work...

request