Jonas Jensen
1b4b352316
C++: Field flow through ClassAggregateLiteral
2019-08-15 12:01:42 +02:00
Jonas Jensen
e419ea0140
C++: Test showing no flow through aggregate init
2019-08-15 11:33:25 +02:00
Jonas Jensen
fdd8de79da
C++: Remove redundant toString override
...
This time I left a comment to prevent myself from getting confused again
and adding the override in the future.
2019-08-15 11:32:11 +02:00
Calum Grant
3fab5140a7
Merge pull request #1673 from hvitved/csharp/cfg/split-static-limit
...
C#: Apply static CFG splitting limit
2019-08-15 10:04:38 +01:00
Jonas Jensen
ed1e3ed1ef
C++: Annotate field-flow tests in [ABC].cpp
...
This brings the annotation style in sync with how we annotate new tests
these days. I also changed a few annotations to have different expected
outcome based on my understanding of the code.
2019-08-15 10:30:46 +02:00
Ziemowit Laski
52cd025c2d
Incorporate PR feedback.
2019-08-14 22:06:45 -07:00
Ziemowit Laski
7f42dd2a08
More minor tweaks. File is now in new location.
2019-08-14 14:36:58 -07:00
Ziemowit Laski
72e6d18d36
Merge branch 'master' of git.semmle.com:Semmle/ql
...
git pull upstream master
2019-08-14 12:31:04 -07:00
Jonas Jensen
e94dbe926b
C++: Add forgotten toString override
...
This makes `PostConstructorCallNode`s show up in the test output.
2019-08-14 16:26:49 +02:00
semmle-qlci
01fd161c03
Merge pull request #1740 from Semmle/fix/yaml-javad0c
...
Approved by xiemaisi
2019-08-14 15:12:56 +01:00
Jonas Jensen
4662e71d4d
Merge pull request #1738 from aschackmull/java/dataflow-joinorder-fix
...
Java: Dataflow joinorder fix
2019-08-14 13:39:01 +02:00
Pavel Avgustinov
356424308b
YAMLExtractor: Update javadoc link
...
Recent SnakeYAML has removed the linked method; replace the
link with a reference to what it became.
2019-08-14 12:36:26 +01:00
semmle-qlci
09b87d8957
Merge pull request #1733 from pavgust/imp/yaml-snippets
...
Approved by esben-semmle
2019-08-14 11:09:44 +01:00
Anders Schack-Mulligen
1938ac4937
Java/C++/C#: Sync.
2019-08-14 10:32:15 +02:00
Felicity Chapman
24f407c104
Merge pull request #1689 from markshannon/python-modernize-learn-ql
...
Python docs: Modernize the learn-ql pages to use the Value API.
2019-08-14 09:19:24 +01:00
Anders Schack-Mulligen
0c56f955e8
Java: Fix bad join order.
2019-08-14 10:10:19 +02:00
Ziemowit Laski
7d93cd0b92
Merge branch 'zlaski-semmle-zlaski/cpp387'
...
Conflict resolution step as per GitHub PR page
2019-08-13 18:29:21 -07:00
Ziemowit Laski
2522529cdb
Merge branch 'zlaski/cpp387' of https://github.com/zlaski-semmle/ql into zlaski-semmle-zlaski/cpp387
...
Conflict resolution step as per GitHub PR page
2019-08-13 18:27:56 -07:00
Ziemowit Laski
8a58a1939e
Combine adjacent elements with the same formatting.
2019-08-13 18:15:38 -07:00
zlaski
a69b26c7f8
[CPP-386] A few more.
2019-08-13 17:52:38 -07:00
zlaski
23776c5290
[CPP-386] Minor tweaks.
2019-08-13 17:18:10 -07:00
zlaski
0dbc8e3950
[CPP-386] Closer to finality.
2019-08-13 16:35:27 -07:00
yh-semmle
badfc23ce4
Merge pull request #1718 from aschackmull/java/barrierguard
...
Java/C++/C#: Add support for BarrierGuards.
2019-08-13 14:11:54 -04:00
Anders Schack-Mulligen
c99d0e7bd5
Java: Add change note.
2019-08-13 16:59:59 +02:00
Anders Schack-Mulligen
411bc16f44
Java/C++/C#: Address review comment.
2019-08-13 16:57:48 +02:00
Anders Schack-Mulligen
9e902066ad
Java/C++/C#: Elaborate qldoc.
2019-08-13 16:57:48 +02:00
Anders Schack-Mulligen
4550175b16
Java/C++/C#: Add support for BarrierGuards.
2019-08-13 16:57:48 +02:00
Jonas Jensen
e93598e476
Merge pull request #1716 from geoffw0/qldoceg4
...
CPP: Add syntax examples to QLDoc in Function.qll
2019-08-13 16:27:20 +02:00
yh-semmle
5e910a4808
Merge pull request #1724 from aschackmull/java/google-xmlreader
...
Java: Treat SecureJDKXercesXMLReader as a secure XMLReader.
2019-08-13 09:52:32 -04:00
Pavel Avgustinov
eb77b86b03
YAML extraction: Improve toString computation
2019-08-13 12:59:52 +01:00
Geoffrey White
e4bbfb9a79
CPP: Corrections.
2019-08-13 11:25:39 +01:00
Tom Hvitved
36043d04bd
Merge pull request #1729 from xiemaisi/data-flow-nodes-location
...
Java/C++/C#: Provide path-node locations via `hasLocationInfo`, not `getLocation`.
2019-08-13 12:22:59 +02:00
Geoffrey White
95749bdff8
CPP: Examples Stmt.qll.
2019-08-13 10:56:59 +01:00
semmle-qlci
e24137324f
Merge pull request #1711 from aschackmull/java/arithmetic-barriers
...
Approved by yh-semmle
2019-08-13 10:19:09 +01:00
Jonas Jensen
38ec693ead
C++: Improved ConstructorCall field flow
...
This commit changes C++ `ConstructorCall` to behave like
`new`-expressions in Java: they are both `ExprNode`s and
`PostUpdateNodes`, and there's a "pre-update node" (here called
`PreConstructorCallNode`) to play the role of the qualifier argument
when calling a constructor.
2019-08-13 11:05:13 +02:00
Taus
34106ec739
Merge pull request #1730 from markshannon/python-prepare-for-unrolling
...
Python prepare for implementing loop unrolling in extractor.
2019-08-13 10:54:24 +02:00
Taus
ee06c4021f
Merge pull request #1727 from markshannon/python-no-rhs-tuple-points-to
...
Python points-to: Do not track tuples on lhs of assignment or in deletions.
2019-08-13 10:53:40 +02:00
Taus
e956b057e4
Merge pull request #1690 from markshannon/python-modernize-snippets
...
Python examples: Modernize example snippets.
2019-08-13 10:52:40 +02:00
Tom Hvitved
e4bd1980ab
C#: Search from delegate creation in delegateCallSource()
2019-08-13 10:22:29 +02:00
Jonas Jensen
18c3bfe596
Merge pull request #1731 from geoffw0/qldoceg5
...
CPP: Add syntax examples to QLDoc in Initializer.qll, Parameter.qll
2019-08-13 08:52:05 +02:00
Ziemowit Laski
50813541f4
Squelch Jenkins error (hopefully).
...
More progress. Attempts to create bold monospace have failed.
2019-08-12 14:19:36 -07:00
semmle-qlci
e27b373062
Merge pull request #1548 from hvitved/csharp/cfg/simplify-goto-completions
...
Approved by calumgrant
2019-08-12 19:20:48 +01:00
Ziemowit Laski
e98ff57e6f
Progress.
2019-08-12 08:53:36 -07:00
Jonas Jensen
1f1824cb9b
C++: Exclude BlockVar computation for "large" vars
2019-08-12 16:53:48 +02:00
Taus
5f55cb046d
Merge pull request #1691 from markshannon/python-fewer-missing-edges
...
Python: Make a few more expressions point-to the 'unknown' value.
2019-08-12 16:15:09 +02:00
Geoffrey White
beada95014
CPP: Examples Block.qll.
2019-08-12 15:08:37 +01:00
Dave Bartolomeo
5d6ac2bb74
Merge pull request #1583 from jbj/ir-sanity-qlcfg
...
C++: Share tests between IR and QL-CFG
2019-08-12 07:04:40 -07:00
Max Schaefer
485d4269a0
C#: Fix use of PathNode.getLocation().
2019-08-12 15:04:37 +01:00
Jonas Jensen
3f531380d1
C++: Reduce number of SubBasicBlocks in FlowVar
...
by cutting basic blocks at the same place for the `x.a` partial
definition in `x.a = ...` as they were already cut for assignment to
`a`.
2019-08-12 15:58:35 +02:00
Dave Bartolomeo
19d2f3a54e
Merge pull request #1550 from jbj/array-aggregate-perf
...
C++ IR: Fix performance of large value-initialized arrays
2019-08-12 06:53:16 -07:00