Skip to content

wreulicke/classfile-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

classfile-parser

This is Java classfile parser, written in pure Go.

Usage

import (
	"log"
	parser "github.com/wreulicke/classfile-parser"
)

func main() {
	f, err := os.Open("some/dir/foo.class")
	if err != nil {
		log.Fatal(err)
	}
	p := parser.New(f)
	classfile, err := p.Parse()
	if err != nil {
		log.Fatal(err)
	}
	// ...
}

Supported Versions

Java 22

Notice

Opcode parser is experimental.

License

  • MIT

About

Java class file parser implemented in go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published