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.
33 lines
723 B
33 lines
723 B
#
|
|
# sample small-but-valid classfile
|
|
#
|
|
|
|
cafe babe # magic
|
|
0000 # minor_version
|
|
002e # major_version
|
|
0007 # constant_pool_count
|
|
|
|
#
|
|
# constant_pool
|
|
#
|
|
01 0005 "Small" # 0001: utf8["Small"]
|
|
01 0010 "java/lang/Object" # 0002: utf8["java/lang/Object"]
|
|
07 0001 # 0003: class[Small]
|
|
07 0002 # 0004: class[java/lang/Object]
|
|
01 000a "SourceFile" # 0005: utf8["SourceFile"]
|
|
01 000a "Blort.java" # 0006: utf8["Blort.java"]
|
|
|
|
0021 # access_flags
|
|
0003 # this_class
|
|
0004 # super_class
|
|
0000 # interfaces_count
|
|
0000 # fields_count
|
|
0000 # methods_count
|
|
|
|
0001 # attributes_count
|
|
|
|
# attribute[0]
|
|
0005 # name
|
|
00000002 # length
|
|
0006 # "Blort.java"
|