Skip to content

jumanji144/Reconstruct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reconstruct

Resconstruct is a java library to infer missing information vectors of java classes.

Features

  • Phantom classes
    • Inheritance solving
    • Dummy field and method creation

Usage

byte[] classData = ...;

Reconstruct re = new Reconstruct();
re.add(classData);
re.run();
// now all phantoms that were generated for this class will be generated
// you can either get the class hireachy 
ClassHireachy ch = re.getHireachy();
List<PhantomClass> phantoms = ch.getPhantoms();
... // do something
// or convert them to class bytes
Map<String, byte[]> builtClasses = re.build();
... // do something

Reconstruct throws GenerateException when the generation is impossible to complete, but errors can be ignored via setIgnoreSolveExceptions

About

Resconstruct is a java library to infer missing information vectors of java classes.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages