Commit c0d44bb6 authored by Julian Kranz's avatar Julian Kranz

dgdsl

parent 9fb2fa6b
module gdsl.rreil.expr_cmp;
class CompareExpression {
public abstract string toString();
}
\ No newline at end of file
module gdsl.rreil.sexpr.expr_cmp;
import gdsl.rreil.sexpr.sexpr;
import expr_cmp = gdsl.rreil.expr_cmp.expr_cmp;
class CompareExpression : Sexpr {
private expr_cmp.CompareExpression _inner;
@property public expr_cmp.CompareExpression inner() {
return _inner;
}
public this(expr_cmp.CompareExpression inner) {
this._inner = inner;
}
public override string toString() {
return _inner.toString();
}
}
unittest {
import gdsl.rreil.linear.immediate;
Linear l = new Linear(new Immediate(99));
assert(l.toString() == "99");
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment