Commit Graph

138 Commits

Author SHA1 Message Date
Stephan Brandauer
4494864d15 fix bug in InputArgumentIndex feature 2022-06-30 08:32:50 +02:00
Stephan Brandauer
f605f45cfd performance fixes 2022-06-30 08:32:49 +02:00
Stephan Brandauer
3400b31d7c use ? for unknown parameternames 2022-06-30 08:32:49 +02:00
Stephan Brandauer
11ed0f2d7b add documentations and rename a feature 2022-06-30 08:32:49 +02:00
Stephan Brandauer
ed0b18c8cd add functionInterfacesInFile and surroundingFunctionParameters features 2022-06-30 08:32:48 +02:00
Stephan Brandauer
8d59dceb53 documentation for calleeImports ATM feature 2022-06-30 08:32:48 +02:00
Stephan Brandauer
e26bc59863 documentation for new feature 2022-06-30 08:32:48 +02:00
Stephan Brandauer
d2580d8cb5 ATM: new feature to list all imports in an endpoint's file 2022-06-30 08:32:48 +02:00
Esben Sparre Andreasen
ba308e27e8 use proper import instead of inlining 2022-06-30 08:32:47 +02:00
Esben Sparre Andreasen
ca8a6003f3 remove Input_ArgumentIndexAndAccessPathFromCallee 2022-06-30 08:32:47 +02:00
Esben Sparre Andreasen
5f0658756a add docstring examples 2022-06-30 08:32:47 +02:00
Esben Sparre Andreasen
710cfdfcb6 address review comments 2022-06-30 08:32:46 +02:00
Esben Sparre Andreasen
511eae1f1c Apply suggestions from code review
Co-authored-by: Henry Mercer <henrymercer@github.com>
2022-06-30 08:32:46 +02:00
Esben Sparre Andreasen
1a97f65454 fix semantic merge conflict 2022-06-30 08:32:46 +02:00
Esben Sparre Andreasen
09cc6c8dd7 rename new features 2022-06-30 08:32:45 +02:00
Esben Sparre Andreasen
624f254417 add more features 2022-06-30 08:32:45 +02:00
Esben Sparre Andreasen
dc9721db2d improve feature documentation 2022-06-30 08:32:45 +02:00
Esben Sparre Andreasen
6b33c940fe improve feature tests with more cases 2022-06-30 08:32:45 +02:00
Esben Sparre Andreasen
55697c5a3f improve access path strings 2022-06-30 08:32:44 +02:00
Esben Sparre Andreasen
294bcd1117 support import in getSimpleAccessPath 2022-06-30 08:32:44 +02:00
Esben Sparre Andreasen
6f8cafff42 support await in getSimpleAccessPath 2022-06-30 08:32:44 +02:00
Esben Sparre Andreasen
65475c9b2d avoid using new feautes by default 2022-06-30 08:32:43 +02:00
Esben Sparre Andreasen
b524cebdd2 add CompareFeatures.ql 2022-06-30 08:32:43 +02:00
Esben Sparre Andreasen
50cf5e23a8 add generic tests for features 2022-06-30 08:32:43 +02:00
Esben Sparre Andreasen
45a9bb8769 Document EndpointFeatures.qll 2022-06-30 08:32:43 +02:00
Esben Sparre Andreasen
a05c475cc0 add ParameterAccessPathSimpleFromArgumentTraversal 2022-06-30 08:32:42 +02:00
Esben Sparre Andreasen
e21b2f4dc1 improve getSimpleAccessPath 2022-06-30 08:32:42 +02:00
Esben Sparre Andreasen
a676cf62a6 refactor calleeAccessPath feature to class 2022-06-30 08:32:42 +02:00
Stephan Brandauer
e73b50a3f4 refactor getACallBasedTokenFeature to class-use 2022-06-30 08:32:41 +02:00
Esben Sparre Andreasen
e5e3bb4247 Add CalleeAccessPathSimpleFromArgumentTraversal 2022-06-30 08:32:41 +02:00
Esben Sparre Andreasen
592959048e refactor EndpointFeatures.ql to use classes 2022-06-30 08:32:41 +02:00
Chuan-kai Lin
a8dabb238d JS: Fix expected test output for ATM queries 2022-03-30 11:35:17 -07:00
github-actions[bot]
1e620c99c6 JS: Bump patch version of ML-powered library and query packs post-release 2022-03-23 11:53:34 +00:00
github-actions[bot]
dc0c8374d2 JS: Bump minor version of ML-powered library and query packs 2022-03-23 11:47:53 +00:00
github-actions[bot]
2b42d84ccd JS: Bump patch version of ML-powered model pack post-release 2022-03-23 11:47:53 +00:00
github-actions[bot]
6fbc0e6e32 JS: Bump ML model pack dependency of ML-powered model building and query packs 2022-03-23 11:47:53 +00:00
github-actions[bot]
8d13662315 JS: Bump minor version of ML-powered model pack 2022-03-23 11:47:08 +00:00
Erik Krogh Kristensen
cd9d61c1fc Merge pull request #8450 from erik-krogh/importAs
disallow lowercase import-as aliases
2022-03-16 11:32:37 +01:00
Erik Krogh Kristensen
b0fc958b32 simplify imports
Co-authored-by: Henry Mercer <henry.mercer@me.com>
2022-03-15 15:10:04 +01:00
Erik Krogh Kristensen
89af50f6d5 rename all lower-case import-as statements 2022-03-15 14:40:38 +01:00
Anna Railton
739d94e8f9 Add docstring to ExtractEndpointMapping.ql 2022-03-15 12:50:51 +00:00
Henry Mercer
f38b498eed Merge pull request #8433 from github/henrymercer/js-atm-remove-isEffectiveSinkWithOverridingScore
JS: Remove `isEffectiveSinkWithOverridingScore` from ML-powered libraries
2022-03-15 10:04:30 +00:00
Henry Mercer
5102cadf8e Merge pull request #8404 from github/codeql-ci/js-atm-new-release
JS: Bump version numbers of ML-powered packs after 0.1.0 release
2022-03-14 17:32:37 +00:00
Henry Mercer
8b1b2af2d8 JS: Remove isEffectiveSinkWithOverridingScore
This was previously used in the ATM external API query, but is now dead
code.
2022-03-14 14:25:36 +00:00
github-actions[bot]
7ac7657ffc JS: Bump patch version of ML-powered library and query packs post-release 2022-03-11 12:17:13 +00:00
github-actions[bot]
2f6886642c JS: Bump minor version of ML-powered library and query packs 2022-03-11 12:13:03 +00:00
Erik Krogh Kristensen
69353bb014 patch upper-case acronyms to be PascalCase 2022-03-11 11:10:33 +01:00
Tom Bolton
173f45f316 Merge pull request #8334 from github/tombolton/add-mapping-query
JS: Add query that maps queries to sink type
2022-03-07 10:35:37 +00:00
tombolton
2ffa6771ff replace endpoint type name with encoding in mapping query 2022-03-04 11:00:31 +00:00
tombolton
bd9e845aea update column names and remove encoding value 2022-03-03 15:59:10 +00:00