Skip to content Navigation Menu Toggle navigation Sign in Appearance settings PlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub Copilot appDirect agents from issue to mergeMCP RegistryNewIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityAcceleratorGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricing Search or jump to... Search code, repositories, users, issues, pull requests... Search Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Saved searches Use saved searches to filter your results more quickly Name Query To see all available qualifiers, see our documentation. Sign in Sign up Appearance settings Resetting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} github / codeql Public Notifications You must be signed in to change notification settings Fork 2k Star 9.7k Code Issues 982 Pull requests 417 Discussions Actions Projects Models Security and quality 0 Insights Additional navigation options Code Issues Pull requests Discussions Actions Projects Models Security and quality Insights FilesExpand file tree codeql-cli/v2.25.0Breadcrumbscodeql/.gitattributesCopy pathBlameMore file actionsBlameMore file actions Latest commit HistoryHistoryHistory87 lines (77 loc) · 2.68 KB codeql-cli/v2.25.0Breadcrumbscodeql/.gitattributesCopy pathTopFile metadata and controlsCodeBlame87 lines (77 loc) · 2.68 KBRawCopy raw fileDownload raw fileOpen symbols panelEdit and raw actions123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687# Text files will be normalized to LF line endings in the Git database, and will keep those LF line# endings in the working tree even on Windows. If you make changes below, you should renormalize the# affected files by running the following from the root of this repo (requires Git 2.16 or greater):## git add --renormalize .# git status [just to show what files were renormalized]# git commit -m "Normalize line endings" # Anything Git auto-detects as text gets normalized and checked out as LF* text=auto eol=lf # Explicitly set a bunch of known extensions to text, in case auto detection gets confused.*.ql text*.qll text*.qlref text*.dbscheme text*.qhelp text*.html text*.htm text*.xhtml text*.xhtm text*.js text*.mjs text*.ts text*.json text*.yml text*.yaml text*.c text*.cpp text*.h text*.hpp text*.md text*.stats text*.xml text*.sh text*.pl text*.java text*.cs text*.py text*.lua text*.expected text*.go text # Explicitly set a bunch of known extensions to binary, because Git < 2.10 will treat# `* text=auto eol=lf` as `* text eol=lf`*.png -text*.jpg -text*.jpeg -text*.gif -text*.dll -text*.pdb -text /java/ql/test/stubs/**/*.java linguist-generated=true/java/ql/test/experimental/stubs/**/*.java linguist-generated=true/java/kotlin-extractor/deps/*.jar filter=lfs diff=lfs merge=lfs -text # Force git not to modify line endings for go or html files under the go/ql directory/go/ql/**/*.go -text/go/ql/**/*.html -text# Force git not to modify line endings for go dbschemes/go/*.dbscheme -text# Preserve unusual line ending from codeql-go merge/go/extractor/opencsv/CSVReader.java -text # For some languages, upgrade script testing references really old dbscheme# files from legacy upgrades that have CRLF line endings. Since upgrade# resolution relies on object hashes, we must suppress line ending conversion# for those testing dbscheme files./*/ql/lib/upgrades/initial/*.dbscheme -text # Auto-generated modeling for Python/python/ql/lib/semmle/python/frameworks/data/internal/subclass-capture/*.yml linguist-generated=true # auto-generated bazel lock file/ruby/extractor/cargo-bazel-lock.json linguist-generated=true/ruby/extractor/cargo-bazel-lock.json -merge # auto-generated files for the C# build/csharp/paket.lock linguist-generated=true# needs eol=crlf, as `paket` touches this file and saves it as crlf/csharp/.paket/Paket.Restore.targets linguist-generated=true eol=crlf/csharp/paket.main.bzl linguist-generated=true/csharp/paket.main_extension.bzl linguist-generated=true # swift prebuilt resources/swift/third_party/resources/*.zip filter=lfs diff=lfs merge=lfs -text/swift/third_party/resources/*.tar.zst filter=lfs diff=lfs merge=lfs -text You can’t perform that action at this time.