Thanks. Do somebody know if there's a similar list for ARM and MIPS?

At least on those platforms there's not such variety of compilers, so it will be probably easier to enumerate.

On 12/14/10 02:53, JohnV wrote:
Here are a few

http://en.wikipedia.org/wiki/X86_calling_conventions


On Mon, Dec 13, 2010 at 4:25 PM, Jan Lieven<[email protected]>  wrote:
On Mon, 13 Dec 2010 13:14:19 +0100
pancake<[email protected]>  wrote:

do you have the complete list of calling conventions+examples?
I just know cdecl in addition to fastcall and stdcall.

- All arguments are pushed on the stack
- Calling function cleans the stack

Example:
push 3
push 2
push 1
call F

F:
push epb
mov ebp, esp
...
pop ebp
ret

_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org


_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org


_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to