erik-krogh
|
5a4fe71529
|
Revert "update clap to 3.0 in QL-for-QL"
This reverts commit d072ed969e.
|
2023-01-17 12:38:30 +01:00 |
|
Erik Krogh Kristensen
|
50b9f5bba0
|
Merge pull request #11892 from erik-krogh/clap
QL: update clap to 3.0 in QL-for-QL
|
2023-01-17 12:33:18 +01:00 |
|
erik-krogh
|
587adea809
|
QL: add --working-dir to qltest.cmd to fix qltest
|
2023-01-16 15:37:14 +01:00 |
|
erik-krogh
|
1d62751e15
|
test QL-for-QL on mac/win
|
2023-01-16 15:36:55 +01:00 |
|
erik-krogh
|
d072ed969e
|
update clap to 3.0 in QL-for-QL
|
2023-01-16 12:34:56 +01:00 |
|
erik-krogh
|
6914e9a17a
|
Merge branch 'main' into atorralba/ql/omittable-exists
|
2023-01-11 13:09:38 +01:00 |
|
Tony Torralba
|
ecf568629b
|
Add ExprAggregate as a negative edge in getConjunctionParentRec
|
2023-01-11 09:41:16 +01:00 |
|
Tony Torralba
|
ae8c75ac97
|
Generalize ConjunctionParent
|
2023-01-10 16:08:42 +01:00 |
|
Tony Torralba
|
f6c3f77602
|
QL: Remove omittable exists variables
|
2023-01-10 13:37:58 +01:00 |
|
yoff
|
c01ce955ba
|
Merge pull request #11778 from yoff/shared/inline-tests
Shared: Inline test expectations
|
2023-01-09 13:21:18 +01:00 |
|
Rasmus Lerchedahl Petersen
|
c3b3c05cf3
|
Revert "Merge pull request #37 from erik-krogh/shared/inline-tests"
This reverts commit 65fe9abcfe, reversing
changes made to 08e9d3391f.
|
2023-01-05 09:19:43 +01:00 |
|
Henry Mercer
|
b96160f0f3
|
Merge pull request #11783 from github/henrymercer/specify-baseline-languages
Specify language names in extractor packs
|
2023-01-04 10:42:18 +00:00 |
|
Erik Krogh Kristensen
|
cedc9c0bff
|
Merge pull request #11582 from erik-krogh/heuristics
JS: Add experimental variants of common security queries with more sources
|
2023-01-04 10:46:19 +01:00 |
|
erik-krogh
|
9e63390c78
|
fix that ql/cand-missing-nomagic had a catastrophic join-order
|
2022-12-23 21:20:30 +01:00 |
|
Erik Krogh Kristensen
|
393a8c2bd8
|
Merge pull request #11630 from erik-krogh/useInstanceOf
QL4QL: enable medium precision queries, and make the "suggest instanceof" query louder
|
2022-12-23 14:22:23 +01:00 |
|
Henry Mercer
|
6be790929d
|
Specify language names in extractor packs
|
2022-12-23 13:15:04 +00:00 |
|
Tony Torralba
|
36ca97e4f6
|
Add exclusions to reduce FP
Predicate parameters that have a database type are excluded.
Also, uses of the exists variable in an agreggation or another quantifier are excluded.
|
2022-12-22 11:15:07 +01:00 |
|
erik-krogh
|
b3dd50bc36
|
inline Location into the shared implementation of InlineExpectationsTest
|
2022-12-22 11:09:43 +01:00 |
|
Rasmus Lerchedahl Petersen
|
f28eb6bf31
|
ql4ql: use shared inline tests
- add util shared pack to ql
- remove from identical-files
|
2022-12-22 10:20:07 +01:00 |
|
erik-krogh
|
38bd4d9b12
|
update expected output to have more copies of "T"
|
2022-12-21 21:45:59 +01:00 |
|
erik-krogh
|
dbdc7275fc
|
have unique parents, also for mock AST nodes
|
2022-12-21 21:38:52 +01:00 |
|
erik-krogh
|
5728e3ee8f
|
Merge branch 'main' into equiv
|
2022-12-21 21:28:32 +01:00 |
|
Tony Torralba
|
7d0018c897
|
Update ql/ql/src/queries/style/OmittableExists.ql
|
2022-12-21 17:16:34 +01:00 |
|
Tony Torralba
|
ac0c42c5c6
|
Apply suggestions from code review
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
|
2022-12-21 16:16:58 +01:00 |
|
Tony Torralba
|
227e099854
|
Apply code review suggestions
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
|
2022-12-21 12:40:29 +01:00 |
|
Tony Torralba
|
aa1d49cb95
|
Add OmittableExists QL-for-QL query
|
2022-12-21 12:26:58 +01:00 |
|
erik-krogh
|
ab9855e196
|
fix getAnnotation() for new-type branches with parameters
|
2022-12-20 15:55:54 +01:00 |
|
erik-krogh
|
57f429ec5d
|
change this = this to any()
|
2022-12-20 13:56:25 +01:00 |
|
Erik Krogh Kristensen
|
0cc3232c10
|
fix typo
Co-authored-by: Arthur Baars <aibaars@github.com>
|
2022-12-20 13:56:25 +01:00 |
|
erik-krogh
|
0e426090f2
|
update expected output
|
2022-12-20 13:56:23 +01:00 |
|
erik-krogh
|
605bfd6e93
|
move the "I don't care about parent relation on mocks" hack into the predicate, so the tests dont fail
|
2022-12-20 13:55:49 +01:00 |
|
erik-krogh
|
54072d29f1
|
add explicit this
|
2022-12-20 13:55:49 +01:00 |
|
erik-krogh
|
49277f553f
|
model the last parts of the EquivalenceRelation module
|
2022-12-20 13:55:49 +01:00 |
|
erik-krogh
|
a11e618cfc
|
mock parameters
|
2022-12-20 13:55:49 +01:00 |
|
erik-krogh
|
4feb48ce5f
|
classless predicate, used to model the edgeSig predicate
|
2022-12-20 13:55:49 +01:00 |
|
erik-krogh
|
4dc52379ad
|
add a mock TypeExpr, and use it
|
2022-12-20 13:55:49 +01:00 |
|
erik-krogh
|
5db2f0aba0
|
mock classes, and add a Mock T class to QlBuiltins
|
2022-12-20 13:55:49 +01:00 |
|
erik-krogh
|
b7e0d1f8b3
|
don't include mock Ast nodes in PrintAst.ql
|
2022-12-20 13:55:49 +01:00 |
|
erik-krogh
|
51d5e881de
|
add an Ast mocking library, and use it to create mocks of the QlBuiltins and EquivalenceRelation modules
|
2022-12-20 13:55:48 +01:00 |
|
erik-krogh
|
0ca38faa4d
|
add test of buildins
|
2022-12-20 13:54:38 +01:00 |
|
Erik Krogh Kristensen
|
073e9bc52f
|
Merge pull request #11173 from erik-krogh/notDead
QL: improve the dead-code query
|
2022-12-20 13:36:58 +01:00 |
|
Erik Krogh Kristensen
|
b1e6a86a4b
|
Merge pull request #11757 from erik-krogh/treesitter-qldoc
QL/RB: make top TreeSitter.qll comment into a qldoc
|
2022-12-20 13:36:31 +01:00 |
|
erik-krogh
|
2ff23a6fc0
|
make top TreeSitter.qll comment into a qldoc
|
2022-12-20 11:39:06 +01:00 |
|
Arthur Baars
|
c8255770bc
|
QL: fix visibility of module parameters
|
2022-12-20 11:22:20 +01:00 |
|
Arthur Baars
|
bad5c65144
|
Add test
|
2022-12-20 10:37:57 +01:00 |
|
erik-krogh
|
2f84b21c7f
|
QL: add getQueryName to QueryDoc
|
2022-12-19 11:29:20 +01:00 |
|
erik-krogh
|
42880f54a6
|
change ql/to-string-in-logic to a warning query
|
2022-12-14 14:48:55 +01:00 |
|
erik-krogh
|
1cd1b14e78
|
remove some more benign results in ql/suggest-instanceof-extension
|
2022-12-14 14:48:01 +01:00 |
|
erik-krogh
|
35f9f7c71b
|
remove some benign results from ql/suggest-instanceof-extension
|
2022-12-14 14:47:58 +01:00 |
|
erik-krogh
|
618f48b60b
|
lower the precision of ql/class-predicate-doesnt-use-this to low
|
2022-12-14 14:31:22 +01:00 |
|