final class jdk.tools.jaotc.binformat.elf.ElfSection
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.binformat.elf.ElfSection
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer section;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] data;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean hasrelocations;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int sectionIndex;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.StringBuilder sectNameTab;
descriptor: Ljava/lang/StringBuilder;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static int shStrTabNrOfBytes;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putstatic jdk.tools.jaotc.binformat.elf.ElfSection.sectNameTab:Ljava/lang/StringBuilder;
1: iconst_0
putstatic jdk.tools.jaotc.binformat.elf.ElfSection.shStrTabNrOfBytes:I
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, byte[], int, int, boolean, int, int);
descriptor: (Ljava/lang/String;[BIIZII)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.totalsize:I
invokestatic jdk.tools.jaotc.binformat.elf.ElfByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
2: aload 0
aload 1
putfield jdk.tools.jaotc.binformat.elf.ElfSection.name:Ljava/lang/String;
3: iload 7
ifne 10
4: getstatic jdk.tools.jaotc.binformat.elf.ElfSection.sectNameTab:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: getstatic jdk.tools.jaotc.binformat.elf.ElfSection.shStrTabNrOfBytes:I
iconst_1
iadd
putstatic jdk.tools.jaotc.binformat.elf.ElfSection.shStrTabNrOfBytes:I
6: aload 0
aconst_null
putfield jdk.tools.jaotc.binformat.elf.ElfSection.data:[B
7: aload 0
iconst_0
putfield jdk.tools.jaotc.binformat.elf.ElfSection.hasrelocations:Z
8: aload 0
iconst_0
putfield jdk.tools.jaotc.binformat.elf.ElfSection.sectionIndex:I
9: return
10: StackMap locals: jdk.tools.jaotc.binformat.elf.ElfSection java.lang.String byte[] int int int int int
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_name:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
getstatic jdk.tools.jaotc.binformat.elf.ElfSection.shStrTabNrOfBytes:I
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
11: getstatic jdk.tools.jaotc.binformat.elf.ElfSection.sectNameTab:Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: getstatic jdk.tools.jaotc.binformat.elf.ElfSection.shStrTabNrOfBytes:I
aload 1
invokevirtual java.lang.String.getBytes:()[B
arraylength
iconst_1
iadd
iadd
putstatic jdk.tools.jaotc.binformat.elf.ElfSection.shStrTabNrOfBytes:I
13: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_type:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
iload 4
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
14: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_flags:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
iload 3
i2l
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
15: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_addr:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
lconst_0
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
16: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_offset:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
lconst_0
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
17: aload 1
ldc ".shstrtab"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
18: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_size:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
getstatic jdk.tools.jaotc.binformat.elf.ElfSection.shStrTabNrOfBytes:I
i2l
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
19: aload 0
getstatic jdk.tools.jaotc.binformat.elf.ElfSection.sectNameTab:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
putfield jdk.tools.jaotc.binformat.elf.ElfSection.data:[B
20: goto 23
21: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield jdk.tools.jaotc.binformat.elf.ElfSection.data:[B
22: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_size:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
aload 2
arraylength
i2l
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
23: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_entsize:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
lconst_0
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
24: iload 4
lookupswitch { // 3
2: 25
4: 27
9: 29
default: 31
}
25: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_entsize:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Sym.totalsize:I
i2l
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
26: goto 31
27: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_entsize:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Rela.totalsize:I
i2l
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
28: goto 31
29: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_entsize:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Rel.totalsize:I
i2l
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
30: goto 31
31: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_addralign:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
iload 6
i2l
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
32: aload 0
iload 5
putfield jdk.tools.jaotc.binformat.elf.ElfSection.hasrelocations:Z
33: aload 0
iload 7
putfield jdk.tools.jaotc.binformat.elf.ElfSection.sectionIndex:I
34: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
0 35 1 sectName Ljava/lang/String;
0 35 2 sectData [B
0 35 3 sectFlags I
0 35 4 sectType I
0 35 5 hasRelocations Z
0 35 6 align I
0 35 7 sectIndex I
MethodParameters:
Name Flags
sectName
sectData
sectFlags
sectType
hasRelocations
align
sectIndex
java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
long getSize();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_size:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
invokevirtual java.nio.ByteBuffer.getLong:(I)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
int getDataAlign();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_addralign:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
invokevirtual java.nio.ByteBuffer.getLong:(I)J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
static int getShdrAlign();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_4
ireturn
LocalVariableTable:
Start End Slot Name Signature
byte[] getArray();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
byte[] getDataArray();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.data:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
void setOffset(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_offset:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
lload 1
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
0 2 1 offset J
MethodParameters:
Name Flags
offset
void setLink(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_link:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
0 2 1 link I
MethodParameters:
Name Flags
link
void setInfo(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_info:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
0 2 1 info I
MethodParameters:
Name Flags
info
long getOffset();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.sh_offset:Ljdk/tools/jaotc/binformat/elf/Elf$Elf64_Shdr;
getfield jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr.off:I
invokevirtual java.nio.ByteBuffer.getLong:(I)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
boolean hasRelocations();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.hasrelocations:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
int getSectionId();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.elf.ElfSection.sectionIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/elf/ElfSection;
}
SourceFile: "ElfSection.java"
InnerClasses:
final Elf64_Rel = jdk.tools.jaotc.binformat.elf.Elf$Elf64_Rel of jdk.tools.jaotc.binformat.elf.Elf
final Elf64_Rela = jdk.tools.jaotc.binformat.elf.Elf$Elf64_Rela of jdk.tools.jaotc.binformat.elf.Elf
final Elf64_Shdr = jdk.tools.jaotc.binformat.elf.Elf$Elf64_Shdr of jdk.tools.jaotc.binformat.elf.Elf
final Elf64_Sym = jdk.tools.jaotc.binformat.elf.Elf$Elf64_Sym of jdk.tools.jaotc.binformat.elf.Elf