Home
last modified time | relevance | path

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

/freebsd-14.2/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.cpp805 if (!trampoline) in OverrideFunctionWithRedirectJump()
807 WriteDirectBranch(trampoline, new_func); in OverrideFunctionWithRedirectJump()
816 WriteJumpInstruction(old_func, FIRST_32_SECOND_64(new_func, trampoline)); in OverrideFunctionWithRedirectJump()
842 if (!trampoline) in OverrideFunctionWithHotPatch()
844 if (!CopyInstructions(trampoline, old_func, instruction_size)) in OverrideFunctionWithHotPatch()
846 WriteDirectBranch(trampoline + instruction_size, in OverrideFunctionWithHotPatch()
848 *orig_old_func = trampoline; in OverrideFunctionWithHotPatch()
892 if (!trampoline) in OverrideFunctionWithTrampoline()
894 if (!CopyInstructions(trampoline, old_func, instructions_length)) in OverrideFunctionWithTrampoline()
896 WriteDirectBranch(trampoline + instructions_length, in OverrideFunctionWithTrampoline()
[all …]
H A Dinterception_linux.h26 uptr trampoline);
28 uptr func, uptr trampoline);
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/sys/contrib/device-tree/src/arm/
H A Dsocfpga_cyclone5.dtsi7 /* First 4KB has trampoline code for secondary cores. */
H A Dsocfpga_arria5.dtsi7 /* First 4KB has trampoline code for secondary cores. */
/freebsd-14.2/sys/modules/dtrace/kinst/
H A DMakefile4 SRCS= kinst.c kinst_isa.c trampoline.c
/freebsd-14.2/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-14.2/sys/i386/i386/
H A Dmachdep.c1617 char *copyout_buf, *trampoline, *tramp_stack_base; in machdep_init_trampoline() local
1640 trampoline = pmap_trm_alloc(end_exceptions - start_exceptions, in machdep_init_trampoline()
1642 bcopy(start_exceptions, trampoline, end_exceptions - start_exceptions); in machdep_init_trampoline()
1652 setidt_disp = trampoline - start_exceptions; in machdep_init_trampoline()
/freebsd-14.2/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
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTargetOpcodes.def201 /// instructions. So on ARM, rather than jumping into the exit trampoline, we
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDwarf.def351 HANDLE_DW_AT(0x56, trampoline, 3, DWARF)
/freebsd-14.2/crypto/heimdal/
H A DChangeLog.19981142 * lib/kadm5: Use function pointer trampoline for easier dual use
/freebsd-14.2/share/dict/
H A Dweb2205819 trampoline