Geoffrey White
09782d145e
CPP: Annotate expr_has_no_effect test.
2018-11-09 17:23:59 +00:00
Geoffrey White
3f0e28aea9
CPP: Fix additional expr_has_no_effect test.
2018-11-09 17:23:59 +00:00
Max Schaefer
63933cdecd
JavaScript: Don't extract extens with --experimental turned on.
...
There isn't any particularly compelling reason for doing so.
2018-11-09 16:22:55 +00:00
Max Schaefer
f7d693d06f
JavaScript: Make default extractor options more sensible.
...
We now use module auto-detection and no TypeScript mode.
This only affects extern extraction in `AutoBuild`, everything else sets these options explicitly.
We currently do not have any ES2015 modules or TypeScript code in our externs, so in practice this is behaviour-preserving.
2018-11-09 16:21:35 +00:00
Geoffrey White
0e9c7fc085
Merge pull request #416 from raulgarciamsft/users/raulga/c6317
...
cpp: Incorrect not operator usage
2018-11-09 15:59:57 +00:00
Aditya Sharad
355473abb3
Merge pull request #439 from aschackmull/java/move-lgtm-suites
...
Java: Move the LGTM query suites to the public repo.
2018-11-09 12:56:44 +00:00
Anders Schack-Mulligen
f6941af86c
Java: Move the LGTM query suites to the public repo.
2018-11-09 13:48:49 +01:00
Anders Schack-Mulligen
46bebc898a
Java: Add test.
2018-11-09 13:36:05 +01:00
Anders Schack-Mulligen
6f791bb530
Java: Account for extraction of calls to <obinit>.
2018-11-09 13:36:05 +01:00
Geoffrey White
e645166fee
CPP: Make InconsistentNullnessTest.cpp example plausible.
2018-11-09 11:41:02 +00:00
Geoffrey White
d5c6f4fd64
CPP: Correct typo in OverflowCalculated.cpp example.
2018-11-09 11:38:33 +00:00
Max Schaefer
fa8736adbc
JavaScript: Introduce aliases for compatibility with other language libraries.
2018-11-09 11:27:14 +00:00
semmle-qlci
e35cb3a98a
Merge pull request #442 from xiemaisi/js/change-notes
...
Approved by esben-semmle
2018-11-09 10:38:39 +00:00
Max Schaefer
bdfe938d02
JavaScript: Improve StackTraceExposure query.
...
It now also flags exposure of the entire exception object (not just the `stack` property).
2018-11-09 09:42:09 +00:00
Max Schaefer
71bbbb77eb
JavaScript: Update 1.19 change notes to remove changes that ended up in 1.18.1.
2018-11-09 09:17:14 +00:00
semmle-qlci
a7290e5aeb
Merge pull request #434 from esben-semmle/js/type-confusion-with-taint-kinds
...
Approved by asger-semmle
2018-11-09 08:25:55 +00:00
semmle-qlci
c19747803b
Merge pull request #425 from xiemaisi/js/lodash-recognition-extensible
...
Approved by esben-semmle
2018-11-09 08:08:40 +00:00
Robert Marsh
4fdc992cd9
C++: IRGuards uses Operand; fix CP in SignAnalysis
2018-11-08 14:43:51 -08:00
Robert Marsh
72bb7c9c42
C++: remove double backtick in qldoc
2018-11-08 11:39:47 -08:00
Robert Marsh
0d9e2098f2
C++: test for bounded bounds in sign analysis
2018-11-08 11:38:34 -08:00
Tom Hvitved
29f163fd4e
C#: Fix guards implications logic
2018-11-08 20:21:34 +01:00
Tom Hvitved
e4aa196c37
C#: Teach guards library about custom null guards
2018-11-08 20:21:34 +01:00
Tom Hvitved
a5dfc10197
C#: Add tests for custom null guards
2018-11-08 20:21:34 +01:00
Tom Hvitved
5921a9ea51
C#: Teach guards library about assertions
2018-11-08 20:21:34 +01:00
Tom Hvitved
0fb7ddc956
C#: Add assertion guard tests
2018-11-08 20:21:34 +01:00
Dave Bartolomeo
2977395c32
Ignore whitespace errors in everything under lib
2018-11-08 11:06:42 -08:00
Dave Bartolomeo
d521502ded
Allow mixed whitespace in parser tests
2018-11-08 11:06:42 -08:00
Dave Bartolomeo
a141f4c81a
Allow mixed whitespace in C#, C++, and Java test sources
2018-11-08 11:06:42 -08:00
Dave Bartolomeo
55f4839abf
Allow mixed whitespace in JavaScript test sources
2018-11-08 11:06:42 -08:00
Felicity Chapman
48a7565a7f
Fix tag error spotted by PR check
2018-11-08 18:43:32 +00:00
Felicity Chapman
3d779ddebb
Bring qhelp inline with current guidelines
2018-11-08 18:37:41 +00:00
Aditya Sharad
1a5d4626bc
Merge pull request #435 from calumgrant/cs/fix-extractor
...
C#: Fix an ArgumentNullException.
2018-11-08 17:29:08 +00:00
Felicity Chapman
8a444b6034
Update qhelp with content and remove autogenerated qhelp files
2018-11-08 16:16:50 +00:00
calumgrant
6fdb0aab41
Merge pull request #426 from hvitved/csharp/accessor-argument
...
C#: Improve `AccessorCall::getArgument()`
2018-11-08 16:03:48 +00:00
Esben Sparre Andreasen
bd2fc33621
JS: annotate tests with expectations
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
ca215391b4
JS: substitute Assignment for DataFlow::PropWrite
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
b7f424df41
JS: introduce DataFlow::PropWrite::getWriteNode
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
d813a7cad2
JS: push negation
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
470c241c82
JS: use range instead of ad hoc LT/GT
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
1389009388
JS: naming and doc cleanups
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
e82f5157c6
JS: change note for js/useless-assignment-to-property
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
33a297c829
JS: add query: js/useless-assignment-to-property
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
6ee47c437e
JS: generalize and move DeadStoreOfLocal.qhelp to DeadStore.qhelp
2018-11-08 13:23:19 +01:00
Esben Sparre Andreasen
cacb8fdee0
JS: move DeadStoreOfLocal::isDefaultInit to separate module
2018-11-08 13:23:19 +01:00
Aditya Sharad
05ef589b79
Merge pull request #433 from rdmarsh2/rdmarsh/cpp/buffersize-backport
...
C++: Backport "Improve memberMayBeVarSize" to rc/1.18
v1.18.2
2018-11-08 11:54:40 +00:00
semmle-qlci
3c49bc6e67
Merge pull request #407 from asger-semmle/email-xss
...
Approved by xiemaisi
2018-11-08 10:53:10 +00:00
semmle-qlci
29cabc0e09
Merge pull request #424 from esben-semmle/js/syntactic-nullOrUndefined
...
Approved by asger-semmle
2018-11-08 10:52:44 +00:00
calum
789e2fcf6d
C#: Fix an ArgumentNullException.
2018-11-08 10:39:38 +00:00
Geoffrey White
5b09e11a52
CPP: Repair macro case.
2018-11-08 10:01:07 +00:00
Geoffrey White
d6f27f0b2d
CPP: Add a test of macros.
2018-11-08 09:58:59 +00:00