forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3standalone/demo/src/stack_addr_issue233.py

15 lines
221 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