Skip to content

Commit 340cbf1

Browse files
authored
Merge pull request #176 from sipma/memoryaddress
Memoryaddress
2 parents 3b77c9d + 5f5adb3 commit 340cbf1

20 files changed

+593
-237
lines changed

CodeHawk/CH/xprlib/xprUtil.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ let substitute_expr (subst:substitution_t) (expr:xpr_t) =
267267
let rec aux exp =
268268
match exp with
269269
| XVar v -> subst v
270+
| XOp ((Xf "addressofvar"), _) -> exp
270271
| XOp (op,l) -> XOp (op, List.map (fun e -> aux e) l)
271272
| XAttr (s, e) -> XAttr (s, aux e)
272273
| _ -> exp

0 commit comments

Comments
 (0)