-
Notifications
You must be signed in to change notification settings - Fork 3
Drive LED panel cards over raw Ethernet; free 13.7 KB of static RAM #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8d491cb
Run every LED driver on the desktop; report comments per declaration
ewowi a1ef9ec
Guard-form column on the hot-path report; safe string→int; CodeQL card
ewowi 1aff3df
Name the LED peripheral by its silicon; shrink the JSON int parse
ewowi 5c8b208
Drive LED panel cards over raw Ethernet (PanelCardDriver)
ewowi 2c4ea97
Process review findings; pre-merge docs, perf and permissions
ewowi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,40 +1,79 @@ | ||
| { | ||
| "permissions": { | ||
| "allow": [ | ||
| "PowerShell(& \"C:\\\\Users\\\\ewoud\\\\.local\\\\bin\\\\uv.exe\" run moondeck/*)", | ||
| "PowerShell(& \"C:\\\\Users\\\\ewoud\\\\.local\\\\bin\\\\uv.exe\" run --with * python *)", | ||
| "PowerShell(& \"C:\\\\Users\\\\ewoud\\\\.local\\\\bin\\\\uv.exe\" run python *)", | ||
| "PowerShell(& \"C:\\\\Users\\\\ewoud\\\\.local\\\\bin\\\\uv.exe\" pip *)", | ||
| "PowerShell(& \"C:\\\\Program Files\\\\CMake\\\\bin\\\\cmake.exe\" *)", | ||
| "PowerShell($env:Path = \"C:\\\\Program Files\\\\CMake\\\\bin;\" + $env:Path; *)", | ||
| "PowerShell($env:Path = \"C:\\\\Program Files\\\\GitHub CLI;\" + $env:Path; *)", | ||
| "PowerShell(Get-PnpDevice*)", | ||
| "PowerShell(Get-Item *)", | ||
| "PowerShell(Get-ItemProperty *)", | ||
| "PowerShell(Get-ChildItem *)", | ||
| "PowerShell(Get-Command * -ErrorAction SilentlyContinue*)", | ||
| "PowerShell(Get-Content *)", | ||
| "PowerShell(Get-Process *)", | ||
| "PowerShell(Get-WmiObject *)", | ||
| "PowerShell(Test-Path *)", | ||
| "PowerShell(Write-Host *)", | ||
| "PowerShell(Start-Sleep *)", | ||
| "PowerShell(Start-Process *)", | ||
| "PowerShell(New-Item *)", | ||
| "PowerShell(Remove-Item *)", | ||
| "PowerShell(Rename-Item *)", | ||
| "PowerShell(& gh *)", | ||
| "PowerShell(& git *)", | ||
| "PowerShell(Invoke-RestMethod *)", | ||
| "PowerShell(winget install *)", | ||
| "PowerShell(winget --version)", | ||
| "PowerShell($venv * python.exe *)", | ||
| "Bash(grep *)", | ||
| "Bash(Test-Path *)", | ||
| "Bash(Start-Sleep *)", | ||
| "Bash(Write-Host *)", | ||
| "Read(//c/Users/ewoud/esp/esp-idf/tools/**)", | ||
| "WebFetch(domain:github.com)" | ||
| "Bash(./build/projectMM:*)", | ||
| "Bash(./build/test/mm_scenarios:*)", | ||
| "Bash(./build/test/mm_tests:*)", | ||
| "Bash(arp -a)", | ||
| "Bash(awk:*)", | ||
| "Bash(cat:*)", | ||
| "Bash(clang++:*)", | ||
| "Bash(clang:*)", | ||
| "Bash(cmake:*)", | ||
| "Bash(cp .claude/settings.local.json .claude/settings.local.cleaned.json)", | ||
| "Bash(ctest:*)", | ||
| "Bash(curl -s*github.com/MoonModules*)", | ||
| "Bash(curl -s*raw.githubusercontent.com*)", | ||
| "Bash(echo:*)", | ||
| "Bash(gh api *)", | ||
| "Bash(gh auth *)", | ||
| "Bash(gh pr *)", | ||
| "Bash(gh run *)", | ||
| "Bash(gh search *)", | ||
| "Bash(git check-ignore *)", | ||
| "Bash(git fetch *)", | ||
| "Bash(git ls-remote *)", | ||
| "Bash(git mv:*)", | ||
| "Bash(grep:*)", | ||
| "Bash(gunzip:*)", | ||
| "Bash(head:*)", | ||
| "Bash(ipconfig getsummary *)", | ||
| "Bash(ls:*)", | ||
| "Bash(lsof:*)", | ||
| "Bash(networksetup -listallhardwareports)", | ||
| "Bash(node --check:*)", | ||
| "Bash(node --input-type=module -e ' *)", | ||
| "Bash(node --test:*)", | ||
| "Bash(node -e ' *)", | ||
| "Bash(npm install *)", | ||
| "Bash(npm test *)", | ||
| "Bash(objcopy:*)", | ||
| "Bash(objdump:*)", | ||
| "Bash(otool:*)", | ||
| "Bash(pkill:*)", | ||
| "Bash(ps:*)", | ||
| "Bash(sed:*)", | ||
| "Bash(sort:*)", | ||
| "Bash(system_profiler SPUSBDataType)", | ||
| "Bash(tail:*)", | ||
| "Bash(timeout 5 dns-sd -B _http._tcp local.)", | ||
| "Bash(uv run *)", | ||
| "Edit", | ||
| "Read(//Users/ewoud/**)", | ||
| "Read(//Users/ewoud/esp/esp-idf/**)", | ||
| "Read(//dev/**)", | ||
| "WebFetch(domain:components.espressif.com)", | ||
| "WebFetch(domain:components101.com)", | ||
| "WebFetch(domain:developer.espressif.com)", | ||
| "WebFetch(domain:devices.esphome.io)", | ||
| "WebFetch(domain:docs.espressif.com)", | ||
| "WebFetch(domain:easyelecmodule.com)", | ||
| "WebFetch(domain:files.waveshare.com)", | ||
| "WebFetch(domain:github.com)", | ||
| "WebFetch(domain:kno.wled.ge)", | ||
| "WebFetch(domain:mm.kno.wled.ge)", | ||
| "WebFetch(domain:moonmodules.org)", | ||
| "WebFetch(domain:raw.githubusercontent.com)", | ||
| "WebFetch(domain:www.digikey.com)", | ||
| "WebFetch(domain:www.farnell.com)", | ||
| "WebFetch(domain:www.waveshare.com)", | ||
| "WebSearch", | ||
| "Write" | ||
| ], | ||
| "additionalDirectories": [ | ||
| "/tmp", | ||
| "/Users/ewoud/esp/esp-idf/components/esp_mm/include", | ||
| "/Users/ewoud/Developer/GitHub/MoonModules/projectMM/.claude" | ||
| ] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,15 @@ | ||
| name: "projectMM CodeQL config" | ||
|
|
||
| # Code we did not write and will not change is not a finding we can act on. doctest.h is the | ||
| # vendored single-header test framework (test/doctest.h) and produced the only critical alert | ||
| # in the tree that we do not own — excluding it here is the standard mechanism, rather than | ||
| # dismissing the same alert by hand after every scan. | ||
| # vendored single-header test framework (test/doctest.h) and the only third-party source in the | ||
| # repo; everything else under src/ and test/ is ours. Add to this list only for genuinely | ||
| # third-party code, never to quiet a finding in our own. | ||
| # | ||
| # This is the ONLY vendored source in the repo; everything else under src/ and test/ is ours. | ||
| # Add to this list only for genuinely third-party code, never to quiet a finding in our own. | ||
| # NB it does NOT suppress findings inside doctest.h. For C/C++ `paths-ignore` filters which files | ||
| # are ANALYZED, not which are extracted through an `#include`: 143 test files include this header, | ||
| # so its code reaches the database via them and alerts still land on it (measured — the critical | ||
| # `cpp/use-after-free` at doctest.h:3705 stayed open across scans after this entry was added, and | ||
| # was dismissed in the Security tab instead). Kept because it still drops the header as a | ||
| # standalone analysis target; the dismissal is what actually silences it. | ||
| paths-ignore: | ||
| - test/doctest.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Trigger CodeQL when test C/C++ changes.
The comment says C/C++ changes trigger analysis, but
test/**is absent. Test alerts remain stale until an unrelatedsrc/**or configuration change triggers a scan, despite the reporter explicitly surfacing them.- 'src/**' + - 'test/**' - '.github/workflows/codeql.yml'📝 Committable suggestion
🤖 Prompt for AI Agents