Home
last modified time | relevance | path

Searched refs:thunk (Results 1 – 10 of 10) sorted by relevance

/reactos/dll/win32/rpcrt4/
H A Dcproxy.c86 struct thunk struct
95 static inline void init_thunk( struct thunk *thunk, unsigned int index ) in init_thunk() argument
100 thunk->handler = (char *)call_stubless_func - (char *)(&thunk->handler + 1); in init_thunk()
132 struct thunk struct
149 static inline void init_thunk( struct thunk *thunk, unsigned int index ) in init_thunk() argument
183 struct thunk struct
191 static inline void init_thunk( struct thunk *thunk, unsigned int index ) in init_thunk() argument
225 struct thunk struct
234 static inline void init_thunk( struct thunk *thunk, unsigned int index ) in init_thunk() argument
247 struct thunk struct
[all …]
H A Drpcrt4_ros.diff5 thunk->call_stubless = call_stubless_func;
16 +struct thunk
22 +static const struct thunk thunk_template =
27 +static inline void init_thunk( struct thunk *thunk, unsigned int index )
29 + *thunk = thunk_template;
/reactos/modules/rostests/winetests/ntdll/
H A Dlarge_int.c462 …struct lldvrm_thunk *thunk = VirtualAlloc(NULL, sizeof(*thunk), MEM_COMMIT, PAGE_EXECUTE_READWRITE… in test__alldvrm() local
466 memset(thunk, 0x90, sizeof(*thunk)); in test__alldvrm()
467 thunk->push_ebx = 0x53; /* pushl %ebx */ in test__alldvrm()
468 thunk->push_esp1 = 0x182474ff; /* pushl 24(%esp) */ in test__alldvrm()
469 thunk->push_esp2 = 0x182474ff; /* pushl 24(%esp) */ in test__alldvrm()
470 thunk->push_esp3 = 0x182474ff; /* pushl 24(%esp) */ in test__alldvrm()
472 thunk->call = 0x182454ff; /* call 24(%esp) */ in test__alldvrm()
473 thunk->pop_ebx = 0x5b; /* popl %ebx */ in test__alldvrm()
474 thunk->ret = 0xc3; /* ret */ in test__alldvrm()
486 thunk->mov_ecx_eax = 0xc889; in test__alldvrm()
[all …]
/reactos/dll/win32/imagehlp/
H A Dmodify.c103 IMAGE_THUNK_DATA *thunk; in BindImageEx() local
125 if (!(thunk = ImageRvaToVa(loaded_image.FileHeader, loaded_image.MappedAddress, in BindImageEx()
133 for (; thunk->u1.Ordinal; ++thunk) in BindImageEx()
136 if(!IMAGE_SNAP_BY_ORDINAL(thunk->u1.Ordinal)) in BindImageEx()
141 thunk->u1.AddressOfData, 0))) in BindImageEx()
/reactos/modules/rostests/winetests/riched20/
H A Dtxtsrv.c498 THISCALL_TO_STDCALL_THUNK *thunk; in setup_thiscall_wrappers() local
507 thunk = wrapperCodeMem; in setup_thiscall_wrappers()
525 thunk->pop_eax = 0x58; /* popl %eax */ in setup_thiscall_wrappers()
526 thunk->push_ecx = 0x51; /* pushl %ecx */ in setup_thiscall_wrappers()
527 thunk->push_eax = 0x50; /* pushl %eax */ in setup_thiscall_wrappers()
528 thunk->jmp_func = 0xe9; /* jmp $func */ in setup_thiscall_wrappers()
530 thunk->func = (char*)*pVtable - (char*)(&thunk->func + 1); in setup_thiscall_wrappers()
531 *pVtable = thunk; in setup_thiscall_wrappers()
533 thunk++; in setup_thiscall_wrappers()
541 thunk2 = (STDCALL_TO_THISCALL_THUNK *)thunk; in setup_thiscall_wrappers()
/reactos/modules/rostests/winetests/ole32/
H A Dpropvariant.c459 static void fill_thunk(THISCALL_TO_STDCALL_THUNK *thunk, void *fn) in fill_thunk() argument
461 thunk->pop_eax = 0x58; in fill_thunk()
462 thunk->push_ecx = 0x51; in fill_thunk()
463 thunk->push_eax = 0x50; in fill_thunk()
464 thunk->jmp_func = 0xe9; in fill_thunk()
465 thunk->func = (char*)fn - (char*)(&thunk->func + 1); in fill_thunk()
/reactos/modules/rostests/winetests/msvcrt/
H A Dcpp.c137 struct thiscall_thunk *thunk = VirtualAlloc( NULL, sizeof(*thunk), in init_thiscall_thunk() local
139 thunk->pop_eax = 0x58; /* popl %eax */ in init_thiscall_thunk()
140 thunk->pop_edx = 0x5a; /* popl %edx */ in init_thiscall_thunk()
141 thunk->pop_ecx = 0x59; /* popl %ecx */ in init_thiscall_thunk()
142 thunk->push_eax = 0x50; /* pushl %eax */ in init_thiscall_thunk()
143 thunk->jmp_edx = 0xe2ff; /* jmp *%edx */ in init_thiscall_thunk()
144 call_thiscall_func1 = (void *)thunk; in init_thiscall_thunk()
145 call_thiscall_func2 = (void *)thunk; in init_thiscall_thunk()
/reactos/subsystems/mvdm/
H A DREADME.txt11 - wow16 : Win16 thunk files and components.
/reactos/modules/rostests/winetests/kernel32/
H A Dsync.c87 …struct fastcall_thunk *thunk = VirtualAlloc(NULL, sizeof(*thunk), MEM_COMMIT, PAGE_EXECUTE_READWRI… in init_fastcall_thunk() local
88 thunk->pop_edx = 0x5a; /* popl %edx */ in init_fastcall_thunk()
89 thunk->pop_eax = 0x58; /* popl %eax */ in init_fastcall_thunk()
90 thunk->pop_ecx = 0x59; /* popl %ecx */ in init_fastcall_thunk()
91 thunk->xchg[0] = 0x87; /* xchgl (%esp),%edx */ in init_fastcall_thunk()
92 thunk->xchg[1] = 0x14; in init_fastcall_thunk()
93 thunk->xchg[2] = 0x24; in init_fastcall_thunk()
94 thunk->jmp_eax = 0xe0ff; /* jmp *%eax */ in init_fastcall_thunk()
95 call_fastcall_func4 = (void *)thunk; in init_fastcall_thunk()
/reactos/sdk/lib/ucrt/inc/
H A Dksamd64.inc2038 ; WoW Compatibility mode transition thunk