Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
codeql-coding-standards
Public
Notifications
You must be signed in to change notification settings
Fork
78
Star
223
Code
Issues
116
Pull requests
20
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Files
Expand file tree
main
Breadcrumbs
codeql-coding-standards
/
cpp
/
common
/
src
/
codingstandards
/
cpp
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
codeql-coding-standards
/
cpp
/
common
/
src
/
codingstandards
/
cpp
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
alertreporting
alertreporting
allocations
allocations
ast
ast
concurrency
concurrency
deadcode
deadcode
deviations
deviations
dominance
dominance
enhancements
enhancements
exceptions
exceptions
exclusions
exclusions
exprs
exprs
graph
graph
guideline_recategorizations
guideline_recategorizations
lifetimes
lifetimes
orderofevaluation
orderofevaluation
resources
resources
rules
rules
sideeffect
sideeffect
standardlibrary
standardlibrary
trustboundary
trustboundary
types
types
AcceptableHeader.qll
AcceptableHeader.qll
AccessPath.qll
AccessPath.qll
AlertReporting.qll
AlertReporting.qll
Alignment.qll
Alignment.qll
Allocations.qll
Allocations.qll
BannedFunctions.qll
BannedFunctions.qll
BinaryOperations.qll
BinaryOperations.qll
BuiltInNumericTypes.qll
BuiltInNumericTypes.qll
CKeywords.qll
CKeywords.qll
CStyleCasts.qll
CStyleCasts.qll
Call.qll
Call.qll
CharFunctions.qll
CharFunctions.qll
Class.qll
Class.qll
Clvalues.qll
Clvalues.qll
CodingStandards.qll
CodingStandards.qll
CommentedOutCode.qll
CommentedOutCode.qll
CommonTypes.qll
CommonTypes.qll
Compiler.qll
Compiler.qll
Concurrency.qll
Concurrency.qll
Config.qll
Config.qll
ConstHelpers.qll
ConstHelpers.qll
ConstantExpressions.qll
ConstantExpressions.qll
Constructor.qll
Constructor.qll
Conversion.qll
Conversion.qll
Cpp14Literal.qll
Cpp14Literal.qll
Customizations.qll
Customizations.qll
Dereferenced.qll
Dereferenced.qll
DynamicCallGraph.qll
DynamicCallGraph.qll
DynamicMemory.qll
DynamicMemory.qll
Emergent.qll
Emergent.qll
EncapsulatingFunctions.qll
EncapsulatingFunctions.qll
Enums.qll
Enums.qll
ExceptionSafety.qll
ExceptionSafety.qll
Exclusions.qll
Exclusions.qll
Expr.qll
Expr.qll
Extensions.qll
Extensions.qll
FgetsErrorManagement.qll
FgetsErrorManagement.qll
FloatingPoint.qll
FloatingPoint.qll
Function.qll
Function.qll
FunctionEquivalence.qll
FunctionEquivalence.qll
FunctionLikeMacro.qll
FunctionLikeMacro.qll
FunctionParameter.qll
FunctionParameter.qll
Handlers.qll
Handlers.qll
HardwareOrProtocolInterface.qll
HardwareOrProtocolInterface.qll
Header.qll
Header.qll
Identifiers.qll
Identifiers.qll
Includes.qll
Includes.qll
Inheritance.qll
Inheritance.qll
InitializationContext.qll
InitializationContext.qll
InitializationFunctions.qll
InitializationFunctions.qll
IntegerConstantMacro.qll
IntegerConstantMacro.qll
IrreplaceableFunctionLikeMacro.qll
IrreplaceableFunctionLikeMacro.qll
Iterators.qll
Iterators.qll
Lambda.qll
Lambda.qll
Lex.qll
Lex.qll
Linkage.qll
Linkage.qll
Literals.qll
Literals.qll
Locations.qll
Locations.qll
LoggingOperation.qll
LoggingOperation.qll
Loops.qll
Loops.qll
Macro.qll
Macro.qll
MatchingParenthesis.qll
MatchingParenthesis.qll
MistypedFunctionArguments.qll
MistypedFunctionArguments.qll
NameInDependentBase.qll
NameInDependentBase.qll
Naming.qll
Naming.qll
Noreturn.qll
Noreturn.qll
Nullness.qll
Nullness.qll
Operator.qll
Operator.qll
OperatorDelete.qll
OperatorDelete.qll
Ordering.qll
Ordering.qll
OutOfBounds.qll
OutOfBounds.qll
Overflow.qll
Overflow.qll
PossiblyUnsafeStringOperation.qll
PossiblyUnsafeStringOperation.qll
PreprocessorDirective.qll
PreprocessorDirective.qll
ReadErrorsAndEOF.qll
ReadErrorsAndEOF.qll
Realloc.qll
Realloc.qll
RestrictedRangeAnalysis.qll
RestrictedRangeAnalysis.qll
Scope.qll
Scope.qll
Sfinae.qll
Sfinae.qll
View all files
You can’t perform that action at this time.