C# Class LLDB.LaunchInfo

Inheritance: IDisposable
Afficher le fichier Open project: tritao/LLDBSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
NativeToManagedMap LaunchInfo>.System.Collections.Concurrent.ConcurrentDictionary

Protected Properties

Свойство Type Description
__OriginalVTables void*[]
__PointerAdjustment int
__ownsNativeInstance bool

Méthodes publiques

Méthode Description
AddCloseFileAction ( int fd ) : bool
AddDuplicateFileAction ( int fd, int dup_fd ) : bool
AddOpenFileAction ( int fd, string path, bool read, bool write ) : bool
AddSuppressFileAction ( int fd, bool read, bool write ) : bool
Clear ( ) : void
Dispose ( ) : void
GetArgumentAtIndex ( uint idx ) : string
GetEnvironmentEntryAtIndex ( uint idx ) : string
GetExecutableFile ( ) : LLDB.FileSpec
GetListener ( ) : LLDB.Listener

Get the listener that will be used to receive process events.

If no listener has been set via a call to

SBLaunchInfo::SetListener(), then an invalid SBListener will be

returned (SBListener::IsValid() will return false). If a listener

has been set, then the valid listener object will be returned.

GroupIDIsValid ( ) : bool
LaunchInfo ( LLDB _0 ) : System
LaunchInfo ( sbyte argv ) : System
SetArguments ( sbyte argv, bool append ) : void
SetEnvironmentEntries ( sbyte envp, bool append ) : void
SetExecutableFile ( LLDB exe_file, bool add_as_first_arg ) : void

Set the executable file that will be used to launch the process and

optionally set it as the first argument in the argument vector.

This only needs to be specified if clients wish to carefully control

the exact path will be used to launch a binary. If you create a

target with a symlink, that symlink will get resolved in the target

and the resolved path will get used to launch the process. Calling

this function can help you still launch your process using the

path of your choice.

If this function is not called prior to launching with

SBTarget::Launch(...), the target will use the resolved executable

path that was used to create the target.

UserIDIsValid ( ) : bool
__CreateInstance ( LaunchInfo native, bool skipVTables = false ) : LaunchInfo
__CreateInstance ( global native, bool skipVTables = false ) : LaunchInfo

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
LaunchInfo ( void native, bool skipVTables = false ) : System

Private Methods

Méthode Description
LaunchInfo ( LaunchInfo native, bool skipVTables = false ) : System
__CopyValue ( LaunchInfo native ) : void*

Method Details

AddCloseFileAction() public méthode

public AddCloseFileAction ( int fd ) : bool
fd int
Résultat bool

AddDuplicateFileAction() public méthode

public AddDuplicateFileAction ( int fd, int dup_fd ) : bool
fd int
dup_fd int
Résultat bool

AddOpenFileAction() public méthode

public AddOpenFileAction ( int fd, string path, bool read, bool write ) : bool
fd int
path string
read bool
write bool
Résultat bool

AddSuppressFileAction() public méthode

public AddSuppressFileAction ( int fd, bool read, bool write ) : bool
fd int
read bool
write bool
Résultat bool

Clear() public méthode

public Clear ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetArgumentAtIndex() public méthode

public GetArgumentAtIndex ( uint idx ) : string
idx uint
Résultat string

GetEnvironmentEntryAtIndex() public méthode

public GetEnvironmentEntryAtIndex ( uint idx ) : string
idx uint
Résultat string

GetExecutableFile() public méthode

public GetExecutableFile ( ) : LLDB.FileSpec
Résultat LLDB.FileSpec

GetListener() public méthode

Get the listener that will be used to receive process events.

If no listener has been set via a call to

SBLaunchInfo::SetListener(), then an invalid SBListener will be

returned (SBListener::IsValid() will return false). If a listener

has been set, then the valid listener object will be returned.

public GetListener ( ) : LLDB.Listener
Résultat LLDB.Listener

GroupIDIsValid() public méthode

public GroupIDIsValid ( ) : bool
Résultat bool

LaunchInfo() public méthode

public LaunchInfo ( LLDB _0 ) : System
_0 LLDB
Résultat System

LaunchInfo() public méthode

public LaunchInfo ( sbyte argv ) : System
argv sbyte
Résultat System

LaunchInfo() protected méthode

protected LaunchInfo ( void native, bool skipVTables = false ) : System
native void
skipVTables bool
Résultat System

SetArguments() public méthode

public SetArguments ( sbyte argv, bool append ) : void
argv sbyte
append bool
Résultat void

SetEnvironmentEntries() public méthode

public SetEnvironmentEntries ( sbyte envp, bool append ) : void
envp sbyte
append bool
Résultat void

SetExecutableFile() public méthode

Set the executable file that will be used to launch the process and

optionally set it as the first argument in the argument vector.

This only needs to be specified if clients wish to carefully control

the exact path will be used to launch a binary. If you create a

target with a symlink, that symlink will get resolved in the target

and the resolved path will get used to launch the process. Calling

this function can help you still launch your process using the

path of your choice.

If this function is not called prior to launching with

SBTarget::Launch(...), the target will use the resolved executable

path that was used to create the target.

public SetExecutableFile ( LLDB exe_file, bool add_as_first_arg ) : void
exe_file LLDB /// The override path to use when launching the executable. ///
add_as_first_arg bool /// If true, then the path will be inserted into the argument vector /// prior to launching. Otherwise the argument vector will be left /// alone. ///
Résultat void

UserIDIsValid() public méthode

public UserIDIsValid ( ) : bool
Résultat bool

__CreateInstance() public static méthode

public static __CreateInstance ( LaunchInfo native, bool skipVTables = false ) : LaunchInfo
native LaunchInfo
skipVTables bool
Résultat LaunchInfo

__CreateInstance() public static méthode

public static __CreateInstance ( global native, bool skipVTables = false ) : LaunchInfo
native global
skipVTables bool
Résultat LaunchInfo

Property Details

NativeToManagedMap public_oe static_oe property

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
Résultat LaunchInfo>.System.Collections.Concurrent.ConcurrentDictionary

__OriginalVTables protected_oe property

protected void*[] __OriginalVTables
Résultat void*[]

__PointerAdjustment protected_oe property

protected int __PointerAdjustment
Résultat int

__ownsNativeInstance protected_oe property

protected bool __ownsNativeInstance
Résultat bool