Skip to content

Misc. fixes

Misc. fixes #500

Triggered via pull request October 4, 2024 10:49
Status Success
Total duration 8m 38s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): src/libraries/Highbyte.DotNet6502.AI/CodingAssistant/Inference/OpenAI/ResponseCache.cs#L62
Possible null reference argument for parameter 'source' in 'ChatMessage? Enumerable.LastOrDefault<ChatMessage>(IEnumerable<ChatMessage> source)'.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems/HostApp.cs#L389
Possible null reference return.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/C64.cs#L169
Non-nullable property 'BasicTokenParser' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/C64.cs#L169
Non-nullable property 'TextPaste' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Config/C64Config.cs#L28
Non-nullable property 'ROMDirectory' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L128
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L180
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L248
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L132
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)