calling-convention
C++ custom calling convention
While reverse engineering I came around a very odd program that uses a calling convention that passes one argument in eax ( very odd compiler ?? ). I want to call that function now and I don\'t know h[详细]
2023-04-11 07:32 分类:问答ESP calling convention issues C++
For homework I\'m supposed to read a file and the sort the strings. For this I\'m using a selection sort and it works. Now, right after it makes the call to selSort function it crashes. I have ran out[详细]
2023-04-05 23:57 分类:问答How are function arguments passed in C?
The only thing that I know about the mechanism of how C passes values is that it 开发者_如何学Pythonis done either through a register or the stack.[详细]
2023-04-05 17:08 分类:问答Is reserving stack space necessary for functions less than four arguments?
Just started learning x64 assembly and I have a question about functions, arguments, and the stack.As far as I understand it, the first four arguments in a function get passed to rcx, rdx, r8, and r9[详细]
2023-04-04 03:29 分类:问答What is the default calling convention of static member functions in visual studio?
What is the default calling convention of stati开发者_JS百科c member functions for Microsoft\'s compiler?[详细]
2023-04-02 01:23 分类:问答Why can I invoke a function via a pointer with too many arguments?
Say I have this function: int func2() { printf(\"func2\\n\"); return 0; } Now I declare a pointer: int (*fp)(double);[详细]
2023-03-29 10:56 分类:问答In the Win64 ABI, can the reserved argument stack space be used for general purpose storage?
I\'m learning x64 assembly on Windows for \'fun\'. The MSDN do开发者_如何转开发cumentation for the x64 calling convention on Windows says:[详细]
2023-03-29 09:33 分类:问答Arguments corrupted on passing in to function?
I\'m seeing something that\'s got me stumped. Maybe you folks can advise. What appears to be a valid arguments are getting corrupted when passed to a different function.[详细]
2023-03-27 16:45 分类:问答what is the syntax for a __stdcall name decoration?
I have a program that calls a set of function as follows: int _stdcall VB_Create(char*); int _stdcall VB_Open(unsigned int, unsigned int, unsigned int, unsigned int);[详细]
2023-03-25 01:53 分类:问答can I mix __cdecl export calls with __stdcall import calls in a DLL?
I am writing a module for a third party application; the application uses __cdecl calling convention.[详细]
2023-03-24 11:38 分类:问答