Skip to content

Conversation

@kingthorin
Copy link
Member

@kingthorin kingthorin commented Feb 6, 2025

Overview

Split from: #3838 as we have other potential uses.

Related Issues

Checklist

  • Update help
  • Update changelog
  • Run ./gradlew spotlessApply for code formatting
  • Write tests
  • Check code coverage
  • Sign-off commits
  • Squash commits
  • Use a descriptive title

@kingthorin kingthorin marked this pull request as draft February 6, 2025 23:23
@kingthorin kingthorin changed the title First go commonlib: Add ANTLR Feb 6, 2025
@psiinon
Copy link
Member

psiinon commented Feb 7, 2025

Logo
Checkmarx One – Scan Summary & Detailsd06554b8-052a-42a0-be93-99aaad4981c6

Great job, no security vulnerabilities found in this Pull Request

Comment on lines +66 to +68
tasks.named("generateGrammarSource") {
mustRunAfter(tasks.named("generateEffectiveLombokConfig"))
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea if this is the best way to do this, it was the first way I found that worked.

@kingthorin kingthorin marked this pull request as ready for review February 7, 2025 02:11
import org.zaproxy.addon.commonlib.parserapi.impl.JavaScriptLexer;
import org.zaproxy.addon.commonlib.parserapi.impl.JavaScriptParser;

public class ParserApi {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a proper API to extract/parse the JavaScript content. While this code might still be useful for more than one scan rule it needs to be cleaned up first.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could remove the changelog entry and not bother announcing it until the other part is done? Or we can wait and expand it?I'm happy to push it further, just needed feedback. Do we need to start a doc?

Signed-off-by: kingthorin <[email protected]>
@kingthorin kingthorin marked this pull request as draft August 18, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants