Home
last modified time | relevance | path

Searched refs:faultaddr (Results 1 – 25 of 39) sorted by relevance

12

/dports/emulators/aranym/aranym-1.1.0/src/Unix/linux/
H A Dsigsegv_linux_arm.cpp124 static __attribute_noinline__ void handle_arm_instruction2(unsigned long *pregs, memptr faultaddr) in handle_arm_instruction2() argument
126 static __attribute_noinline__ void handle_arm_instruction(unsigned long *pregs, memptr faultaddr) in handle_arm_instruction2()
129 memptr addr = faultaddr; in handle_arm_instruction2()
133 D(bug("PC: %p [%08x] %08x", pc, opcode, faultaddr)); in handle_arm_instruction2()
136 panicbug("Segmentation fault in handler :-(, faultaddr=0x%08x", faultaddr); in handle_arm_instruction2()
303 handle_arm_instruction2(pregs, faultaddr); in handle_arm_instruction()
311 uintptr faultaddr = (uintptr)sip->si_addr; in segfault_vec() local
312 memptr addr = (memptr)(faultaddr - fixed_memory_offset); in segfault_vec()
319 if (faultaddr < (uintptr)(fixed_memory_offset - 0x1000000UL) in segfault_vec()
321 || faultaddr >= ((uintptr)fixed_memory_offset + 0x100000000UL) in segfault_vec()
[all …]
H A Dsigsegv_linux_x86.cpp71 uintptr faultaddr = (uintptr)sip->si_addr; /* CONTEXT_REGS[REG_CR2] */ in segfault_vec() local
72 memptr addr = (memptr)(faultaddr - fixed_memory_offset); in segfault_vec()
78 if (faultaddr < (uintptr)(fixed_memory_offset - 0x1000000UL) in segfault_vec()
80 || faultaddr >= ((uintptr)fixed_memory_offset + 0x100000000UL) in segfault_vec()
96 if (faultaddr == 0 || CONTEXT_AEIP == 0) in segfault_vec()
/dports/devel/libsigsegv/libsigsegv-2.12/src/
H A Dfault-netbsd-alpha.c26 unsigned long faultaddr; in get_fault_addr() local
36 faultaddr = scp->sc_regs[(instr >> 16) & 0x1f]; in get_fault_addr()
37 faultaddr += (unsigned long) (long) (((int)instr << 16) >> 16); in get_fault_addr()
38 return (void *) faultaddr; in get_fault_addr()
/dports/lang/smalltalk/smalltalk-3.2.5/sigsegv/src/
H A Dfault-netbsd-alpha.c26 unsigned long faultaddr; in get_fault_addr() local
36 faultaddr = scp->sc_regs[(instr >> 16) & 0x1f]; in get_fault_addr()
37 faultaddr += (unsigned long) (long) (((int)instr << 16) >> 16); in get_fault_addr()
38 return (void *) faultaddr; in get_fault_addr()
/dports/emulators/aranym/aranym-1.1.0/src/Unix/beos/
H A Dsigsegv_beos_x86.cpp94 uintptr faultaddr = (uintptr)sip->si_addr; /* CONTEXT_REGS[REG_CR2] */ in segfault_vec() local
95 memptr addr = (memptr)(faultaddr - fixed_memory_offset); in segfault_vec()
101 if (faultaddr < (uintptr)(fixed_memory_offset - 0x1000000UL) in segfault_vec()
103 || faultaddr >= ((uintptr)fixed_memory_offset + 0x100000000UL) in segfault_vec()
119 if (faultaddr == 0 || CONTEXT_AEIP == 0) in segfault_vec()
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/coregrind/m_sigframe/
H A Dsigframe-ppc32-linux.c640 Addr faultaddr; in VG_() local
665 faultaddr = (Addr)siginfo->_sifields._sigfault._addr; in VG_()
667 faultaddr = tst->arch.vex.guest_CIA; in VG_()
696 stack_mcontext(&ucp->uc_mcontext, tst, True/*use_rt_sigreturn*/, faultaddr); in VG_()
718 stack_mcontext(&frame->mcontext, tst, False/*!use_rt_sigreturn*/, faultaddr); in VG_()
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/coregrind/m_sigframe/
H A Dsigframe-ppc32-linux.c640 Addr faultaddr; in VG_() local
665 faultaddr = (Addr)siginfo->_sifields._sigfault._addr; in VG_()
667 faultaddr = tst->arch.vex.guest_CIA; in VG_()
696 stack_mcontext(&ucp->uc_mcontext, tst, True/*use_rt_sigreturn*/, faultaddr); in VG_()
718 stack_mcontext(&frame->mcontext, tst, False/*!use_rt_sigreturn*/, faultaddr); in VG_()
/dports/security/afl++/AFLplusplus-3.14c/utils/afl_untracer/
H A Dafl-untracer.c659 uint8_t *faultaddr; local
661 faultaddr = (u8 *)si->si_addr - 1;
663 faultaddr = (u8 *)addr;
665 uint32_t shadow = *SHADOW(faultaddr);
677 *faultaddr = orig_byte;
/dports/emulators/qemu/qemu-6.2.0/linux-user/arm/
H A Dcpu_loop.c393 abi_ulong faultaddr = env->regs[15]; in cpu_loop() local
394 faultaddr -= env->thumb ? 2 : 4; in cpu_loop()
396 faultaddr); in cpu_loop()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/linux-user/arm/
H A Dcpu_loop.c392 abi_ulong faultaddr = env->regs[15]; in cpu_loop() local
393 faultaddr -= env->thumb ? 2 : 4; in cpu_loop()
395 faultaddr); in cpu_loop()
/dports/math/reduce/Reduce-svn5758-src/psl/dist/nonkernel/armv6/
H A Dtrap.sl46 (fluid '(errornumber* sigaddr* faultaddr* arith-exception-type* stack-pointer*
86 (*move (memory (reg 2) 12) (fluid faultaddr*))
189 % if sp + 1024 >= faultaddr* >= sp - 1024, assume a stack overflow
190 (*move ($fluid faultaddr*) (reg 3))
/dports/math/reduce/Reduce-svn5758-src/psl/dist/nonkernel/freeBSD64/
H A Dtrap.sl67 (fluid '(errornumber* sigaddr* faultaddr* arith-exception-type* stack-pointer*
95 (*move (memory (reg rsi) 24) (fluid faultaddr*))
197 % if rsp + 1024 >= faultaddr* >= rsp - 1024, assume a stack overflow
198 (*move (fluid faultaddr*) (reg 3))
/dports/math/reduce/Reduce-svn5758-src/psl/dist/nonkernel/aarch64/
H A Dtrap.sl46 (fluid '(errornumber* sigaddr* faultaddr* arith-exception-type* stack-pointer*
94 (*move (memory (reg 2) 16) (fluid faultaddr*))
213 % if sp + 1024 >= faultaddr* >= sp - 1024, assume a stack overflow
214 (*move ($fluid faultaddr*) (reg 3))
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/caam/
H A Ddebugfs.c75 &perfmon->faultaddr, &caam_fops_u32_ro); in caam_debugfs_init()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/caam/
H A Ddebugfs.c75 &perfmon->faultaddr, &caam_fops_u32_ro); in caam_debugfs_init()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/caam/
H A Ddebugfs.c75 &perfmon->faultaddr, &caam_fops_u32_ro); in caam_debugfs_init()
/dports/math/reduce/Reduce-svn5758-src/psl/dist/nonkernel/AMD64_ext/
H A Dtrap.sl67 (fluid '(errornumber* sigaddr* faultaddr* arith-exception-type* stack-pointer*
95 (*move (memory (reg rsi) 16) (fluid faultaddr*))
199 % if rsp + 1024 >= faultaddr* >= rsp - 1024, assume a stack overflow
200 (*move (fluid faultaddr*) (reg 3))
/dports/emulators/aranym/aranym-1.1.0/src/Unix/
H A Dsigsegv_common_x86.h227 …atic __attribute_noinline__ void handle_access_fault2(CONTEXT_ATYPE CONTEXT_NAME, memptr faultaddr) in handle_access_fault2() argument
229 static __attribute_noinline__ void handle_access_fault(CONTEXT_ATYPE CONTEXT_NAME, memptr faultaddr) in handle_access_fault2()
232 memptr addr = faultaddr; in handle_access_fault2()
254 panicbug("Segmentation fault in handler :-(, faultaddr=0x%08x", faultaddr); in handle_access_fault2()
1766 …ttribute_noinline__ void handle_access_fault(CONTEXT_ATYPE CONTEXT_NAME, volatile memptr faultaddr) in handle_access_fault() argument
1780 handle_access_fault2(CONTEXT_NAME, faultaddr); in handle_access_fault()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/virtio/
H A Dvhost-user.c1124 uint64_t faultaddr = msg->arg.pagefault.address; in vhost_user_postcopy_fault_handler() local
1129 trace_vhost_user_postcopy_fault_handler(pcfd->idstr, faultaddr, in vhost_user_postcopy_fault_handler()
1134 if (faultaddr >= u->postcopy_client_bases[i]) { in vhost_user_postcopy_fault_handler()
1136 uint64_t region_offset = faultaddr - u->postcopy_client_bases[i]; in vhost_user_postcopy_fault_handler()
1142 return postcopy_request_shared_page(pcfd, rb, faultaddr, in vhost_user_postcopy_fault_handler()
1148 __func__, faultaddr); in vhost_user_postcopy_fault_handler()
/dports/emulators/qemu42/qemu-4.2.1/hw/virtio/
H A Dvhost-user.c1172 uint64_t faultaddr = msg->arg.pagefault.address; in vhost_user_postcopy_fault_handler() local
1177 trace_vhost_user_postcopy_fault_handler(pcfd->idstr, faultaddr, in vhost_user_postcopy_fault_handler()
1182 if (faultaddr >= u->postcopy_client_bases[i]) { in vhost_user_postcopy_fault_handler()
1184 uint64_t region_offset = faultaddr - u->postcopy_client_bases[i]; in vhost_user_postcopy_fault_handler()
1190 return postcopy_request_shared_page(pcfd, rb, faultaddr, in vhost_user_postcopy_fault_handler()
1196 __func__, faultaddr); in vhost_user_postcopy_fault_handler()
/dports/emulators/qemu-utils/qemu-4.2.1/hw/virtio/
H A Dvhost-user.c1172 uint64_t faultaddr = msg->arg.pagefault.address; in vhost_user_postcopy_fault_handler() local
1177 trace_vhost_user_postcopy_fault_handler(pcfd->idstr, faultaddr, in vhost_user_postcopy_fault_handler()
1182 if (faultaddr >= u->postcopy_client_bases[i]) { in vhost_user_postcopy_fault_handler()
1184 uint64_t region_offset = faultaddr - u->postcopy_client_bases[i]; in vhost_user_postcopy_fault_handler()
1190 return postcopy_request_shared_page(pcfd, rb, faultaddr, in vhost_user_postcopy_fault_handler()
1196 __func__, faultaddr); in vhost_user_postcopy_fault_handler()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/virtio/
H A Dvhost-user.c1178 uint64_t faultaddr = msg->arg.pagefault.address;
1183 trace_vhost_user_postcopy_fault_handler(pcfd->idstr, faultaddr,
1188 if (faultaddr >= u->postcopy_client_bases[i]) {
1190 uint64_t region_offset = faultaddr - u->postcopy_client_bases[i];
1196 return postcopy_request_shared_page(pcfd, rb, faultaddr,
1202 __func__, faultaddr);
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/virtio/
H A Dvhost-user.c1178 uint64_t faultaddr = msg->arg.pagefault.address; in vhost_user_postcopy_fault_handler() local
1183 trace_vhost_user_postcopy_fault_handler(pcfd->idstr, faultaddr, in vhost_user_postcopy_fault_handler()
1188 if (faultaddr >= u->postcopy_client_bases[i]) { in vhost_user_postcopy_fault_handler()
1190 uint64_t region_offset = faultaddr - u->postcopy_client_bases[i]; in vhost_user_postcopy_fault_handler()
1196 return postcopy_request_shared_page(pcfd, rb, faultaddr, in vhost_user_postcopy_fault_handler()
1202 __func__, faultaddr); in vhost_user_postcopy_fault_handler()
/dports/emulators/qemu/qemu-6.2.0/hw/virtio/
H A Dvhost-user.c1713 uint64_t faultaddr = msg->arg.pagefault.address; in vhost_user_postcopy_fault_handler() local
1718 trace_vhost_user_postcopy_fault_handler(pcfd->idstr, faultaddr, in vhost_user_postcopy_fault_handler()
1723 if (faultaddr >= u->postcopy_client_bases[i]) { in vhost_user_postcopy_fault_handler()
1725 uint64_t region_offset = faultaddr - u->postcopy_client_bases[i]; in vhost_user_postcopy_fault_handler()
1731 return postcopy_request_shared_page(pcfd, rb, faultaddr, in vhost_user_postcopy_fault_handler()
1737 __func__, faultaddr); in vhost_user_postcopy_fault_handler()
/dports/emulators/qemu60/qemu-6.0.0/hw/virtio/
H A Dvhost-user.c1650 uint64_t faultaddr = msg->arg.pagefault.address; in vhost_user_postcopy_fault_handler() local
1655 trace_vhost_user_postcopy_fault_handler(pcfd->idstr, faultaddr, in vhost_user_postcopy_fault_handler()
1660 if (faultaddr >= u->postcopy_client_bases[i]) { in vhost_user_postcopy_fault_handler()
1662 uint64_t region_offset = faultaddr - u->postcopy_client_bases[i]; in vhost_user_postcopy_fault_handler()
1668 return postcopy_request_shared_page(pcfd, rb, faultaddr, in vhost_user_postcopy_fault_handler()
1674 __func__, faultaddr); in vhost_user_postcopy_fault_handler()

12