if (localInfo)
{
locals= LocalVariableExtractor.extract(rmeth);
}
DalvCode code= RopTranslator.translate(rmeth, positionInfo, locals, paramSize);
DalvCode.AssignIndicesCallback callback= new DalvCode.AssignIndicesCallback()
{
public int getIndex(Constant cst)
{
// Everything is at index 0!
return 0;
}
};
code.assignIndices(callback);
DalvInsnList instructions= code.getInsns();
codeElement.setAttribute("register-size", String.valueOf(instructions.getRegistersSize()));
processLocals(instructions.getRegistersSize(), isStatic, parseClassName(cf.getThisClass().getClassType().getClassName()).toString(), meth.getPrototype().getParameterTypes(), codeElement);
Map<Integer, SwitchData> switchDataBlocks= extractSwitchData(instructions);
Map<Integer, ArrayData> arrayData= extractArrayData(instructions);
CatchTable catches= code.getCatches();
processCatchTable(catches, codeElement);
Map<Integer, Target> targets= extractTargets(instructions, catches);
// For each entry in the catch table, we create a try-catch element,
// including the try and all the catch children and append it to the