/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/tasm/tests/exe/ |
exe.asm | 2 start proc
|
/external/ltrace/sysdeps/linux-gnu/alpha/ |
regs.c | 28 #include "proc.h" 40 get_instruction_pointer(struct process *proc) 42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 64 /* REG_PC */ , 0); 46 set_instruction_pointer(struct process *proc, void *addr) 48 ptrace(PTRACE_POKEUSER, proc->pid, 64 /* REG_PC */ , addr); 52 get_stack_pointer(struct process *proc) 54 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 30 /* REG_FP */ , 0); 58 get_return_addr(struct process *proc, void *stack_pointer) 60 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 26 /* RA */ , 0);
|
trace.c | 30 #include "proc.h" 43 get_arch_dep(struct process *proc) 50 syscall_p(struct process *proc, int status, int *sysnum) 53 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) { 54 char *ip = get_instruction_pointer(proc) - 4; 55 long x = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0); 60 ptrace(PTRACE_PEEKUSER, proc->pid, 0 /* REG_R0 */ , 0); 61 if (proc->callstack_depth > 0 && 62 proc->callstack[proc->callstack_depth - 1].is_syscall & [all...] |
/external/ltrace/sysdeps/linux-gnu/cris/ |
regs.c | 29 #include "proc.h" 40 void *get_instruction_pointer(struct process *proc) 42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_PPC, 0); 45 void set_instruction_pointer(struct process *proc, void *addr) 47 ptrace(PTRACE_POKEUSER, proc->pid, 4 * PT_PPC, addr); 50 void *get_stack_pointer(struct process *proc) 52 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_USP, 0); 55 void *get_return_addr(struct process *proc, void *stack_pointer) 57 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_SRP, 0);
|
/external/ltrace/sysdeps/linux-gnu/m68k/ |
regs.c | 28 #include "proc.h" 40 get_instruction_pointer(struct process *proc) 42 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_PC, 0); 46 set_instruction_pointer(struct process *proc, void *addr) 48 ptrace(PTRACE_POKEUSER, proc->pid, 4 * PT_PC, addr); 52 get_stack_pointer(struct process *proc) 54 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_USP, 0); 58 get_return_addr(struct process *proc, void *stack_pointer) 60 return (void *)ptrace(PTRACE_PEEKTEXT, proc->pid, stack_pointer, 0);
|
/external/ltrace/sysdeps/linux-gnu/mips/ |
regs.c | 30 #include "proc.h" 49 \param proc The process to work on. 53 get_instruction_pointer(struct process *proc) 55 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_pc, 0); 59 \param proc The process to work on. 68 set_instruction_pointer(struct process *proc, void *addr) 70 ptrace(PTRACE_POKEUSER, proc->pid, off_pc, addr); 74 \param proc The process to work on. 78 get_stack_pointer(struct process *proc) 80 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, off_sp, 0) [all...] |
/external/ltrace/ |
breakpoint.h | 47 void (*on_hit)(struct breakpoint *bp, struct process *proc); 48 void (*on_continue)(struct breakpoint *bp, struct process *proc); 49 void (*on_install)(struct breakpoint *bp, struct process *proc); 50 void (*on_retract)(struct breakpoint *bp, struct process *proc); 59 struct breakpoint *bp, struct process *proc); 73 void breakpoint_on_hit(struct breakpoint *bp, struct process *proc); 77 void breakpoint_on_continue(struct breakpoint *bp, struct process *proc); 82 * without PROC. ON_DISABLE might be useful as well, but that would 86 void breakpoint_on_retract(struct breakpoint *bp, struct process *proc); 92 void breakpoint_on_install(struct breakpoint *bp, struct process *proc); [all...] |
proc.c | 37 #include "proc.h" 42 os_process_init(struct process *proc) 48 os_process_destroy(struct process *proc) 53 os_process_clone(struct process *retp, struct process *proc) 59 os_process_exec(struct process *proc) 67 arch_process_init(struct process *proc) 73 arch_process_destroy(struct process *proc) 78 arch_process_clone(struct process *retp, struct process *proc) 84 arch_process_exec(struct process *proc) 92 arch_dynlink_done(struct process *proc) 324 struct process *proc = malloc(sizeof(*proc)); local 501 struct process *proc = open_program(filename, pid); local 1053 struct process *proc; member in struct:each_breakpoint_data [all...] |
handle_event.c | 42 #include "proc.h" 59 static void callstack_push_syscall(struct process *proc, int sysnum); 60 static void callstack_push_symfunc(struct process *proc, struct breakpoint *bp); 62 * proc.c, and push/pop should be visible outside this module. For 63 * now, because we need this in proc.c, this is non-static. */ 64 void callstack_pop(struct process *proc); 66 static char *shortsignal(struct process *proc, int signum); 67 static char *sysname(struct process *proc, int sysnum); 68 static char *arch_sysname(struct process *proc, int sysnum); 71 call_handler(struct process *proc, Event *event 273 struct process *proc = malloc(sizeof(*proc)); local 322 struct process *proc = pid2proc(event->e_un.newpid); local 576 struct process *proc = event->proc; local [all...] |
/external/compiler-rt/test/builtins/Unit/ |
trampoline_setup_test.c | 31 nested_func_t proc; variable 43 proc = bar; 47 if ( (*proc)(3) != 43 ) 50 if ( (*proc)(4) != 40 )
|
/system/core/adb/ |
get_my_path_freebsd.c | 28 char proc[64]; local 30 snprintf(proc, sizeof(proc), "/proc/%d/file", getpid()); 32 int err = readlink(proc, exe, maxLen - 1);
|
get_my_path_linux.c | 24 char proc[64]; local 25 snprintf(proc, sizeof proc, "/proc/%d/exe", getpid()); 26 int err = readlink(proc, exe, maxLen - 1);
|
jdwp_service.c | 126 JdwpProcess* proc = _jdwp_list.next; local 128 for ( ; proc != &_jdwp_list; proc = proc->next ) { 132 if (proc->pid < 0) 135 len = snprintf(p, end-p, "%d\n", proc->pid); 159 jdwp_process_free( JdwpProcess* proc ) 161 if (proc) { 164 proc->prev->next = proc->next 197 JdwpProcess* proc = calloc(1,sizeof(*proc)); local 237 JdwpProcess* proc = _proc; local 392 JdwpProcess* proc = _jdwp_list.next; local 518 JdwpProcess* proc; local [all...] |
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
regs.c | 29 #include "proc.h" 34 aarch64_read_gregs(struct process *proc, struct user_pt_regs *regs) 40 return ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, &iovec) < 0 45 aarch64_write_gregs(struct process *proc, struct user_pt_regs *regs) 50 return ptrace(PTRACE_SETREGSET, proc->pid, NT_PRSTATUS, &iovec) < 0 55 aarch64_read_fregs(struct process *proc, struct user_fpsimd_state *regs) 61 return ptrace(PTRACE_GETREGSET, proc->pid, NT_FPREGSET, &iovec) < 0 66 get_instruction_pointer(struct process *proc) 69 if (aarch64_read_gregs(proc, ®s) < 0) { 71 "Couldn't read registers of %d.\n", proc->pid) [all...] |
/ndk/sources/host-tools/make-3.81/w32/include/ |
sub_proc.h | 37 EXTERN_DECL(long process_begin, (HANDLE proc, char **argv, char **envp,
39 EXTERN_DECL(long process_pipe_io, (HANDLE proc, char *stdin_data,
41 EXTERN_DECL(long process_file_io, (HANDLE proc));
42 EXTERN_DECL(void process_cleanup, (HANDLE proc));
44 EXTERN_DECL(void process_register, (HANDLE proc));
46 EXTERN_DECL(BOOL process_kill, (HANDLE proc, int signal));
50 EXTERN_DECL(long process_errno, (HANDLE proc));
51 EXTERN_DECL(long process_last_err, (HANDLE proc));
52 EXTERN_DECL(long process_exit_code, (HANDLE proc));
53 EXTERN_DECL(long process_signal, (HANDLE proc));
[all...] |
/external/ltrace/sysdeps/linux-gnu/sparc/ |
trace.c | 30 #include "proc.h" 34 get_arch_dep(struct process *proc) 37 if (!proc->arch_ptr) 38 proc->arch_ptr = (void *)malloc(sizeof(proc_archdep)); 39 a = (proc_archdep *) (proc->arch_ptr); 40 a->valid = (ptrace(PTRACE_GETREGS, proc->pid, &a->regs, 0) >= 0); 47 syscall_p(struct process *proc, int status, int *sysnum) 50 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) { 51 void *ip = get_instruction_pointer(proc); 55 insn = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0) [all...] |
regs.c | 27 #include "proc.h" 31 get_instruction_pointer(struct process *proc) 33 proc_archdep *a = (proc_archdep *) (proc->arch_ptr); 40 set_instruction_pointer(struct process *proc, void *addr) 42 proc_archdep *a = (proc_archdep *) (proc->arch_ptr); 48 get_stack_pointer(struct process *proc) 50 proc_archdep *a = (proc_archdep *) (proc->arch_ptr); 57 get_return_addr(struct process *proc, void *stack_pointer) 59 proc_archdep *a = (proc_archdep *) (proc->arch_ptr); 64 t = ptrace(PTRACE_PEEKTEXT, proc->pid, a->regs.u_regs[UREG_I6] + 8, 0) [all...] |
/system/extras/libpagemap/ |
pm_process.c | 29 static int read_maps(pm_process_t *proc); 34 pm_process_t *proc; local 41 proc = calloc(1, sizeof(*proc)); 42 if (!proc) 45 proc->ker = ker; 46 proc->pid = pid; 48 error = snprintf(filename, MAX_FILENAME, "/proc/%d/pagemap", pid); 51 free(proc); 55 proc->pagemap_fd = open(filename, O_RDONLY) [all...] |
/external/ltrace/sysdeps/linux-gnu/ppc/ |
regs.c | 32 #include "proc.h" 44 get_instruction_pointer(struct process *proc) 46 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_NIP, 0); 50 set_instruction_pointer(struct process *proc, void *addr) 52 if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 0) 57 get_stack_pointer(struct process *proc) 59 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_R1, 0); 63 get_return_addr(struct process *proc, void *stack_pointer) 65 return (void *)ptrace(PTRACE_PEEKUSER, proc->pid, sizeof(long)*PT_LNK, 0);
|
/external/ltrace/sysdeps/linux-gnu/x86/ |
trace.c | 33 #include "proc.h" 58 get_arch_dep(struct process *proc) 63 if (proc->e_machine == EM_X86_64) { 64 proc->mask_32bit = 0; 65 proc->personality = 1; 67 proc->mask_32bit = 1; 68 proc->personality = 0; 70 proc->mask_32bit = 0; 71 proc->personality = 0; 78 syscall_p(struct process *proc, int status, int *sysnum [all...] |
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|