use of com.google.security.zynamics.zylib.disassembly.IOperandTreeNode in project binnavi by google.
the class SubfeoTranslator method translate.
@Override
public void translate(final ITranslationEnvironment environment, final IInstruction instruction, final List<ReilInstruction> instructions) throws InternalTranslationException {
TranslationHelpers.checkTranslationArguments(environment, instruction, instructions, "subfeo");
final IOperandTreeNode registerOperand1 = instruction.getOperands().get(1).getRootNode().getChildren().get(0);
final IOperandTreeNode registerOperand2 = instruction.getOperands().get(2).getRootNode().getChildren().get(0);
SubGenerator.generate(instruction.getAddress().toLong() * 0x100, environment, instruction, instructions, "subfeo", registerOperand1.getValue(), registerOperand2.getValue(), false, true, true, true);
}
use of com.google.security.zynamics.zylib.disassembly.IOperandTreeNode in project binnavi by google.
the class SubficTranslator method translate.
@Override
public void translate(final ITranslationEnvironment environment, final IInstruction instruction, final List<ReilInstruction> instructions) throws InternalTranslationException {
TranslationHelpers.checkTranslationArguments(environment, instruction, instructions, "subfic");
final IOperandTreeNode registerOperand1 = instruction.getOperands().get(1).getRootNode().getChildren().get(0);
final IOperandTreeNode literalOperand1 = instruction.getOperands().get(2).getRootNode().getChildren().get(0);
SubGenerator.generate(instruction.getAddress().toLong() * 0x100, environment, instruction, instructions, "subfic", registerOperand1.getValue(), literalOperand1.getValue(), false, false, true, false);
}
use of com.google.security.zynamics.zylib.disassembly.IOperandTreeNode in project binnavi by google.
the class SubfmeDotTranslator method translate.
@Override
public void translate(final ITranslationEnvironment environment, final IInstruction instruction, final List<ReilInstruction> instructions) throws InternalTranslationException {
TranslationHelpers.checkTranslationArguments(environment, instruction, instructions, "subfme.");
final IOperandTreeNode registerOperand1 = instruction.getOperands().get(1).getRootNode().getChildren().get(0);
SubGenerator.generate(instruction.getAddress().toLong() * 0x100, environment, instruction, instructions, "subfme.", registerOperand1.getValue(), String.valueOf(0xFFFFFFFFL), true, false, true, true);
}
use of com.google.security.zynamics.zylib.disassembly.IOperandTreeNode in project binnavi by google.
the class SubfmeoDotTranslator method translate.
@Override
public void translate(final ITranslationEnvironment environment, final IInstruction instruction, final List<ReilInstruction> instructions) throws InternalTranslationException {
TranslationHelpers.checkTranslationArguments(environment, instruction, instructions, "subfmeo.");
final IOperandTreeNode registerOperand1 = instruction.getOperands().get(1).getRootNode().getChildren().get(0);
SubGenerator.generate(instruction.getAddress().toLong() * 0x100, environment, instruction, instructions, "subfmeo.", registerOperand1.getValue(), String.valueOf(0xFFFFFFFFL), true, true, true, true);
}
use of com.google.security.zynamics.zylib.disassembly.IOperandTreeNode in project binnavi by google.
the class SubfmeoTranslator method translate.
@Override
public void translate(final ITranslationEnvironment environment, final IInstruction instruction, final List<ReilInstruction> instructions) throws InternalTranslationException {
TranslationHelpers.checkTranslationArguments(environment, instruction, instructions, "subfmeo");
final IOperandTreeNode registerOperand1 = instruction.getOperands().get(1).getRootNode().getChildren().get(0);
SubGenerator.generate(instruction.getAddress().toLong() * 0x100, environment, instruction, instructions, "subfmeo", registerOperand1.getValue(), String.valueOf(0xFFFFFFFFL), false, true, true, true);
}
Aggregations