Function (Debug Interface Access SDK)
Each function is identified by a SymTagFunction symbol.
Properties
The following table shows the properties that are valid for this symbol type.
Property |
Data type |
Description |
---|---|---|
DWORD |
One of the values of the CV_access_e, if the function is a member function. |
|
DWORD |
Offset part of location; for details, see the LocationType. |
|
DWORD |
Section part of location; for details, see the LocationType. |
|
IDiaSymbol* |
Symbol for the class, if the function is a member function. |
|
DWORD |
ID of the class parent symbol. |
|
BOOL |
TRUE if the function is marked as a constant. |
|
BOOL |
TRUE if the function uses a custom calling convention (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function performs a far return (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function uses allocated memory function (only uinnder DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function contains C++-style exception handling (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function contains asynchronous exception handling (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function contains inline assembly (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function contains a longjmp call (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function contains security checks (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function contains Win32-style structured exception handling (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function contains a setjmp call (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function has a return from interrupt (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if a function is intro virtual. |
|
BOOL |
TRUE if the function has been marked with one of the inline, __inline, __forceinline attributes. |
|
BOOL |
TRUE if the function is marked with the naked (C++) attribute (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function is static (only in DIA SDK V8.0 or later). |
|
ULONGLONG |
Number of bytes of function code, starting from location. |
|
IDiaSymbol* |
Symbol of the enclosing compiland. |
|
DWORD |
ID of the lexical parent symbol. |
|
DWORD |
Functions can have static or metadata locations; for details, see Symbol Locations. |
|
BSTR |
Name of the function. |
|
BOOL |
TRUE if the function is not an inline function (only n DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function is not reachable (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function does not return a value (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if the function was compiled with buffer security checks but no stack ordering could be done. |
|
BOOL |
TRUE if the code has debug information for optimized code (only in DIA SDK V8.0 or later). |
|
BOOL |
TRUE if function is pure virtual. |
|
DWORD |
Relative position of this function within its module. |
|
DWORD |
Index ID of symbol. |
|
DWORD |
Returns SymTagFunction (one of the SymTagEnum values). |
|
DWORD |
Metadata token for the function. |
|
IDiaSymbol* |
Symbol for the function signature. |
|
DWORD |
ID of the type symbol. |
|
BOOL |
TRUE if the function is unaligned. |
|
BSTR |
The undecorated form of the function name (only in DIA SDK v8.0 or later) |
|
BSTR |
Part or all of the undecorated form of the function name (only in DIA SDK v8.0 or later). |
|
BOOL |
TRUE if a virtual function. |
|
ULONGLONG |
Position of this function within the executable image. |
|
DWORD |
If a virtual function, then the offset in the virtual function table. |
|
BOOL |
TRUE if the function is marked as volatile. |