public void Tcr_RewriteWord32() { Constant c = Constant.Word32(0x0131230); store.EnsureExpressionTypeVariable(factory, c); c.TypeVariable.DataType = PrimitiveType.Word32; c.TypeVariable.OriginalDataType = PrimitiveType.Word32; Expression e = tcr.Rewrite(c, false); Assert.AreEqual("0x00131230", e.ToString()); }
private Expression RewritePointer(Address addr) { return(tcr.Rewrite(addr, null, false)); }