smali icon indicating copy to clipboard operation
smali copied to clipboard

[Feature Request] Could we support dex v41?

Open wangchaohui opened this issue 2 years ago • 3 comments

The following cl turns on the dex v41.

"Enable dex container (DEX v41) for the whole system" https://android-review.git.corp.google.com/c/platform/build/soong/+/2853426

wangchaohui avatar Dec 01 '23 06:12 wangchaohui

@wangchaohui I think the best chance to get this integrated is to open this feature request on the issue tracker of the new smali repository: https://github.com/google/smali/issues.

auermich93 avatar Dec 01 '23 18:12 auermich93

I found some apks even have v54. recompiling the apk will success if I change the smali nothing. but recompiling the apk will fail if I change the samli anything.

The maximum allowed register in this context is list of registers is v15

I don't know why. How can I ingore the smali error when recompile the apk.

qyzhaojinxi avatar Jan 12 '24 07:01 qyzhaojinxi

@qyzhaojinxi You mix here things up. We are talking here about the dex version 41 and not about (local) registers that are labeled v0 to vN. The problem you have btw is that you use an instruction in combination with a register that is out of range, e.g., the regular invoke instruction can only address v0 to v15 as operands.

auermich93 avatar Feb 04 '24 20:02 auermich93