Lines Matching refs:ps_prochandle

121 static void destroy_lib_info(struct ps_prochandle* ph) {
133 static void destroy_thread_info(struct ps_prochandle* ph) {
142 // ps_prochandle cleanup
144 // ps_prochandle cleanup
145 void Prelease(struct ps_prochandle* ph) {
153 lib_info* add_lib_info(struct ps_prochandle* ph, const char* libname, uintptr_t base) {
157 lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd, uintptr_t base) {
206 uintptr_t lookup_symbol(struct ps_prochandle* ph, const char* object_name,
230 const char* symbol_for_pc(struct ps_prochandle* ph, uintptr_t addr, uintptr_t* poffset) {
243 // add a thread to ps_prochandle
244 thread_info* add_thread_info(struct ps_prochandle* ph, pthread_t pthread_id, lwpid_t lwp_id) {
265 struct ps_prochandle* ph;
291 bool read_thread_info(struct ps_prochandle* ph, thread_info_callback cb) {
317 int get_num_threads(struct ps_prochandle* ph) {
322 lwpid_t get_lwp_id(struct ps_prochandle* ph, int index) {
336 bool get_lwp_regs(struct ps_prochandle* ph, lwpid_t lwp_id, struct user_regs_struct* regs) {
341 int get_num_libs(struct ps_prochandle* ph) {
346 const char* get_lib_name(struct ps_prochandle* ph, int index) {
360 uintptr_t get_lib_base(struct ps_prochandle* ph, int index) {
373 bool find_lib(struct ps_prochandle* ph, const char *lib_name) {
388 pid_t ps_getpid(struct ps_prochandle *ph) {
397 ps_err_e ps_pglobal_lookup(struct ps_prochandle *ph, const char *object_name,
404 ps_err_e ps_pdread(struct ps_prochandle *ph, psaddr_t addr,
410 ps_err_e ps_pdwrite(struct ps_prochandle *ph, psaddr_t addr,
419 ps_err_e ps_lsetfpregs(struct ps_prochandle *ph, lwpid_t lid, const prfpregset_t *fpregs) {
424 ps_err_e ps_lsetregs(struct ps_prochandle *ph, lwpid_t lid, const prgregset_t gregset) {
429 ps_err_e ps_lgetfpregs(struct ps_prochandle *ph, lwpid_t lid, prfpregset_t *fpregs) {
434 ps_err_e ps_lgetregs(struct ps_prochandle *ph, lwpid_t lid, prgregset_t gregset) {