ClassFile Structure
2021-10-17 21:59:33 0 举报
ClassFile Structure
作者其他创作
大纲/内容
69
class_index
12
00
01 00 0a 53 6f 75
name_index
#5
31 2e 6a 61 76 61
1
01
63 6c 61 73 73 66 69 6c 65 73 74 72 75 63 74 75
#6
#7
#3
09
#4 CONSTANT_Utf8_Info
#11
CA
10
bytes[4]
6C
index
bytes[6]
tag
64
#15
61
#6 CONSTANT_Utf8_Info
47
6E
0D
65
62
05
#13
line_number_table[0]
2F
this
74
CodeLineNumberTable
72
04
03
attribute_name_index
02
local_variable_table_length
LocalVariableTable_attribute
LocalVariableTable
bytes[15]
#9 CONSTANT_Utf8_Info
attribute_length
info[2]
0
methods[0]
#10
15
0x0001
56
72 65 2f 44 65 6d 6f 30 30 31
07
0C
#13 CONSTANT_NameAndType_Info
65 2f 44 65 6d 6f 30 30 31 3b
34
0x0021
#1 CONSTANT_Methodref_Info
attributes_count
2
21
max_locals
load_0
4C
magic
01 00 2c 63 6e
B1
start_pc
08
06
6
01 00 10 6a 61 76
length
invokespecial
6F
package cn.qiaqiatech.jvm.classfilestructure;public class Demo001 {}
73
75
max_stack
attrubes_count
0B
#2 CONSTANT_Class_Info
descriptior_index
ca fe ba be 00 00 00 34 00 10 0a 00 03 00 0d 0700 0e 07 00 0f 01 00 06 3c 69 6e 69 74 3e 01 0003 28 29 56 01 00 04 43 6f 64 65 01 00 0f 4c 696e 65 4e 75 6d 62 65 72 54 61 62 6c 65 01 00 124c 6f 63 61 6c 56 61 72 69 61 62 6c 65 54 61 626c 65 01 00 04 74 68 69 73 01 00 2e 4c 63 6e 2f71 69 61 71 69 61 74 65 63 68 2f 6a 76 6d 2f 636c 61 73 73 66 69 6c 65 73 74 72 75 63 74 75 7265 2f 44 65 6d 6f 30 30 31 3b 01 00 0a 53 6f 7572 63 65 46 69 6c 65 01 00 0c 44 65 6d 6f 30 3031 2e 6a 61 76 61 0c 00 04 00 05 01 00 2c 63 6e2f 71 69 61 71 69 61 74 65 63 68 2f 6a 76 6d 2f63 6c 61 73 73 66 69 6c 65 73 74 72 75 63 74 7572 65 2f 44 65 6d 6f 30 30 31 01 00 10 6a 61 7661 2f 6c 61 6e 67 2f 4f 62 6a 65 63 74 00 21 0002 00 03 00 00 00 00 00 01 00 01 00 04 00 05 0001 00 06 00 00 00 2f 00 01 00 01 00 00 00 05 2ab7 00 01 b1 00 00 00 02 00 07 00 00 00 06 00 0100 00 00 03 00 08 00 00 00 0c 00 01 00 00 00 0500 09 00 0a 00 00 00 01 00 0b 00 00 00 02 00 0c
0F
#4
BA
01 00 2e 4c 63 6e 2f 71 69 61 71 69 61 74 65 63 68 2f 6a 76 6d 2f 63
exception_table_length
29
package cn.qiaqiatech.jvm.classfilestructure;public class Demo001 { public Demo001() { }}
61 2f 6c 61 6e 67 2f 4f 62 6a 65 63 74
01 00 2e 4c 63 6e 2f
18
major_version
4
63
3
FE
interfaces_count
()V
line_number_table_length
43
#7 CONSTANT_Utf8_Info
5
line_number
java格式代码
Code_attribute
71 69 61 71 69 61 74 65 63 68 2f 6a 76 6d 2f 63
#8 CONSTANT_Utf8_Info
#12
access_flags
attributes
bytes[18]
minor_version
4E
7
72 63 65 46 69 6c 65
2A
6c 61 73 73 66 69 6c 65 73 74 72 75 63 74 75 72
Code
descrpitor_index
#5 CONSTANT_Utf8_Info
code[5]
descriptor_index
LineNumberTable_attribute
code_length
fields_count
super_class
constant_pool_count
bytes[3]
class格式代码
this_class
SoruceFile_attribute
#14
#9
3E
0A
methods_count
#3 CONSTANT_Class_Info
3C
#2
BE
#8
return
54
B7
28
0E
init
68
01 00 0c 44 65 6d 6f 30 30
6D
2f 71 69 61 71 69 61 74 65 63 68 2f 6a 76 6d 2f
name_and_type_index
0 条评论
回复 删除
下一页