search for: _data_t3

Displaying 1 result from an estimated 1 matches for "_data_t3".

Did you mean: data_t3
2019 Sep 20
2
About detailed rule of fastcall
...diff from #1 void __attribute__((fastcall)) test_usuu(unsigned int a, data_t s, unsigned int b, unsigned int c); unsigned int a is passed in ecx, and the rest are passed in stack (in s, b, c order) #3 : __attribute__((__packed__)) is diff from #1 typedef struct __attribute__((__packed__)) _data_t3 { int d; } data_t3; void __attribute__((fastcall)) test_s3uu(data_t3 s3, unsigned int a, unsigned int b); unsigned int a is passed in ecx, and the rest are passed in stack (in s, b, c order) My questions are as follow - why struct s in first test is passed in edx not ecx? - why u...