Jonas Jensen
f38253da89
C++: Use isConstexpr instead of workaround
...
The `addressConstantVariable` predicate was the slowest single predicate
when running the full LGTM suite on Chromium. Fortunately it's only
executed once, but it could be easily made faster by using the new
`Variable.isConstexpr` predicate instead of the slow workaround that was
in its place.
2019-05-15 14:41:05 +02:00
Jonas Jensen
8b012b2cab
C++: Remove unneeded import
2019-05-15 14:35:05 +02:00
Tom Hvitved
949b3601d0
C#: Address review comments
2019-05-15 14:10:42 +02:00
Anders Schack-Mulligen
531d30f048
Java: Add SwitchExpr to Nullness::dereference.
2019-05-15 13:20:55 +02:00
Taus
1076c03016
Merge pull request #1323 from markshannon/hotfix-path-fix
...
Python QL: Use Module.getPath() to implement ModuleObject.getPath()
2019-05-15 11:46:36 +02:00
Asger F
682f2790cd
JS: Address comments
2019-05-15 10:09:56 +01:00
Mark Shannon
0035dc2982
Python QL: Use Module.getPath() to implement ModuleObject.getPath()
2019-05-15 10:09:00 +01:00
semmle-qlci
ec10b76d5a
Merge pull request #1321 from aschackmull/java/polycalls
...
Approved by pavgust
2019-05-15 08:52:34 +01:00
Anders Schack-Mulligen
3eb3cd345d
Java: Update qldoc and add callsImpl convenience wrapper.
2019-05-14 16:31:56 +02:00
Anders Schack-Mulligen
f9e4512f32
Java: Update polyCalls to use virtual dispatch.
2019-05-14 15:36:12 +02:00
Anders Schack-Mulligen
b71acd2ff9
Java: Deprecate RemoteUserInput
2019-05-14 12:33:36 +02:00
Asger F
778244878a
JS: Normalize whitespace
2019-05-14 10:31:28 +01:00
Anders Schack-Mulligen
14cad57960
Java: Improve joinorder for GuardsLogic::conditionalAssign.
2019-05-14 11:28:18 +02:00
Tom Hvitved
89e60dc9bf
C#: Simplify CallContext.qll
2019-05-14 11:24:23 +02:00
Asger F
fd9765b99f
JS: Add qhelp
2019-05-13 17:31:12 +01:00
Anders Schack-Mulligen
ebb63c8141
Java: Refactor Guard.controls in terms of dominating edges.
2019-05-13 16:35:30 +02:00
Asger F
0c715f7540
JS: Lower precision to medium
2019-05-13 15:20:40 +01:00
Asger F
aaf503837d
JS: Move prototype pollution into real query
2019-05-13 15:20:25 +01:00
Tom Hvitved
0096024396
Merge pull request #1174 from calumgrant/cs/extractor-diagnostics
...
C#: Log compiler and extractor diagnostics
2019-05-13 12:53:12 +02:00
Asger F
4db7aa6ed2
JS: Relax type inference to account for overriding
2019-05-13 10:18:19 +01:00
Calum Grant
88b5719103
C#: Add DB upgrade script
2019-05-13 09:18:52 +01:00
Calum Grant
7a3b6575a5
C#: Update expected output following roslyn-3.0.0 update.
2019-05-13 09:18:52 +01:00
calum
7b19402b1f
C#: Update DB stats.
2019-05-13 09:18:52 +01:00
calum
39bb3f2d52
C#: Fix elapsed timings and add a test for it.
2019-05-13 09:18:52 +01:00
calum
c67e441003
C#: Implement compilation_referencing_files and update comments for C#.
2019-05-13 09:18:52 +01:00
calum
1a99f4f253
C#: Fix unit tests due to qltest mangling output.
2019-05-13 09:18:52 +01:00
calum
2a484dc4ea
C#: Fix alerts and tests.
2019-05-13 09:18:52 +01:00
calum
66b3df7f29
C#: Fix unit tests.
2019-05-13 09:18:52 +01:00
calum
3046cc494a
C#: Code tidy.
2019-05-13 09:18:52 +01:00
calum
343cddcbb7
C#: Refactor extractor errors and log extractor errors to the database.
2019-05-13 09:18:52 +01:00
calum
e1158bb5e5
C#: Store compilations, compiler diagnostics and performance in the database.
2019-05-13 09:18:52 +01:00
Jonas Jensen
bb67ac9ad1
Merge pull request #1219 from geoffw0/msfix2
...
CPP: Fix FormatLiteral.isMicrosoft
2019-05-13 09:24:49 +02:00
Geoffrey White
4cc23cce13
CPP: Document.
2019-05-10 16:26:39 +01:00
Geoffrey White
581266c347
CPP: Alternative fix.
2019-05-10 16:26:38 +01:00
Max Schaefer
79e01a2de5
Merge pull request #1305 from aschackmull/java/abstract-flowsources
...
Java: Introduce an abstract class RemoteFlowSource to ease customization.
2019-05-10 11:42:15 +01:00
Max Schaefer
9ec366cf88
JavaScript: Move support for optional catch to ES2019.
2019-05-10 08:27:25 +01:00
Max Schaefer
d93d68d7f5
JavaScript: Add parser support for Unicode newlines in string literals.
2019-05-10 08:16:20 +01:00
Max Schaefer
31f80df7dc
JavaScript: Add YAML file types to versions-compilers.csv.
2019-05-10 08:09:46 +01:00
Max Schaefer
86a7fa3abb
JavaScript: Make extractor default to ECMA 2019.
...
Also introduces an enum constant for ECMA 2020 (not used anywhere yet).
2019-05-10 08:09:46 +01:00
Max Schaefer
b478c0ddaa
JavaScript: Further broaden the whitelist in PasswordInConfigurationFile.
2019-05-09 17:07:59 +01:00
Anders Schack-Mulligen
66813a91ef
Java: Postpone deprecation to separate PR.
2019-05-09 13:40:25 +02:00
Tom Hvitved
e3b83d04f5
C#: Refactor predicates in Variable class to be defined by dispatch
2019-05-09 11:53:42 +02:00
semmle-qlci
9653fbd4f7
Merge pull request #1311 from emarteca/unreachableThrows
...
Approved by xiemaisi
2019-05-09 10:37:41 +01:00
Ellen Arteca
893f62f334
Stylistic issue: replace \"eg\" by \"example\", as requested
2019-05-09 09:30:12 +01:00
Ellen Arteca
a12d12d59a
JavaScript: Update UnreachableStmt query so unreachable throws no longer gives an alert
2019-05-08 16:25:54 +01:00
semmle-qlci
13e04f459d
Merge pull request #1310 from xiemaisi/js/fix-hardcoded-pw-fps
...
Approved by asger-semmle
2019-05-08 14:08:36 +01:00
Asger F
27e8ea85f7
JS: Fix bug from sorting lines
2019-05-08 10:42:14 +01:00
Max Schaefer
c16e9a77f3
JavaScript: Fix a few false positives in PasswordInConfigurationFile.
2019-05-08 08:26:05 +01:00
Tom Hvitved
8adbfdaae7
Merge pull request #1275 from calumgrant/cs/roslyn-3.0.0
...
C#: Update nuget packages
2019-05-08 08:49:45 +02:00
Tom Hvitved
a89505ba32
C#: Simplify DataFlow::Node::getType()
2019-05-07 20:52:38 +02:00