Lines Matching defs:process

107 // A base class for information for a process. This can be used to fill
108 // out information for a process prior to launching it, or it can be
109 // used for an instance of a process and can be filled in with the
110 // existing values for that process.
313 // Not all process plug-ins support specifying an argv[0]
327 // Describes an existing process and any discoverable information that
328 // pertains to that process.
433 // Describes any information that is required to launch a process.
829 // Describes any information that is required to launch a process.
950 bool m_continue_once_attached; // Supports the use-case scenario of immediately continuing the process once attached.
1145 // This class tracks the Modification state of the process. Things that can currently modify
1349 /// @brief A plug-in interface definition class for debugging a process.
1389 // access the process state while the process is stopped (reader).
1390 // We lock the write lock to control access to the process
1391 // while it is running (readers, or clients that want the process
1392 // stopped can block waiting for the process to stop, or just
1394 // process. If the try read lock fails, then the process is running.
1409 /// for changes in a process's lifetime.
1418 void (*initialize)(void *baton, Process *process);
1419 void (*process_state_changed) (void *baton, Process *process, lldb::StateType state);
1429 ProcessEventData (const lldb::ProcessSP &process, lldb::StateType state);
1582 /// The module shared pointer that this process will debug.
1604 /// when they want to watch for a local process and have its exit
1605 /// status automatically set when the host child process exits.
1615 lldb::pid_t pid, // The process ID we want to monitor
1618 int status); // Exit value of process if signal is zero
1677 /// (lldb) process commmand <args>
1691 /// Launch a new process.
1693 /// Launch a new process by spawning a new process using the
1719 /// process. If all stdXX_path arguments are NULL, a pseudo
1724 /// process. If all stdXX_path arguments are NULL, a pseudo
1729 /// process. If all stdXX_path arguments are NULL, a pseudo
1733 /// The working directory to have the child process run in
1736 /// An error object. Call GetID() to get the process ID if
1754 /// Get the dynamic loader plug-in for this process.
1766 /// Attach to an existing process using the process attach info.
1776 /// The process ID that we should attempt to attach to.
1815 /// Get the image information address for the current process.
1833 /// Load a shared library into this process.
1835 /// Try and load a shared library into the current process. This
1860 /// Register for process and thread notifications.
1876 /// Unregister for process and thread notifications.
1887 /// successfully removed from the process, \b false otherwise.
1899 /// Resumes all of a process's threads as configured using the
1902 /// Threads for a process should be updated with one of the run
1904 /// when the process is resumed. If no run control action is given
1915 /// the Public Event Queue. If you need to resume the process without
1930 /// Halts a running process.
1934 /// If the process is successfully halted, a eStateStopped
1935 /// process event with GetInterrupted will be broadcast. If false, we will
1936 /// halt the process with no events generated by the halt.
1939 /// If true, when the process stops, clear all thread plans.
1942 /// Returns an error object. If the error is empty, the process is halted.
1949 /// Detaches from a running or stopped process.
1955 /// If true, don't resume the process on detach.
1964 /// Kills the process and shuts down all threads that were spawned
1965 /// to track and monitor the process.
1977 /// Sends a process a UNIX signal \a signal.
1999 /// Called before attaching to a process.
2002 /// process.
2014 /// Called before attaching to a process.
2017 /// process.
2051 /// Attach to an existing process using a process ID.
2054 /// The process ID that we should attempt to attach to.
2064 error.SetErrorStringWithFormat("error: %s does not support attaching to a process by pid", GetPluginName().GetCString());
2069 /// Attach to an existing process using a process ID.
2072 /// The process ID that we should attempt to attach to.
2087 error.SetErrorStringWithFormat("error: %s does not support attaching to a process by pid", GetPluginName().GetCString());
2092 /// Attach to an existing process using a partial process name.
2095 /// The name of the process to attach to.
2098 /// If \b true, wait for the process to be launched and attach
2100 /// search for a matching process the currently exists.
2119 /// Called after attaching a process.
2122 /// a process.
2129 /// Called after a process re-execs itself.
2131 /// Allow Process plug-ins to execute some code after a process has
2142 /// need to do anything after a process exec's itself.
2150 /// Called before launching to a process.
2153 /// process.
2165 /// Launch a new process.
2167 /// Launch a new process by spawning a new process using \a module's
2188 /// process. If all stdXX_path arguments are NULL, a pseudo
2193 /// process. If all stdXX_path arguments are NULL, a pseudo
2198 /// process. If all stdXX_path arguments are NULL, a pseudo
2202 /// The working directory to have the child process run in
2205 /// A new valid process ID, or LLDB_INVALID_PROCESS_ID if
2219 /// Called after launching a process.
2222 /// a process.
2230 /// Called before resuming to a process.
2233 /// process.
2242 /// Resumes all of a process's threads as configured using the
2245 /// Threads for a process should be updated with one of the run
2247 /// when the process is resumed. If no run control action is given
2251 /// Returns \b true if the process successfully resumes using
2268 /// Called after resuming a process.
2271 /// a process.
2278 /// Called before halting to a process.
2281 /// process.
2290 /// Halts a running process.
2293 /// stops the process. If the stop happens through some natural event (for
2301 /// process was already stopped.
2304 /// Returns \b true if the process successfully halts, \b false
2317 /// Called after halting a process.
2320 /// a process.
2326 /// Called before detaching from a process.
2329 /// from a process.
2341 /// Detaches from a running or stopped process.
2344 /// Returns \b true if the process successfully detaches, \b
2357 /// Called after detaching from a process.
2360 /// from a process.
2369 /// Called before sending a signal to a process.
2372 /// signal to a process.
2383 /// Sends a process a UNIX signal \a signal.
2410 /// Called after sending a signal to a process.
2413 /// signal to a process.
2425 /// some code prior to clients being notified that a process was
2461 /// Flush all data in the process.
2464 /// in the process.
2467 /// adding a new symbol file, or after the process makes a large
2474 /// Get accessor for the current process state.
2477 /// The current state of the process.
2519 /// The "private" side of resuming a process. This doesn't alter the
2520 /// state of m_run_lock, but just causes the process to resume.
2536 /// Get the exit status for a process.
2539 /// The process's return code, or -1 if the current process
2546 /// Get a textual description of what the process exited.
2549 /// The textual description of why the process exited, or NULL
2562 /// Get the Modification ID of the process.
2565 /// The modification ID of the process.
2604 /// Set accessor for the process exit status (return code).
2612 /// the process event queue.
2615 /// The value for the process's return code.
2623 /// Check if a process is still alive.
2626 /// Returns \b true if the process is still valid, \b false
2633 /// Before lldb detaches from a process, it warns the user that they are about to lose their debug session.
2638 // true if the user should be warned about detaching from this process.
2647 /// Actually do the reading of memory from a process.
2675 /// Read of memory from a process.
2677 /// This function will read memory from the current process's
2773 /// process memory.
2791 /// The unsigned integer that was read from the process memory
2793 /// unused upper bytes will be zero filled. If the process
2814 /// Actually do the writing of memory to a process.
2845 /// byte order of the process that is being debugged. If \a size is
2857 /// The scalar to write to the debugged process.
2887 /// Write memory to a process.
2889 /// This function will write memory to the current process's
2916 /// Actually allocate memory in the process.
2918 /// This function will allocate memory in the process's address
2926 /// The address of the allocated buffer in the process, or
2933 error.SetErrorStringWithFormat("error: %s does not support allocating in the debug process", GetPluginName().GetCString());
2939 /// The public interface to allocating memory in the process.
2941 /// This function will allocate memory in the process's address
2952 /// just not by the process itself.
2957 /// The address of the allocated buffer in the process, or
2982 error.SetErrorStringWithFormat("error: %s does not support indirect functions in the debug process", GetPluginName().GetCString());
3019 /// Attempt to get the attributes for a region of memory in the process.
3022 /// for a region of memory in the process, such as whether there is a
3024 /// readable/writable/executable by the process.
3027 /// The address of interest in the process.
3068 /// Determines whether executing JIT-compiled code in this process
3077 /// Sets whether executing JIT-compiled code in this process
3086 /// Actually deallocate memory in the process.
3088 /// This function will deallocate memory in the process's address
3103 error.SetErrorStringWithFormat("error: %s does not support deallocating in the debug process", GetPluginName().GetCString());
3109 /// The public interface to deallocating memory in the process.
3111 /// This function will deallocate memory in the process's address
3128 /// If the process was launched without supplying valid file paths
3130 /// try to cache the STDOUT for the process if it is able. Events
3152 /// If the process was launched without supplying valid file paths
3154 /// try to cache the STDERR for the process if it is able. Events
3225 // doesn't work for a specific process plug-in.
3232 // doesn't work for a specific process plug-in.
3325 ProcessEventHijacker (Process &process, Listener *listener) :
3326 m_process (process)
3341 /// event, then make a new listener, set to listen to process events, and
3347 /// This is the new listener to whom all process events will be delivered.
3357 /// Restores the process event broadcasting to its normal state.
3365 /// This is the part of the event handling that for a process event.
3423 /// new threads in the process. If you stop when the thread is created, you
3504 // a PreResumeAction callback, and register it with the process. It will
3531 // event that is delivered to this process. There is currently only
3532 // one next event action allowed in the process at one time. If a
3537 // If you want to resume the process as a result of a resume action,
3550 NextEventAction (Process *process) :
3551 m_process(process)
3584 AttachCompletionHandler (Process *process, uint32_t exec_count) :
3585 NextEventAction (process),
3634 Target & m_target; ///< The target that owns this process.
3636 ThreadSafeValue<lldb::StateType> m_private_state; // The actual state of our process
3642 ProcessModID m_mod_id; ///< Tracks the state of the process over stops and other alterations.
3646 int m_exit_status; ///< The exit status of the process, or -1 if not set.
3647 std::string m_exit_string; ///< A textual description of why a process exited.
3649 ThreadList m_thread_list_real; ///< The threads for this process as are known to the protocol we are debugging with
3650 ThreadList m_thread_list; ///< The threads for this process as the user will see them. This is usually the same as
3652 std::vector<Notifications> m_notifications; ///< The list of notifications that this process can deliver.
3659 UnixSignals m_unix_signals; /// This is the current signal set for this process.
3670 bool m_should_detach; /// Should we detach if the process object goes away with an explicit call to Kill or Detach?