Óscar San José
d972af9ef8
Merge branch 'main' of https://github.com/github/codeql into oscarsj/mergeback-rc-3-20-into-main
2025-12-12 13:22:08 +01:00
github-actions[bot]
2854330759
Post-release preparation for codeql-cli-2.23.8
2025-12-08 15:49:10 +00:00
github-actions[bot]
66c51e979e
Release preparation for version 2.23.8
2025-12-08 14:38:23 +00:00
Paolo Tranquilli
b5f705a4f1
Merge pull request #20985 from asgerf/js/overlay-local-optional
...
JS: Use question-mark variant in all overlay annotations
2025-12-08 15:27:23 +01:00
Asger F
4d1200fd13
Revert changes in synced files
2025-12-08 13:26:19 +01:00
Asger F
294089fe35
JS: Use question-mark variant in all overlay annotations
2025-12-08 13:13:09 +01:00
Óscar San José
bc6133de5c
Merge branch 'main' of https://github.com/github/codeql into oscarsj/merge-back-rc-3.20
2025-12-05 19:31:47 +01:00
Anders Schack-Mulligen
78e1879c9e
Use more flowTo.
2025-12-03 14:12:08 +01:00
Anders Schack-Mulligen
dc6d3fe7ba
Use flowFrom.
2025-12-03 14:04:18 +01:00
github-actions[bot]
085faa2bdb
Post-release preparation for codeql-cli-2.23.7
2025-12-02 16:39:43 +00:00
github-actions[bot]
a045b317ac
Release preparation for version 2.23.7
2025-12-02 15:31:27 +00:00
github-actions[bot]
19a13467e0
Release preparation for version 2.23.7
2025-12-01 16:07:37 +00:00
Asger F
b8cff77cab
Merge pull request #20873 from github/shared-xml-discard
...
Share XML discard predicates
2025-12-01 10:06:02 +01:00
Asger F
6257bed089
Sync OverlayXml.qll
2025-11-28 09:23:49 +01:00
Asger F
0896be0df6
Merge pull request #20844 from Eliav2/20823-globalVarRef-document-defaultView
...
javascript: Add support for `document.defaultView` in global variable references
2025-11-27 11:50:23 +01:00
Asger F
d8027fb6d6
Merge pull request #20885 from asgerf/js/local-module-exports
...
JS: Split module exports into a local and global variant
2025-11-27 10:05:22 +01:00
Eliav2
69ba764e9d
Merge branch 'main' into 20823-globalVarRef-document-defaultView
2025-11-26 23:26:26 +02:00
Asger F
dbf14c190a
Factor XML discard predicates into OverlayXml.qll
2025-11-26 11:48:32 +01:00
Asger F
b33af5b377
JS: Fix typo
2025-11-26 11:40:41 +01:00
Asger F
5b4e114955
JS: Add test
2025-11-25 16:04:30 +01:00
Asger F
a91969b7e1
JS: Change note
2025-11-25 15:58:11 +01:00
Asger F
e95b3590f0
JS: Fix project layout detection for Next.js apps
...
Some parts of the code did not handle case where 'pages' was located at 'app/pages'.
2025-11-25 15:54:45 +01:00
Asger F
51e1bda608
JS: Move isTypeOnly() check into a direct check, instead of an override
2025-11-21 13:10:32 +01:00
Asger F
9c4f85f15b
JS: Split getSourceNode into getDirectSourceNode and getReExportedSourceNode
2025-11-21 12:42:30 +01:00
Asger F
94566e5e1e
JS: Remove unnecessary override in OriginalExportDeclaration
2025-11-21 12:42:10 +01:00
Asger F
3a393ecd54
Fixup! qldoc for reExportsAs
2025-11-21 12:41:34 +01:00
Asger F
78c8ab11f2
JS: Split exportsAs into exportsDirectlyAs and reExportsAs
2025-11-21 12:31:34 +01:00
Asger F
74d725ef21
JS: Remove unnecessary override in OriginalExportDeclaration
2025-11-21 12:31:09 +01:00
Asger F
ce9986c449
JS: Change signature of isShadowedFromBulkExport
2025-11-21 12:30:31 +01:00
Eliav2
6df789d114
Merge branch 'main' into 20823-globalVarRef-document-defaultView
2025-11-20 15:18:15 +02:00
eliav
91451b73ef
javascript: Update expected results for global variable references
2025-11-20 15:15:06 +02:00
Asger F
613895e0c0
Merge pull request #20424 from asgerf/js/overlay-manual-v4
...
JS: Add overlay annotations
2025-11-20 11:10:46 +01:00
eliav
08dfb95155
javascript: Add change note for document.defaultView aliasing window
...
Introduced a new change note detailing that `DataFlow::globalVarRef` now recognizes `document.defaultView` as an alias of `window`, enhancing the modeling of data flows involving `history` in queries.
2025-11-20 00:17:14 +02:00
Asger F
efa438a352
JS: Move identityFunctionStep back into CachedSteps module
2025-11-19 13:47:30 +01:00
Asger F
8fef60464e
JS: Remove out-commented code
2025-11-19 13:46:10 +01:00
Asger F
a0965f33e3
JS: Also discard JSON, YAML, and XML
2025-11-18 13:29:00 +01:00
github-actions[bot]
5ee45af3aa
Post-release preparation for codeql-cli-2.23.6
2025-11-18 09:53:12 +00:00
github-actions[bot]
18fa6799ce
Release preparation for version 2.23.6
2025-11-17 16:38:07 +00:00
Asger F
4b57b4418f
JS: Factor out some code
2025-11-17 10:48:15 +01:00
Asger F
a405b7b3e0
JS: Add discard predicates for locations
2025-11-17 10:47:37 +01:00
eliav
8047450668
javascript: Update property access for `document.defaultView as getAPropertyRead
...
Changed the method for accessing `defaultView` from `getAPropertyReference` to `getAPropertyRead` to improve accuracy in data flow analysis for global variable references.
2025-11-17 01:05:58 +02:00
eliav
bd18e862eb
javascript: add change note
2025-11-17 01:02:21 +02:00
eliav
30cc91421d
javascript: Add support for document.defaultView in global variable references
...
Updated the data flow analysis to include `document.defaultView` as a source node for global variable references. Added a new test file `tst4.js` and updated existing tests to verify the inclusion of `defaultView` and its properties in the expected results.
2025-11-17 00:52:06 +02:00
Asger F
c7341f295d
JS: Fix bad join in BarrierGuards.qll
2025-11-13 09:46:27 +01:00
Asger F
578355ac27
JS: Fix bad join in CallGraphs.qll
2025-11-13 09:46:25 +01:00
Asger F
46b1387846
JS: Make isAssignedInUniqueFile global, as it should be
2025-11-13 09:46:20 +01:00
Asger F
6498cd1b07
JS: Remove obsolete overlay[global] annotations
2025-11-13 09:46:18 +01:00
Asger F
0594f84dfc
JS: Improve join orders related to getABooleanValue()
2025-11-13 09:46:16 +01:00
Asger F
4645f327a5
JS: Avoid more bad joins due to locality
2025-11-13 09:46:14 +01:00
Asger F
269489e817
JS: Avoid bad join in shared predicate induced by 'forex'.
...
Use manual recursion instead.
2025-11-13 09:46:12 +01:00