Status Update
Comments
sg...@google.com <sg...@google.com>
br...@snapchat.com <br...@snapchat.com> #2
ch...@google.com <ch...@google.com> #3
Yes, this is very likely a duplicate of invoke-virtual {p4, p1}, Le0e;->b(LiSd;)Lb6i;
above should deterministically be rewritten into an invoke-static
instruction.
I will mark this as a duplicate, but please ping back here if you still see the issue.
Description
Background
I've observed that incorrect bytecode is being generated non-deterministically. Specifically, static methods of a Kotlin object are incorrectly invoked virtually.
I've shared the APK/mapping files already with Soren in the google drive folder named
issue-161727616
with the apks namedprodBad.apk
andprodGood.apk
.These APKs were built on the exact same SHA. Between the two APKs only the following classes were different:
S85
,SZd
ande0e
.Below is the relevant sections of code that caused the issue: