forked from M-Labs/nac3
David Mak
c7de22287e
All allocas for temporary objects are now placed in the beginning of the function. Allocas for on-temporary objects are not modified because these variables may appear in a loop and thus must be uniquely represented.
15 lines
203 B
Python
15 lines
203 B
Python
@extern
|
|
def output_bool(x: bool):
|
|
...
|
|
|
|
@extern
|
|
def dbg_stack_address(x: str) -> uint64:
|
|
...
|
|
|
|
def run() -> int32:
|
|
a = dbg_stack_address("a")
|
|
b = dbg_stack_address("b")
|
|
|
|
output_bool(a == b)
|
|
|
|
return 0 |