nac3/nac3standalone/demo/src/stack_addr_issue233.py

15 lines
221 B
Python
Raw Normal View History

@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