You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lldb/bindings/interface/SBProcessDocstrings.i
+69-24Lines changed: 69 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,18 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
20
20
"
21
21
) lldb::SBProcess;
22
22
23
-
%feature("autodoc", "
23
+
%feature("docstring", "
24
24
Writes data into the current process's stdin. API client specifies a Python
25
25
string as the only argument."
26
26
) lldb::SBProcess::PutSTDIN;
27
27
28
-
%feature("autodoc", "
28
+
%feature("docstring", "
29
29
Reads data from the current process's stdout stream. API client specifies
30
30
the size of the buffer to read data into. It returns the byte buffer in a
31
31
Python string."
32
32
) lldb::SBProcess::GetSTDOUT;
33
33
34
-
%feature("autodoc", "
34
+
%feature("docstring", "
35
35
Reads data from the current process's stderr stream. API client specifies
36
36
the size of the buffer to read data into. It returns the byte buffer in a
37
37
Python string."
@@ -47,34 +47,34 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
47
47
"See SBTarget.Launch for argument description and usage."
48
48
) lldb::SBProcess::RemoteLaunch;
49
49
50
-
%feature("autodoc", "
50
+
%feature("docstring", "
51
51
Returns the INDEX'th thread from the list of current threads. The index
52
52
of a thread is only valid for the current stop. For a persistent thread
53
53
identifier use either the thread ID or the IndexID. See help on SBThread
54
54
for more details."
55
55
) lldb::SBProcess::GetThreadAtIndex;
56
56
57
-
%feature("autodoc", "
57
+
%feature("docstring", "
58
58
Returns the thread with the given thread ID."
59
59
) lldb::SBProcess::GetThreadByID;
60
60
61
-
%feature("autodoc", "
61
+
%feature("docstring", "
62
62
Returns the thread with the given thread IndexID."
63
63
) lldb::SBProcess::GetThreadByIndexID;
64
64
65
-
%feature("autodoc", "
65
+
%feature("docstring", "
66
66
Returns the currently selected thread."
67
67
) lldb::SBProcess::GetSelectedThread;
68
68
69
-
%feature("autodoc", "
69
+
%feature("docstring", "
70
70
Lazily create a thread on demand through the current OperatingSystem plug-in, if the current OperatingSystem plug-in supports it."
71
71
) lldb::SBProcess::CreateOSPluginThread;
72
72
73
-
%feature("autodoc", "
73
+
%feature("docstring", "
74
74
Returns the process ID of the process."
75
75
) lldb::SBProcess::GetProcessID;
76
76
77
-
%feature("autodoc", "
77
+
%feature("docstring", "
78
78
Returns an integer ID that is guaranteed to be unique across all process instances. This is not the process ID, just a unique integer for comparison and caching purposes."
79
79
) lldb::SBProcess::GetUniqueID;
80
80
@@ -95,7 +95,7 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
95
95
will always increase, but may increase by more than one per stop."
96
96
) lldb::SBProcess::GetStopID;
97
97
98
-
%feature("autodoc", "
98
+
%feature("docstring", "
99
99
Reads memory from the current process's address space and removes any
100
100
traps that may have been inserted into the memory. It returns the byte
101
101
buffer in a Python string. Example: ::
@@ -105,7 +105,7 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
105
105
new_bytes = bytearray(content)"
106
106
) lldb::SBProcess::ReadMemory;
107
107
108
-
%feature("autodoc", "
108
+
%feature("docstring", "
109
109
Writes memory to the current process's address space and maintains any
110
110
traps that might be present due to software breakpoints. Example: ::
111
111
@@ -116,8 +116,8 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
116
116
print('SBProcess.WriteMemory() failed!')"
117
117
) lldb::SBProcess::WriteMemory;
118
118
119
-
%feature("autodoc", "
120
-
Reads a NULL terminated C string from the current process's address space.
119
+
%feature("docstring", "
120
+
Reads a NUL terminated C string from the current process's address space.
121
121
It returns a python string of the exact length, or truncates the string if
122
122
the maximum character limit is reached. Example: ::
123
123
@@ -131,7 +131,7 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
131
131
) lldb::SBProcess::ReadCStringFromMemory;
132
132
133
133
134
-
%feature("autodoc", "
134
+
%feature("docstring", "
135
135
Reads an unsigned integer from memory given a byte size and an address.
136
136
Returns the unsigned integer that was read. Example: ::
137
137
@@ -145,7 +145,7 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
145
145
) lldb::SBProcess::ReadUnsignedFromMemory;
146
146
147
147
148
-
%feature("autodoc", "
148
+
%feature("docstring", "
149
149
Reads a pointer from memory from an address and returns the value. Example: ::
150
150
151
151
# Read a pointer from address 0x1000
@@ -158,24 +158,24 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
158
158
) lldb::SBProcess::ReadPointerFromMemory;
159
159
160
160
161
-
%feature("autodoc", "
161
+
%feature("docstring", "
162
162
Returns the implementation object of the process plugin if available. None
163
163
otherwise."
164
164
) lldb::SBProcess::GetScriptedImplementation;
165
165
166
-
%feature("autodoc", "
166
+
%feature("docstring", "
167
167
Returns the process' extended crash information."
168
168
) lldb::SBProcess::GetExtendedCrashInformation;
169
169
170
-
%feature("autodoc", "
170
+
%feature("docstring", "
171
171
Load the library whose filename is given by image_spec looking in all the
172
172
paths supplied in the paths argument. If successful, return a token that
173
173
can be passed to UnloadImage and fill loaded_path with the path that was
174
174
successfully loaded. On failure, return
175
175
lldb.LLDB_INVALID_IMAGE_TOKEN."
176
176
) lldb::SBProcess::LoadImageUsingPaths;
177
177
178
-
%feature("autodoc", "
178
+
%feature("docstring", "
179
179
Return the number of different thread-origin extended backtraces
180
180
this process can support as a uint32_t.
181
181
When the process is stopped and you have an SBThread, lldb may be
@@ -184,12 +184,12 @@ SBProcess supports thread iteration. For example (from test/lldbutil.py), ::
184
184
queue)."
185
185
) lldb::SBProcess::GetNumExtendedBacktraceTypes;
186
186
187
-
%feature("autodoc", "
187
+
%feature("docstring", "
188
188
Takes an index argument, returns the name of one of the thread-origin
0 commit comments