Home
last modified time | relevance | path

Searched refs:trampoline (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_linux.cpp36 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 Dinterception_win.cpp813 uptr trampoline = AllocateMemoryForTrampoline(old_func, kDirectBranchLength); in OverrideFunctionWithRedirectJump() local
814 if (!trampoline) in OverrideFunctionWithRedirectJump()
816 WriteDirectBranch(trampoline, new_func); in OverrideFunctionWithRedirectJump()
825 WriteJumpInstruction(old_func, FIRST_32_SECOND_64(new_func, trampoline)); in OverrideFunctionWithRedirectJump()
850 uptr trampoline = AllocateMemoryForTrampoline(old_func, trampoline_length); in OverrideFunctionWithHotPatch() local
851 if (!trampoline) in OverrideFunctionWithHotPatch()
853 if (!CopyInstructions(trampoline, old_func, instruction_size)) in OverrideFunctionWithHotPatch()
855 WriteDirectBranch(trampoline + instruction_size, in OverrideFunctionWithHotPatch()
857 *orig_old_func = trampoline; in OverrideFunctionWithHotPatch()
900 uptr trampoline = AllocateMemoryForTrampoline(old_func, trampoline_length); in OverrideFunctionWithTrampoline() local
[all …]
H A Dinterception_linux.h26 uptr trampoline);
28 uptr func, uptr trampoline);
/freebsd/stand/kboot/kboot/arch/powerpc64/
H A Dppc64_elf_freebsd.c77 uint32_t *trampoline; in ppc64_elf_exec() local
111 trampoline = malloc(szkerneltramp); in ppc64_elf_exec()
112 memcpy(trampoline, &kerneltramp, szkerneltramp); in ppc64_elf_exec()
127 trampoline_data = (void*)&trampoline[2]; in ppc64_elf_exec()
146 archsw.arch_copyin(trampoline, trampolinebase, szkerneltramp); in ppc64_elf_exec()
147 free(trampoline); in ppc64_elf_exec()
/freebsd/stand/efi/loader/arch/i386/
H A Delf64_freebsd.c94 static void (*trampoline)(uint32_t stack, void *copy_finish, uint32_t kernend, variable
146 trampoline = (void *)(uintptr_t)ptr; in elf64_exec()
148 bcopy(&amd64_tramp, trampoline, amd64_tramp_size); in elf64_exec()
155 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec()
173 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec()
210 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec()
251 type == AllocateMaxAddress ? "" : "not ", trampoline, PT4, GDT, in elf64_exec()
264 trampoline(trampstack, type == AllocateMaxAddress ? efi_copy_finish : in elf64_exec()
/freebsd/stand/kboot/kboot/arch/amd64/
H A Delf64_freebsd.c126 static void (*trampoline)(uint64_t stack, void *copy_finish, uint64_t kernend, variable
160 uint64_t *trampoline; in elf64_exec() local
234 trampoline = (void *)trampcode; in elf64_exec()
397 trampoline, PT4); in elf64_exec()
420 trampoline(trampstack, copy_staging == COPY_STAGING_ENABLE ? in elf64_exec()
424 trampoline_data = (void *)trampoline + tramp_data_offset; in elf64_exec()
/freebsd/stand/efi/loader/arch/amd64/
H A Delf64_freebsd.c79 static void (*trampoline)(uint64_t stack, void *copy_finish, uint64_t kernend, variable
122 trampoline = (void *)trampcode; in elf64_exec()
215 trampoline, PT4); in elf64_exec()
229 trampoline(trampstack, copy_staging == COPY_STAGING_ENABLE ? in elf64_exec()
/freebsd/stand/kboot/kboot/arch/aarch64/
H A Dexec.c112 uint64_t *trampoline; in elf64_exec() local
187 trampoline = (void *)trampcode; in elf64_exec()
239 trampoline_data = (void *)trampoline + tramp_data_offset; in elf64_exec()
/freebsd/crypto/openssl/crypto/
H A Dsparse_array.c129 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 DREADME42 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 Dsocfpga_arria5.dtsi7 /* First 4KB has trampoline code for secondary cores. */
H A Dsocfpga_cyclone5.dtsi7 /* First 4KB has trampoline code for secondary cores. */
/freebsd/sys/modules/dtrace/kinst/
H A DMakefile4 SRCS= kinst.c kinst_isa.c trampoline.c
/freebsd/sys/dts/arm/
H A Dsocfpga_cyclone5_sockit_sdmmc.dts38 /* Reserve first page for secondary CPU trampoline code */
H A Dsocfpga_arria10_socdk_sdmmc.dts38 /* Reserve first page for secondary CPU trampoline code */
H A Dsocfpga_cyclone5_sockit_beri_sdmmc.dts38 memreserve = < 0x00000000 0x1000 >, /* SMP trampoline */
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A DREADME.txt215 // __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
275 // This function generates a custom trampoline function with the specific
/freebsd/sys/i386/i386/
H A Dmachdep.c1616 char *copyout_buf, *trampoline, *tramp_stack_base; in machdep_init_trampoline() local
1639 trampoline = pmap_trm_alloc(end_exceptions - start_exceptions, in machdep_init_trampoline()
1641 bcopy(start_exceptions, trampoline, end_exceptions - start_exceptions); in machdep_init_trampoline()
1651 setidt_disp = trampoline - start_exceptions; in machdep_init_trampoline()
/freebsd/stand/i386/btx/btx/
H A Dbtx.S564 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 DTargetOpcodes.def201 /// instructions. So on ARM, rather than jumping into the exit trampoline, we
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDwarf.def356 HANDLE_DW_AT(0x56, trampoline, 3, DWARF)
/freebsd/crypto/heimdal/
H A DChangeLog.19981142 * lib/kadm5: Use function pointer trampoline for easier dual use
/freebsd/share/dict/
H A Dweb2205819 trampoline