Skip to content

Commit

Permalink
Re-structuring the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlspring committed Dec 8, 2023
1 parent 31ae44b commit f85ae1c
Show file tree
Hide file tree
Showing 299 changed files with 23 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/request-for-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The following tasks will need to be carried out:
* [ ] Set up an `.expected` file and make sure the results only contain findings in the vulnerable class(es).
* [ ] Set up an `options` file.
* [ ] Set up a `pom.xml` file.
* [ ] Update the documentation.

# Useful Commands

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
fi
# The version of the CodeQL query pack
version=`cat vertx-codeql-queries/ql/src/qlpack.yml | yq e ".version" -`
version=`cat vertx-codeql-queries/src/main/ql/qlpack.yml | yq e ".version" -`
# Check if this is a snapshot version
isSnapshot=false
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd vertx-codeql-queries/ql/src
cd src/main/ql
codeql pack install
codeql pack publish --allow-prerelease
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import java

class Vertx extends RefType {
Vertx() {
this.getASourceSupertype*().hasQualifiedName("io.vertx.core", "Vertx")
getASourceSupertype*().hasQualifiedName("io.vertx.core", "Vertx")
}
}

class VertxCreateHttpServerMethodAccess extends MethodAccess {
VertxCreateHttpServerMethodAccess() {
exists(Method m |
this.getMethod() = m and
getMethod() = m and
m.getName().matches("createHttpServer") and
m.getDeclaringType() instanceof Vertx
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import io.vertx.core.AbstractVerticle;
import io.vertx.core.http.HttpHeaders;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpServerOptions;
import io.vertx.core.net.JksOptions;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.handler.CorsHandler;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.carlspring.security.vertx.http;

import io.vertx.core.Vertx;

/**
* @author carlspring
*/
public class InvocationOfVertxVertx
{

public void start()
{
Vertx.vertx();
}

}
File renamed without changes.
File renamed without changes.
File renamed without changes.

This file was deleted.

This file was deleted.

0 comments on commit f85ae1c

Please sign in to comment.