use of com.google.security.zynamics.binnavi.debug.models.memoryexpressions.MemoryExpressionElement in project binnavi by google.
the class CEvaluationVisitor method visit.
@Override
public void visit(final MultiplicationExpression expression) {
BigInteger value = null;
for (final MemoryExpressionElement child : expression.getChildren()) {
child.visit(this);
final BigInteger childValue = getValue(child);
if (childValue == null) {
return;
}
if (value == null) {
value = getValue(child);
if (value == null) {
return;
}
} else {
value = value.multiply(getValue(child));
}
}
m_partialEvaluationMap.put(expression, value);
}
Aggregations