Skip to content
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

Platform support request: FreeBSD #10982

Open
ryao opened this issue Oct 26, 2022 · 1 comment
Open

Platform support request: FreeBSD #10982

ryao opened this issue Oct 26, 2022 · 1 comment
Labels
question Further information is requested

Comments

@ryao
Copy link

ryao commented Oct 26, 2022

We are in the early stages of adopting CodeQL in the OpenZFS project. The official repository currently supports both Linux and FreeBSD; and in the hopefully near future, it should also gain support for Windows and MacOS. Being able to run CodeQL on each platform to check the platform specific code for issues would be awesome. Unfortunately, FreeBSD is not one of the currently supported platforms:

https://codeql.github.com/docs/codeql-overview/system-requirements/

This issue is to request FreeBSD support, so that we will be able to run CodeQL scans on all OpenZFS platforms.

@ryao ryao added the question Further information is requested label Oct 26, 2022
@hmakholm
Copy link
Contributor

Thanks for the feedback. FreeBSD support is not on our near-term roadmap.

Unfortunately, introducing support for FreeBSD is not as easy as just recompiling existing code. CodeQL turns code into queryable databases by running a build in a semi-sandboxed environment where it can observe exactly what gets compiled and with which flags. The sandboxing mechanism is extremely platform-specific (not to mention maintenance intensive when new versions of an OS start doing things slightly differently). Even though it would probably be possible to develop one that works on FreeBSD, so far we feel it would be a better use of our resources to work on improved language support and analysis depth on the platforms we do have support for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants
@ryao @hmakholm and others