Skip to content

An investigation of different calling conventions (research for CS 345)

Notifications You must be signed in to change notification settings

kupiakos/calling-conventions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This is an example of the difference in calling conventions on Windows/Linux, and on x86/x64.

The primary calling conventions that are seen are:

  • cdecl, the most popular. The callee is responsible for stack cleanup.
  • stdcall, used for all of the Windows API. The caller is responsible for stack cleanup.
  • fastcall, a method of calling used on Windows.
  • 64-bit call (unknown), used for calling all 64-bit functions on Windows?

Run make to cross-compile all demo binaries to mess around with.

About

An investigation of different calling conventions (research for CS 345)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published