C Use and Useby Kinds |
An ordinary Use or Useby indicates a reference in an active region of (non-assembler) code to a known C/C++ variable. The variable's name must already be declared at the point of the usage.
Asm Use and Asm Useby indicates a reference in assembly code to a known C/C++ variable. The variable's name must already be declared at the point of the usage.
extern int var1; int func() { _asm op1 _var1; // var1 is known; use _asm op1 _var2; // var2 is not known; not a use }
Deref Use and Deref Useby indicate a reference in which a variable is dereferenced. For example:
Inactive Use and Inactive Useby indicates a reference in an inactive region of code to a known C/C++ variable. The variable's name must already be declared at the point of the usage.
extern int var1; int func() { int local_var; #if 0 local_var = var1; // inactive use of var1 #endif }
Use Macrodefine and Useby Macrodefine indicate a reference to a known entity in a macro definition. For example:
A Use Ptr or Useby Ptr indicates a reference to a known function pointer.
extern int funcCB (int); static void func2( int(*)() ); void func2(int(*)() cb) { (void)cb(1); return; } int main_func() { func2(funcCB); // both Use Ptr and Useby Ptr }
Scientific Toolworks, Inc. http://www.scitools.com |