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
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 }}
panicCreator
/
codeql
Public
forked from
github/codeql
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
codeql
cpp
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 2, 2021
Documentation: Update C/C++ Element::fromSource() docs
Show description for 9982112
aeisenberg
committed
9982112
View commit details
Copy full SHA for 9982112
View code at this point
Browse repository at this point
Commits on Mar 1, 2021
Merge pull request #5256 from MathiasVP/promote-insecure-memset-query
Show description for 208a374
jbj
authored
208a374
View commit details
Copy full SHA for 208a374
View code at this point
Browse repository at this point
Commits on Feb 26, 2021
Update cpp/change-notes/2021-02-24-memset-may-be-deleted.md
Show description for d4f7fab
MathiasVP
and
shati-patel
authored
d4f7fab
View commit details
Copy full SHA for d4f7fab
View code at this point
Browse repository at this point
Update cpp/ql/src/Security/CWE/CWE-014/MemsetMayBeDeleted.qhelp
Show description for 0f72567
MathiasVP
and
shati-patel
authored
0f72567
View commit details
Copy full SHA for 0f72567
View code at this point
Browse repository at this point
C++: Respond to review comments.
MathiasVP
committed
42d2a67
View commit details
Copy full SHA for 42d2a67
View code at this point
Browse repository at this point
Update cpp/change-notes/2021-02-24-memset-may-be-deleted.md
Show description for 4e4ffbd
MathiasVP
and
jbj
authored
4e4ffbd
View commit details
Copy full SHA for 4e4ffbd
View code at this point
Browse repository at this point
C++: Make the tests more realistic by actually using the local variable for something. Otherwise it looks like a zero-initialization of a buffer, which the query now tries to exclude.
MathiasVP
committed
72daf2e
View commit details
Copy full SHA for 72daf2e
View code at this point
Browse repository at this point
Commits on Feb 25, 2021
C++: Exclude memsets that clear a variable that has no other uses.
MathiasVP
committed
faadcd9
View commit details
Copy full SHA for faadcd9
View code at this point
Browse repository at this point
Update cpp/ql/src/Security/CWE/CWE-014/MemsetMayBeDeleted.ql
Show description for 2777ca4
MathiasVP
and
intrigus-lgtm
authored
2777ca4
View commit details
Copy full SHA for 2777ca4
View code at this point
Browse repository at this point
C++: Respond to review comments. Relax the escaping requirements on the local variable being used in memset.
MathiasVP
committed
9e7c9d0
View commit details
Copy full SHA for 9e7c9d0
View code at this point
Browse repository at this point
Update cpp/ql/src/Security/CWE/CWE-014/MemsetMayBeDeleted.ql
Show description for 3f26b29
MathiasVP
and
jbj
authored
3f26b29
View commit details
Copy full SHA for 3f26b29
View code at this point
Browse repository at this point
C++: Fix test annotations. Also exclude static locals from the query and add a testcase for this.
MathiasVP
committed
d332093
View commit details
Copy full SHA for d332093
View code at this point
Browse repository at this point
Merge pull request #5257 from MathiasVP/doh-its-2021-mathias
Show description for 2b54c33
jbj
authored
2b54c33
View commit details
Copy full SHA for 2b54c33
View code at this point
Browse repository at this point
Commits on Feb 24, 2021
C++: Add change-note.
MathiasVP
committed
70a953b
View commit details
Copy full SHA for 70a953b
View code at this point
Browse repository at this point
C++: Move tests out of experimental and merge with old existing tests from the other memset PRs.
MathiasVP
committed
ef8b734
View commit details
Copy full SHA for ef8b734
View code at this point
Browse repository at this point
C++: Promote memset query out of experimental.
MathiasVP
committed
c44fbaa
View commit details
Copy full SHA for c44fbaa
View code at this point
Browse repository at this point
C++: Turns out we're in 2021 and not 2020.
MathiasVP
committed
fc4162b
View commit details
Copy full SHA for fc4162b
View code at this point
Browse repository at this point
C++: 'side-effect free'.
geoffw0
committed
358a8fe
View commit details
Copy full SHA for 358a8fe
View code at this point
Browse repository at this point
Commits on Feb 23, 2021
C++: QLDoc.
geoffw0
committed
431a004
View commit details
Copy full SHA for 431a004
View code at this point
Browse repository at this point
Commits on Feb 22, 2021
Merge pull request #5217 from MathiasVP/model-bsd-sockets-part-3
Show description for 362c12c
geoffw0
authored
362c12c
View commit details
Copy full SHA for 362c12c
View code at this point
Browse repository at this point
C++: Remove `hasTaintFlow` from poll and select functions.
MathiasVP
committed
f908d2f
View commit details
Copy full SHA for f908d2f
View code at this point
Browse repository at this point
Commits on Feb 19, 2021
C++: Address review comments.
MathiasVP
committed
576a872
View commit details
Copy full SHA for 576a872
View code at this point
Browse repository at this point
C++: Add CWE-676 tag.
geoffw0
committed
7933805
View commit details
Copy full SHA for 7933805
View code at this point
Browse repository at this point
C++: Implement models for poll, accept and select.
MathiasVP
committed
fef824c
View commit details
Copy full SHA for fef824c
View code at this point
Browse repository at this point
Commits on Feb 18, 2021
Merge pull request #5196 from MathiasVP/fix-dataflow-regression-const-member-function
Show description for c4cca83
geoffw0
authored
c4cca83
View commit details
Copy full SHA for c4cca83
View code at this point
Browse repository at this point
Merge pull request #5114 from geoffw0/codeqltestdoc
Show description for 88263cb
MathiasVP
authored
88263cb
View commit details
Copy full SHA for 88263cb
View code at this point
Browse repository at this point
Merge branch 'main' into fix-dataflow-regression-const-member-function
MathiasVP
committed
3082d70
View commit details
Copy full SHA for 3082d70
View code at this point
Browse repository at this point
Commits on Feb 17, 2021
Merge pull request #5157 from geoffw0/modelsbsl2
Show description for ebcecca
criemen
authored
ebcecca
View commit details
Copy full SHA for ebcecca
View code at this point
Browse repository at this point
C++: Fix missing AST flow.
MathiasVP
committed
908f24d
View commit details
Copy full SHA for 908f24d
View code at this point
Browse repository at this point
Merge pull request #5185 from MathiasVP/block-integral-types-in-cgixss-query
Show description for e0dca2b
MathiasVP
authored
e0dca2b
View commit details
Copy full SHA for e0dca2b
View code at this point
Browse repository at this point
Merge pull request #5191 from MathiasVP/regression-test-const-member-function
Show description for ec79094
geoffw0
authored
ec79094
View commit details
Copy full SHA for ec79094
View code at this point
Browse repository at this point
Update cpp/ql/test/query-tests/Security/CWE/CWE-079/semmle/CgiXss/search.c
Show description for 25beadc
MathiasVP
and
geoffw0
authored
25beadc
View commit details
Copy full SHA for 25beadc
View code at this point
Browse repository at this point
C++: Simplify IteratorAssignArithmeticOperator.
geoffw0
committed
c07a608
View commit details
Copy full SHA for c07a608
View code at this point
Browse repository at this point
Merge pull request #5187 from geoffw0/modelsbsl5
Show description for e1c4406
MathiasVP
authored
e1c4406
View commit details
Copy full SHA for e1c4406
View code at this point
Browse repository at this point
Merge pull request #5186 from geoffw0/modelsbsl4
Show description for 6db75df
MathiasVP
authored
6db75df
View commit details
Copy full SHA for 6db75df
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.