use of net.runelite.deob.deobfuscators.transformers.buffer.BufferMethodInjector in project runelite by runelite.
the class RuneliteBufferTransformer method injectBufferMethods.
/**
* inject runelite buffer methods
*
* @param group
*/
private void injectBufferMethods(ClassGroup group) {
BufferFinder bf = new BufferFinder(group);
bf.find();
BufferPayloadFinder bpf = new BufferPayloadFinder(bf.getBuffer());
bpf.find();
BufferMethodInjector bmi = new BufferMethodInjector(bpf);
try {
bmi.inject();
} catch (IOException ex) {
logger.warn("unable to inject buffer methods", ex);
}
}
Aggregations