rapid7/meterpreter — pull request #4 by Meatballs1 (2013-02-08 22:32:14+00:00)
Title: Readd CDECL calls

Adds CDECL calling functionality to Railgun.

A Calling Convention string is added to the Railgun TLV in metasploit-framework pull request.

Was pretty straightforward to define some new __cdecl functions in railgun.h and put an if statement on the calling convention.

Not tested in x64 (cant compile with express), but shouldn't affect that functionality.