final class jdk.tools.jaotc.binformat.pecoff.PECoffSection
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.binformat.pecoff.PECoffSection
super_class: java.lang.Object
{
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 final int align;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.tools.jaotc.binformat.pecoff.PECoffSection.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, byte[], int, int, boolean, int);
descriptor: (Ljava/lang/String;[BIIZI)V
flags: (0x0000)
Code:
stack=5, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.totalsize:I
invokestatic jdk.tools.jaotc.binformat.pecoff.PECoffByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
2: aload 2
astore 7
start local 7 3: aload 2
arraylength
ifne 5
4: bipush 8
newarray 8
astore 7
5: StackMap locals: jdk.tools.jaotc.binformat.pecoff.PECoffSection java.lang.String byte[] int int int int byte[]
StackMap stack:
aload 1
invokevirtual java.lang.String.getBytes:()[B
astore 8
start local 8 6: aload 8
arraylength
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.Name:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.sz:I
if_icmpgt 7
aload 8
arraylength
goto 8
StackMap locals: byte[]
StackMap stack:
7: getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.Name:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.sz:I
StackMap locals:
StackMap stack: int
8: istore 9
start local 9 9: getstatic jdk.tools.jaotc.binformat.pecoff.PECoffSection.$assertionsDisabled:Z
ifne 11
iload 4
iconst_1
if_icmplt 10
iload 4
sipush 1024
if_icmpgt 10
iload 4
iload 4
iconst_1
isub
iand
ifeq 11
StackMap locals: int
StackMap stack:
10: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "section alignment is not valid: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.align:I
12: bipush 32
aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.align:I
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
isub
bipush 20
ishl
istore 10
start local 10 13: iload 3
ldc -15728641
iand
iload 10
ldc 15728640
iand
ior
istore 11
start local 11 14: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
aload 8
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.Name:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
iload 9
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
15: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.VirtualSize:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
iconst_0
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
16: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.VirtualAddress:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
iconst_0
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
17: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.SizeOfRawData:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
aload 7
arraylength
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
18: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.PointerToLinenumbers:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
iconst_0
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
19: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.NumberOfLinenumbers:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
iconst_0
invokevirtual java.nio.ByteBuffer.putChar:(IC)Ljava/nio/ByteBuffer;
pop
20: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.Characteristics:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
iload 11
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
21: aload 0
aload 7
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.data:[B
22: aload 0
iload 5
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.hasrelocations:Z
23: aload 0
iload 6
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.sectionIndex:I
24: return
end local 11 end local 10 end local 9 end local 8 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 25 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
0 25 1 sectName Ljava/lang/String;
0 25 2 sectData0 [B
0 25 3 sectFlags0 I
0 25 4 sectAlign I
0 25 5 hasRelocations Z
0 25 6 sectIndex I
3 25 7 sectData [B
6 25 8 Name [B
9 25 9 max I
13 25 10 sectAlignBits I
14 25 11 sectFlags I
MethodParameters:
Name Flags
sectName
sectData0
sectFlags0
sectAlign
hasRelocations
sectIndex
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.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.SizeOfRawData:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
invokevirtual java.nio.ByteBuffer.getInt:(I)I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
int getDataAlign();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.align:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
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.pecoff.PECoffSection.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/pecoff/PECoffSection;
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.pecoff.PECoffSection.data:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
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.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.PointerToRawData:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
lload 1
l2i
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/pecoff/PECoffSection;
0 2 1 offset J
MethodParameters:
Name Flags
offset
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.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.PointerToRawData:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
invokevirtual java.nio.ByteBuffer.getInt:(I)I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
void setReloff(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.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.PointerToRelocations:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.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/pecoff/PECoffSection;
0 2 1 offset I
MethodParameters:
Name Flags
offset
void setRelcount(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ldc 65535
if_icmple 6
1: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.NumberOfRelocations:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
ldc 65535
invokevirtual java.nio.ByteBuffer.putChar:(IC)Ljava/nio/ByteBuffer;
pop
2: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.Characteristics:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
invokevirtual java.nio.ByteBuffer.getInt:(I)I
istore 2
start local 2 3: iload 2
ldc 16777216
ior
istore 2
4: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.Characteristics:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
iload 2
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
end local 2 5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSection.section:Ljava/nio/ByteBuffer;
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.NumberOfRelocations:Ljdk/tools/jaotc/binformat/pecoff/PECoff$IMAGE_SECTION_HEADER;
getfield jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER.off:I
iload 1
i2c
invokevirtual java.nio.ByteBuffer.putChar:(IC)Ljava/nio/ByteBuffer;
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
0 8 1 count I
3 5 2 flags I
MethodParameters:
Name Flags
count
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.pecoff.PECoffSection.hasrelocations:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
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.pecoff.PECoffSection.sectionIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSection;
}
SourceFile: "PECoffSection.java"
InnerClasses:
final IMAGE_SECTION_HEADER = jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SECTION_HEADER of jdk.tools.jaotc.binformat.pecoff.PECoff