Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
165 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files44
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
- ↑..Parent directory
- forms/
- AnnotationDefaultAttribute.java
- AnnotationsAttribute.java
- Attribute.java
- BCIRenumberedAttribute.java
- ByteCode.java
- CPClass.java
- CPConstant.java
- CPConstantNumber.java
- CPDouble.java
- CPField.java
- CPFieldRef.java
- CPFloat.java
- CPInteger.java
- CPInterfaceMethodRef.java
- CPLong.java
- CPMember.java
- CPMethod.java
- CPMethodRef.java
- CPNameAndType.java
- CPRef.java
- CPString.java
- CPUTF8.java
- ClassConstantPool.java
- ClassFile.java
- ClassFileEntry.java
- CodeAttribute.java
- ConstantPoolEntry.java
- ConstantValueAttribute.java
- DeprecatedAttribute.java
- EnclosingMethodAttribute.java
- ExceptionTableEntry.java
- ExceptionsAttribute.java
- InnerClassesAttribute.java
- LineNumberTableAttribute.java
- LocalVariableTableAttribute.java
- LocalVariableTypeTableAttribute.java
- NewAttribute.java
- OperandManager.java
- RuntimeVisibleorInvisibleAnnotationsAttribute.java
- RuntimeVisibleorInvisibleParameterAnnotationsAttribute.java
- SignatureAttribute.java
- SourceFileAttribute.java
- package-info.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
workspace/decomp/HeyRomUpdate/sources/org/apache/commons/compress/harmony/unpack200/bytecode/LocalVariableTableAttribute.java
Java · 5,394 bytespackage org.apache.commons.compress.harmony.unpack200.bytecode;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.compress.harmony.pack200.Pack200Exception;
/* loaded from: classes.dex */
public class LocalVariableTableAttribute extends BCIRenumberedAttribute {
private static CPUTF8 attributeName;
private int codeLength;
private int[] descriptorIndexes;
private final CPUTF8[] descriptors;
private final int[] indexes;
private final int[] lengths;
private final int localVariableTableLength;
private int[] nameIndexes;
private final CPUTF8[] names;
private final int[] startPcs;
public static void setAttributeName(CPUTF8 cpUTF8Value) {
attributeName = cpUTF8Value;
}
public LocalVariableTableAttribute(int localVariableTableLength, int[] startPcs, int[] lengths, CPUTF8[] names, CPUTF8[] descriptors, int[] indexes) {
super(attributeName);
this.localVariableTableLength = localVariableTableLength;
this.startPcs = startPcs;
this.lengths = lengths;
this.names = names;
this.descriptors = descriptors;
this.indexes = indexes;
}
@Override // org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute, org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
protected int getLength() {
return (this.localVariableTableLength * 10) + 2;
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // org.apache.commons.compress.harmony.unpack200.bytecode.Attribute, org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
public ClassFileEntry[] getNestedClassFileEntries() {
List<CPUTF8> nestedEntries = new ArrayList<>();
nestedEntries.add(getAttributeName());
for (int i = 0; i < this.localVariableTableLength; i++) {
nestedEntries.add(this.names[i]);
nestedEntries.add(this.descriptors[i]);
}
return (ClassFileEntry[]) nestedEntries.toArray(ClassFileEntry.NONE);
}
@Override // org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute
protected int[] getStartPCs() {
return this.startPcs;
}
@Override // org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute
public void renumber(List<Integer> byteCodeOffsets) throws Pack200Exception {
int revisedLength;
int[] iArr = this.startPcs;
int[] unrenumberedStartPcs = Arrays.copyOf(iArr, iArr.length);
super.renumber(byteCodeOffsets);
int maxSize = this.codeLength;
int index = 0;
while (true) {
int[] iArr2 = this.lengths;
if (index < iArr2.length) {
int startPc = this.startPcs[index];
int encodedLength = iArr2[index];
int indexOfStartPC = unrenumberedStartPcs[index];
int stopIndex = indexOfStartPC + encodedLength;
if (stopIndex < 0) {
throw new Pack200Exception("Error renumbering bytecode indexes");
}
if (stopIndex == byteCodeOffsets.size()) {
revisedLength = maxSize - startPc;
} else {
int stopValue = byteCodeOffsets.get(stopIndex).intValue();
revisedLength = stopValue - startPc;
}
this.lengths[index] = revisedLength;
index++;
} else {
return;
}
}
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // org.apache.commons.compress.harmony.unpack200.bytecode.Attribute, org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
public void resolve(ClassConstantPool pool) {
super.resolve(pool);
int i = this.localVariableTableLength;
this.nameIndexes = new int[i];
this.descriptorIndexes = new int[i];
for (int i2 = 0; i2 < this.localVariableTableLength; i2++) {
this.names[i2].resolve(pool);
this.descriptors[i2].resolve(pool);
this.nameIndexes[i2] = pool.indexOf(this.names[i2]);
this.descriptorIndexes[i2] = pool.indexOf(this.descriptors[i2]);
}
}
public void setCodeLength(int length) {
this.codeLength = length;
}
@Override // org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute, org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
public String toString() {
return "LocalVariableTable: " + this.localVariableTableLength + " variables";
}
@Override // org.apache.commons.compress.harmony.unpack200.bytecode.BCIRenumberedAttribute, org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
protected void writeBody(DataOutputStream dos) throws IOException {
dos.writeShort(this.localVariableTableLength);
for (int i = 0; i < this.localVariableTableLength; i++) {
dos.writeShort(this.startPcs[i]);
dos.writeShort(this.lengths[i]);
dos.writeShort(this.nameIndexes[i]);
dos.writeShort(this.descriptorIndexes[i]);
dos.writeShort(this.indexes[i]);
}
}
}