Mathias Vorreiter Pedersen
84d08b0417
Revert "Merge pull request #12125 from jketema/unique-function"
...
This reverts commit 9c039c4a08 , reversing
changes made to ecd2003c14 .
2024-01-12 09:29:17 +00:00
Jeroen Ketema
1c9f5b8b74
Merge pull request #15300 from github/sashabu/uuidof
...
C++: Add a test with `__uuidof` in a template.
2024-01-12 00:05:49 +01:00
Alexandre Boulgakov
3493252321
C++: Add a test with __uuidof in a template.
2024-01-11 22:11:50 +01:00
Tom Hvitved
a1036c81ee
Merge pull request #15273 from hvitved/ruby/captured-yield
...
Ruby: Handle captured `yield` calls
2024-01-11 14:34:34 +01:00
Paolo Tranquilli
482b5f3b29
Merge pull request #15265 from github/redsun82/def-to-non-header-include-exceptions
...
C++: add `.def` to exceptions to AV rule 32
2024-01-11 08:34:43 +01:00
Tom Hvitved
ad75562b55
CPP: Update expected test output
2024-01-10 15:27:22 +01:00
Mathias Vorreiter Pedersen
7a0cbb4e5a
C++: Accept test changes.
2024-01-10 11:55:53 +00:00
Mathias Vorreiter Pedersen
0c3ea6c5df
C++: Fix conflation issue.
2024-01-10 11:55:39 +00:00
Mathias Vorreiter Pedersen
259bf27334
C++: Add pointer/pointee conflation test.
2024-01-10 11:51:40 +00:00
Tom Hvitved
c9cf2a899c
Merge pull request #15260 from hvitved/dataflow/may-benefit-from-cctx-simplify
...
Data flow: Remove column from `mayBenefitFromCallContext`
2024-01-10 11:43:15 +01:00
Paolo Tranquilli
27160b8861
C++: add change note
2024-01-09 15:31:43 +01:00
Paolo Tranquilli
0bfeadbf1f
C++: add .def to exception to test
2024-01-09 15:30:27 +01:00
Paolo Tranquilli
270df940ff
C++: add .def to exceptions to AV rule 32
...
This is used as textual includes in several projects for macro
metaprogramming, for example in `llvm-project` and in `swift` (and since
some time in our internal codebase as well).
2024-01-09 15:18:13 +01:00
Tom Hvitved
f90201eb56
Data flow: Remove column from mayBenefitFromCallContext
2024-01-09 11:34:43 +01:00
Mathias Vorreiter Pedersen
f5e1e49761
C++: Fix QLDoc on 'cmpWithLinearBound' as a response to #15248 .
2024-01-09 10:07:22 +00:00
Jeroen Ketema
9330afbe8a
Merge pull request #15252 from jketema/builtin-rm
...
C++: Remove test that is no longer relevant
2024-01-08 20:38:46 +01:00
Mathias Vorreiter Pedersen
18bd0d0ad0
Merge pull request #14954 from microsoft/32-cpp-string-concatenation-library
...
32 cpp string concatenation library
2024-01-08 18:42:31 +01:00
Jeroen Ketema
e772531bb3
C++: Remove test that is no longer relevant
2024-01-08 15:24:41 +01:00
github-actions[bot]
a6c8cc9551
Release preparation for version 2.16.0
2024-01-08 13:11:26 +00:00
Chuan-kai Lin
6f5bce046c
C++: Fix upgrade delete directives
2024-01-05 14:20:30 -08:00
Ben Rodes
250ed48bf3
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2024-01-05 08:19:11 -05:00
Ben Rodes
2b325e99ce
Merge branch 'main' into 32-cpp-string-concatenation-library
2024-01-04 15:28:28 -05:00
Benjamin Rodes
ed788e0a7a
Updating test output.
2024-01-04 15:27:29 -05:00
Benjamin Rodes
e9bb3b4b28
Limiting << operator to ostream, and putting this check at the same location as the check for basic_string for + operator.
2024-01-04 15:25:47 -05:00
Ben Rodes
8d84540a54
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
...
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com >
2024-01-04 09:09:20 -05:00
Jeroen Ketema
466536a914
Merge pull request #15214 from jketema/improve-test
...
C++: Improve special members test by printing more function details
2024-01-03 15:18:23 +01:00
Jeroen Ketema
ae135ac633
C++: Improve special members test by printing more function details
...
Without this it is very hard to see what specifically is defaulted/deleted.
2024-01-03 13:35:25 +01:00
Jeroen Ketema
262985a760
C++: Add change note
2024-01-02 16:32:24 +01:00
Jeroen Ketema
9c1de5b2b6
C++: Support more function types
2024-01-02 15:13:20 +01:00
Jeroen Ketema
f59a00c5ea
Update cpp/ql/lib/semmle/code/cpp/Specifier.qll
...
Co-authored-by: Calum Grant <42069085+calumgrant@users.noreply.github.com >
2024-01-02 12:52:18 +01:00
Jeroen Ketema
ad2fb7c6d5
C++: Support attribute arguments that are expressions
2023-12-23 10:04:50 +01:00
Aditya Sharad
bbe3269b8c
Merge pull request #15189 from github/adityasharad/merge/3.12-main
...
Merge `rc/3.12` into `main`
2023-12-22 11:26:37 -08:00
Jeroen Ketema
9c039c4a08
Merge pull request #12125 from jketema/unique-function
...
C++: Ensure that only one `Function` exists for every function
2023-12-22 13:56:35 +01:00
Jeroen Ketema
1cb02475a8
Update cpp/ql/lib/change-notes/2023-12-22-unique-function.md
2023-12-22 13:33:20 +01:00
Jeroen Ketema
d4f9e89b5b
C++: Add change note
2023-12-22 13:20:38 +01:00
Mathias Vorreiter Pedersen
ffdd28eaa9
C++: Show base variable in SSA variable 'toString's.
2023-12-22 10:29:31 +01:00
Aditya Sharad
b1803d0ac2
Merge rc/3.12 into main
2023-12-21 16:40:51 -08:00
Jeroen Ketema
f7da6f56f3
C++: Ensure that only one Function exists for every function
2023-12-21 16:33:22 +01:00
Mathias Vorreiter Pedersen
1007c4fc83
C++: Show indirections when printing SSA variables.
2023-12-21 10:38:58 +01:00
Mathias Vorreiter Pedersen
be3f9d3078
Merge pull request #15173 from jketema/unneeded
2023-12-20 12:43:42 +01:00
Mathias Vorreiter Pedersen
44124158c4
Merge pull request #15078 from alexet/unique-pointer-temporary
...
CPP: Add query for detecting invalid uses of temporary unique pointers.
2023-12-20 11:16:01 +01:00
Mathias Vorreiter Pedersen
57e0804cef
Update cpp/ql/src/Security/CWE/CWE-416/UseOfUniquePointerAfterLifetimeEnds.ql
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-12-20 10:52:42 +01:00
Jeroen Ketema
12abf07d1d
C++: Remove unneeded extractor option
2023-12-20 09:58:32 +01:00
Jeroen Ketema
4009b42891
Merge pull request #15146 from jketema/almost-empty-pch
...
C++: Update test after extractor changes
2023-12-19 16:20:35 +01:00
Benjamin Rodes
f26330e6bd
Removing redundant/bad string type check.
2023-12-19 09:41:29 -05:00
Benjamin Rodes
6fb01925d0
Updating test ql file and applying formatting.
2023-12-19 09:39:46 -05:00
Benjamin Rodes
48866e5358
Updates to address PR comments.
2023-12-19 09:33:07 -05:00
Ben Rodes
387eddadad
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2023-12-19 08:48:51 -05:00
Ben Rodes
29a0da6cd9
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
...
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com >
2023-12-19 08:48:20 -05:00
Ben Rodes
49728571cf
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2023-12-19 08:47:58 -05:00