You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
831 B
38 lines
831 B
#
|
|
# sample small-but-valid classfile
|
|
#
|
|
|
|
cafe babe # magic
|
|
0000 # minor_version
|
|
002e # major_version
|
|
0008 # constant_pool_count
|
|
|
|
#
|
|
# constant_pool
|
|
#
|
|
07 0003 # 0001: class[Small]
|
|
07 0004 # 0002: class[java/lang/Object]
|
|
01 0005 "Small" # 0003: utf8["Small"]
|
|
01 0010 "java/lang/Object" # 0004: utf8["java/lang/Object"]
|
|
01 0005 "blort" # 0005: utf8["blort"]
|
|
01 0003 "()V" # 0006: utf8["()V"]
|
|
01 0009 "Synthetic" # 0007: utf8["Synthetic"]
|
|
|
|
0001 # access_flags
|
|
0001 # this_class
|
|
0002 # super_class
|
|
0000 # interfaces_count
|
|
0000 # fields_count
|
|
0001 # methods_count
|
|
|
|
# methods[0]
|
|
0401 # access_flags
|
|
0005 # name
|
|
0006 # descriptor
|
|
0001 # attributes_count
|
|
# attributes[0]
|
|
0007 # name
|
|
00000000 # length
|
|
|
|
0000 # attributes_count
|