github / github/codeql-cli-binaries

How to create codeql DB for android?

Open
#50 11 comments 0 reactions 0 assignees View on GitHub
CLI
Dominant language
No language data
Stars
1k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

Hi, I tried to create codeql DB for android, but I got the error message:

$ codeql database create DATABASE_PATH --language=cpp --command="m"
Initializing database at DATABASE_PATH.
Running command [m] in /sources/android.
[2020-12-16 15:10:11] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/codeql-home/codeql/tools/linux64/preload_tracer, m])
[2020-12-16 15:10:11] [build-err] Runner failed to start 'm': No such file or directory
A fatal error occurred: Exit status 1 from command: [m]

Contributor guide

Open the contributing guide

Research direction

Start with the CodeQL CLI database create entry point and the reported command invocation in /sources/android. Determine the documented Android build command and prerequisites for the --command value, then confirm that the command completes and produces a usable CodeQL database.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
mobile-dev, security
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.