Home | History | Annotate | Download | only in strace

Lines Matching refs:opcode

833 		long opcode, offset_reg, tmp;
843 opcode = ptrace(PTRACE_PEEKTEXT, pid, (char *)(pc-sizeof(long)), 0);
853 * Unfortunately the opcode sizes of EXECUTE and SVC are differently,
854 * so that this doesn't work if a SVC opcode is part of an EXECUTE
855 * opcode. Since there is no way to find out the opcode size this
859 if ((opcode & 0xff00) == 0x0a00) {
860 /* SVC opcode */
861 scno = opcode & 0xff;
870 svc_addr = (void *) (opcode & 0xfff);
873 offset_reg = (opcode & 0x000f0000) >> 16;
879 offset_reg = (opcode & 0x0000f000) >> 12;
893 offset_reg = (opcode & 0x00f00000) >> 20;
941 /* This version analyzes the opcode of a syscall instruction.
967 "Unknown syscall opcode (0x%04X) while "