github / github/codeql

No codeql for linux ARM64

Aperta
#20,616 17 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

We have developers trying to run codeql in a container from their macs. The container is important to testing, and we don't want to run codeql outside of it. Codeql for linux currently only built for AMD64.

There is emulation using `--platform=linux/amd64`, but that is prone to sever performance degradation.

We have noticed some OS specific logic in the `codeql` script that falsely correlates architecture to operating system. I wonder if that is the only logic standing in our way from using the osx ARM64 version in a linux container? Ideally, the script would consider architecture separately from operating system.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by inspecting the OS-specific logic in the `codeql` script and the container setup mentioned in the issue. Trace where operating system and architecture are coupled, then verify that CodeQL runs in a Linux ARM64 container without AMD64 emulation while preserving existing platform behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
security, tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.