All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.unidbg.ios.struct.objc.ObjcClass32 Maven / Gradle / Ivy

The newest version!
package com.github.unidbg.ios.struct.objc;

import com.github.unidbg.Emulator;
import com.github.unidbg.ios.objc.processor.ObjcMethod;
import com.github.unidbg.pointer.UnidbgPointer;
import com.sun.jna.Pointer;

public class ObjcClass32 extends ObjcClass {

    public int isa;
    public int superClass;
    public int cache;
    public int vtable;
    public int data;

    public ObjcClass32(Emulator emulator, Pointer p) {
        super(emulator, p);
    }

    @Override
    public UnidbgPointer getIsa(Emulator emulator) {
        return UnidbgPointer.pointer(emulator, isa);
    }

    @Override
    protected UnidbgPointer getDataPointer(Emulator emulator) {
        return UnidbgPointer.pointer(emulator, data);
    }

    @Override
    public ObjcMethod[] getMethods() {
        throw new UnsupportedOperationException();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy