python3.11
def test(a, b):
try:
if a/b:
a=1
else:
a=2
except:
return 3
return
def test(a, b):
try:
if a/b:
a=1
else:
a=2
return 0
except:
return 3
return
The two cases above can be decompile correctly
def test(a, b):
try:
if a/b:
a=1
return 1
else:
a=2
except:
return 3
return
def test(a, b):
try:
if a/b:
a=1
else:
a=2
return 2
except:
return 3
return
The two cases above can't be decompile correctly