Skip to content

mahesh-hegde/broken-parser-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoC for a fault-tolerant parser for jnigen.

Requires Java 17.

mvn dependency:copy -Dartifact="org.apache.pdfbox:pdfbox:2.0.27" -DoutputDirectory=".jar/"
mvn -q exec:java '-Dexec.mainClass=com.github.maheshhegde.brokenparserpoc.Main'

Results:

CHECK QDox Ecj JavaParser
Well formed source class import true true true
Well formed source class import using wildcard true true true
Type from bad source used in impl true true true
Type from bad source used in signature true true true
Type from JAR library in classpath true true true
Signature of method using unknown types in implementation true true true
Unknown library type imported qualified true false false
Unknown library type, wildcard import false false false

About

PoC for a fault-tolerant parser-adapter for JNIgen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages