| /freebsd/contrib/llvm-project/compiler-rt/lib/interception/ |
| H A D | interception_linux.cpp | 36 static void *GetFuncAddr(const char *name, uptr trampoline) { in GetFuncAddr() argument 53 if ((uptr)addr == trampoline) in GetFuncAddr() 60 uptr trampoline) { in InterceptFunction() argument 61 void *addr = GetFuncAddr(name, trampoline); in InterceptFunction() 63 return addr && (func == trampoline); in InterceptFunction() 73 uptr func, uptr trampoline) { in InterceptFunction() argument 76 return addr && (func == trampoline); in InterceptFunction()
|
| H A D | interception_win.cpp | 1096 uptr trampoline = AllocateMemoryForTrampoline(old_func, kDirectBranchLength); in OverrideFunctionWithRedirectJump() local 1097 if (!trampoline) in OverrideFunctionWithRedirectJump() 1099 WriteDirectBranch(trampoline, new_func); in OverrideFunctionWithRedirectJump() 1108 WriteJumpInstruction(old_func, FIRST_32_SECOND_64(new_func, trampoline)); in OverrideFunctionWithRedirectJump() 1133 uptr trampoline = AllocateMemoryForTrampoline(old_func, trampoline_length); in OverrideFunctionWithHotPatch() local 1134 if (!trampoline) in OverrideFunctionWithHotPatch() 1136 if (!CopyInstructions(trampoline, old_func, instruction_size)) in OverrideFunctionWithHotPatch() 1138 WriteDirectBranch(trampoline + instruction_size, in OverrideFunctionWithHotPatch() 1140 *orig_old_func = trampoline; in OverrideFunctionWithHotPatch() 1183 uptr trampoline = AllocateMemoryForTrampoline(old_func, trampoline_length); in OverrideFunctionWithTrampoline() local [all …]
|
| H A D | interception_linux.h | 26 uptr trampoline); 28 uptr func, uptr trampoline);
|
| /freebsd/stand/kboot/kboot/arch/powerpc64/ |
| H A D | ppc64_elf_freebsd.c | 77 uint32_t *trampoline; in ppc64_elf_exec() local 108 trampoline = malloc(szkerneltramp); in ppc64_elf_exec() 109 memcpy(trampoline, &kerneltramp, szkerneltramp); in ppc64_elf_exec() 124 trampoline_data = (void*)&trampoline[2]; in ppc64_elf_exec() 143 archsw.arch_copyin(trampoline, trampolinebase, szkerneltramp); in ppc64_elf_exec() 144 free(trampoline); in ppc64_elf_exec()
|
| /freebsd/stand/efi/loader/arch/i386/ |
| H A D | elf64_freebsd.c | 69 static void (*trampoline)(uint32_t stack, void *copy_finish, uint32_t kernend, variable 129 trampoline = (void *)(uintptr_t)ptr; in elf64_exec() 130 bcopy(&amd64_tramp, trampoline, amd64_tramp_size); in elf64_exec() 144 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec() 171 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec() 209 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec() 220 type == AllocateMaxAddress ? "" : "not ", trampoline, PT4, gdt, in elf64_exec() 279 trampoline(trampstack, type == AllocateMaxAddress ? efi_copy_finish : in elf64_exec()
|
| /freebsd/stand/efi/loader/arch/amd64/ |
| H A D | elf64_freebsd.c | 74 static void (*trampoline)(uint64_t stack, void *copy_finish, uint64_t kernend, variable 116 trampoline = (void *)trampcode; in elf64_exec() 176 trampoline, PT4); in elf64_exec() 236 trampoline(trampstack, copy_staging == COPY_STAGING_ENABLE ? in elf64_exec()
|
| /freebsd/stand/kboot/kboot/arch/amd64/ |
| H A D | elf64_freebsd.c | 132 static void (*trampoline)(uint64_t stack, void *copy_finish, uint64_t kernend, variable 166 uint64_t *trampoline; in elf64_exec() local 239 trampoline = (void *)trampcode; in elf64_exec() 402 trampoline, PT4); in elf64_exec() 425 trampoline(trampstack, copy_staging == COPY_STAGING_ENABLE ? in elf64_exec() 429 trampoline_data = (void *)trampoline + tramp_data_offset; in elf64_exec()
|
| /freebsd/stand/kboot/kboot/arch/aarch64/ |
| H A D | exec.c | 111 uint64_t *trampoline; in elf64_exec() local 186 trampoline = (void *)trampcode; in elf64_exec() 238 trampoline_data = (void *)trampoline + tramp_data_offset; in elf64_exec()
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | sparse_array.c | 129 static void trampoline(ossl_uintmax_t n, void *l, void *arg) in trampoline() function 140 sa_doall(sa, NULL, &trampoline, &tramp); in ossl_sa_doall()
|
| /freebsd/stand/kboot/ |
| H A D | README | 42 debugging the trampoline (hbreak will set a hardware break that's durable across 43 code changes). If you set the breakpoint for the trampoline and it never hits,
|
| /freebsd/sys/contrib/device-tree/src/arm/intel/socfpga/ |
| H A D | socfpga_arria5.dtsi | 7 /* First 4KB has trampoline code for secondary cores. */
|
| H A D | socfpga_cyclone5.dtsi | 7 /* First 4KB has trampoline code for secondary cores. */
|
| /freebsd/sys/modules/dtrace/kinst/ |
| H A D | Makefile | 4 SRCS= kinst.c kinst_isa.c trampoline.c
|
| /freebsd/sys/i386/i386/ |
| H A D | machdep.c | 1608 char *copyout_buf, *trampoline, *tramp_stack_base; in machdep_init_trampoline() local 1631 trampoline = pmap_trm_alloc(end_exceptions - start_exceptions, in machdep_init_trampoline() 1633 bcopy(start_exceptions, trampoline, end_exceptions - start_exceptions); in machdep_init_trampoline() 1643 setidt_disp = trampoline - start_exceptions; in machdep_init_trampoline()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | README.txt | 215 // __enable_execute_stack() is used with nested functions when a trampoline 247 // PowerPC has a standard template for trampoline functions. This function 248 // generates a custom trampoline function with the specific realFunc
|
| /freebsd/stand/i386/btx/btx/ |
| H A D | btx.S | 564 movl %ebx,MEM_ESPR-0x0c # mode return trampoline 565 movl $rret_tramp,%ebx # Set return trampoline
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TargetOpcodes.def | 206 /// instructions. So on ARM, rather than jumping into the exit trampoline, we
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | Dwarf.def | 361 HANDLE_DW_AT(0x56, trampoline, 3, DWARF)
|
| /freebsd/crypto/heimdal/ |
| H A D | ChangeLog.1998 | 1142 * lib/kadm5: Use function pointer trampoline for easier dual use
|
| /freebsd/share/dict/ |
| H A D | web2 | 205819 trampoline
|