Esben Sparre Andreasen
708fd3d73f
JS: add query to query suite
2020-04-24 09:17:46 +02:00
Esben Sparre Andreasen
89613dbd23
JS: add query for incomplete HTML attribute sanitization
2020-04-24 09:17:46 +02:00
Mathias Vorreiter Pedersen
7df45a9bb4
Merge pull request #3316 from jbj/arithTypesMatch-perf
...
C++: inline arithTypesMatch predicate
2020-04-24 09:13:02 +02:00
Jonas Jensen
d98e956c2b
Merge pull request #3322 from felicitymay/merge-124-master
...
Merge rc/1.24 into master
2020-04-24 08:48:54 +02:00
Rasmus Wriedt Larsen
8878884724
Python: Rewrite web/stdlib/Request.qll QLDoc to be more clear
2020-04-24 08:07:23 +02:00
Rasmus Wriedt Larsen
23f3736b67
Python: Simplify CgiFieldStorageFieldKind.getTaintOfAttribute
2020-04-24 08:04:55 +02:00
Sauyon Lee
b3c363d1c2
Try setting destination for expand-archive
2020-04-23 22:39:19 -07:00
Sauyon Lee
38f744ddd6
Action: Use expand-archive on Windows
2020-04-23 20:04:19 -07:00
Sauyon Lee
78bffa96b3
Use CodeQL version 2.1.1
2020-04-23 18:41:42 -07:00
Sauyon Lee
b3beca0a1c
Merge pull request #111 from github/rc/1.24
...
Merge rc/1.24 into master
2020-04-23 17:46:12 -07:00
Cornelius Riemenschneider
c25eb19b18
Add support for openssl allocation/deallocation functions.
2020-04-24 01:57:14 +02:00
Sauyon Lee
972551edd7
sync-files.py: cast line to string before concat
2020-04-23 15:32:28 -07:00
Dave
95b55f86ba
Add a VS Code task to run sync-files.py
...
If you're developing one of the libraries that has muiltiple copies auto-generated by `sync-files.py`, you can now run `sync-files.py --latest` by going to the `Terminal | Run Task...` menu in VS Code and selecting the `Sync Identical Files` task. You can set a keyboard binding to run this task for quicker access.
2020-04-23 16:58:34 -04:00
james
5e87bc998e
docs: add note about path queries
2020-04-23 20:30:28 +01:00
Erik Krogh Kristensen
19c6092998
autoformat
2020-04-23 20:59:34 +02:00
Erik Krogh Kristensen
ea1628ef54
fix typo in jQuery.qll
...
Co-Authored-By: Esben Sparre Andreasen <esbena@github.com >
2020-04-23 20:58:49 +02:00
Erik Krogh Kristensen
a71567da54
autoformat
2020-04-23 18:58:33 +02:00
Taus
1d6b6a48ae
Merge pull request #2924 from BekaValentine/python-objectapi-to-valueapi-wrongnumberargumentsincall
...
Python: ObjectAPI to ValueAPI: WrongNumberArgumentsInCall
2020-04-23 17:56:39 +02:00
Erik Krogh Kristensen
ee43db1b58
slightly expand the $().each model
2020-04-23 16:49:47 +02:00
Erik Krogh Kristensen
448ed150df
allow the empty string to flow to a JQuery XSS sink
2020-04-23 16:45:37 +02:00
Cornelius Riemenschneider
0ea7fedeb0
Address review and fix bug in deconstructSizeExpr/3.
...
Logic is hard, and I made a mistake inverting the formula for the second case, so the
predicate never held for a sizeExpr like sizeof(int)*sizeof(void).
Now, this case is correctly handled by the fallback.
2020-04-23 16:39:29 +02:00
Cornelius Riemenschneider
492f1f446a
Remove pragma[inline] from deconstructSizeExpr/3.
2020-04-23 15:53:11 +02:00
Erik Krogh Kristensen
96896fd7f5
second round of UnsafeJQueryPlugin reuse
2020-04-23 15:12:32 +02:00
Erik Krogh Kristensen
ea569dba78
update doc for JQuery plugin predicate
...
Co-Authored-By: Esben Sparre Andreasen <esbena@github.com >
2020-04-23 15:03:39 +02:00
Asger Feldthaus
cafdcfa4de
JS: Preserve reflective calls in getAMethodCall
2020-04-23 13:57:14 +01:00
Erik Krogh Kristensen
1954a60b6e
reuse existing predicate from UnsafeJqueryPlugin
2020-04-23 14:25:34 +02:00
Erik Krogh Kristensen
09b6727e6d
refactor $.each model
2020-04-23 14:24:56 +02:00
Erik Krogh Kristensen
ce106981b3
add tests
2020-04-23 14:24:33 +02:00
Mathias Vorreiter Pedersen
deff2820c2
C++: Modernize getAnAssignedValue following PR comments
2020-04-23 14:14:35 +02:00
Rasmus Wriedt Larsen
fe50811bbf
Python: In taint test, list comprehension => for loop
...
Apparently they're not the same thing :(
2020-04-23 14:13:00 +02:00
Rasmus Wriedt Larsen
06edd076b6
Python: Enable taint when iterating over ExternalFileObject
2020-04-23 14:11:50 +02:00
Erik Krogh Kristensen
e7d8cd8e8c
Merge remote-tracking branch 'upstream/master' into MoarJQuery
2020-04-23 14:10:53 +02:00
semmle-qlci
36b28386f8
Merge pull request #3332 from erik-krogh/JGrowl
...
Approved by esbena
2020-04-23 13:06:00 +01:00
Erik Krogh Kristensen
67443718c0
change note
2020-04-23 13:55:37 +02:00
Erik Krogh Kristensen
6897dda614
model that this in $().each(callback) is a DOM-node
2020-04-23 13:51:17 +02:00
Erik Krogh Kristensen
8de86967aa
model that this in a jQuery plugin is a jQuery object
2020-04-23 13:48:54 +02:00
semmle-qlci
801ce89c67
Merge pull request #3099 from esbena/js/introduce-poi-utility
...
Approved by erik-krogh
2020-04-23 12:14:00 +01:00
Jonas Jensen
37e3bc4b3e
C++: invoke unique without | |
...
Based on PR feedback. This will avoid a syntactic wart and make the
invocation do the right thing both with and without
`language[monotonicAggregates]`.
2020-04-23 13:10:05 +02:00
Jonas Jensen
312e6229fb
Merge pull request #3330 from MathiasVP/libc-assert
...
C++: Generalize charpred of LibcAssert
2020-04-23 13:06:41 +02:00
Rasmus Wriedt Larsen
1fe0040086
Python: Don't use six in urllib.parse string related tests
...
Since this test inheriently has `--max-import-depth=1`, by using six, we would
never look at the actual source-code of urllib.parse/urlparse and therefore the
test would never show if we understood the library code good enough that we
could propagate taint out-of-the-box.
All tests moved by one line... that is why the diff is so big
2020-04-23 13:00:45 +02:00
Erik Krogh Kristensen
d8c498bd15
add NOT OK comment
...
Co-Authored-By: Esben Sparre Andreasen <esbena@github.com >
2020-04-23 12:17:25 +02:00
Cornelius Riemenschneider
a33b7f8c99
Make getSizeMult() functional.
2020-04-23 12:15:31 +02:00
Rasmus Wriedt Larsen
94ae2febe5
Python: Propagate taint through parse_qsl
2020-04-23 12:14:22 +02:00
Erik Krogh Kristensen
e1423b0fa5
add test for jGrowl
2020-04-23 11:58:06 +02:00
Erik Krogh Kristensen
5382976195
change note
2020-04-23 11:52:16 +02:00
Taus
54d1991a9d
Merge pull request #3300 from RasmusWL/python-pointsto-regression-open
...
Python: Add points-to regression for uncalled function
2020-04-23 11:50:30 +02:00
Pavel Avgustinov
adf12ba2b4
Merge pull request #3333 from sj/patch-3
...
Update CODE_OF_CONDUCT.md to be based on Contributor Covenant template
2020-04-23 10:46:41 +01:00
Bas van Schaik
0c8786f941
Update code of conduct in line with GH
...
Updates CODE_OF_CONDUCT.md to use the Contributor Covenant Code of Conduct that is widely used for other open source projects at GitHub.
2020-04-23 10:19:13 +01:00
Jonas Jensen
d6f77c0f98
Merge pull request #3328 from MathiasVP/literal-comment
...
C++: Remove unnecessary part of comment
2020-04-23 11:10:16 +02:00
Mathias Vorreiter Pedersen
0fb534c79e
C++: Fix join order in getAnAssignedValue
2020-04-23 11:04:40 +02:00