14 lines
580 B
Plaintext
14 lines
580 B
Plaintext
rule rule1 :=
|
|
for (!pc: int) in pcsForOpcode(CALL)
|
|
clause [?size: int, ?sa: array<AbsDom>, ?mem: array<AbsDom>, ?in: AbsDom, ?stor: array<AbsDom>, ?cl: bool]
|
|
ExState{!pc}(?size, ?sa, ?mem, ?in, ?stor, ?cl),
|
|
?size > 3
|
|
=> ExState{0}(0, [@V(0)], [@V(0)], @T, ?stor, true);
|
|
|
|
rule rule2 :=
|
|
for (!pc: int) in pcsForOpcode(CALL)
|
|
clause [?size: int, ?sa: array<AbsDom>, ?mem: array<AbsDom>, ?in: AbsDom, ?stor: array<AbsDom>, ?cl: bool]
|
|
ExState{!pc}(?size, ?sa, ?mem, ?in, ?stor, ?cl),
|
|
?size > 3
|
|
=> ExState{!pc+1}(?size-3, store ?sa (?size - 4) @T, [@T], ?in, [@T], ?cl);
|