This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.math.BigInteger; | |
public class Buffer extends Node { | |
public static di la; | |
public byte[] payload; | |
public int caret; | |
public static fe x; | |
public static int[] a = new int[256]; | |
public Buffer(byte[] var1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.nullbool.impl.analysers.collections; | |
import java.lang.reflect.Modifier; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.nullbool.api.Builder; | |
import org.nullbool.api.analysis.ClassAnalyser; | |
import org.nullbool.api.analysis.IFieldAnalyser; | |
import org.nullbool.api.analysis.IMethodAnalyser; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.nullbool.api.obfuscation.cfg; | |
import static org.objectweb.asm.tree.AbstractInsnNode.JUMP_INSN; | |
import static org.objectweb.asm.tree.AbstractInsnNode.LOOKUPSWITCH_INSN; | |
import static org.objectweb.asm.tree.AbstractInsnNode.TABLESWITCH_INSN; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.util.ArrayList; | |
import java.util.Collection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static long inverse(long k, boolean long_) { | |
try { | |
if(!long_) { | |
k = (int)k; | |
} | |
final BigInteger num = BigInteger.valueOf(k); | |
return num.modInverse(new BigInteger(String.valueOf(1L << (long_ ? 64 : 32)))).longValue(); | |
} catch (final Exception e) { | |
e.printStackTrace(); | |
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static class Frame { | |
static final int TODO = Integer.MIN_VALUE + 1; | |
static final int DONE = Integer.MIN_VALUE + 2; | |
final List<FlowBlock> newOrder; | |
final List<FlowBlock> blocks; | |
final Deque<FlowBlock> stack; | |
final int[] index; | |
final int[] low; | |
int dfsnum; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Runescape script syntax | |
Script syntax | |
Scripts are a series of blocks of the format | |
=Trigger,subject,[object] | |
*command; | |
*command; | |
etc... | |
Available script triggers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static final int TODO = -2; | |
private static final int DONE = -3; | |
public void visit(FlowBlock cur, List<FlowBlock> order, Stack<FlowBlock> stack, AtomicInteger curDfsNum, int[] index, int[] low, Set<FlowBlock> vertices_to_consider) { | |
int curIndex = blocks.indexOf(cur); | |
int cdn = curDfsNum.get(); | |
index[curIndex] = cdn; | |
low[curIndex] = cdn; | |
curDfsNum.incrementAndGet(); | |