Open HermitOwO opened 3 months ago
Are you sure you're using the exact same version of Lithium?
Yes, I'm using Lithium 0.24.5.
Got the same error as well
Seems to fix the issue, it is due to windows reading smali will have \r\n while the patch only search for \n. To temporary fix the issue just change line 152 of patch.go with the following.
@HermitOwO
Thanks for tracking that down. I'll make a fix for that.
On a side note, at some point, I'll get around to replacing the text-based smali patching with proper semantic pattern matching on the instructions themselves.