Robert Marsh
1a14b13703
C++: migrate change note
2018-09-13 09:53:41 -07:00
semmle-qlci
6266d8bf01
Merge pull request #184 from aschackmull/java/intmulttolong-message
...
Approved by yh-semmle
2018-09-13 15:00:14 +01:00
Esben Sparre Andreasen
763da72ce5
JS: modernize old array taint steps
2018-09-13 15:52:25 +02:00
Esben Sparre Andreasen
ea37665ec6
JS: move array-specific taint steps to separate class
2018-09-13 15:52:25 +02:00
semmle-qlci
3d022298dc
Merge pull request #186 from Semmle/rc/1.18
...
Approved by esben-semmle
2018-09-13 12:34:54 +01:00
Anders Schack-Mulligen
b9acdf573a
Java: Update qltest.
2018-09-13 10:18:09 +02:00
Esben Sparre Andreasen
52013f3071
JS: change notes for improved js/unbound-event-handler-receiver
2018-09-13 08:43:01 +02:00
Esben Sparre Andreasen
fcc33ce93d
JS: whitelist auto-bind methods in js/unbound-event-handler-receiver
2018-09-13 08:41:41 +02:00
Esben Sparre Andreasen
eb10f603ab
JS: whitelist decorator-bound methods in js/unbound-event-handler-receiver
2018-09-13 08:41:41 +02:00
Esben Sparre Andreasen
1220b50737
JS: whitelist _.bindAll-methods in js/unbound-event-handler-receiver
2018-09-13 08:41:41 +02:00
Behrang Fouladi Azarnaminy
ecd08d4560
Chaning EOL in two files
2018-09-12 12:05:57 -07:00
Geoffrey White
1459b981f3
Merge pull request #183 from jbj/unsafe-strcat-perf
...
C++: Restructure UnsafeUseOfStrcat for performance
2018-09-12 15:16:58 +01:00
Asger F
cc6edd4e23
Merge pull request #182 from felicity-semmle/1.18/js-change-notes
...
LGTM 1.18: finalize the JavaScript change notes
2018-09-12 14:00:42 +01:00
Anders Schack-Mulligen
1bbc67b57c
Java: Autoformat query.
2018-09-12 10:14:41 +02:00
Anders Schack-Mulligen
ccbd8aaebc
Java: Improve alert message of IntMultToLong.
2018-09-12 10:13:57 +02:00
Jonas Jensen
9fb5fbd995
C++: Restructure UnsafeUseOfStrcat for performance
...
This query gets optimized badly, and it has started timing out when we
run it on our own code base. Most of the evaluation time is spent in an
RA predicate named `#select#cpe#1#f#antijoin_rhs#1`, which takes 1m36s a
Wireshark snapshot.
This restructuring of the code makes the problematic RA predicate go
away.
2018-09-12 09:37:17 +02:00
Felicity Chapman
4d512a5b01
Remove non-LGTM query (see following PR)
2018-09-11 22:54:37 +01:00
Felicity Chapman
7dd891d908
Further updates and addition of query @ids
2018-09-11 22:51:14 +01:00
Felicity Chapman
223bf6cf56
Updates for consistency
2018-09-11 22:31:32 +01:00
semmle-qlci
9e0ba51280
Merge pull request #179 from esben-semmle/js/classify-multi-license-fix
...
Approved by asger-semmle
2018-09-11 21:30:10 +01:00
Behrang Fouladi Azarnaminy
fc087ffb71
Replaceing query and test files with suggested ones
2018-09-11 12:32:56 -07:00
Behrang Fouladi Azarnaminy
befca6cafa
Remove webview example and its reference in qlhelp file
2018-09-11 12:31:00 -07:00
Dave Bartolomeo
49b8db9631
Merge pull request #180 from jbj/ArrayType-size-docs
...
C++: Document the three predicates for array size
2018-09-11 10:11:45 -07:00
semmle-qlci
b17aeb689c
Merge pull request #118 from esben-semmle/js/request-forgery
...
Approved by asger-semmle
2018-09-11 16:28:59 +01:00
Asger F
5fef916683
Merge pull request #171 from asger-semmle/js-for-loop-cfg
...
JavaScript: fix CFG for EnhancedForStmt
2018-09-11 16:27:47 +01:00
Esben Sparre Andreasen
43c65e02ec
JS: classify bundle files based on multiple license comments
2018-09-11 15:40:24 +02:00
Jonas Jensen
4304a4e1bc
C++: Fix docs copy-paste error
2018-09-11 15:39:44 +02:00
Jonas Jensen
d956bf90ad
C++: Document the three predicates for array size
2018-09-11 15:15:44 +02:00
ian-semmle
628d7b95d9
Merge pull request #178 from jbj/ir-duplicateOperand-perf
...
C++: IR: InstructionSanity::duplicateOperand perf
2018-09-11 12:53:27 +01:00
Asger F
0a4a5da1f0
JavaScript: update output of CFG test
2018-09-11 12:15:01 +01:00
Asger F
3d444f3dc6
JavaScript: fix CFG for EnhancedForStmt
2018-09-11 12:15:01 +01:00
Jonas Jensen
3c3cc2eb3e
Merge pull request #175 from hvitved/merge-rc
...
Merge rc/1.18 into master
2018-09-11 13:10:02 +02:00
Jonas Jensen
ecfc53668f
C++: IR: InstructionSanity::duplicateOperand perf
...
The `InstructionSanity::duplicateOperand` predicate used `count` instead
of `strictcount`. The 0-case of this `count` was as large as the
Cartesian product of `Instruction` and `OperandTag`, which made
`duplicateOperand` take forever to compute on large snapshots.
2018-09-11 12:04:27 +02:00
Tom Hvitved
ec7beab9fa
Merge pull request #176 from felicity-semmle/1.18/csharp-change-notes
...
LGTM 1.18: finalize change notes for C#
2018-09-11 09:57:16 +02:00
Felicity Chapman
f48317f381
Minor updates to prepare for publication
2018-09-11 08:27:20 +01:00
Felicity Chapman
620f99c5a3
Remove template text
2018-09-11 08:14:17 +01:00
Tom Hvitved
70e713122f
Merge branch 'rc/1.18' into merge-rc
2018-09-11 09:11:03 +02:00
Robert Marsh
0e44bf3c30
C++: Add import for LGTM
2018-09-10 12:22:45 -07:00
Robert Marsh
cb9f1269f9
C++: select example exprs for HashCons portably
...
This makes two changes to how example exprs are selected. Example exprs
are now ordered separately by each piece of the location, rather than by
stringifying their location. Second, UnknownLocations are now ordered
after locations with absolute paths, by using "~" in the lexicographic
comparison of absolute paths. I think this works on both POSIX and
Windows systems, but it's possible I'm missing a way to start an
absolute path with a unicode character.
2018-09-10 12:22:45 -07:00
Robert Marsh
fb8ad9387d
C++: Uniqueness fixes for HashCons
2018-09-10 12:22:45 -07:00
Robert Marsh
990bfb4663
C++: change note for HashCons library
2018-09-10 12:22:45 -07:00
Robert Marsh
166dba288b
C++: accept test output
2018-09-10 12:22:45 -07:00
Robert Marsh
bbafcd9941
C++: typeid and noexcept fixes in HashCons
2018-09-10 12:22:45 -07:00
Robert Marsh
2d098fed98
fix HashCons for typeid of type
2018-09-10 12:22:44 -07:00
Robert Marsh
c42ecfe8f9
C++: Simplify HashCons for new and handle extents
2018-09-10 12:22:44 -07:00
Robert Marsh
9f476e585a
C++: Simplify some code
2018-09-10 12:22:44 -07:00
Robert Marsh
fa9eeea302
C++: remove implicit this handling in HashCons
2018-09-10 12:22:44 -07:00
Robert Marsh
246ae2d7e8
C++: fix performance of argument hash-consing
2018-09-10 12:22:44 -07:00
Robert Marsh
06a3e8fc76
C++: Hashcons for ?:, ExprCall, and weird stuff
2018-09-10 12:22:44 -07:00
Robert Marsh
cfeed30a89
C++: Hashcons tests for ArrayExpr
2018-09-10 12:22:44 -07:00