Jonas Jensen
|
defe99503d
|
Merge pull request #2113 from raulgarciamsft/users/raulga/boost
Users/raulga/boost
|
2019-10-20 13:14:44 +02:00 |
|
Geoffrey White
|
446763d331
|
CPP: Fix typo.
|
2019-10-18 14:47:21 +01:00 |
|
Geoffrey White
|
411f74db70
|
CPP: Delete comment.
|
2019-10-18 14:44:38 +01:00 |
|
Geoffrey White
|
ff8e04aa99
|
CPP: Fix bug.
|
2019-10-14 11:00:43 +01:00 |
|
Geoffrey White
|
62625cc454
|
CPP: Extend the test.
|
2019-10-14 10:44:04 +01:00 |
|
Raul Garcia (MSFT)
|
7b0e83fead
|
Porting Boost.org TLS queries
|
2019-10-10 16:05:14 -07:00 |
|
Geoffrey White
|
b10988faec
|
CPP: Fix the query.
|
2019-10-10 09:15:19 +01:00 |
|
Geoffrey White
|
3f167a6f15
|
CPP: Add a test involving templates.
|
2019-10-10 09:15:19 +01:00 |
|
Geoffrey White
|
4fc73cab63
|
CPP: Add a test of ComparisonPrecedence.ql.
|
2019-10-10 09:15:19 +01:00 |
|
Jonas Jensen
|
898976121b
|
Merge pull request #1987 from geoffw0/toomanyformat
CPP: WrongNumberOfFormatArguments.ql Fix
|
2019-09-23 16:05:11 +02:00 |
|
Geoffrey White
|
b3df289a80
|
CPP: Fix test.
|
2019-09-23 13:56:24 +01:00 |
|
Geoffrey White
|
2d8e4b3176
|
CPP: Additional cases resembling the ticket.
|
2019-09-23 13:04:14 +01:00 |
|
Geoffrey White
|
040bd89163
|
CPP: Correct expected results.
|
2019-09-23 11:02:36 +01:00 |
|
Geoffrey White
|
f7607313e7
|
CPP: Fix FPs.
|
2019-09-20 15:12:55 +01:00 |
|
Geoffrey White
|
9a407eb43c
|
CPP: Test format args with mismatching declarations.
|
2019-09-20 14:54:44 +01:00 |
|
Robert Marsh
|
9c6a0ffc48
|
Merge pull request #1979 from nickrolfe/wrong_type_uninstantiated
C++: ignore uninstantiated templates in WrongTypeFormatArguments.ql
|
2019-09-19 14:51:45 -07:00 |
|
Nick Rolfe
|
56f4f86921
|
C++: ignore uninstantiated templates in WrongTypeFormatArguments.ql
|
2019-09-19 21:18:47 +01:00 |
|
Jonas Jensen
|
34a5368101
|
C++: Ignore templates in AmbiguouslySignedBitField
If it's possible that the type is not fully resolved, it's better to
avoid giving an alert.
This fixes a FP in https://github.com/heremaps/flatdata.
|
2019-09-19 14:21:53 +02:00 |
|
Jonas Jensen
|
0ed0951d43
|
C++: Demonstrate AmbiguouslySignedBitField FP
|
2019-09-19 14:19:34 +02:00 |
|
Anders Schack-Mulligen
|
61e4e61087
|
C++: Adjust qltest expected output.
|
2019-09-12 11:00:49 +02:00 |
|
Jonas Jensen
|
4ef5c9af62
|
C++: Autoformat everything
Some files that will change in #1736 have been spared.
./build -j4 target/jars/qlformat
find ql/cpp/ql -name "*.ql" -print0 | xargs -0 target/jars/qlformat --input
find ql/cpp/ql -name "*.qll" -print0 | xargs -0 target/jars/qlformat --input
(cd ql && git checkout 'cpp/ql/src/semmle/code/cpp/ir/implementation/**/*SSA*.qll')
buildutils-internal/scripts/pr-checks/sync-identical-files.py --latest
|
2019-09-09 11:25:53 +02:00 |
|
Jonas Jensen
|
d51e5212fb
|
Merge remote-tracking branch 'upstream/master' into dataflow-TTwo
Conflicts:
cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll
cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl2.qll
cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl3.qll
cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl4.qll
cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImplLocal.qll
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl2.qll
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl3.qll
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl4.qll
cpp/ql/test/library-tests/dataflow/fields/flow.expected
csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll
csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowImpl2.qll
csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowImpl3.qll
csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowImpl4.qll
csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowImpl5.qll
java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl.qll
java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl2.qll
java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl3.qll
java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl4.qll
java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl5.qll
|
2019-09-08 21:08:43 +02:00 |
|
Jonas Jensen
|
b1be123e31
|
C#/C++/Java: Prettier AccessPath.toString
The `ppReprType` predicate should now be `none()` instead of `result=""`
to signal that there is nothing to print. That seems clearer to me.
|
2019-09-02 13:14:20 +02:00 |
|
Geoffrey White
|
2b1871fd2b
|
CPP: Remove the old test. I don't think preserving a duplicate test of deprecated queries is helpful.
|
2019-08-29 18:18:23 +01:00 |
|
Jonas Jensen
|
b348803a66
|
Merge pull request #1594 from geoffw0/erafix7
CPP: Add test coverage for LeapYearFieldAccess.isModifiedByArithmeticOperation.
|
2019-08-09 15:57:35 +02:00 |
|
Geoffrey White
|
67eb37f460
|
CPP: Update test annotations.
|
2019-08-09 09:31:47 +01:00 |
|
Matthew Gretton-Dann
|
0e50a143af
|
C++: Improve ReturnStackAllocatedMemory query
Update the ReturnStackAllocatedMmeory query to not give a false positive
for thread_local variables.
|
2019-08-06 11:22:32 +01:00 |
|
Robert Marsh
|
05cad96086
|
Merge pull request #1605 from geoffw0/bitwiseneg
CPP: Make BitwiseSignCheck.ql more accurate
|
2019-07-24 12:33:40 -07:00 |
|
Robert Marsh
|
fa43ae241d
|
Merge pull request #1615 from geoffw0/exprowninit
CPP: Test + workaround for UseInOwnInitializer.ql
|
2019-07-24 12:13:24 -07:00 |
|
Geoffrey White
|
d39d9bf1f0
|
CPP: Workaround FPs.
|
2019-07-22 11:48:25 +01:00 |
|
Geoffrey White
|
185ca590f2
|
CPP: Test exposing UseInOwnInitializer FPs.
|
2019-07-22 11:34:01 +01:00 |
|
Geoffrey White
|
48a60651b6
|
CPP: Fix query.
|
2019-07-17 11:43:05 +01:00 |
|
Geoffrey White
|
aa368d8763
|
CPP: Add test cases.
|
2019-07-17 11:38:59 +01:00 |
|
Geoffrey White
|
1b7d1c37ec
|
CPP: Test showing that Adding365daysPerYear.ql doesn't actually care whether the return value of the time conversion function is checked.
|
2019-07-16 17:29:30 +01:00 |
|
Geoffrey White
|
4df176ae34
|
CPP: Add test coverage for isModifiedByArithmeticOperation.
|
2019-07-15 19:42:50 +01:00 |
|
Geoffrey White
|
cf194219b9
|
CPP: Fix FPs.
|
2019-07-15 14:58:35 +01:00 |
|
Geoffrey White
|
5362fef81c
|
CPP: Additional AllocaInLoop test cases.
|
2019-07-15 14:50:02 +01:00 |
|
semmledocs-ac
|
e1da6e915c
|
Merge pull request #1515 from geoffw0/continuefalseloop
CPP: Improvements to ContinueInFalseLoop.ql
|
2019-07-12 08:38:22 +01:00 |
|
Geoffrey White
|
62fb216102
|
CPP: Fix false positive.
|
2019-07-11 20:00:50 +01:00 |
|
Geoffrey White
|
e1efdd7d47
|
CPP: Add a test where continue is used in a switch to exit the loop.
|
2019-07-11 20:00:50 +01:00 |
|
Geoffrey White
|
83d4b23ae3
|
CPP: Fix false positives in while/for loops.
|
2019-07-11 20:00:50 +01:00 |
|
Geoffrey White
|
136ca72297
|
CPP: Add a test.
|
2019-07-11 20:00:49 +01:00 |
|
Ziemowit Laski
|
ed5e2f3211
|
It turns out that the bminor/bash alert spewage was caused by
a bug in the extractor, which is verified fixed in the next release.
Reverting query to its original form.
|
2019-07-08 12:11:15 -07:00 |
|
Ziemowit Laski
|
be0db66a55
|
Squelch bminor/bash alerts and set query precision to high.
|
2019-07-06 14:27:02 -07:00 |
|
Jonas Jensen
|
8c733fd58d
|
Merge pull request #1537 from geoffw0/add-tests
CPP: Add some tests
|
2019-07-04 21:20:55 +02:00 |
|
Geoffrey White
|
8ce6822d6f
|
CPP: Fix format literal.
|
2019-07-04 16:31:35 +01:00 |
|
Jonas Jensen
|
757ec97e7a
|
Merge pull request #1251 from zlaski-semmle/zlaski/cpp370
[CPP-370] Non-constant `format` arguments to `printf` and friends
|
2019-07-01 14:43:19 +02:00 |
|
Geoffrey White
|
95ab8cc706
|
CPP: Add a test of More64BitWaste.ql.
|
2019-06-27 17:14:46 +01:00 |
|
Geoffrey White
|
5e328908a0
|
CPP: Modify violation message of NonPortablePrintf.ql for consistency with WrongTypeFormatArguments.ql.
|
2019-06-27 17:11:37 +01:00 |
|
Geoffrey White
|
5cef0e21c6
|
CPP: Add a test of NonPortablePrintf.ql.
|
2019-06-27 16:51:07 +01:00 |
|