Changeset 1078 for trunk/dll/fortify.h


Ignore:
Timestamp:
Jul 19, 2008, 6:08:02 AM (17 years ago)
Author:
Steven Levine
Message:

More Fortify infrastructure enhancements
Rework Fortify_SetOwner
Add Fortify_BecomeOwner
Avoid more spurious leak reports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/fortify.h

    r1077 r1078  
    4242
    4343 /* 06 May 08 SHL Rework scope logic to be MT capable
    44     17 Jul 08 SHL Add Fortify_SetOwner Fortify_ChangeOwner Fortify_ChangeScope
     44    17 Jul 08 SHL Add Fortify_PresetOwner Fortify_BecomeOwner Fortify_ChangeScope
     45    18 Jul 08 SHL Rename Fortify_ChangeOwner to Fortify_BecomeOwner
     46    18 Jul 08 SHL Add reworked Fortify_SetOwner
     47    18 Jul 08 SHL Drop Fortify_PresetOwner
    4548 */
    4649
     
    190193
    191194#ifdef MT_SCOPES
    192 void Fortify_SetOwner(long lOwnerTID);
    193 void Fortify_ChangeOwner(void *pBlock);
     195#if 0 // 18 Jul 08 SHL fixme to be gone
     196void Fortify_PresetOwner(long lOwnerTID);
     197#endif
     198void Fortify_BecomeOwner(void *pBlock);
     199void Fortify_SetOwner(void *pBlock, unsigned ordinal);
    194200void Fortify_ChangeScope(void *pBlock, int delta);
     201void Fortify_SetScope(void *pBlock, unsigned char scope);
    195202#endif
    196203
     
    297304    #define Fortify_SetAllocationLimit(x)  0
    298305    #define Fortify_Disable()              0
    299     #define Fortify_SetOwner()             0
    300     #define Fortify_ChangeOwner            0
     306#if 0 // 18 Jul 08 SHL fixme to be gone
     307    #define Fortify_PresetOwner()          0
     308#endif
     309    #define Fortify_BecomeOwner            0
     310    #define Fortify_SetOwner               0
     311    #define Fortify_ChangeScope            0
     312    #define Fortify_SetScope               0
    301313
    302314    #ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.