public ELFSharedObject LoadSharedObject(ELFProcess theProcess) { if (!IsSharedObject()) { ExceptionMethods.Throw(new FOS_System.Exception("Attempted to load non-shared ELF as shared object!")); } ELFSharedObject sharedObject = new ELFSharedObject(this, theProcess); sharedObject.Load(); return(sharedObject); }
public ELFProcess LoadExecutable(bool UserMode) { if (!IsExecutable()) { ExceptionMethods.Throw(new FOS_System.Exception("Attempted to load non-executable ELF as executable!")); } ELFProcess process = new ELFProcess(this); process.Load(UserMode); return(process); }
public static ELFSharedObject LoadLibrary_FromELFSO(File ELFSharedObjectFile, ELFProcess theProcess) { //bool reenable = Scheduler.Enabled; //if (reenable) //{ // Scheduler.Disable(); //} ELFSharedObject result = new ELFFile(ELFSharedObjectFile).LoadSharedObject(theProcess); //if (reenable) //{ // Scheduler.Enable(); //} return result; }
public ELFSharedObject LoadSharedObject(ELFProcess theProcess) { if (!IsSharedObject()) { ExceptionMethods.Throw(new FOS_System.Exception("Attempted to load non-shared ELF as shared object!")); } ELFSharedObject sharedObject = new ELFSharedObject(this, theProcess); sharedObject.Load(); return sharedObject; }
public ELFProcess LoadExecutable(bool UserMode) { if (!IsExecutable()) { ExceptionMethods.Throw(new FOS_System.Exception("Attempted to load non-executable ELF as executable!")); } ELFProcess process = new ELFProcess(this); process.Load(UserMode); return process; }
public ELFSharedObject(ELFFile anELFFile, ELFProcess aProcess) { theFile = anELFFile; theProcess = aProcess; }