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

com.github.unidbg.ios.struct.kernel.TaskInfoRequest Maven / Gradle / Ivy

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

import com.github.unidbg.pointer.UnidbgStructure;
import com.sun.jna.Pointer;

import java.util.Arrays;
import java.util.List;

public class TaskInfoRequest extends UnidbgStructure {

    public static final int TASK_BASIC_INFO_32 = 4; /* basic information */
    public static final int TASK_BASIC_INFO_64 = 5; /* 64-bit capable basic info */
    public static final int TASK_DYLD_INFO = 17;

    /* Don't use this, use MACH_TASK_BASIC_INFO instead */
    /* Compatibility for old 32-bit mach_vm_*_t */
    public static final int TASK_BASIC_INFO_64_2 = 18; /* 64-bit capable basic info */
    public static final int TASK_VM_INFO = 22;

    public TaskInfoRequest(Pointer p) {
        super(p);
    }

    public NDR_record NDR;
    public int flavor;
    public int task_info_outCnt;

    @Override
    protected List getFieldOrder() {
        return Arrays.asList("NDR", "flavor", "task_info_outCnt");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy