2023-10-03 18:02:45 +08:00
|
|
|
@extern
|
|
|
|
def output_bool(x: bool):
|
2023-10-30 17:19:18 +08:00
|
|
|
...
|
2023-10-03 18:02:45 +08:00
|
|
|
|
|
|
|
@extern
|
|
|
|
def dbg_stack_address(x: str) -> uint64:
|
2023-10-30 17:19:18 +08:00
|
|
|
...
|
2023-10-03 18:02:45 +08:00
|
|
|
|
|
|
|
def run() -> int32:
|
2023-10-30 17:19:18 +08:00
|
|
|
a = dbg_stack_address("a")
|
|
|
|
b = dbg_stack_address("b")
|
2023-10-03 18:02:45 +08:00
|
|
|
|
2023-10-30 17:19:18 +08:00
|
|
|
output_bool(a == b)
|
2023-10-03 18:02:45 +08:00
|
|
|
|
2023-10-30 17:19:18 +08:00
|
|
|
return 0
|