Displaying 1 result from an estimated 1 matches for "_data_t".
Did you mean:
data_t
2019 Sep 20
2
About detailed rule of fastcall
Hello.
I'm trying to understand how fastcall works.
As far as I know, first two integer type arguments are passed in ecx and
edx.
I tested several test, but the result was different from what I expected
#1
typedef struct _data_t {
int d;
} data_t;
void __attribute__((fastcall)) test_suuu(data_t s, unsigned int a,
unsigned int b, unsigned int c);
unsigned int a is passed in edx, and the rest are passed in stack (in s, b,
c order).
#2 : order of arguments is diff from #1
void __attribute__((fastcall)) t...