calling-convention
Can I programatically deduce the calling convention used by a C++ dll?
Imagine you\'d like to write a program that tests functions in a c++ dll file. You should enable the user to select a dll (we assume we are talking about c++ dlls).[详细]
2022-12-20 04:29 分类:问答Is fastcall really faster?
Is the fastcall calling convention really faster than other calling conventions, such as cdecl? Are there any benchmarks out there that show how perform开发者_运维知识库ance is affected by calling con[详细]
2022-12-19 03:52 分类:问答How do C compilers implement functions that return large structures?
The return value of a function is usually stored on the stack or in a register. But for a large structure, it has to be on the stack. How much copying has to happen in a real compiler for this code? O[详细]
2022-12-18 04:43 分类:问答calling convention in c [closed]
It's difficult to tell what is being asked here. Th开发者_运维技巧is question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.[详细]
2022-12-16 09:30 分类:问答Custom X86_64 calling convention to C function call
I\'ve to do an interface (say, a wrapper) that allow a call from X86_64 assembly code using his calling convention to C function, with other calling convention. The best thing would be to be pretty \"[详细]
2022-12-16 06:31 分类:问答Can making a method static improve performance, and under what circumstances?
When, if ever, is it faster to pass arguments as arguments to a static method rather than have the method be non-static and access the same values via instance members.Assume the method accesses these[详细]
2022-12-08 01:25 分类:问答