Lines Matching refs:ps_prochandle
57 static bool process_read_data(struct ps_prochandle* ph, uintptr_t addr, char *buf, size_t size) {
107 static bool process_write_data(struct ps_prochandle* ph,
113 static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct user_regs_struct *user) {
258 static bool add_new_thread(struct ps_prochandle* ph, pthread_t pthread_id, lwpid_t lwp_id) {
262 static bool read_lib_info(struct ps_prochandle* ph) {
308 // detach all pids of a ps_prochandle
309 static void detach_all_pids(struct ps_prochandle* ph) {
317 static void process_cleanup(struct ps_prochandle* ph) {
329 struct ps_prochandle* Pgrab(pid_t pid) {
330 struct ps_prochandle* ph = NULL;
333 if ( (ph = (struct ps_prochandle*) calloc(1, sizeof(struct ps_prochandle))) == NULL) {
334 print_debug("can't allocate memory for ps_prochandle\n");
343 // initialize ps_prochandle