Slide 94
Slide 94 text
ॲཧͷํ๏͕ҟͳΔ
• ࠓճ Methodref (0x0A), Fieldref (0x09), String (0x08),
Class (0x07), Utf8 (0x01), NameAndType(0x0C) ͷ6ͭͷΈ
ରԠɻ
Constant Kind Tag Read bytes
CONSTANT_Methodref 0x0A
2 byte + 2 byte
( unsigned short + unsigned short )
CONSTANT_Fieldref 0x09
2 byte + 2 byte
( unsigned short + unsigned short )
CONSTANT_String 0x08
2 byte
( unsigned short )
CONSTANT_Class 0x07
2 byte
( unsigned short )
CONSTANT_Utf8 0x01
( length = 2 byte ) + length bytes
( unsigned short + length bytes )
CONSTANT_NameAndType 0x0C
2 byte + 2 byte
( unsigned byte + unsigned byte )