10-12-2014, 10:21 AM
load jars from file or urlĀ
Add Analysers, store class, field and method data into HookMaps
A lot of filters
https://bitbucket.org/0xJAVA/byte-engine...?at=master
changes whole jars class, method and field names based on mapping data.
pretty prints
find opcode/instruction patterns in code.
Code:
JarDownloader dl = new JarDownloader(new JarInfo(new File("jar.jar")));
boolean worked = dl.parse();
Map<String, ClassNode> nodes = dl.getContents();
Code:
JarDumper dumper = new JarDumper(contents);
dumper.dump(new File("out.jar"));
Add Analysers, store class, field and method data into HookMaps
A lot of filters
https://bitbucket.org/0xJAVA/byte-engine...?at=master
Code:
Refactorer refactorer = new Refactorer(hookMap, contents);
refactorer.run();
Code:
InstructionPrinter.consolePrint(methodName);
Code:
InstructionSearcher searcher = new InstructionSearcher(m.instructions, pattern);
boolean match = searcher.search();
List<AbstractInsnNode[]> matchedInsns = searched.getMatches();