Mark Shannon
6a5ec51623
Update IsComparisons.qll to account for not tracking attributes in detail.
2019-04-29 12:22:48 +01:00
Mark Shannon
55511430cb
Python points-to. Don't let unknown values escape refersTo().
2019-04-29 12:22:17 +01:00
Jonas Jensen
cd7ba176ab
C++: iterated dominance frontier algorithm for IR
...
Use the iterated dominance frontier algorithm to speed up dominance
frontier calculations. The implementation is copied from d310338c9b .
Before this change, the SSA calculations for unaliased and aliased SSA
used 169.9 seconds in total on these predicates:
7:Dominance::getDominanceFrontier#2#ff .. 49s
7:Dominance::blockDominates#2#ff ........ 47.5s
8:Dominance::getDominanceFrontier#ff .... 44.4s
8:Dominance::blockDominates#ff .......... 29s
After this change, the above predicates are replaced by two copies of
`getDominanceFrontier`, each of which takes less than a second.
2019-04-29 13:01:37 +02:00
ian-semmle
5fd10b56a2
Merge pull request #1280 from jbj/noTarget-workaround
...
C++: Work around extractor issue CPP-383
2019-04-29 10:47:06 +01:00
Calum Grant
11c1fc8512
Merge pull request #1281 from felicity-semmle/1.20/SD-3391-csharp-version-ql-support
...
1.20 release: Update supported versions for C#
2019-04-29 09:27:54 +01:00
Tom Hvitved
58babdd425
Merge pull request #1187 from calumgrant/cs/expression-null
...
C#: Fix FP in cs/constant-condition
2019-04-29 09:37:30 +02:00
Jonas Jensen
c112a4dd20
Merge pull request #1285 from geoffw0/rnperf
...
CPP: Improve performance of RedundantNullCheckSimple.ql
2019-04-29 08:41:43 +02:00
semmle-qlci
52d6626547
Merge pull request #1242 from esben-semmle/js/whitelist-trailing-newline-removal
...
Approved by xiemaisi
2019-04-29 07:35:15 +01:00
Ziemowit Laski
4a760b1561
[CPP-340] Delete ArgumentsToImplicit.ql and associated files.
...
Reduce MistypedFunctionArguments.ql precision to `medium`.
2019-04-28 13:49:46 -07:00
Asger F
3e7bac465b
JS: fix join ordering in SimpleParameter.getJSDocTag
2019-04-26 16:56:04 +01:00
Asger F
db3060d336
JS: Add missing override
2019-04-26 16:56:04 +01:00
Asger F
a17756c3d5
JS: Fix formatting
2019-04-26 16:56:04 +01:00
Asger F
2f98acaf6e
JS: upgrade script
2019-04-26 16:56:04 +01:00
Asger F
f99db08542
JS: Update trap files
2019-04-26 16:56:04 +01:00
Asger F
393a9fd7b0
JS: Add change notes
2019-04-26 16:56:04 +01:00
Asger F
9086dfdc6f
JS: TypeAnnotation.getType() for backwards compatibility
2019-04-26 16:56:04 +01:00
Asger F
e9fcb670ff
JS: Provide source locations for JSDocTypeExpr
2019-04-26 16:56:04 +01:00
Asger F
cf8c327a10
JS: make TypeAnnotation extend Locatable
2019-04-26 16:56:04 +01:00
Max Schaefer
c44f99a204
Update javascript/ql/src/semmle/javascript/Variables.qll
...
Co-Authored-By: asger-semmle <42069257+asger-semmle@users.noreply.github.com >
2019-04-26 16:56:04 +01:00
Asger F
6eb8c692b1
JS: Add partial backwards compatibility with ASTNode
2019-04-26 16:56:04 +01:00
Asger F
e295c3a224
JS: Add JSDoc test
2019-04-26 16:56:04 +01:00
Asger F
6b2b64cb2e
JS: test case with unresolved types in TS
2019-04-26 16:56:04 +01:00
Asger F
c9c9a32a37
JS: hasQualifiedName
2019-04-26 16:56:04 +01:00
Asger F
454fff1398
JS: Implement getAnUnderlyingType().
2019-04-26 16:56:04 +01:00
Asger F
8458a64642
JS: implement isXXX methods in JSDocTypeExpr classes
2019-04-26 16:56:04 +01:00
Asger F
c92a6b72b5
JS: Update getTypeAnnotation() to return TypeAnnotations
2019-04-26 16:56:04 +01:00
Asger F
be5d90d4e7
JS: Make use of JSDocParamTag
2019-04-26 16:56:04 +01:00
Asger F
967752c6c1
JS: Add TypeAnnotations class
2019-04-26 16:56:04 +01:00
Mark Shannon
abf0347fce
Python points-to: Split strings into bytes and unicode.
2019-04-26 16:21:47 +01:00
Mark Shannon
48c0cbe51a
Python: improve handling of __all__
2019-04-26 16:21:47 +01:00
Mark Shannon
3bb61e7410
Python points-to: Improve handling of subscripts and sequence inequalities.
2019-04-26 16:21:47 +01:00
Mark Shannon
674a3da4b8
Python points-to: Importing from 'unknown' gives 'unknown'.
2019-04-26 16:21:47 +01:00
Mark Shannon
5ad731a2a8
Python points-to. Fix handling of six.add_metaclass.
2019-04-26 16:21:47 +01:00
Mark Shannon
f51a2d9ec4
Python points-to: Fix up test-evaluate for ABCs and tests involving type().
2019-04-26 16:21:47 +01:00
Mark Shannon
8a2fb54c49
Python points-to. Track bitwise or-ing of small integer flags.
2019-04-26 16:21:47 +01:00
Mark Shannon
96eaf815da
Python: Fix up state-tracking library.
2019-04-26 16:21:47 +01:00
Mark Shannon
2ea204f7f9
Python points-to: Fix up failedInference predicate.
2019-04-26 16:21:47 +01:00
Mark Shannon
2aa967ae8e
Remove redundant tests.
2019-04-26 16:21:47 +01:00
Mark Shannon
4145b19671
Python points-to: update some test results.
2019-04-26 16:21:47 +01:00
Mark Shannon
ddc4ada130
Python points-to: Handle subclassing of ABCs.
2019-04-26 16:21:47 +01:00
Mark Shannon
2d4f64f2e5
Python legacy objects: fix function/method call.
2019-04-26 16:21:47 +01:00
Mark Shannon
989d587617
Python points-to: Fix support for backwards compatible extensions.
2019-04-26 16:21:46 +01:00
Mark Shannon
dffbf698d2
Python points-to: improve performance.
2019-04-26 16:21:46 +01:00
Mark Shannon
cd34e23c4c
Python points-to: Bring attribute points-to to effective parity with old points-to.
2019-04-26 16:21:46 +01:00
Mark Shannon
2e6c3c9ee3
Python points-to: Support classes created dynamically as instances of meta-class.
2019-04-26 16:21:46 +01:00
Mark Shannon
06ab671629
Python points-to. Fix descriptor behviour of Python functions.
2019-04-26 16:21:46 +01:00
Mark Shannon
9d40a6cd8c
Python points-to: restore getArgumentForCall() API method.
2019-04-26 16:21:46 +01:00
Mark Shannon
90bbfd3b16
Python: Add library tests for django.
2019-04-26 16:21:46 +01:00
Mark Shannon
46b9ef79b4
Python points-to: Fix up neverReturns() and return value of __import__().
2019-04-26 16:21:46 +01:00
Mark Shannon
62e05187af
Python points-to: Add property objects.
2019-04-26 16:21:46 +01:00