Binary tools interface. More...
#include <public/extensions/IBinTools.h>
Inherits SourceMod::SMInterface.

Public Member Functions | |
| virtual const char * | GetInterfaceName () |
| Must return a string defining the interface's unique name. | |
| virtual unsigned int | GetInterfaceVersion () |
| Must return an integer defining the interface's version. | |
| virtual ICallWrapper * | CreateCall (void *address, CallConvention cv, const PassInfo *retInfo, const PassInfo paramInfo[], unsigned int numParams)=0 |
| Creates a call decoder. | |
| virtual ICallWrapper * | CreateVCall (unsigned int vtblIdx, unsigned int vtblOffs, unsigned int thisOffs, const PassInfo *retInfo, const PassInfo paramInfo[], unsigned int numParams)=0 |
| Creates a vtable call decoder. | |
Binary tools interface.
Definition at line 258 of file IBinTools.h.
| virtual ICallWrapper* SourceMod::IBinTools::CreateCall | ( | void * | address, | |
| CallConvention | cv, | |||
| const PassInfo * | retInfo, | |||
| const PassInfo | paramInfo[], | |||
| unsigned int | numParams | |||
| ) | [pure virtual] |
Creates a call decoder.
Note: CallConv_ThisCall requires an implicit first parameter of PassType_Basic / PASSFLAG_BYVAL / sizeof(void *). However, this should only be given to the Execute() function, and never listed in the paramInfo array.
| address | Address to use as a call. | |
| cv | Calling convention. | |
| retInfo | Return type information, or NULL for void. | |
| paramInfo | Array of parameters. | |
| numParams | Number of parameters in the array. |
| virtual ICallWrapper* SourceMod::IBinTools::CreateVCall | ( | unsigned int | vtblIdx, | |
| unsigned int | vtblOffs, | |||
| unsigned int | thisOffs, | |||
| const PassInfo * | retInfo, | |||
| const PassInfo | paramInfo[], | |||
| unsigned int | numParams | |||
| ) | [pure virtual] |
Creates a vtable call decoder.
Note: CallConv_ThisCall requires an implicit first parameter of PassType_Basic / PASSFLAG_BYVAL / sizeof(void *). However, this should only be given to the Execute() function, and never listed in the paramInfo array.
| vtblIdx | Index into the virtual table. | |
| vtblOffs | Offset of the virtual table. | |
| thisOffs | Offset of the this pointer of the virtual table. | |
| retInfo | Return type information, or NULL for void. | |
| paramInfo | Array of parameters. | |
| numParams | Number of parameters in the array. |
1.7.1