0%

oat字节码

compile

1
adb shell cmd package compile -m speed -f com.qiming.demo

oatdump

1
adb shell oatdump --oat-file=/data/app/~~RnILvms5w3_075LOf9_xMg==/com.qiming.demo-WCwMJ72J4_s_z46SET15wQ==/oat/arm64/base.odex > 1.txt

oat解析

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
MAGIC:
oat
225

LOCATION:
/data/app/~~Du9LdRTEExdQVxTl49zvAg==/com.qiming.demo-9zTq_lT1cvmXWXCOHG7wRQ==/oat/arm64/base.odex

CHECKSUM:
0xae46a342

INSTRUCTION SET:
Arm64

INSTRUCTION SET FEATURES:
-a53,-crc,-lse,-fp16,-dotprod,-sve

DEX FILE COUNT:
2

EXECUTABLE OFFSET:
0x00001000

JNI DLSYM LOOKUP TRAMPOLINE OFFSET:
0x00000000

JNI DLSYM LOOKUP CRITICAL TRAMPOLINE OFFSET:
0x00000000

QUICK GENERIC JNI TRAMPOLINE OFFSET:
0x00000000

QUICK IMT CONFLICT TRAMPOLINE OFFSET:
0x00000000

QUICK RESOLUTION TRAMPOLINE OFFSET:
0x00000000

QUICK TO INTERPRETER BRIDGE OFFSET:
0x00000000

NTERP_TRAMPOLINE OFFSET:
0x00000000

KEY VALUE STORE:
apex-versions = /1676873348/1676873348/1676873348/1676873348/1676873348///1676873332/1676873361/1676873334/1676873368/1676873331/1676873354/1676873354/1676873365/1676873302/1676873313/1676873313/1676873308
bootclasspath = /apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar
bootclasspath-checksums = i;12/3e0292d2:d/76cb3078:d/dedc31fd:d/70df82a8:d/11e10b18:d/9dae3a4e:d/948eca37:d/4a3ac153:d/5e4c80f2:d/b5d5fdfb:d/8f94b460:d/bb54fef2:d/627da384:d/dbfd662f
classpath = PCL[]
compilation-reason = cmdline
compiler-filter = verify
concurrent-copying = true
debuggable = true
dex2oat-cmdline = /apex/com.android.art/bin/dex2oat32 --zip-fd=7 --zip-location=base.apk --oat-fd=8 --oat-location=/data/app/~~Du9LdRTEExdQVxTl49zvAg==/com.qiming.demo-9zTq_lT1cvmXWXCOHG7wRQ==/oat/arm64/base.odex --input-vdex-fd=-1 --output-vdex-fd=9 --swap-fd=10 --classpath-dir=/data/app/~~Du9LdRTEExdQVxTl49zvAg==/com.qiming.demo-9zTq_lT1cvmXWXCOHG7wRQ== --class-loader-context=PCL[]{} --instruction-set=arm64 --instruction-set-features=default --instruction-set-variant=kryo385 --compiler-filter=verify --compilation-reason=cmdline --max-image-block-size=524288 --resolve-startup-const-strings=true --debuggable --generate-mini-debug-info --runtime-arg -Xtarget-sdk-version:32 --runtime-arg -Xhidden-api-policy:enabled --runtime-arg -Xms64m --runtime-arg -Xmx512m --inline-max-code-units=0
native-debuggable = false
requires-image = false

SIZE:
4096

.data.bimg.rel.ro: empty.

.bss: empty.

Layout data
SectionTypeCode:LayoutTypeHot(0-0) LayoutTypeSometimesUsed(0-0) LayoutTypeStartupOnly(0-0) LayoutTypeUsedOnce(0-0) LayoutTypeUnused(0-0)
SectionTypeStrings:LayoutTypeHot(0-0) LayoutTypeSometimesUsed(0-0) LayoutTypeStartupOnly(0-0) LayoutTypeUsedOnce(0-0) LayoutTypeUnused(0-0)

.bss mapping for ArtMethod: empty.
.bss mapping for Class: empty.
.bss mapping for Public Class: empty.
.bss mapping for Package Class: empty.
.bss mapping for String: empty.
Layout data
SectionTypeCode:LayoutTypeHot(0-0) LayoutTypeSometimesUsed(0-0) LayoutTypeStartupOnly(0-0) LayoutTypeUsedOnce(0-0) LayoutTypeUnused(0-0)
SectionTypeStrings:LayoutTypeHot(0-0) LayoutTypeSometimesUsed(0-0) LayoutTypeStartupOnly(0-0) LayoutTypeUsedOnce(0-0) LayoutTypeUnused(0-0)

.bss mapping for ArtMethod: empty.
.bss mapping for Class: empty.
.bss mapping for Public Class: empty.
.bss mapping for Package Class: empty.
.bss mapping for String: empty.
Dependencies of base.apk:
Dependencies of Lcom/qiming/demo/R$color;:
Dependencies of Lcom/qiming/demo/R$drawable;:
Dependencies of Lcom/qiming/demo/R$layout;:
Dependencies of Lcom/qiming/demo/R$mipmap;:
Dependencies of Lcom/qiming/demo/R$string;:
Dependencies of Lcom/qiming/demo/R$style;:
Dependencies of Lcom/qiming/demo/R$xml;:
Dependencies of Lcom/qiming/demo/R;:
Dependencies of base.apk!classes2.dex:
Dependencies of Lcom/qiming/demo/BuildConfig;:
Dependencies of Lcom/qiming/demo/MainActivity;:
Lcom/qiming/demo/MainActivity; must be assignable to Landroid/app/Activity;
Dependencies of Lcom/qiming/demo/Person;:
OatDexFile:
location: base.apk
checksum: 0xfec5adc2
dex-file: 0x00000044..0x00000ae7
type-table: 0x00001460..0x0000149f
0: Lcom/qiming/demo/R$style;
1: Lcom/qiming/demo/R;
2: Lcom/qiming/demo/R$xml;
3: Lcom/qiming/demo/R$layout;
4: Lcom/qiming/demo/R$string;
5: Lcom/qiming/demo/R$mipmap;
6: Lcom/qiming/demo/R$color;
7: Lcom/qiming/demo/R$drawable;
0: Lcom/qiming/demo/R$color; (offset=0x00000b28) (type_idx=1) (Verified) (NoneCompiled)
0: void com.qiming.demo.R$color.<init>() (dex_method_idx=0)
DEX CODE:
0x0000: 7010 0800 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@8
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: Lcom/qiming/demo/R$drawable; (offset=0x00000b2c) (type_idx=2) (Verified) (NoneCompiled)
0: void com.qiming.demo.R$drawable.<init>() (dex_method_idx=1)
DEX CODE:
0x0000: 7010 0800 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@8
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
2: Lcom/qiming/demo/R$layout; (offset=0x00000b30) (type_idx=3) (Verified) (NoneCompiled)
0: void com.qiming.demo.R$layout.<init>() (dex_method_idx=2)
DEX CODE:
0x0000: 7010 0800 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@8
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
3: Lcom/qiming/demo/R$mipmap; (offset=0x00000b34) (type_idx=4) (Verified) (NoneCompiled)
0: void com.qiming.demo.R$mipmap.<init>() (dex_method_idx=3)
DEX CODE:
0x0000: 7010 0800 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@8
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
4: Lcom/qiming/demo/R$string; (offset=0x00000b38) (type_idx=5) (Verified) (NoneCompiled)
0: void com.qiming.demo.R$string.<init>() (dex_method_idx=4)
DEX CODE:
0x0000: 7010 0800 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@8
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
5: Lcom/qiming/demo/R$style; (offset=0x00000b3c) (type_idx=6) (Verified) (NoneCompiled)
0: void com.qiming.demo.R$style.<init>() (dex_method_idx=5)
DEX CODE:
0x0000: 7010 0800 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@8
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
6: Lcom/qiming/demo/R$xml; (offset=0x00000b40) (type_idx=7) (Verified) (NoneCompiled)
0: void com.qiming.demo.R$xml.<init>() (dex_method_idx=6)
DEX CODE:
0x0000: 7010 0800 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@8
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
7: Lcom/qiming/demo/R; (offset=0x00000b44) (type_idx=8) (Verified) (NoneCompiled)
0: void com.qiming.demo.R.<init>() (dex_method_idx=7)
DEX CODE:
0x0000: 7010 0800 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@8
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!

OatDexFile:
location: base.apk!classes2.dex
checksum: 0x17d58852
dex-file: 0x00000ae8..0x00001413
type-table: 0x000014a4..0x000014c3
0: Lcom/qiming/demo/MainActivity;
1: empty
2: Lcom/qiming/demo/Person;
3: Lcom/qiming/demo/BuildConfig;
0: Lcom/qiming/demo/BuildConfig; (offset=0x00000b48) (type_idx=3) (Verified) (NoneCompiled)
0: void com.qiming.demo.BuildConfig.<clinit>() (dex_method_idx=2)
DEX CODE:
0x0000: 1a00 3900 | const-string v0, "true" // string@57
0x0002: 7110 0d00 0000 | invoke-static {v0}, boolean java.lang.Boolean.parseBoolean(java.lang.String) // method@13
0x0005: 0a00 | move-result v0
0x0006: 6a00 0200 | sput-boolean v0, Z com.qiming.demo.BuildConfig.DEBUG // field@2
0x0008: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: void com.qiming.demo.BuildConfig.<init>() (dex_method_idx=3)
DEX CODE:
0x0000: 7010 0e00 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@14
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: Lcom/qiming/demo/MainActivity; (offset=0x00000b4c) (type_idx=4) (Verified) (NoneCompiled)
0: void com.qiming.demo.MainActivity.<init>() (dex_method_idx=4)
DEX CODE:
0x0000: 7010 0000 0000 | invoke-direct {v0}, void android.app.Activity.<init>() // method@0
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: void com.qiming.demo.MainActivity.onCreate(android.os.Bundle) (dex_method_idx=5)
DEX CODE:
0x0000: 6f20 0100 2100 | invoke-super {v1, v2}, void android.app.Activity.onCreate(android.os.Bundle) // method@1
0x0003: 1500 037f | const/high16 v0, #int +2130903040 // 0x7f030000
0x0005: 6e20 0600 0100 | invoke-virtual {v1, v0}, void com.qiming.demo.MainActivity.setContentView(int) // method@6
0x0008: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
ins: v1[sp + #8] v2[sp + #12]
method*: v3[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
2: Lcom/qiming/demo/Person; (offset=0x00000b50) (type_idx=5) (Verified) (NoneCompiled)
0: void com.qiming.demo.Person.<clinit>() (dex_method_idx=7)
DEX CODE:
0x0000: 1a00 3200 | const-string v0, "only_static_b" // string@50
0x0002: 6900 0600 | sput-object v0, Ljava/lang/String; com.qiming.demo.Person.B // field@6
0x0004: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
method*: v1[sp + #0]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: void com.qiming.demo.Person.<init>(java.lang.String, int) (dex_method_idx=8)
DEX CODE:
0x0000: 7010 0e00 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@14
0x0003: 5b01 0800 | iput-object v1, v0, Ljava/lang/String; com.qiming.demo.Person.name // field@8
0x0005: 5902 0700 | iput v2, v0, I com.qiming.demo.Person.age // field@7
0x0007: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8] v1[sp + #12] v2[sp + #16]
method*: v3[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
2: int com.qiming.demo.Person.method1(int, int) (dex_method_idx=9)
DEX CODE:
0x0000: 1300 6400 | const/16 v0, #+100
0x0002: 9001 0405 | add-int v1, v4, v5
0x0004: b010 | add-int/2addr v0, v1
0x0005: 9202 0001 | mul-int v2, v0, v1
0x0007: 0f02 | return v2
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967280] v1[sp + #4294967284] v2[sp + #4294967288]
ins: v3[sp + #8] v4[sp + #12] v5[sp + #16]
method*: v6[sp + #0]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
3: int com.qiming.demo.Person.method2(java.lang.String) (dex_method_idx=10)
DEX CODE:
0x0000: 5410 0800 | iget-object v0, v1, Ljava/lang/String; com.qiming.demo.Person.name // field@8
0x0002: 6e20 0f00 2000 | invoke-virtual {v0, v2}, boolean java.lang.String.equals(java.lang.Object) // method@15
0x0005: 0a00 | move-result v0
0x0006: 3800 0400 | if-eqz v0, +4
0x0008: 1210 | const/4 v0, #+1
0x0009: 0f00 | return v0
0x000a: 1200 | const/4 v0, #+0
0x000b: 0f00 | return v0
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
ins: v1[sp + #8] v2[sp + #12]
method*: v3[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
4: void com.qiming.demo.Person.method3() (dex_method_idx=11)
DEX CODE:
0x0000: 6200 0900 | sget-object v0, Ljava/io/PrintStream; java.lang.System.out // field@9
0x0002: 2201 0a00 | new-instance v1, java.lang.StringBuilder // type@TypeIndex[10]
0x0004: 7010 1000 0100 | invoke-direct {v1}, void java.lang.StringBuilder.<init>() // method@16
0x0007: 1a02 2c00 | const-string v2, "final_static_a" // string@44
0x0009: 6e20 1100 2100 | invoke-virtual {v1, v2}, java.lang.StringBuilder java.lang.StringBuilder.append(java.lang.String) // method@17
0x000c: 0c01 | move-result-object v1
0x000d: 6202 0600 | sget-object v2, Ljava/lang/String; com.qiming.demo.Person.B // field@6
0x000f: 6e20 1100 2100 | invoke-virtual {v1, v2}, java.lang.StringBuilder java.lang.StringBuilder.append(java.lang.String) // method@17
0x0012: 0c01 | move-result-object v1
0x0013: 6e10 1200 0100 | invoke-virtual {v1}, java.lang.String java.lang.StringBuilder.toString() // method@18
0x0016: 0c01 | move-result-object v1
0x0017: 6e20 0c00 1000 | invoke-virtual {v0, v1}, void java.io.PrintStream.println(java.lang.String) // method@12
0x001a: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967280] v1[sp + #4294967284] v2[sp + #4294967288]
ins: v3[sp + #8]
method*: v4[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x00000000 size=0)
NO CODE!

OAT FILE STATS:
OatFile 1 4.096KB 100.0%
(other) 1 4.092KB 99.9%
QuickMethodHeader 1 0.004KB 0.1%

Person解析

java

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.qiming.demo;

public class Person {
public static final String A = "final_static_a";
public static String B = "only_static_b";
public String name;
public int age;

public Person(String name, int age) {
this.name = name;
this.age = age;
}

public int method1(int a, int b) {
int d = 100;
int c = a + b;
d += c;
return d * c;
}

public int method2(String name) {
if (this.name.equals(name)) {
return 1;
}
return 0;
}

public void method3() {
System.out.println(A + B);
}
}

oat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
2: Lcom/qiming/demo/Person; (offset=0x00000b50) (type_idx=5) (Verified) (NoneCompiled)
0: void com.qiming.demo.Person.<clinit>() (dex_method_idx=7)
DEX CODE:
0x0000: 1a00 3200 | const-string v0, "only_static_b" // string@50
0x0002: 6900 0600 | sput-object v0, Ljava/lang/String; com.qiming.demo.Person.B // field@6
0x0004: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
method*: v1[sp + #0]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: void com.qiming.demo.Person.<init>(java.lang.String, int) (dex_method_idx=8)
DEX CODE:
0x0000: 7010 0e00 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@14
0x0003: 5b01 0800 | iput-object v1, v0, Ljava/lang/String; com.qiming.demo.Person.name // field@8
0x0005: 5902 0700 | iput v2, v0, I com.qiming.demo.Person.age // field@7
0x0007: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8] v1[sp + #12] v2[sp + #16]
method*: v3[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
2: int com.qiming.demo.Person.method1(int, int) (dex_method_idx=9)
DEX CODE:
0x0000: 1300 6400 | const/16 v0, #+100
0x0002: 9001 0405 | add-int v1, v4, v5
0x0004: b010 | add-int/2addr v0, v1
0x0005: 9202 0001 | mul-int v2, v0, v1
0x0007: 0f02 | return v2
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967280] v1[sp + #4294967284] v2[sp + #4294967288]
ins: v3[sp + #8] v4[sp + #12] v5[sp + #16]
method*: v6[sp + #0]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
3: int com.qiming.demo.Person.method2(java.lang.String) (dex_method_idx=10)
DEX CODE:
0x0000: 5410 0800 | iget-object v0, v1, Ljava/lang/String; com.qiming.demo.Person.name // field@8
0x0002: 6e20 0f00 2000 | invoke-virtual {v0, v2}, boolean java.lang.String.equals(java.lang.Object) // method@15
0x0005: 0a00 | move-result v0
0x0006: 3800 0400 | if-eqz v0, +4
0x0008: 1210 | const/4 v0, #+1
0x0009: 0f00 | return v0
0x000a: 1200 | const/4 v0, #+0
0x000b: 0f00 | return v0
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
ins: v1[sp + #8] v2[sp + #12]
method*: v3[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
4: void com.qiming.demo.Person.method3() (dex_method_idx=11)
DEX CODE:
0x0000: 6200 0900 | sget-object v0, Ljava/io/PrintStream; java.lang.System.out // field@9
0x0002: 2201 0a00 | new-instance v1, java.lang.StringBuilder // type@TypeIndex[10]
0x0004: 7010 1000 0100 | invoke-direct {v1}, void java.lang.StringBuilder.<init>() // method@16
0x0007: 1a02 2c00 | const-string v2, "final_static_a" // string@44
0x0009: 6e20 1100 2100 | invoke-virtual {v1, v2}, java.lang.StringBuilder java.lang.StringBuilder.append(java.lang.String) // method@17
0x000c: 0c01 | move-result-object v1
0x000d: 6202 0600 | sget-object v2, Ljava/lang/String; com.qiming.demo.Person.B // field@6
0x000f: 6e20 1100 2100 | invoke-virtual {v1, v2}, java.lang.StringBuilder java.lang.StringBuilder.append(java.lang.String) // method@17
0x0012: 0c01 | move-result-object v1
0x0013: 6e10 1200 0100 | invoke-virtual {v1}, java.lang.String java.lang.StringBuilder.toString() // method@18
0x0016: 0c01 | move-result-object v1
0x0017: 6e20 0c00 1000 | invoke-virtual {v0, v1}, void java.io.PrintStream.println(java.lang.String) // method@12
0x001a: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967280] v1[sp + #4294967284] v2[sp + #4294967288]
ins: v3[sp + #8]
method*: v4[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x00000000 size=0)
NO CODE!

MainActivity解析

1
2
3
4
5
6
7
8
9
10
11
12
package com.qiming.demo;
import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
1: Lcom/qiming/demo/MainActivity; (offset=0x00000b4c) (type_idx=4) (Verified) (NoneCompiled)
0: void com.qiming.demo.MainActivity.<init>() (dex_method_idx=4)
DEX CODE:
0x0000: 7010 0000 0000 | invoke-direct {v0}, void android.app.Activity.<init>() // method@0
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: void com.qiming.demo.MainActivity.onCreate(android.os.Bundle) (dex_method_idx=5)
DEX CODE:
0x0000: 6f20 0100 2100 | invoke-super {v1, v2}, void android.app.Activity.onCreate(android.os.Bundle) // method@1
0x0003: 1500 037f | const/high16 v0, #int +2130903040 // 0x7f030000
0x0005: 6e20 0600 0100 | invoke-virtual {v1, v0}, void com.qiming.demo.MainActivity.setContentView(int) // method@6
0x0008: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
ins: v1[sp + #8] v2[sp + #12]
method*: v3[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x00000000 size=0)
NO CODE!

BuildConfig解析

1
2
3
4
5
6
7
8
9
package com.qiming.demo;

public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.qiming.demo";
public static final String BUILD_TYPE = "debug";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "1.0";
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
0: Lcom/qiming/demo/BuildConfig; (offset=0x00000b48) (type_idx=3) (Verified) (NoneCompiled)
0: void com.qiming.demo.BuildConfig.<clinit>() (dex_method_idx=2)
DEX CODE:
0x0000: 1a00 2f00 | const-string v0, "true" // string@47
0x0002: 7110 0b00 0000 | invoke-static {v0}, boolean java.lang.Boolean.parseBoolean(java.lang.String) // method@11
0x0005: 0a00 | move-result v0
0x0006: 6a00 0200 | sput-boolean v0, Z com.qiming.demo.BuildConfig.DEBUG // field@2
0x0008: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: void com.qiming.demo.BuildConfig.<init>() (dex_method_idx=3)
DEX CODE:
0x0000: 7010 0c00 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@12
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #8]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!

OatDexFile

1
2
3
4
5
6
7
8
9
OatDexFile:
location: base.apk!classes2.dex // 上面解析的class都是在classes2.dex中
checksum: 0xfc7f9892
dex-file: 0x00000ae8..0x000012c3
type-table: 0x00001354..0x00001373
0: Lcom/qiming/demo/MainActivity;
1: empty
2: Lcom/qiming/demo/Person;
3: Lcom/qiming/demo/BuildConfig;

dex2oat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
MAGIC:
oat
225

LOCATION:
/sdcard/classes2.oat

CHECKSUM:
0xa2435151

INSTRUCTION SET:
Arm64

INSTRUCTION SET FEATURES:
a53,crc,-lse,-fp16,-dotprod,-sve

DEX FILE COUNT:
1

EXECUTABLE OFFSET:
0x00001000

JNI DLSYM LOOKUP TRAMPOLINE OFFSET:
0x00000000

JNI DLSYM LOOKUP CRITICAL TRAMPOLINE OFFSET:
0x00000000

QUICK GENERIC JNI TRAMPOLINE OFFSET:
0x00000000

QUICK IMT CONFLICT TRAMPOLINE OFFSET:
0x00000000

QUICK RESOLUTION TRAMPOLINE OFFSET:
0x00000000

QUICK TO INTERPRETER BRIDGE OFFSET:
0x00000000

NTERP_TRAMPOLINE OFFSET:
0x00000000

KEY VALUE STORE:
apex-versions = /1676873348/1676873348/1676873348/1676873348/1676873348///1676873332/1676873361/1676873334/1676873368/1676873331/1676873354/1676873354/1676873365/1676873302/1676873313/1676873313/1676873308
bootclasspath = /apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar
bootclasspath-checksums = i;12/3e0292d2:d/76cb3078:d/dedc31fd:d/70df82a8:d/11e10b18:d/9dae3a4e:d/948eca37:d/4a3ac153:d/5e4c80f2:d/b5d5fdfb:d/8f94b460:d/bb54fef2:d/627da384:d/dbfd662f
classpath = PCL[]
compiler-filter = speed
concurrent-copying = true
debuggable = false
dex2oat-cmdline = dex2oat --dex-file=/sdcard/classes2.dex --oat-file=/sdcard/classes2.oat --inline-max-code-units=0
native-debuggable = false
requires-image = false

SIZE:
5224

.data.bimg.rel.ro: 6 entries.
0x0: 0x00000488
0x4: 0x0023b308
0x8: 0x00ac94e0
0xc: 0x00f613b0
0x10: 0x00fc7390
0x14: 0x00fc8c30

.bss: 0 methods, 1 GC roots.

Layout data
SectionTypeCode:LayoutTypeHot(0-0) LayoutTypeSometimesUsed(0-0) LayoutTypeStartupOnly(0-0) LayoutTypeUsedOnce(0-0) LayoutTypeUnused(0-0)
SectionTypeStrings:LayoutTypeHot(0-0) LayoutTypeSometimesUsed(0-0) LayoutTypeStartupOnly(0-0) LayoutTypeUsedOnce(0-0) LayoutTypeUnused(0-0)

.bss mapping for ArtMethod: empty.
.bss mapping for Class: empty.
.bss mapping for Public Class: empty.
.bss mapping for Package Class: empty.
.bss mapping for String: 1 entries for 1 valid indexes.
0x0: String: final_static_a
We don't have a runtime, just dump the offsets for BCP Dexfile 0
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 1
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 2
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 3
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 4
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 5
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 6
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 7
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 8
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 9
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 10
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 11
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 12
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 13
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 14
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 15
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 16
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 17
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 18
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 19
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 20
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 21
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 22
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 23
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 24
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 25
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 26
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
We don't have a runtime, just dump the offsets for BCP Dexfile 27
.bss offset for ArtMethod: empty.
.bss offset for Class: empty.
.bss offset for Public Class: empty.
.bss offset for Package Class: empty.
.bss offset for String: empty.
Dependencies of /sdcard/classes2.dex:
Dependencies of Lcom/qiming/demo/BuildConfig;:
Dependencies of Lcom/qiming/demo/MainActivity;:
Lcom/qiming/demo/MainActivity; must be assignable to Landroid/app/Activity;
Dependencies of Lcom/qiming/demo/Person;:
OatDexFile:
location: /sdcard/classes2.dex
checksum: 0x11646586
dex-file: 0x00000040..0x000003b7
type-table: 0x00000950..0x0000096f
0: Lcom/qiming/demo/MainActivity;
1: empty
2: Lcom/qiming/demo/Person;
3: Lcom/qiming/demo/BuildConfig;
0: Lcom/qiming/demo/BuildConfig; (offset=0x000007f4) (type_idx=3) (Verified) (SomeCompiled)
0: void com.qiming.demo.BuildConfig.<clinit>() (dex_method_idx=2)
DEX CODE:
0x0000: 1a00 3900 | const-string v0, "true" // string@57
0x0002: 7110 0d00 0000 | invoke-static {v0}, boolean java.lang.Boolean.parseBoolean(java.lang.String) // method@13
0x0005: 0a00 | move-result v0
0x0006: 6a00 0200 | sput-boolean v0, Z com.qiming.demo.BuildConfig.DEBUG // field@2
0x0008: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: void com.qiming.demo.BuildConfig.<init>() (dex_method_idx=3)
DEX CODE:
0x0000: 7010 0e00 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@14
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x00000800)
code_offset: 0x00001010
OatQuickMethodHeader (offset=0x0000100c)
vmap_table: (offset=0x000007d4)
CodeInfo CodeSize:68 FrameSize:32 CoreSpillMask:40400000 FpSpillMask:0 NumberOfDexRegisters:1
StackMap BitSize=24 Rows=3 Bits={Kind=0 PackedNativePc=5 DexPc=1 RegisterMaskIndex=2 StackMaskIndex=0 InlineInfoIndex=0 DexRegisterMaskIndex=0 DexRegisterMapIndex=0}
RegisterMask BitSize=14 Rows=2 Bits={Value=2 Shift=5}
QuickMethodFrameInfo
frame_size_in_bytes: 32
core_spill_mask: 0x40400000 (r22, r30)
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #40]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00001010 size=68)...
0x00001010: d1400bf0 sub x16, sp, #0x2000 (8192)
0x00001014: b940021f ldr wzr, [x16]
StackMap[0] (native_pc=0x1018, dex_pc=0x0, register_mask=0x0, stack_mask=0b)
0x00001018: f81e0fe0 str x0, [sp, #-32]!
0x0000101c: a9017bf6 stp x22, lr, [sp, #16]
0x00001020: b9400270 ldr w16, [tr] ; state_and_flags
0x00001024: 72000a1f tst w16, #0x7
0x00001028: 54000121 b.ne #+0x24 (addr 0x104c)
0x0000102c: aa0103f6 mov x22, x1
0x00001030: b0000000 adrp x0, #+0x1000 (addr 0x2000)
0x00001034: b9400c00 ldr w0, [x0, #12]
0x00001038: f9400c1e ldr lr, [x0, #24]
0x0000103c: d63f03c0 blr lr
StackMap[1] (native_pc=0x1040, dex_pc=0x0, register_mask=0x400000, stack_mask=0b)
0x00001040: a9417bf6 ldp x22, lr, [sp, #16]
0x00001044: 910083ff add sp, sp, #0x20 (32)
0x00001048: d65f03c0 ret
0x0000104c: 940000fd bl #+0x3f4 (addr 0x1440) ; pTestSuspend
StackMap[2] (native_pc=0x1050, dex_pc=0x0, register_mask=0x2, stack_mask=0b)
0x00001050: 17fffff7 b #-0x24 (addr 0x102c)
1: Lcom/qiming/demo/MainActivity; (offset=0x00000804) (type_idx=4) (Verified) (AllCompiled)
0: void com.qiming.demo.MainActivity.<init>() (dex_method_idx=4)
DEX CODE:
0x0000: 7010 0000 0000 | invoke-direct {v0}, void android.app.Activity.<init>() // method@0
0x0003: 0e00 | return-void
OatMethodOffsets (offset=0x0000080c)
code_offset: 0x00001060
OatQuickMethodHeader (offset=0x0000105c)
vmap_table: (offset=0x00000824)
CodeInfo CodeSize:68 FrameSize:32 CoreSpillMask:40400000 FpSpillMask:0 NumberOfDexRegisters:1
StackMap BitSize=24 Rows=3 Bits={Kind=0 PackedNativePc=5 DexPc=1 RegisterMaskIndex=2 StackMaskIndex=0 InlineInfoIndex=0 DexRegisterMaskIndex=0 DexRegisterMapIndex=0}
RegisterMask BitSize=14 Rows=2 Bits={Value=2 Shift=5}
QuickMethodFrameInfo
frame_size_in_bytes: 32
core_spill_mask: 0x40400000 (r22, r30)
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #40]
method*: v1[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00001060 size=68)...
0x00001060: d1400bf0 sub x16, sp, #0x2000 (8192)
0x00001064: b940021f ldr wzr, [x16]
StackMap[0] (native_pc=0x1068, dex_pc=0x0, register_mask=0x0, stack_mask=0b)
0x00001068: f81e0fe0 str x0, [sp, #-32]!
0x0000106c: a9017bf6 stp x22, lr, [sp, #16]
0x00001070: b9400270 ldr w16, [tr] ; state_and_flags
0x00001074: 72000a1f tst w16, #0x7
0x00001078: 54000121 b.ne #+0x24 (addr 0x109c)
0x0000107c: aa0103f6 mov x22, x1
0x00001080: b0000000 adrp x0, #+0x1000 (addr 0x2000)
0x00001084: b9401000 ldr w0, [x0, #16]
0x00001088: f9400c1e ldr lr, [x0, #24]
0x0000108c: d63f03c0 blr lr
StackMap[1] (native_pc=0x1090, dex_pc=0x0, register_mask=0x400000, stack_mask=0b)
0x00001090: a9417bf6 ldp x22, lr, [sp, #16]
0x00001094: 910083ff add sp, sp, #0x20 (32)
0x00001098: d65f03c0 ret
0x0000109c: 940000e9 bl #+0x3a4 (addr 0x1440) ; pTestSuspend
StackMap[2] (native_pc=0x10a0, dex_pc=0x0, register_mask=0x2, stack_mask=0b)
0x000010a0: 17fffff7 b #-0x24 (addr 0x107c)
1: void com.qiming.demo.MainActivity.onCreate(android.os.Bundle) (dex_method_idx=5)
DEX CODE:
0x0000: 6f20 0100 2100 | invoke-super {v1, v2}, void android.app.Activity.onCreate(android.os.Bundle) // method@1
0x0003: 1500 037f | const/high16 v0, #int +2130903040 // 0x7f030000
0x0005: 6e20 0600 0100 | invoke-virtual {v1, v0}, void com.qiming.demo.MainActivity.setContentView(int) // method@6
0x0008: 0e00 | return-void
OatMethodOffsets (offset=0x00000810)
code_offset: 0x000010b0
OatQuickMethodHeader (offset=0x000010ac)
vmap_table: (offset=0x00000860)
CodeInfo CodeSize:104 FrameSize:48 CoreSpillMask:40c00000 FpSpillMask:0 NumberOfDexRegisters:3
StackMap BitSize=40 Rows=4 Bits={Kind=0 PackedNativePc=5 DexPc=3 RegisterMaskIndex=2 StackMaskIndex=0 InlineInfoIndex=0 DexRegisterMaskIndex=0 DexRegisterMapIndex=0}
RegisterMask BitSize=16 Rows=2 Bits={Value=3 Shift=5}
QuickMethodFrameInfo
frame_size_in_bytes: 48
core_spill_mask: 0x40c00000 (r22, r23, r30)
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #16]
ins: v1[sp + #56] v2[sp + #60]
method*: v3[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x000010b0 size=104)...
0x000010b0: d1400bf0 sub x16, sp, #0x2000 (8192)
0x000010b4: b940021f ldr wzr, [x16]
StackMap[0] (native_pc=0x10b8, dex_pc=0x0, register_mask=0x0, stack_mask=0b)
0x000010b8: f81d0fe0 str x0, [sp, #-48]!
0x000010bc: f9000ff6 str x22, [sp, #24]
0x000010c0: a9027bf7 stp x23, lr, [sp, #32]
0x000010c4: b9400270 ldr w16, [tr] ; state_and_flags
0x000010c8: 72000a1f tst w16, #0x7
0x000010cc: 54000221 b.ne #+0x44 (addr 0x1110)
0x000010d0: aa0103f6 mov x22, x1
0x000010d4: aa0203f7 mov x23, x2
0x000010d8: b0000000 adrp x0, #+0x1000 (addr 0x2000)
0x000010dc: b9401400 ldr w0, [x0, #20]
0x000010e0: f9400c1e ldr lr, [x0, #24]
0x000010e4: d63f03c0 blr lr
StackMap[1] (native_pc=0x10e8, dex_pc=0x0, register_mask=0xc00000, stack_mask=0b)
0x000010e8: aa1603e1 mov x1, x22
0x000010ec: 52afe062 mov w2, #0x7f030000
0x000010f0: b9400020 ldr w0, [x1]
0x000010f4: f947ac00 ldr x0, [x0, #3928]
0x000010f8: f9400c1e ldr lr, [x0, #24]
0x000010fc: d63f03c0 blr lr
StackMap[2] (native_pc=0x1100, dex_pc=0x5, register_mask=0xc00000, stack_mask=0b)
0x00001100: f9400ff6 ldr x22, [sp, #24]
0x00001104: a9427bf7 ldp x23, lr, [sp, #32]
0x00001108: 9100c3ff add sp, sp, #0x30 (48)
0x0000110c: d65f03c0 ret
0x00001110: 940000cc bl #+0x330 (addr 0x1440) ; pTestSuspend
StackMap[3] (native_pc=0x1114, dex_pc=0x0, register_mask=0x6, stack_mask=0b)
0x00001114: 17ffffef b #-0x44 (addr 0x10d0)
2: Lcom/qiming/demo/Person; (offset=0x00000814) (type_idx=5) (Verified) (SomeCompiled)
0: void com.qiming.demo.Person.<clinit>() (dex_method_idx=7)
DEX CODE:
0x0000: 1a00 3200 | const-string v0, "only_static_b" // string@50
0x0002: 6900 0600 | sput-object v0, Ljava/lang/String; com.qiming.demo.Person.B // field@6
0x0004: 0e00 | return-void
OatMethodOffsets (offset=0x00000000)
code_offset: 0x00000000
OatQuickMethodHeader (offset=0x00000000)
vmap_table: (offset=0x00000000)
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x00000000
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967288]
method*: v1[sp + #0]
CODE: (code_offset=0x00000000 size=0)
NO CODE!
1: void com.qiming.demo.Person.<init>(java.lang.String, int) (dex_method_idx=8)
DEX CODE:
0x0000: 7010 0e00 0000 | invoke-direct {v0}, void java.lang.Object.<init>() // method@14
0x0003: 5b01 0800 | iput-object v1, v0, Ljava/lang/String; com.qiming.demo.Person.name // field@8
0x0005: 5902 0700 | iput v2, v0, I com.qiming.demo.Person.age // field@7
0x0007: 0e00 | return-void
OatMethodOffsets (offset=0x00000820)
code_offset: 0x00001120
OatQuickMethodHeader (offset=0x0000111c)
vmap_table: (offset=0x000008ba)
CodeInfo CodeSize:108 FrameSize:48 CoreSpillMask:41c00000 FpSpillMask:0 NumberOfDexRegisters:3
StackMap BitSize=24 Rows=3 Bits={Kind=0 PackedNativePc=5 DexPc=1 RegisterMaskIndex=2 StackMaskIndex=0 InlineInfoIndex=0 DexRegisterMaskIndex=0 DexRegisterMapIndex=0}
RegisterMask BitSize=16 Rows=2 Bits={Value=3 Shift=5}
QuickMethodFrameInfo
frame_size_in_bytes: 48
core_spill_mask: 0x41c00000 (r22, r23, r24, r30)
fp_spill_mask: 0x00000000
vr_stack_locations:
ins: v0[sp + #56] v1[sp + #60] v2[sp + #64]
method*: v3[sp + #0]
outs: v0[sp + #8]
CODE: (code_offset=0x00001120 size=108)...
0x00001120: d1400bf0 sub x16, sp, #0x2000 (8192)
0x00001124: b940021f ldr wzr, [x16]
StackMap[0] (native_pc=0x1128, dex_pc=0x0, register_mask=0x0, stack_mask=0b)
0x00001128: f81d0fe0 str x0, [sp, #-48]!
0x0000112c: a9015ff6 stp x22, x23, [sp, #16]
0x00001130: a9027bf8 stp x24, lr, [sp, #32]
0x00001134: b9400270 ldr w16, [tr] ; state_and_flags
0x00001138: 72000a1f tst w16, #0x7
0x0000113c: 54000241 b.ne #+0x48 (addr 0x1184)
0x00001140: aa0203f6 mov x22, x2
0x00001144: aa0303f7 mov x23, x3
0x00001148: aa0103f8 mov x24, x1
0x0000114c: b0000000 adrp x0, #+0x1000 (addr 0x2000)
0x00001150: b9400c00 ldr w0, [x0, #12]
0x00001154: f9400c1e ldr lr, [x0, #24]
0x00001158: d63f03c0 blr lr
StackMap[1] (native_pc=0x115c, dex_pc=0x0, register_mask=0x1400000, stack_mask=0b)
0x0000115c: b9000b16 str w22, [x24, #8]
0x00001160: 34000096 cbz w22, #+0x10 (addr 0x1170)
0x00001164: f9404a70 ldr x16, [tr, #144] ; card_table
0x00001168: 530a7f11 lsr w17, w24, #10
0x0000116c: 38316a10 strb w16, [x16, x17]
0x00001170: b9000f17 str w23, [x24, #12]
0x00001174: a9415ff6 ldp x22, x23, [sp, #16]
0x00001178: a9427bf8 ldp x24, lr, [sp, #32]
0x0000117c: 9100c3ff add sp, sp, #0x30 (48)
0x00001180: d65f03c0 ret
0x00001184: 940000af bl #+0x2bc (addr 0x1440) ; pTestSuspend
StackMap[2] (native_pc=0x1188, dex_pc=0x0, register_mask=0x6, stack_mask=0b)
0x00001188: 17ffffee b #-0x48 (addr 0x1140)
2: int com.qiming.demo.Person.method1(int, int) (dex_method_idx=9)
DEX CODE:
0x0000: 1300 6400 | const/16 v0, #+100
0x0002: 9001 0405 | add-int v1, v4, v5
0x0004: b010 | add-int/2addr v0, v1
0x0005: 9202 0001 | mul-int v2, v0, v1
0x0007: 0f02 | return v2
OatMethodOffsets (offset=0x00000824)
code_offset: 0x00001190
OatQuickMethodHeader (offset=0x0000118c)
vmap_table: (offset=0x00000916)
CodeInfo CodeSize:16 FrameSize:0 CoreSpillMask:40000000 FpSpillMask:0 NumberOfDexRegisters:6
QuickMethodFrameInfo
frame_size_in_bytes: 0
core_spill_mask: 0x40000000 (r30)
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #4294967272] v1[sp + #4294967276] v2[sp + #4294967280]
ins: v3[sp + #8] v4[sp + #12] v5[sp + #16]
method*: v6[sp + #0]
CODE: (code_offset=0x00001190 size=16)...
0x00001190: 0b030040 add w0, w2, w3 // c=a+b
0x00001194: 11019001 add w1, w0, #0x64 (100) // d=c+100
0x00001198: 1b017c00 mul w0, w0, w1 // c=c*d
0x0000119c: d65f03c0 ret
3: int com.qiming.demo.Person.method2(java.lang.String) (dex_method_idx=10)
DEX CODE:
0x0000: 5410 0800 | iget-object v0, v1, Ljava/lang/String; com.qiming.demo.Person.name // field@8
0x0002: 6e20 0f00 2000 | invoke-virtual {v0, v2}, boolean java.lang.String.equals(java.lang.Object) // method@15
0x0005: 0a00 | move-result v0
0x0006: 3800 0400 | if-eqz v0, +4
0x0008: 1210 | const/4 v0, #+1
0x0009: 0f00 | return v0
0x000a: 1200 | const/4 v0, #+0
0x000b: 0f00 | return v0
OatMethodOffsets (offset=0x00000828)
code_offset: 0x000011b0
OatQuickMethodHeader (offset=0x000011ac)
vmap_table: (offset=0x0000092d)
CodeInfo CodeSize:136 FrameSize:32 CoreSpillMask:40000000 FpSpillMask:0 NumberOfDexRegisters:3
StackMap BitSize=12 Rows=2 Bits={Kind=0 PackedNativePc=4 DexPc=2 RegisterMaskIndex=0 StackMaskIndex=0 InlineInfoIndex=0 DexRegisterMaskIndex=0 DexRegisterMapIndex=0}
QuickMethodFrameInfo
frame_size_in_bytes: 32
core_spill_mask: 0x40000000 (r30)
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #16]
ins: v1[sp + #40] v2[sp + #44]
method*: v3[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x000011b0 size=136)...
0x000011b0: d1400bf0 sub x16, sp, #0x2000 (8192)
0x000011b4: b940021f ldr wzr, [x16]
StackMap[0] (native_pc=0x11b8, dex_pc=0x0, register_mask=0x0, stack_mask=0b)
0x000011b8: f81e0fe0 str x0, [sp, #-32]!
0x000011bc: f9000ffe str lr, [sp, #24]
0x000011c0: 1000007e adr lr, #+0xc (addr 0x11cc)
0x000011c4: b5000df4 cbnz x20, #+0x1bc (addr 0x1380)
0x000011c8: b9400820 ldr w0, [x1, #8]
0x000011cc: b940001f ldr wzr, [x0]
StackMap[1] (native_pc=0x11d0, dex_pc=0x2, register_mask=0x0, stack_mask=0b)
0x000011d0: 340002a2 cbz w2, #+0x54 (addr 0x1224)
0x000011d4: 6b02001f cmp w0, w2
0x000011d8: 54000220 b.eq #+0x44 (addr 0x121c)
0x000011dc: b9400810 ldr w16, [x0, #8]
0x000011e0: b9400851 ldr w17, [x2, #8]
0x000011e4: 6b11021f cmp w16, w17
0x000011e8: 540001e1 b.ne #+0x3c (addr 0x1224)
0x000011ec: 34000190 cbz w16, #+0x30 (addr 0x121c)
0x000011f0: 12000211 and w17, w16, #0x1
0x000011f4: 53017e10 lsr w16, w16, #1
0x000011f8: 1ad12210 lsl w16, w16, w17
0x000011fc: 52800211 mov w17, #0x10
0x00001200: f8716804 ldr x4, [x0, x17]
0x00001204: f8716843 ldr x3, [x2, x17]
0x00001208: 91002231 add x17, x17, #0x8 (8)
0x0000120c: eb03009f cmp x4, x3
0x00001210: 540000a1 b.ne #+0x14 (addr 0x1224)
0x00001214: 71002210 subs w16, w16, #0x8 (8)
0x00001218: 54ffff48 b.hi #-0x18 (addr 0x1200)
0x0000121c: d2800024 mov x4, #0x1
0x00001220: 14000002 b #+0x8 (addr 0x1228)
0x00001224: d2800004 mov x4, #0x0
0x00001228: aa0403e0 mov x0, x4
0x0000122c: f9400ffe ldr lr, [sp, #24]
0x00001230: 910083ff add sp, sp, #0x20 (32)
0x00001234: d65f03c0 ret
4: void com.qiming.demo.Person.method3() (dex_method_idx=11)
DEX CODE:
0x0000: 6200 0900 | sget-object v0, Ljava/io/PrintStream; java.lang.System.out // field@9
0x0002: 2201 0a00 | new-instance v1, java.lang.StringBuilder // type@TypeIndex[10]
0x0004: 7010 1000 0100 | invoke-direct {v1}, void java.lang.StringBuilder.<init>() // method@16
0x0007: 1a02 2c00 | const-string v2, "final_static_a" // string@44
0x0009: 6e20 1100 2100 | invoke-virtual {v1, v2}, java.lang.StringBuilder java.lang.StringBuilder.append(java.lang.String) // method@17
0x000c: 0c01 | move-result-object v1
0x000d: 6202 0600 | sget-object v2, Ljava/lang/String; com.qiming.demo.Person.B // field@6
0x000f: 6e20 1100 2100 | invoke-virtual {v1, v2}, java.lang.StringBuilder java.lang.StringBuilder.append(java.lang.String) // method@17
0x0012: 0c01 | move-result-object v1
0x0013: 6e10 1200 0100 | invoke-virtual {v1}, java.lang.String java.lang.StringBuilder.toString() // method@18
0x0016: 0c01 | move-result-object v1
0x0017: 6e20 0c00 1000 | invoke-virtual {v0, v1}, void java.io.PrintStream.println(java.lang.String) // method@12
0x001a: 0e00 | return-void
OatMethodOffsets (offset=0x0000082c)
code_offset: 0x00001240
OatQuickMethodHeader (offset=0x0000123c)
vmap_table: (offset=0x000009ae)
CodeInfo CodeSize:320 FrameSize:80 CoreSpillMask:47c00000 FpSpillMask:0 NumberOfDexRegisters:4
StackMap BitSize=176 Rows=11 Bits={Kind=0 PackedNativePc=7 DexPc=5 RegisterMaskIndex=3 StackMaskIndex=1 InlineInfoIndex=0 DexRegisterMaskIndex=0 DexRegisterMapIndex=0}
RegisterMask BitSize=60 Rows=6 Bits={Value=5 Shift=5}
StackMask BitSize=5 Rows=1 Bits={Mask=5}
QuickMethodFrameInfo
frame_size_in_bytes: 80
core_spill_mask: 0x47c00000 (r22, r23, r24, r25, r26, r30)
fp_spill_mask: 0x00000000
vr_stack_locations:
locals: v0[sp + #16] v1[sp + #20] v2[sp + #24]
ins: v3[sp + #88]
method*: v4[sp + #0]
outs: v0[sp + #8] v1[sp + #12]
CODE: (code_offset=0x00001240 size=320)...
0x00001240: d1400bf0 sub x16, sp, #0x2000 (8192)
0x00001244: b940021f ldr wzr, [x16]
StackMap[0] (native_pc=0x1248, dex_pc=0x0, register_mask=0x0, stack_mask=0b)
0x00001248: f81b0fe0 str x0, [sp, #-80]!
0x0000124c: a9025ff6 stp x22, x23, [sp, #32]
0x00001250: a90367f8 stp x24, x25, [sp, #48]
0x00001254: a9047bfa stp x26, lr, [sp, #64]
0x00001258: b9400270 ldr w16, [tr] ; state_and_flags
0x0000125c: 72000a1f tst w16, #0x7
0x00001260: 540007c1 b.ne #+0xf8 (addr 0x1358)
0x00001264: aa0003f6 mov x22, x0
0x00001268: aa0103f7 mov x23, x1
0x0000126c: b0000000 adrp x0, #+0x1000 (addr 0x2000)
0x00001270: b9400000 ldr w0, [x0]
0x00001274: 3941cc10 ldrb w16, [x0, #115]
0x00001278: 7103c21f cmp w16, #0xf0 (240)
0x0000127c: 54000723 b.lo #+0xe4 (addr 0x1360)
0x00001280: 1000007e adr lr, #+0xc (addr 0x128c)
0x00001284: b5000974 cbnz x20, #+0x12c (addr 0x13b0)
0x00001288: b940f418 ldr w24, [x0, #244]
0x0000128c: b0000000 adrp x0, #+0x1000 (addr 0x2000)
0x00001290: b9400400 ldr w0, [x0, #4]
0x00001294: f940fa7e ldr lr, [tr, #496] ; pAllocObjectInitialized
0x00001298: d63f03c0 blr lr
StackMap[1] (native_pc=0x129c, dex_pc=0x2, register_mask=0x1800000, stack_mask=0b)
0x0000129c: d5033abf dmb ishst
0x000012a0: aa0003e1 mov x1, x0
0x000012a4: aa0103f9 mov x25, x1
0x000012a8: b0000000 adrp x0, #+0x1000 (addr 0x2000)
0x000012ac: b9400800 ldr w0, [x0, #8]
0x000012b0: f9400c1e ldr lr, [x0, #24]
0x000012b4: d63f03c0 blr lr
StackMap[2] (native_pc=0x12b8, dex_pc=0x4, register_mask=0x3800000, stack_mask=0b)
0x000012b8: d0000002 adrp x2, #+0x2000 (addr 0x3000)
0x000012bc: 1000007e adr lr, #+0xc (addr 0x12c8)
0x000012c0: b9400042 ldr w2, [x2]
0x000012c4: b50008f4 cbnz x20, #+0x11c (addr 0x13e0)
0x000012c8: b4000542 cbz x2, #+0xa8 (addr 0x1370)
0x000012cc: aa1903e1 mov x1, x25
0x000012d0: aa0203fa mov x26, x2
0x000012d4: b9400020 ldr w0, [x1]
0x000012d8: f9417000 ldr x0, [x0, #736]
0x000012dc: f9400c1e ldr lr, [x0, #24]
0x000012e0: d63f03c0 blr lr
StackMap[3] (native_pc=0x12e4, dex_pc=0x9, register_mask=0x7800000, stack_mask=0b)
0x000012e4: 1000007e adr lr, #+0xc (addr 0x12f0)
0x000012e8: b94002c0 ldr w0, [x22]
0x000012ec: b5000934 cbnz x20, #+0x124 (addr 0x1410)
0x000012f0: 1000007e adr lr, #+0xc (addr 0x12fc)
0x000012f4: b50005f4 cbnz x20, #+0xbc (addr 0x13b0)
0x000012f8: b940fc02 ldr w2, [x0, #252]
0x000012fc: aa1903e1 mov x1, x25
0x00001300: aa0203f6 mov x22, x2
0x00001304: b9400020 ldr w0, [x1]
0x00001308: f9417000 ldr x0, [x0, #736]
0x0000130c: f9400c1e ldr lr, [x0, #24]
0x00001310: d63f03c0 blr lr
StackMap[4] (native_pc=0x1314, dex_pc=0xf, register_mask=0x3c00000, stack_mask=0b)
0x00001314: aa1903e1 mov x1, x25
0x00001318: b9400020 ldr w0, [x1]
0x0000131c: f9406000 ldr x0, [x0, #192]
0x00001320: f9400c1e ldr lr, [x0, #24]
0x00001324: d63f03c0 blr lr
StackMap[5] (native_pc=0x1328, dex_pc=0x13, register_mask=0x3c00000, stack_mask=0b)
0x00001328: aa1803e1 mov x1, x24
0x0000132c: aa0003e2 mov x2, x0
0x00001330: aa0203f9 mov x25, x2
0x00001334: b9400020 ldr w0, [x1]
StackMap[6] (native_pc=0x1338, dex_pc=0x17, register_mask=0x0, stack_mask=0b)
0x00001338: f940f400 ldr x0, [x0, #488]
0x0000133c: f9400c1e ldr lr, [x0, #24]
0x00001340: d63f03c0 blr lr
StackMap[7] (native_pc=0x1344, dex_pc=0x17, register_mask=0x3c00000, stack_mask=0b)
0x00001344: a9425ff6 ldp x22, x23, [sp, #32]
0x00001348: a94367f8 ldp x24, x25, [sp, #48]
0x0000134c: a9447bfa ldp x26, lr, [sp, #64]
0x00001350: 910143ff add sp, sp, #0x50 (80)
0x00001354: d65f03c0 ret
0x00001358: 9400003a bl #+0xe8 (addr 0x1440) ; pTestSuspend
StackMap[8] (native_pc=0x135c, dex_pc=0x0, register_mask=0x2, stack_mask=0b)
0x0000135c: 17ffffc2 b #-0xf8 (addr 0x1264)
0x00001360: f9000be0 str x0, [sp, #16]
0x00001364: 9400003b bl #+0xec (addr 0x1450) ; pInitializeStaticStorage
StackMap[9] (native_pc=0x1368, dex_pc=0x0, register_mask=0x800000, stack_mask=0b10000)
0x00001368: f9400be0 ldr x0, [sp, #16]
0x0000136c: 17ffffc5 b #-0xec (addr 0x1280)
0x00001370: 52800580 mov w0, #0x2c
0x00001374: 9400003b bl #+0xec (addr 0x1460) ; pResolveString
StackMap[10] (native_pc=0x1378, dex_pc=0x7, register_mask=0x3800000, stack_mask=0b)
0x00001378: 2a0003e2 mov w2, w0
0x0000137c: 17ffffd4 b #-0xb0 (addr 0x12cc)

OAT FILE STATS:
OatFile 1 5.224KB 100.0%
(other) 1 4.239KB 81.1%
Code 7 0.820KB 15.7%
CodeInfo 6 0.133KB 2.5%
StackMap 5 0.057KB 1.1%
Header 5 0.022KB 0.4%
PackedNativePc 23 0.017KB 0.3%
DexPc 23 0.010KB 0.2%
RegisterMaskIndex 21 0.007KB 0.1%
StackMaskIndex 11 0.001KB 0.0%
Header 6 0.052KB 1.0%
RegisterMask 4 0.019KB 0.4%
Shift 12 0.007KB 0.1%
Header 4 0.006KB 0.1%
Value 12 0.006KB 0.1%
(other) 6 0.003KB 0.1%
StackMask 1 0.002KB 0.0%
Header 1 0.001KB 0.0%
Mask 1 0.001KB 0.0%
QuickMethodHeader 8 0.032KB 0.6%