github / github/codeql

No codeql for linux ARM64

Open
#20,616 17 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

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.

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Domain
security, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.