Jami Cogswell
|
e5982f19fa
|
minor updates
|
2022-10-19 11:05:40 -04:00 |
|
Jami Cogswell
|
961e5c72a3
|
minor updates
|
2022-10-19 08:44:35 -04:00 |
|
Jami Cogswell
|
4df0fbcce1
|
update tests
|
2022-10-19 01:17:57 -04:00 |
|
Jami Cogswell
|
2714c7fdcf
|
update tests
|
2022-10-14 16:45:13 -04:00 |
|
Jami Cogswell
|
2daa3457d7
|
combine three configs into one
|
2022-10-13 17:57:56 -04:00 |
|
Jami Cogswell
|
bfbb6db436
|
clean up code
|
2022-10-12 16:58:34 -04:00 |
|
Jami Cogswell
|
37d85587e0
|
refactor code into InsufficientKeySize.qll
|
2022-10-12 15:39:57 -04:00 |
|
Jami Cogswell
|
01c2a8cbba
|
add symm to the single config; still seems to work
|
2022-10-12 08:51:22 -04:00 |
|
Jami Cogswell
|
29de0c6748
|
make one config for asymm with flow states; seems to work...
|
2022-10-11 22:29:48 -04:00 |
|
Jami Cogswell
|
26f4abf12b
|
remove globalflow for key(pair)gen
|
2022-10-11 16:56:11 -04:00 |
|
Jami Cogswell
|
e64825ff7a
|
fix code-scanning bot problems
|
2022-10-11 16:56:11 -04:00 |
|
Jami Cogswell
|
bd76b1fcc0
|
clean-up and update configurations to have specs as sink
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
3cc7f143b2
|
clean up code somewhat
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
f5a2fef7a3
|
update tests for non-path version
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
b7123c17f8
|
draft of adding kpg tracking into dataflow config
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
cdac0e2b52
|
add local algo name tracking, still need to add ability to track algo name when KeyGen obj is param to other method
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
c414ee0e25
|
add ECC dataflow config; passes all test cases; still don't have algo name tracking
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
5e2ef66014
|
refactoring to use both dataflow configs; commit before deleting unused code
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
ac707198d5
|
commit before adding taint flow back (since no taint flow doesn't capture all cases)
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
8ffd2522e7
|
add draft code to find algo type to replace tainttracking configs
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
d3b1a04c13
|
handle FN case with simple VarAccess; add draft of dataflow config to handle complex VarAccess
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
7de9c05c9d
|
use CompileTimeConstantExpr for FN with VarAccess, and remove KeyGeneratorInitConfiguration
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
75794ec7a7
|
false negative testing - before rewrite for variable dataflow
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
9eb45c3787
|
refactor tests and code, update help file
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
657e1e62ca
|
start refactoring query logic into lib file
|
2022-10-11 16:56:10 -04:00 |
|
Jami Cogswell
|
9b7df354e6
|
move files
|
2022-10-11 16:56:10 -04:00 |
|
Tony Torralba
|
f19eb783be
|
Generalize file/path taint steps
This is needed by PathSanitizer but also helps simplify ZipSlip.ql
|
2022-10-04 12:27:01 +02:00 |
|
Tony Torralba
|
df29e05b9f
|
Revert "Java: Adjust ImpossibleJavadocThrows.ql"
This reverts commit c40b6285a2.
|
2022-10-04 10:59:39 +02:00 |
|
Tony Torralba
|
ba9eb8c73c
|
Fix stub generator
Add line break after all stubbed annotations to avoid malformed code
See https://github.com/github/codeql/pull/8695\#discussion_r985674245
|
2022-10-03 14:43:58 +02:00 |
|
Tony Torralba
|
f860ae8c82
|
Apply review suggestions
|
2022-10-03 10:38:35 +02:00 |
|
Tony Torralba
|
2036453176
|
Add stub generation tests
|
2022-10-03 10:31:14 +02:00 |
|
erik-krogh
|
39ffa558f1
|
make a few more queries consistent with the other languages
|
2022-10-02 22:38:25 +02:00 |
|
erik-krogh
|
129cda00db
|
get a few more queries in sync with other languages
|
2022-10-01 11:17:48 +02:00 |
|
erik-krogh
|
acfcc4bfe2
|
update two more queries to better follow the style-guide
|
2022-10-01 10:59:59 +02:00 |
|
erik-krogh
|
7d643e41f3
|
Merge branch 'main' into java-followMsg
|
2022-10-01 10:48:06 +02:00 |
|
Anders Schack-Mulligen
|
b48b5d45ef
|
Merge pull request #10498 from Marcono1234/marcono1234/compilation-unit-simple-name-type
Java: Add `CompilationUnit.getATypeInScope()`
|
2022-09-28 13:18:29 +02:00 |
|
erik-krogh
|
46b5bf32f9
|
update alert-messsages of java queries
|
2022-09-26 12:15:25 +02:00 |
|
Marcono1234
|
c40b6285a2
|
Java: Adjust ImpossibleJavadocThrows.ql
|
2022-09-26 12:08:43 +02:00 |
|
Joe Farebrother
|
b3d9d08750
|
Add tests
|
2022-09-21 13:57:29 +01:00 |
|
Joe Farebrother
|
d32540469b
|
Moved existing tests to subdirectory
|
2022-09-21 13:57:28 +01:00 |
|
Tony Torralba
|
cbb64cc8c1
|
Merge pull request #10352 from atorralba/atorralba/promote-template-injection
Java: Promote Server-side template injection from experimental
|
2022-09-20 16:11:58 +02:00 |
|
Tony Torralba
|
e140f04881
|
Merge pull request #10393 from zbazztian/uri-constructor-flow
Java: Model taint flow for java.net.URI constructors in tainted path queries
|
2022-09-16 15:10:40 +02:00 |
|
Anders Schack-Mulligen
|
726772220c
|
Merge pull request #10191 from smowton/smowton/admin/java-implicit-this-type-tests
Java: Add test regarding the type of an implicit `this` expression
|
2022-09-16 10:58:48 +02:00 |
|
Tony Torralba
|
fdc8453a59
|
Introduce TaintedPathAdditionalTaintStep
Use separate configurations for tainted path and tainted path local again.
|
2022-09-16 10:42:15 +02:00 |
|
Tony Torralba
|
df5178d7ee
|
Merge pull request #10330 from atorralba/atorralba/implicit-pendingintents-compat-sinks
Java: Add Implicit PendingIntents sinks for Compat classes
|
2022-09-15 14:39:19 +02:00 |
|
Sebastian Bauersfeld
|
20d78972f5
|
Address review comments.
|
2022-09-15 16:44:36 +07:00 |
|
Chris Smowton
|
b926bc9efa
|
Fix and add test for java/subtle-inherited-call involving inheritence from generic types
|
2022-09-14 22:17:19 +01:00 |
|
Chris Smowton
|
da04673cb0
|
Fix query java/internal-representation-exposure regarding generic callees, and add a test
|
2022-09-14 22:17:19 +01:00 |
|
Chris Smowton
|
c149754c6b
|
Fix java/iterator-remove-failure to handle calls to specialised generic functions
|
2022-09-14 22:17:19 +01:00 |
|
Sebastian Bauersfeld
|
0468b3a361
|
Java: Track taint through constructor arguments of java.net.URI.
|
2022-09-13 11:35:04 +07:00 |
|