Lines Matching refs:proc
154 int process_init(struct process *proc, const char *filename, pid_t pid);
156 /* PROC underwent an exec. This is a bit like process_destroy
159 int process_exec(struct process *proc);
161 /* Release any memory allocated for PROC (but not PROC itself). Does
162 * NOT remove PROC from internal chain.
167 void process_destroy(struct process *proc);
173 /* Clone the contents of PROC into the memory referenced by RETP.
175 int process_clone(struct process *retp, struct process *proc, pid_t pid);
181 enum callback_status (*cb)(struct process *proc,
185 /* Iterate through list of tasks of given process PROC. See
187 struct process *each_task(struct process *proc, struct process *start_after,
188 enum callback_status (*cb)(struct process *proc,
192 void change_process_leader(struct process *proc, struct process *leader);
196 void process_hit_start(struct process *proc);
200 void remove_process(struct process *proc);
202 void install_event_handler(struct process *proc, struct event_handler *handler);
203 void destroy_event_handler(struct process *proc);
205 /* Add a library LIB to the list of PROC's libraries. */
206 void proc_add_library(struct process *proc, struct library *lib);
208 /* Remove LIB from list of PROC's libraries. Returns 0 if the library
210 int proc_remove_library(struct process *proc, struct library *lib);
217 int proc_activate_delayed_symbol(struct process *proc,
220 /* Iterate through the libraries of PROC. See callback.h for notes on
222 struct library *proc_each_library(struct process *proc,
229 /* Insert BP into PROC. */
230 int proc_add_breakpoint(struct process *proc, struct breakpoint *bp);
232 /* Remove BP from PROC. This has no reason to fail in runtime. If it
233 * does not find BP in PROC, it's hard error guarded by assertion. */
234 void proc_remove_breakpoint(struct process *proc, struct breakpoint *bp);
236 /* Iterate through the breakpoints of PROC. See callback.h for notes
238 arch_addr_t *proc_each_breakpoint(struct process *proc, arch_addr_t *start,
240 (struct process *proc,
248 int proc_find_dynamic_entry_addr(struct process *proc, arch_addr_t src_addr,
251 /* Finds a symbol corresponding to LIBSYM in a process PROC. Returns
255 int proc_find_symbol(struct process *proc, struct library_symbol *sym,
258 /* Iterate through all symbols in all libraries of PROC. See
261 (struct process *proc, struct library_symbol *start_after,
265 /* Read 8, 16, 32 or 64-bit quantity located at ADDR in PROC. The
269 int proc_read_8(struct process *proc, arch_addr_t addr, uint8_t *lp);
270 int proc_read_16(struct process *proc, arch_addr_t addr, uint16_t *lp);
271 int proc_read_32(struct process *proc, arch_addr_t addr, uint32_t *lp);
272 int proc_read_64(struct process *proc, arch_addr_t addr, uint64_t *lp);