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

com.github.unidbg.linux.LinuxThread Maven / Gradle / Ivy

There is a newer version: 0.9.8
Show newest version
package com.github.unidbg.linux;

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

public class LinuxThread {

    // Our 'tls' and __pthread_clone's 'child_stack' are one and the same, just growing in
    // opposite directions.
    final Pointer child_stack;
    final UnicornPointer fn;
    final Pointer arg;

    LinuxThread(Pointer child_stack, Pointer fn, Pointer arg) {
        this.child_stack = child_stack;
        this.fn = (UnicornPointer) fn;
        this.arg = arg;
    }

    public long context;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy