Skip to content

fix(lint): add strings.ToLower for callerSaveRegs lookup and handle n…#8

Merged
0xA672 merged 1 commit into
mainfrom
trae/solo-agent-xXFA8l
Jun 22, 2026
Merged

fix(lint): add strings.ToLower for callerSaveRegs lookup and handle n…#8
0xA672 merged 1 commit into
mainfrom
trae/solo-agent-xXFA8l

Conversation

@0xA672

@0xA672 0xA672 commented Jun 22, 2026

Copy link
Copy Markdown
Owner

…o-function-label case in splitFuncs

  • callerSaveCheck: normalize register names with strings.ToLower before looking up in callerSaveRegs map (fixes false negatives when assembly uses uppercase register names like PUSH RAX instead of PUSH rax)
  • splitFuncs: return entire code as one block if no '_' prefixed function labels exist (fixes empty function list causing lint to skip all checks)
  • from patch by anonymous contributor

…o-function-label case in splitFuncs

- callerSaveCheck: normalize register names with strings.ToLower before
  looking up in callerSaveRegs map (fixes false negatives when assembly
  uses uppercase register names like PUSH RAX instead of PUSH rax)
- splitFuncs: return entire code as one block if no '_' prefixed function
  labels exist (fixes empty function list causing lint to skip all checks)
- from patch by anonymous contributor
@github-project-automation github-project-automation Bot moved this to Todo in Vas Jun 22, 2026
@0xA672 0xA672 merged commit 4281355 into main Jun 22, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Vas Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant