mirror of
https://github.com/revanced/smali.git
synced 2025-05-06 01:24:24 +02:00
Add the new type and string bss mapping offsets in the oat header
This commit is contained in:
parent
2f31502924
commit
ad8f15d61d
@ -614,6 +614,9 @@ public class OatFile extends BaseDexBuffer implements MultiDexContainer<OatDexFi
|
|||||||
if (getOatVersion() >= 127) {
|
if (getOatVersion() >= 127) {
|
||||||
offset += 4; // method bss mapping offset
|
offset += 4; // method bss mapping offset
|
||||||
}
|
}
|
||||||
|
if (getOatVersion() >= 135) {
|
||||||
|
offset += 8; // type bss mapping and string bss mapping offsets
|
||||||
|
}
|
||||||
if (getOatVersion() < 75) {
|
if (getOatVersion() < 75) {
|
||||||
// prior to 75, the class offsets are included here directly
|
// prior to 75, the class offsets are included here directly
|
||||||
int classCount = readSmallUint(dexOffset + HeaderItem.CLASS_COUNT_OFFSET);
|
int classCount = readSmallUint(dexOffset + HeaderItem.CLASS_COUNT_OFFSET);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user