本文整理汇总了C++中AnalysisProcessor::aluSpreadTaintRegMem方法的典型用法代码示例。如果您正苦于以下问题:C++ AnalysisProcessor::aluSpreadTaintRegMem方法的具体用法?C++ AnalysisProcessor::aluSpreadTaintRegMem怎么用?C++ AnalysisProcessor::aluSpreadTaintRegMem使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AnalysisProcessor
的用法示例。
在下文中一共展示了AnalysisProcessor::aluSpreadTaintRegMem方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: regMem
void SbbIRBuilder::regMem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicExpression *se;
smt2lib::smtAstAbstractNode *expr, *op1, *op2, *op3;
auto memSize = this->operands[1].getMem().getSize();
auto mem = this->operands[1].getMem().getAddress();
auto reg = this->operands[0].getReg().getTritonRegId();
auto regSize = this->operands[0].getReg().getSize();
/* Create the SMT semantic */
op1 = ap.buildSymbolicRegOperand(reg, regSize);
op2 = ap.buildSymbolicMemOperand(mem, memSize);
op3 = ap.buildSymbolicFlagOperand(ID_CF, regSize);
/* Final expr */
expr = smt2lib::bvsub(op1, smt2lib::bvadd(op2, op3));
/* Create the symbolic expression */
se = ap.createRegSE(inst, expr, reg, regSize);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, reg, mem, memSize);
/* Add the symbolic flags expression to the current inst */
EflagsBuilder::af(inst, se, ap, regSize, op1, op2);
EflagsBuilder::cfSub(inst, se, ap, regSize, op1, op2);
EflagsBuilder::ofSub(inst, se, ap, regSize, op1, op2);
EflagsBuilder::pf(inst, se, ap, regSize);
EflagsBuilder::sf(inst, se, ap, regSize);
EflagsBuilder::zf(inst, se, ap, regSize);
}
示例2: regMem
void XorIRBuilder::regMem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicElement *se;
std::stringstream expr, op1, op2;
uint32 readSize = this->operands[1].getSize();
uint64 mem = this->operands[1].getValue();
uint64 reg = this->operands[0].getValue();
uint32 regSize = this->operands[1].getSize();
/* Create the SMT semantic */
op1 << ap.buildSymbolicRegOperand(reg, regSize);
op2 << ap.buildSymbolicMemOperand(mem, readSize);
// Final expr
expr << smt2lib::bvxor(op1.str(), op2.str());
/* Create the symbolic element */
se = ap.createRegSE(inst, expr, reg, regSize);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, reg, mem, readSize);
/* Add the symbolic flags element to the current inst */
EflagsBuilder::clearFlag(inst, ap, ID_CF, "Clears carry flag");
EflagsBuilder::clearFlag(inst, ap, ID_OF, "Clears overflow flag");
EflagsBuilder::pf(inst, se, ap);
EflagsBuilder::sf(inst, se, ap, regSize);
EflagsBuilder::zf(inst, se, ap, regSize);
}
示例3: regMem
void ImulIRBuilder::regMem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicElement *se;
std::stringstream expr, op1, op2, op3;
uint64 reg = this->operands[0].getValue();
uint32 regSize = this->operands[0].getSize();
uint64 mem = this->operands[1].getValue();
uint32 memSize = this->operands[1].getSize();
uint64 imm = 0;
if (this->operands[2].getType() == IRBuilderOperand::IMM)
imm = this->operands[2].getValue();
/* Create the SMT semantic */
op1 << ap.buildSymbolicRegOperand(reg, regSize);
op2 << ap.buildSymbolicMemOperand(mem, memSize);
op3 << smt2lib::bv(imm, memSize * REG_SIZE);
/* Finale expr */
if (imm == 0)
expr << smt2lib::extract(regSize,
smt2lib::bvmul(
smt2lib::sx(op1.str(), regSize * REG_SIZE),
smt2lib::sx(op2.str(), regSize * REG_SIZE)
)
);
else
expr << smt2lib::extract(regSize,
smt2lib::bvmul(
smt2lib::sx(op2.str(), regSize * REG_SIZE),
smt2lib::sx(op3.str(), memSize * REG_SIZE)
)
);
/* Create the symbolic element */
se = ap.createRegSE(inst, expr, reg, regSize);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, reg, mem, memSize);
/* Add the symbolic flags element to the current inst */
EflagsBuilder::cfImul(inst, se, ap, regSize, op1);
EflagsBuilder::ofImul(inst, se, ap, regSize, op1);
EflagsBuilder::sf(inst, se, ap, regSize);
}
示例4: regMem
void AndnpsIRBuilder::regMem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicElement *se;
std::stringstream expr, op1, op2;
uint32 readSize = this->operands[1].getSize();
uint64 mem = this->operands[1].getValue();
uint64 reg = this->operands[0].getValue();
uint32 regSize = this->operands[0].getSize();
/* Create the SMT semantic */
op1 << ap.buildSymbolicRegOperand(reg, regSize);
op2 << ap.buildSymbolicMemOperand(mem, readSize);
// Final expr
expr << smt2lib::bvand(smt2lib::bvnot(op1.str()), op2.str());
/* Create the symbolic element */
se = ap.createRegSE(inst, expr, reg, regSize);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, reg, mem, readSize);
}
示例5: regMem
void AndnpsIRBuilder::regMem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicExpression *se;
smt2lib::smtAstAbstractNode *expr, *op1, *op2;
auto reg = this->operands[0].getReg();
auto regSize = this->operands[0].getReg().getSize();
auto mem = this->operands[1].getMem();
auto memSize = this->operands[1].getMem().getSize();
/* Create the SMT semantic */
op1 = ap.buildSymbolicRegOperand(reg, regSize);
op2 = ap.buildSymbolicMemOperand(mem, memSize);
// Final expr
expr = smt2lib::bvand(smt2lib::bvnot(op1), op2);
/* Create the symbolic expression */
se = ap.createRegSE(inst, expr, reg, regSize);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, reg, mem, memSize);
}
示例6: regMem
void ImulIRBuilder::regMem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicExpression *se;
smt2lib::smtAstAbstractNode *expr, *op1, *op2, *op3;
uint64 imm = 0;
auto reg1 = this->operands[0].getReg();
auto regSize1 = this->operands[0].getReg().getSize();
auto mem2 = this->operands[1].getMem();
auto memSize2 = this->operands[1].getMem().getSize();
if (this->operands[2].getType() == IRBuilderOperand::IMM)
imm = this->operands[2].getImm().getValue();
/* Create the SMT semantic */
op1 = ap.buildSymbolicRegOperand(reg1, regSize1);
op2 = ap.buildSymbolicMemOperand(mem2, memSize2);
op3 = smt2lib::bv(imm, memSize2 * REG_SIZE);
/* Case 1 */
if (this->operands[0].isReadOnly()) {
/* Expr */
expr = smt2lib::bvmul(
smt2lib::sx(memSize2 * REG_SIZE, op2),
smt2lib::sx(regSize1 * REG_SIZE, op1)
);
switch (regSize1) {
case BYTE_SIZE:
/* RAX */
se = ap.createRegSE(inst, smt2lib::extract(WORD_SIZE_BIT - 1, 0, expr), ID_TMP_RAX, WORD_SIZE);
ap.aluSpreadTaintRegMem(se, ID_TMP_RAX, mem2, memSize2);
break;
case WORD_SIZE:
/* RDX */
se = ap.createRegSE(inst, smt2lib::extract(DWORD_SIZE_BIT - 1, WORD_SIZE_BIT, expr), ID_TMP_RDX, WORD_SIZE);
ap.aluSpreadTaintRegMem(se, ID_TMP_RDX, mem2, memSize2);
/* RAX */
se = ap.createRegSE(inst, smt2lib::extract(WORD_SIZE_BIT - 1, 0, expr), ID_TMP_RAX, WORD_SIZE);
ap.aluSpreadTaintRegMem(se, ID_TMP_RAX, mem2, memSize2);
break;
case DWORD_SIZE:
/* RDX */
se = ap.createRegSE(inst, smt2lib::extract(QWORD_SIZE_BIT - 1, DWORD_SIZE_BIT, expr), ID_TMP_RDX, DWORD_SIZE);
ap.aluSpreadTaintRegMem(se, ID_TMP_RDX, mem2, memSize2);
/* RAX */
se = ap.createRegSE(inst, smt2lib::extract(DWORD_SIZE_BIT - 1, 0, expr), ID_TMP_RAX, DWORD_SIZE);
ap.aluSpreadTaintRegMem(se, ID_TMP_RAX, mem2, memSize2);
break;
case QWORD_SIZE:
/* RDX */
se = ap.createRegSE(inst, smt2lib::extract(DQWORD_SIZE_BIT - 1, QWORD_SIZE_BIT, expr), ID_TMP_RDX, QWORD_SIZE);
ap.aluSpreadTaintRegMem(se, ID_TMP_RDX, mem2, memSize2);
/* RAX */
se = ap.createRegSE(inst, smt2lib::extract(QWORD_SIZE_BIT - 1, 0, expr), ID_TMP_RAX, QWORD_SIZE);
ap.aluSpreadTaintRegMem(se, ID_TMP_RAX, mem2, memSize2);
break;
default:
throw std::runtime_error("ImulIRBuilder::reg - Invalid operand size");
}
}
/* Case 2 */
else if (this->operands[0].isReadAndWrite()) {
/* Expr */
expr = smt2lib::bvmul(
smt2lib::sx(regSize1 * REG_SIZE, op1),
smt2lib::sx(memSize2 * REG_SIZE, op2)
);
/* Create the symbolic expression */
se = ap.createRegSE(inst, smt2lib::extract((regSize1 * REG_SIZE) - 1, 0, expr), reg1, regSize1);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, reg1, mem2, memSize2);
}
/* Case 3 */
else if (this->operands[0].isWriteOnly()) {
/* Expr */
expr = smt2lib::bvmul(
smt2lib::sx(memSize2 * REG_SIZE, op2),
smt2lib::sx(memSize2 * REG_SIZE, op3)
);
/* Create the symbolic expression */
se = ap.createRegSE(inst, smt2lib::extract((regSize1 * REG_SIZE) - 1, 0, expr), reg1, regSize1);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, reg1, mem2, memSize2);
}
else {
throw std::runtime_error("ImulIRBuilder::regReg - Invalid operand");
}
//.........这里部分代码省略.........
示例7: mem
void IdivIRBuilder::mem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicElement *se;
std::stringstream expr, result, dividend, divisor, mod;
uint64 mem = this->operands[0].getValue();
uint32 memSize = this->operands[0].getSize();
/* Create the SMT semantic */
divisor << ap.buildSymbolicMemOperand(mem, memSize);
switch (memSize) {
case BYTE_SIZE:
/* AX */
dividend << ap.buildSymbolicRegOperand(ID_RAX, WORD_SIZE);
/* res = AX / Source */
result << smt2lib::bvsdiv(dividend.str(), smt2lib::sx(divisor.str(), BYTE_SIZE_BIT));
/* mod = AX % Source */
mod << smt2lib::bvsrem(dividend.str(), smt2lib::sx(divisor.str(), BYTE_SIZE_BIT));
/* AH = mod */
/* AL = res */
expr << smt2lib::concat(
smt2lib::extract(7, 0, mod.str()), /* AH = mod */
smt2lib::extract(7, 0, result.str()) /* AL = res */
);
/* Create the symbolic element */
se = ap.createRegSE(inst, expr, ID_RAX, WORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_RAX, mem, memSize);
break;
case WORD_SIZE:
/* DX:AX */
dividend << smt2lib::concat(ap.buildSymbolicRegOperand(ID_RDX, WORD_SIZE), ap.buildSymbolicRegOperand(ID_RAX, WORD_SIZE));
/* res = DX:AX / Source */
result << smt2lib::extract(15, 0, smt2lib::bvsdiv(dividend.str(), smt2lib::sx(divisor.str(), WORD_SIZE_BIT)));
/* mod = DX:AX % Source */
mod << smt2lib::extract(15, 0, smt2lib::bvsrem(dividend.str(), smt2lib::sx(divisor.str(), WORD_SIZE_BIT)));
/* Create the symbolic element for AX */
se = ap.createRegSE(inst, result, ID_RAX, WORD_SIZE);
/* Apply the taint for AX */
ap.aluSpreadTaintRegMem(se, ID_RAX, mem, memSize);
/* Create the symbolic element for DX */
se = ap.createRegSE(inst, mod, ID_RDX, WORD_SIZE);
/* Apply the taint for DX */
ap.aluSpreadTaintRegMem(se, ID_RDX, mem, memSize);
break;
case DWORD_SIZE:
/* EDX:EAX */
dividend << smt2lib::concat(ap.buildSymbolicRegOperand(ID_RDX, DWORD_SIZE), ap.buildSymbolicRegOperand(ID_RAX, DWORD_SIZE));
/* res = EDX:EAX / Source */
result << smt2lib::extract(31, 0, smt2lib::bvsdiv(dividend.str(), smt2lib::sx(divisor.str(), DWORD_SIZE_BIT)));
/* mod = EDX:EAX % Source */
mod << smt2lib::extract(31, 0, smt2lib::bvsrem(dividend.str(), smt2lib::sx(divisor.str(), DWORD_SIZE_BIT)));
/* Create the symbolic element for EAX */
se = ap.createRegSE(inst, result, ID_RAX, DWORD_SIZE);
/* Apply the taint for EAX */
ap.aluSpreadTaintRegMem(se, ID_RAX, mem, memSize);
/* Create the symbolic element for EDX */
se = ap.createRegSE(inst, mod, ID_RDX, DWORD_SIZE);
/* Apply the taint for EDX */
ap.aluSpreadTaintRegMem(se, ID_RDX, mem, memSize);
break;
case QWORD_SIZE:
/* RDX:RAX */
dividend << smt2lib::concat(ap.buildSymbolicRegOperand(ID_RDX, QWORD_SIZE), ap.buildSymbolicRegOperand(ID_RDX, QWORD_SIZE));
/* res = RDX:RAX / Source */
result << smt2lib::extract(63, 0, smt2lib::bvsdiv(dividend.str(), smt2lib::sx(divisor.str(), QWORD_SIZE_BIT)));
/* mod = RDX:RAX % Source */
mod << smt2lib::extract(63, 0, smt2lib::bvsrem(dividend.str(), smt2lib::sx(divisor.str(), QWORD_SIZE_BIT)));
/* Create the symbolic element for RAX */
se = ap.createRegSE(inst, result, ID_RAX, QWORD_SIZE);
/* Apply the taint for RAX */
ap.aluSpreadTaintRegMem(se, ID_RAX, mem, memSize);
/* Create the symbolic element for RDX */
se = ap.createRegSE(inst, mod, ID_RDX, QWORD_SIZE);
/* Apply the taint for RDX */
ap.aluSpreadTaintRegMem(se, ID_RDX, mem, memSize);
break;
}
}
示例8: mem
void DivIRBuilder::mem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicExpression *se;
smt2lib::smtAstAbstractNode *expr, *result, *dividend, *divisor, *mod;
auto mem = this->operands[0].getMem().getAddress();
auto memSize = this->operands[0].getMem().getSize();
/* Create the SMT semantic */
divisor = ap.buildSymbolicMemOperand(mem, memSize);
switch (memSize) {
case BYTE_SIZE:
/* AX */
dividend = ap.buildSymbolicRegOperand(ID_RAX, WORD_SIZE);
/* res = AX / Source */
result = smt2lib::bvudiv(dividend, smt2lib::zx(BYTE_SIZE_BIT, divisor));
/* mod = AX % Source */
mod = smt2lib::bvurem(dividend, smt2lib::zx(BYTE_SIZE_BIT, divisor));
/* AH = mod */
/* AL = res */
expr = smt2lib::concat(
smt2lib::extract(7, 0, mod), /* AH = mod */
smt2lib::extract(7, 0, result) /* AL = res */
);
/* Create the symbolic expression */
se = ap.createRegSE(inst, expr, ID_RAX, WORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_RAX, mem, memSize);
break;
case WORD_SIZE:
/* DX:AX */
dividend = smt2lib::concat(ap.buildSymbolicRegOperand(ID_RDX, WORD_SIZE), ap.buildSymbolicRegOperand(ID_RAX, WORD_SIZE));
/* res = DX:AX / Source */
result = smt2lib::extract(15, 0, smt2lib::bvudiv(dividend, smt2lib::zx(WORD_SIZE_BIT, divisor)));
/* mod = DX:AX % Source */
mod = smt2lib::extract(15, 0, smt2lib::bvurem(dividend, smt2lib::zx(WORD_SIZE_BIT, divisor)));
/* Create the symbolic expression for AX */
se = ap.createRegSE(inst, result, ID_RAX, WORD_SIZE);
/* Apply the taint for AX */
ap.aluSpreadTaintRegMem(se, ID_RAX, mem, memSize);
/* Create the symbolic expression for DX */
se = ap.createRegSE(inst, mod, ID_RDX, WORD_SIZE);
/* Apply the taint for DX */
ap.aluSpreadTaintRegMem(se, ID_RDX, mem, memSize);
break;
case DWORD_SIZE:
/* EDX:EAX */
dividend = smt2lib::concat(ap.buildSymbolicRegOperand(ID_RDX, DWORD_SIZE), ap.buildSymbolicRegOperand(ID_RAX, DWORD_SIZE));
/* res = EDX:EAX / Source */
result = smt2lib::extract(31, 0, smt2lib::bvudiv(dividend, smt2lib::zx(DWORD_SIZE_BIT, divisor)));
/* mod = EDX:EAX % Source */
mod = smt2lib::extract(31, 0, smt2lib::bvurem(dividend, smt2lib::zx(DWORD_SIZE_BIT, divisor)));
/* Create the symbolic expression for EAX */
se = ap.createRegSE(inst, result, ID_RAX, DWORD_SIZE);
/* Apply the taint for EAX */
ap.aluSpreadTaintRegMem(se, ID_RAX, mem, memSize);
/* Create the symbolic expression for EDX */
se = ap.createRegSE(inst, mod, ID_RDX, DWORD_SIZE);
/* Apply the taint for EDX */
ap.aluSpreadTaintRegMem(se, ID_RDX, mem, memSize);
break;
case QWORD_SIZE:
/* RDX:RAX */
dividend = smt2lib::concat(ap.buildSymbolicRegOperand(ID_RDX, QWORD_SIZE), ap.buildSymbolicRegOperand(ID_RAX, QWORD_SIZE));
/* res = RDX:RAX / Source */
result = smt2lib::extract(63, 0, smt2lib::bvudiv(dividend, smt2lib::zx(QWORD_SIZE_BIT, divisor)));
/* mod = RDX:RAX % Source */
mod = smt2lib::extract(63, 0, smt2lib::bvurem(dividend, smt2lib::zx(QWORD_SIZE_BIT, divisor)));
/* Create the symbolic expression for RAX */
se = ap.createRegSE(inst, result, ID_RAX, QWORD_SIZE);
/* Apply the taint for RAX */
ap.aluSpreadTaintRegMem(se, ID_RAX, mem, memSize);
/* Create the symbolic expression for RDX */
se = ap.createRegSE(inst, mod, ID_RDX, QWORD_SIZE);
/* Apply the taint for RDX */
ap.aluSpreadTaintRegMem(se, ID_RDX, mem, memSize);
break;
}
}
示例9: mem
void MulIRBuilder::mem(AnalysisProcessor &ap, Inst &inst) const {
SymbolicExpression *se;
smt2lib::smtAstAbstractNode *expr, *op1, *op2, *rax, *rdx;
auto mem = this->operands[0].getMem();
auto memSize = this->operands[0].getMem().getSize();
/* Create the SMT semantic */
op1 = ap.buildSymbolicRegOperand(ID_TMP_RAX, memSize);
op2 = ap.buildSymbolicMemOperand(mem, memSize);
switch (memSize) {
/* AX = AL * r/m8 */
case BYTE_SIZE:
/* Final expr */
expr = smt2lib::bvmul(
smt2lib::zx(BYTE_SIZE_BIT, op1),
smt2lib::zx(BYTE_SIZE_BIT, op2)
);
/* Create the symbolic expression */
se = ap.createRegSE(inst, expr, ID_TMP_RAX, WORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_TMP_RAX, mem, memSize);
/* Add the symbolic flags expression to the current inst */
rax = smt2lib::extract((WORD_SIZE_BIT - 1), BYTE_SIZE_BIT, expr);
EflagsBuilder::cfMul(inst, se, ap, memSize, rax);
EflagsBuilder::ofMul(inst, se, ap, memSize, rax);
break;
/* DX:AX = AX * r/m16 */
case WORD_SIZE:
/* Final expr */
expr = smt2lib::bvmul(
smt2lib::zx(WORD_SIZE_BIT, op1),
smt2lib::zx(WORD_SIZE_BIT, op2)
);
rax = smt2lib::extract((WORD_SIZE_BIT - 1), 0, expr);
rdx = smt2lib::extract((DWORD_SIZE_BIT - 1), WORD_SIZE_BIT, expr);
/* Create the symbolic expression for AX */
se = ap.createRegSE(inst, rax, ID_TMP_RAX, WORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_TMP_RAX, mem, memSize);
/* Create the symbolic expression for DX */
se = ap.createRegSE(inst, rdx, ID_TMP_RDX, WORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_TMP_RDX, mem, memSize);
/* Add the symbolic flags expression to the current inst */
EflagsBuilder::cfMul(inst, se, ap, memSize, rdx);
EflagsBuilder::ofMul(inst, se, ap, memSize, rdx);
break;
/* EDX:EAX = EAX * r/m32 */
case DWORD_SIZE:
/* Final expr */
expr = smt2lib::bvmul(
smt2lib::zx(DWORD_SIZE_BIT, op1),
smt2lib::zx(DWORD_SIZE_BIT, op2)
);
rax = smt2lib::extract((DWORD_SIZE_BIT - 1), 0, expr);
rdx = smt2lib::extract((QWORD_SIZE_BIT - 1), DWORD_SIZE_BIT, expr);
/* Create the symbolic expression for EAX */
se = ap.createRegSE(inst, rax, ID_TMP_RAX, DWORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_TMP_RAX, mem, memSize);
/* Create the symbolic expression for EDX */
se = ap.createRegSE(inst, rdx, ID_TMP_RDX, DWORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_TMP_RDX, mem, memSize);
/* Add the symbolic flags expression to the current inst */
EflagsBuilder::cfMul(inst, se, ap, memSize, rdx);
EflagsBuilder::ofMul(inst, se, ap, memSize, rdx);
break;
/* RDX:RAX = RAX * r/m64 */
case QWORD_SIZE:
/* Final expr */
expr = smt2lib::bvmul(
smt2lib::zx(QWORD_SIZE_BIT, op1),
smt2lib::zx(QWORD_SIZE_BIT, op2)
);
rax = smt2lib::extract((QWORD_SIZE_BIT - 1), 0, expr);
rdx = smt2lib::extract((DQWORD_SIZE_BIT - 1), QWORD_SIZE_BIT, expr);
/* Create the symbolic expression for RAX */
se = ap.createRegSE(inst, rax, ID_TMP_RAX, QWORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_TMP_RAX, mem, memSize);
/* Create the symbolic expression for RDX */
se = ap.createRegSE(inst, rdx, ID_TMP_RDX, QWORD_SIZE);
/* Apply the taint */
ap.aluSpreadTaintRegMem(se, ID_TMP_RDX, mem, memSize);
/* Add the symbolic flags expression to the current inst */
EflagsBuilder::cfMul(inst, se, ap, memSize, rdx);
EflagsBuilder::ofMul(inst, se, ap, memSize, rdx);
break;
}
}