yo-h
38581663a4
Merge pull request #3047 from aschackmull/java/typeflow-testcase
...
Java: Add test case to typeflow qltest.
2020-03-11 09:25:36 -04:00
semmle-qlci
1d5fba85f9
Merge pull request #3034 from esbena/js/sharpen-useless-regexp-character-escape
...
Approved by asgerf
2020-03-11 12:29:45 +00:00
Ian Lynagh
9265540704
Merge pull request #2911 from matt-gretton-dann/ql-docs/update-supported-languages
...
QL docs: update supported C/C++ language versions
2020-03-11 12:14:14 +00:00
Anders Schack-Mulligen
e1a0c2d846
Java: Add minor test case to typeflow qltest.
2020-03-11 13:13:19 +01:00
Rasmus Wriedt Larsen
f5a8084a33
Merge pull request #2827 from BekaValentine/objectapi-to-valueapi-expectedmappingforformatstring
...
Python: ObjectAPI to ValueAPI: ExpectedMappingForFormatString
2020-03-11 10:52:48 +01:00
Rasmus Wriedt Larsen
47cd9c8956
Merge pull request #3038 from BekaValentine/python-objectapi-to-valueapi-deprecatedslicemethod
...
Python: ObjectAPI to ValueAPI: DeprecatedSliceMethod
2020-03-11 10:51:01 +01:00
Mathias Vorreiter Pedersen
f4e8f7a1cc
Merge pull request #2970 from jbj/multiple-types-test
...
C++: Tests for variables with ambiguous types
2020-03-11 09:53:59 +01:00
Dave Bartolomeo
66fd566b66
Merge pull request #3006 from jbj/ir-no-static-init
...
C++: IR: Ignore constant static initializers
2020-03-10 15:46:56 -04:00
Dave Bartolomeo
ef194d3332
C++: Accept test output
2020-03-10 13:49:20 -04:00
Jonas Jensen
bf43475ff7
C++: Unroll recursion in inStaticInitializer
...
This gets rid of some slow recursive magic.
On Wireshark, this improves the timing of the involved predicates from
m#Variable::runtimeExprInStaticInitializer#b ..................... 3.1s (executed 86 times)
Variable::runtimeExprInStaticInitializer#b#antijoin_rhs .......... 1.6s
Variable::runtimeExprInStaticInitializer#b ....................... 985ms (executed 6 times)
Variable::runtimeExprInStaticInitializer#b#loop_invariant_prefix . 845ms
#Expr::Expr::getParent_dispred#fbPlus ............................ 3.6s (executed 86 times)
#Expr::Expr::getParent_dispred#fbPlus_10#join_rhs ................ 988ms
to
Variable::runtimeExprInStaticInitializer#f#antijoin_rhs . 1.8s
Variable::runtimeExprInStaticInitializer#f .............. 1.1s (executed 6 times)
Variable::inStaticInitializer#f ......................... 3.2s (executed 86 times)
2020-03-10 17:07:44 +01:00
Jonas Jensen
5e01b4b858
C++: Share the constant initializer detection
...
Since this code is shared between the AST CFG and the IR construction,
it seems right to have only one copy. That copy lives on a new class
`StaticStorageDurationVariable`, which may prove useful on its own.
2020-03-10 17:05:22 +01:00
Taus
11b5c54a0e
Merge pull request #2820 from RasmusWL/python-modernise-statements
...
Python: modernise Statements/ queries
2020-03-10 16:46:50 +01:00
semmle-qlci
e3fed39f88
Merge pull request #3000 from asger-semmle/js/late-barrier-guards
...
Approved by erik-krogh
2020-03-10 15:38:35 +00:00
Rebecca Valentine
b36214ae47
Python: Modernizes query and updates expecteds
2020-03-10 08:33:29 -07:00
semmle-qlci
4c1d76ee9a
Merge pull request #2937 from BekaValentine/python-objectapi-to-valueapi-wrongnumberargumentsforformat
...
Approved by tausbn
2020-03-10 15:04:05 +00:00
Rebecca Valentine
909e064016
Merge branch 'objectapi-to-valueapi-expectedmappingforformatstring' of github.com:BekaValentine/ql into objectapi-to-valueapi-expectedmappingforformatstring
2020-03-10 07:54:56 -07:00
Rebecca Valentine
1234cb6e0f
Python: Incorporates updates from new master
2020-03-10 07:54:28 -07:00
Rebecca Valentine
b7bcf6c3d0
Merge branch 'master' into objectapi-to-valueapi-expectedmappingforformatstring
2020-03-10 07:51:48 -07:00
Rebecca Valentine
c690e2595c
Merge pull request #3007 from RasmusWL/python-remove-use-of-deprecated-getvalue
...
Python: Remove usage of deprecated .getValue()
2020-03-10 07:18:41 -07:00
Taus
ea5aa57151
Merge pull request #3031 from BekaValentine/python-objectapi-to-valueapi-signaturespecialmethods
...
Python: ObjectAPI to ValueAPI: SignatureSpecialMethods
2020-03-10 14:54:39 +01:00
Rasmus Wriedt Larsen
b1d1974a0f
Merge branch 'master' into python-modernise-statements
2020-03-10 14:53:44 +01:00
Taus
dd0ce1c607
Merge pull request #2942 from RasmusWL/pyhton-improve-regex-docs
...
Python: Add a bit of regex docs
2020-03-10 14:49:31 +01:00
Rasmus Wriedt Larsen
2382b42bbe
Python: Rewrite helper predicate has_string_type
2020-03-10 14:47:49 +01:00
Tom Hvitved
bd6c23d165
Merge pull request #3020 from aschackmull/dataflow/type-pruning-bigstep
...
Dataflow: Fix bug in type pruning.
2020-03-10 14:21:21 +01:00
Rasmus Wriedt Larsen
5439059b0d
Python: Minor cleanup in regex.qll
2020-03-10 14:00:30 +01:00
semmle-qlci
570f095ae3
Merge pull request #2998 from asger-semmle/js/typescript-memory
...
Approved by erik-krogh
2020-03-10 12:24:52 +00:00
Felicity Chapman
7d0911d20f
Merge pull request #3033 from felicitymay/merge-123-master
...
Merge rc/1.23 back into master
2020-03-10 12:22:47 +00:00
Esben Sparre Andreasen
5b1b945c35
JS: distinguishes escapes in strings and regular expression literals
2020-03-10 12:26:20 +01:00
Taus
e3160f966f
Merge pull request #2932 from RasmusWL/python-re.compile-missing-points-to
...
Python: Add example of re.compile missing points-to
2020-03-10 11:55:23 +01:00
Jonas Jensen
28a9baba36
Merge pull request #3026 from MathiasVP/simplerangeanalysis-const-var-access
...
C++: Handle constant variable accesses in SimpleRangeAnalysis.qll
2020-03-10 11:22:33 +01:00
Anders Schack-Mulligen
fc87f1eb1b
C#: Fix tests.
2020-03-10 10:54:48 +01:00
Rasmus Wriedt Larsen
5e62f54094
Merge pull request #3030 from BekaValentine/python-objectapi-to-valueapi-useimplicitnonereturnvalue
...
Python: ObjectAPI to ValueAPI: UseImplicitNoneReturnValue
2020-03-10 10:38:06 +01:00
Rasmus Wriedt Larsen
1b8154c139
Merge pull request #2925 from BekaValentine/python-objectapi-to-valueapi-callargs
...
Python: ObjectAPI to ValueAPI: CallArgs
2020-03-10 10:26:21 +01:00
Mathias Vorreiter Pedersen
8b467eb9a7
C++: Allow multiple results in getValue
2020-03-10 09:50:28 +01:00
Felicity Chapman
d54a9c9630
Merge branch 'rc/1.23' into merge-123-master
2020-03-10 08:45:22 +00:00
Rebecca Valentine
047c328c58
Update python/ql/src/semmle/python/objects/ObjectAPI.qll
...
Co-Authored-By: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com >
2020-03-09 19:20:08 -07:00
Rebecca Valentine
e8708a083f
Python: Modernizes query and expecteds
2020-03-09 19:13:54 -07:00
Rebecca Valentine
48e67bca51
Python: Modernizes query
2020-03-09 18:57:42 -07:00
Rebecca Valentine
810efc5ca2
Python: Adds Rasmus's suggestion
...
Co-Authored-By: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com >
2020-03-09 16:21:34 -07:00
Taus
be09c17367
Merge pull request #2990 from BekaValentine/python-objectapi-to-valueapi-raisingtuple
...
Python: ObjectAPI to ValueAPI: RaisingTuple
2020-03-10 00:16:12 +01:00
Taus
96e99f55ad
Merge pull request #2976 from BekaValentine/python-objectapi-to-valueapi-emptyexcept
...
Python: ObjectAPI to ValueAPI: EmptyExcept
2020-03-09 23:56:27 +01:00
Taus
b51e2a9e80
Merge pull request #2977 from BekaValentine/python-objectapi-to-valueapi-catchingbaseexception
...
Python: ObjectAPI to ValueAPI: CatchingBaseException
2020-03-09 22:54:50 +01:00
Mathias Vorreiter Pedersen
1a5282ae21
C++: Add testcase that previously resulted in a false positive
2020-03-09 22:33:59 +01:00
Mathias Vorreiter Pedersen
525a00098e
C++: Address review comments
2020-03-09 22:16:05 +01:00
Dave Bartolomeo
9fae2faaeb
Merge pull request #2994 from jbj/IRSanity-separate-file
...
C++: Move InstructionSanity out of Instruction.qll
2020-03-09 16:34:36 -04:00
Rasmus Wriedt Larsen
a38fd2d3d1
Python: Use unambiguous name getCallNode
2020-03-09 17:05:00 +01:00
Rasmus Wriedt Larsen
a9674ef6e8
Python: Resolve autoformat ugliness
2020-03-09 16:54:55 +01:00
semmle-qlci
155985c77d
Merge pull request #3024 from max-schaefer/js/move-portals-to-experimental
...
Approved by asgerf
2020-03-09 15:39:36 +00:00
Mathias Vorreiter Pedersen
6dee7061a0
C++: Handle constant variable accesses in SimpleRangeAnalysis.qll
2020-03-09 15:44:32 +01:00
Tom Hvitved
6a10516c1e
Merge pull request #3021 from aschackmull/dataflow/partial-path-perf
...
Java/C++/C#: Fix performance issue in partial paths exploration.
2020-03-09 15:04:33 +01:00