Capstone cs = new Capstone(platforms[j].arch, platforms[j].mode);
if (platforms[j].syntax != 0)
cs.setSyntax(platforms[j].syntax);
Capstone.CsInsn[] all_insn = cs.disasm(platforms[j].code, 0x1000);
for (int i = 0; i < all_insn.length; i++) {
System.out.println(String.format("0x%x: \t%s\t%s", all_insn[i].address,
all_insn[i].mnemonic, all_insn[i].opStr));
}