You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an issue with conditional jumps comparing a value to 0. 0 is an implicit value in the ifeq, ifne, iflt etc instructions. To transform these, the field would need to be loaded, then the instruction transformed into if_icmpeq, if_icmpne etc.
The good news is I thought about this problem in advance, and my DFA code already detects these jump instructions as a "usage" of the constant variable. The only reason I didn't fix it fully is because it would require a change to the way ReplacementSet works, which I didn't feel like doing at the time.
I can fix this when I get home on Monday.
Say there is a use case of an unpick:
If it's unpicked, unpick will only replace the 0 in the
user()
; it won't replace that incall(int)
'svalue == 0
check.Screenshot:
Note: migrated from FabricMC/yarn#2268
The text was updated successfully, but these errors were encountered: