home *** CD-ROM | disk | FTP | other *** search
- /*
- * BCIDSRC.h
- * $Header: /BoundsChecker/Examples/BUGBNCHX/MAINERR/BCIDSRC.H 10 2/11/97 4:12p Stevea $
- *
- * Description:
- * The IDs of all the errors string table entries
- *
- * Notes:
- * <implementation notes go here>
- *
- ***********************************************************************
- *
- * Nu-Mega Technologies, Inc.
- * P.O. Box 7780
- * Nashua, NH 03060
- *
- * (c) Copyright 1994, 1995 Nu-Mega Technologies, Inc.
- * ALL RIGHTS RESERVED.
- *
- ***********************************************************************
- *
- **********************************************************************/
- #ifndef _BCIDSRC_H
- #define _BCIDSRC_H
-
- // The root object types.
- #define IDS_APIANDOLECHECK 59100
- #define IDS_MEMORYCHECK 59101
- #define IDS_POINTERANDLEAKCHECK 59102
-
- // The root object descriptions.
- #define IDS_APIANDOLECHECKDESC 59110
- #define IDS_MEMORYCHECKDESC 59111
- #define IDS_POINTERANDLEAKCHECKDESC 59112
-
- // API Check Error Types.
- #define IDS_APIFAILWINFUNCFAIL 59150
- #define IDS_APIFAILWINFUNCNOTIMP 59151
- #define IDS_INVALIDARGFREEDHANDLELOCK 59153
- #define IDS_INVALIDARGHANDLEUNLOCKED 59154
- #define IDS_INVALIDARGBADFMTSPECIFIER 59155
- #define IDS_INVALIDARGBADDESTPTR 59156
- #define IDS_INVALIDARGBADHANDLE 59157
- #define IDS_INVALIDARGBADSRCPTR 59158
- #define IDS_INVALIDARGCONFLICT 59159
- #define IDS_INVALIDARGFMTINVALIDARG 59160
- #define IDS_INVALIDARGGENERAL 59161
- #define IDS_INVALIDARGBADFMTSTR 59162
- #define IDS_INVALUDARGINSUFFPARAMS 59163
- #define IDS_INVALIDARGOUTORANGE 59164
- #define IDS_INVALIDARGSTRUCTURE 59165
- #define IDS_INVALIDARGTOOMANYPARAMS 59166
- #define IDS_INVALIDARGUNDEFINED 59167
- #define IDS_QUESTIONALBEUSEOTHREAD 59168
-
- // C++ Check Error Types.
- #define IDS_MEMALLOCCONFLICT 59201
-
- // Compile Check Error Types.
- #define IDS_WRITINGOVERFLOWSMEM 59256
-
- // Leak Check Error Types.
- #define IDS_MEMLEAKGENERAL 59306
- #define IDS_MEMLEAKTOFREE 59307
- #define IDS_MEMLEAKREASSIGN 59308
- #define IDS_MEMLEAKLEAVESCOPE 59310
- #define IDS_RESOURCELEAK 59311
-
- // Pointer Check Error Types.
- #define IDS_ARRAYPARAMEXCEEDSRANGE 59350
- #define IDS_EXPRUSESUNRELPTR 59357
- #define IDS_EXPRTRUSESDANGLEPTR 59360
- #define IDS_FNPTRNOTAFN 59361
- #define IDS_PTRREFSUNLOCKEDBLOCK 59364
- #define IDS_UNALLOCATEDPTR 59365
- #define IDS_ASSIGNINGPTROUTOFRANGE 59366
- #define IDS_RETURNINGPTRTOLOCALVAR 59367
-
- // Read Check Error Types.
- #define IDS_READOVERFLOWSMEM 59405
- #define IDS_READUNINITMEM 59406
-
- // Write Check Error Types.
- #define IDS_DYNMEMOVERRUN 59450
- #define IDS_STACKMEMOVERRUN 59451
- #define IDS_STATICMEMOVERRUN 59452
-
- // OLE Check Error Types
- #define IDS_OLEINTLEAK 59500
- #define IDS_OLEFAILINTFUNCFAIL 59501
- #define IDS_OLEINVALIDARGBADDESPTR 59502
- #define IDS_OLEINVALIDARGBADHNDL 59503
- #define IDS_OLEINVALIDARGBADSRCPTR 59504
- #define IDS_OLEINVALIDARGCONFFLAGS 59505
- #define IDS_OLEINVALIDARGGENERAL 59506
- #define IDS_OLEINVALIDARGBADRANGE 59507
- #define IDS_OLEINVALIDARGSTRCTUNINT 59508
- #define IDS_OLEINVALIDARGUNDEFFLAGS 59509
-
- // The product strings.
- #define IDS_BCPERSONAL 59550
- #define IDS_BCPRO 59551
- #define IDS_BCBOTH 59552
-
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // OLECheck - Interface leak
- #define IDS_OLEINTFLEAK 60340
- #define IDS_OLEINTFLEAKDESC 60341
-
- // OLECheck - Interface method failure
- #define IDS_OLEINTFMETHODFAIL 60350
- #define IDS_OLEINTFMETHODFAILDESC 60351
-
- // OLECheck - Interface method argument: Bad destination pointer
- #define IDS_OLEBADDESTPTR 60360
- #define IDS_OLEBADDESTPTRDESC 60361
-
- // OLECheck - Interface method argument: Bad source pointer
- #define IDS_OLEBADSRCPTR 60370
- #define IDS_OLEBADSRCPTRDESC 60371
-
- // OLECheck - Interface method argument: Bad handle
- #define IDS_OLEBADHANDLE 60380
- #define IDS_OLEBADHANDLEDESC 60381
-
- // OLECheck - Interface method argument: General
- #define IDS_OLEINVARGGEN 60390
- #define IDS_OLEINVARGGENDESC 60391
-
- // OLECheck - Interface method argument: Structure size field is not initialized
- #define IDS_OLESTRCTSIZFLD 60400
- #define IDS_OLESTRCTSIZFLDDESC 60401
-
- // OLECheck - Interface method argument: Undefined or illegal flags
- #define IDS_OLEINVALIDFLAG 60410
- #define IDS_OLEINVALIDFLAGDESC 60411
-
- // OLECheck - Interface method argument: Out of range
- #define IDS_OLEINVARGOUTRANGE 60420
- #define IDS_OLEINVARGOUTRANGEDESC 60421
-
- // OLECheck - Interface method argument: Conflicting combination of flags
- #define IDS_OLEINVALIDFLAGCOMBO 60430
- #define IDS_OLEINVALIDFLAGCOMBODESC 60431
-
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // API Check - API failure: Windows function failed
- #define IDS_APIFAILLOADBITMAPINST 59600
- #define IDS_APIFAILLOADBITMAPDESC 59601
- #define IDS_APIFAILMALLOCINST 59602
- #define IDS_APIFAILMALLOCDESC 59603
- // API Check - API failure: Windows function not implemented
- #define IDS_APIFAILNOTIMPINSTNT 59610
- #define IDS_APIFAILNOTIMPDESCNT 59611
- #define IDS_APIFAILNOTIMPINST95 59612
- #define IDS_APIFAILNOTIMPDESC95 59613
- // API Check - Freed handle is still locked
- #define IDS_FREEDHANDLELOCKEDINST 59630
- #define IDS_FREEDHANDLELOCKEDDESC 59631
- // API Check - Handle is already unlocked
- #define IDS_HANDLEALREADYUNLOCKEDINST 59640
- #define IDS_HANDLEALREADYUNLOCKEDDESC 59641
- // API Check - Invalid argument: At least one format specifier is illegal
- #define IDS_ILLEGALFORMATSPECINST 59650
- #define IDS_ILLEGALFORMATSPECDESC 59651
- // API Check - Invalid argument: Bad destination pointer
- #define IDS_BADDESTPTRINST 59660
- #define IDS_BADDESTPTRDESC 59661
- // API Check - Invalid argument: Bad handle
- #define IDS_BADHANDLEFREEINST 59670
- #define IDS_BADHANDLEFREEDESC 59671
- #define IDS_BADHANDLELFREEINST 59672
- #define IDS_BADHANDLELFREEDESC 59673
- #define IDS_BADHANDLEREMALLOCINST 59674
- #define IDS_BADHANDLEREMALLOCDESC 59675
- // API Check - Invalid argument: Bad source pointer
- #define IDS_BADSOURCEPTRINST 59680
- #define IDS_BADSOURCEPTRDESC 59681
- // API Check - Invalid argument: Conflicting combination of flags"
- #define IDS_INVALIDARGVIRTUALFREEINST 59690
- #define IDS_INVALIDARGVIRTUALFREEDESC 59691
- #define IDS_INVALIDARGGETSTRINGTYPEINST 59692
- #define IDS_INVALIDARGGETSTRINGTYPEDESC 59693
- // API Check - Invalid argument: Format string is not followed by valid argument
- #define IDS_FMTSTRNOTFOLLOWEDINST 59700
- #define IDS_FMTSTRNOTFOLLOWEDDESC 59701
- // API Check - Invalid argument: General
- #define IDS_INVARGGENHMENUINST 59710
- #define IDS_INVARGGENHMENUDESC 59711
- #define IDS_INVARGGENFILEINST 59712
- #define IDS_INVARGGENFILEDESC 59713
- #define IDS_INVARGGENHDCINST 59714
- #define IDS_INVARGGENHDCDESC 59715
- // API Check - Invalid argument: Invalid pointer to format string
- #define IDS_INVPTRTOFMTSTRINST 59720
- #define IDS_INVPTRTOFMTSTRDESC 59721
- // API Check - Invalid argument: Not enough arguments for this format string
- #define IDS_NOTENUFARGSFORFMTINST 59730
- #define IDS_NOTENUFARGSFORFMTDESC 59731
- // API Check - Invalid argument: Out of range
- #define IDS_INVALIDARGRANGEINST 59740
- #define IDS_INVALIDARGRANGEDESC 59741
- #define IDS_INVALIDARGCREATEFONTINST 59742
- #define IDS_INVALIDARGCREATEFONTDESC 59743
- #define IDS_INVARGARGCREATEPIPEINST 59744
- #define IDS_INVARGARGCREATEPIPEDESC 59745
- // API Check - Invalid argument: Structure size field is not initialized
- #define IDS_STRCTSIZEFIELDUNINITINST 59750
- #define IDS_STRCTSIZEFIELDUNINITDESC 59751
- // API Check - Invalid argument: Too many arguments for this format string
- #define IDS_TOOMANYARGSFORFMTSTRINST 59760
- #define IDS_TOOMANYARGSFORFMTSTRDESC 59761
- // API Check - Invalid argument: Undefined or illegal flags
- #define IDS_INVALIDARGAPPENDMENUINST 59770
- #define IDS_INVALIDARGAPPENDMENUDESC 59771
- #define IDS_INVALIDARGFOLDSTRINGINST 59772
- #define IDS_INVALIDARGFOLDSTRINGDESC 59773
- // API Check - Questionable use of thread
- #define IDS_QUESTIONTHREADINST 59775
- #define IDS_QUESTIONTHREADDESC 59776
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // C++ Check - Memory allocation conflict.
- #define IDS_MEMCONFLICTMALLOCDELINST 59790
- #define IDS_MEMCONFLICTMALLOCDELDESC 59791
- #define IDS_MEMCONFLICTNEWFREEINST 59792
- #define IDS_MEMCONFLICTNEWFREEDESC 59793
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // Compile Check - Mismatch in argument type
- #define IDS_MISMATCHINARGTYPEINST 59840
- #define IDS_MISMATCHINARGTYPEDESC 59841
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // Leak Check - Memory leak
- #define IDS_MEMORYLEAKINST 59950
- #define IDS_MEMORYLEAKDESC 59951
- // Leak Check - Memory leaked due to free
- #define IDS_MEMLEAKFROMFREEINST 59960
- #define IDS_MEMLEAKFROMFREEDESC 59961
- // Leak Check - Memory leaked due to reassignment
- #define IDS_MEMLEAKFROMREASSIGNINST 59970
- #define IDS_MEMLEAKFROMREASSIGNDESC 59971
- // Leak Check - Memory leaked leaving scope
- #define IDS_MEMLEAKFROMIGNOREINST 59980
- #define IDS_MEMLEAKFROMIGNOREDESC 59981
- #define IDS_MEMLEAKFROMSCOPEINST 59990
- #define IDS_MEMLEAKFROMSCOPEDESC 59991
- // Leak Check - Resource leak.
- #define IDS_RESLEAKBITMAPINST 60000
- #define IDS_RESLEAKBITMAPDESC 60001
- #define IDS_RESLEAKMETAINST 60002
- #define IDS_RESLEAKMETADESC 60003
- #define IDS_RESLEAKMENUINST 60004
- #define IDS_RESLEAKMENUDESC 60005
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // Pointer Check - Array parameter exceeds range.
- #define IDS_ARRAYPARAMEXRANGEINST 60010
- #define IDS_ARRAYPARAMEXRANGEDESC 60011
- // Pointer Check - Expression uses unrelated pointers.
- #define IDS_EXPRUSESUNRELPTRINST 60080
- #define IDS_EXPRUSESUNRELPTRDESC 60081
- // Pointer Check - Expression subtracts unrelated pointers.
- #define IDS_EXPRSUBSUNRELPTRSINST 60100
- #define IDS_EXPRSUBSUNRELPTRSDESC 60101
- // Pointer Check - Expression uses dangling pointer.
- #define IDS_EXPRUSESDANGLPTRINST 60110
- #define IDS_EXPRUSESDANGLPTRDESC 60111
- // Pointer Check - Function pointer is not a function.
- #define IDS_FNPTRNOTAFNINST 60120
- #define IDS_FNPTRNOTAFNDESC 60121
- // Pointer Check - Pointer references unlocked memory block.
- #define IDS_PTRREFSUNLOCKEDBLOCKINST 60150
- #define IDS_PTRREFSUNLOCKEDBLOCKDESC 60151
- // Pointer Check - Unallocated pointer.
- #define IDS_UNALLOCDPTRINST 60160
- #define IDS_UNALLOCDPTRDESC 60161
- // Pointer Check - Assigning pointer out of range
- #define IDS_ASSIGNPTROUTOFRANGEINST 60162
- #define IDS_ASSIGNPTROUTOFRANGEDESC 60163
- // Pointer Check - Returning pointer to local variable
- #define IDS_RETURNINGPTRTOLOCALVARINST 60164
- #define IDS_RETURNINGPTRTOLOCALVARDESC 60165
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // Read Check - Reading overflows memory
- #define IDS_READOVERFLOWSSTRUCTINST 60222
- #define IDS_READOVERFLOWSSTRUCTDESC 60223
- // Read Check - Reading uninitialized memory
- #define IDS_READUNINITMEMINST 60230
- #define IDS_READUNINITMEMDESC 60231
- //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // Write Check - Dynamic memory overrun
- #define IDS_DYNMEMOVERRUNINST 60260
- #define IDS_DYNMEMOVERRUNDESC 60261
- // Write Check - Stack memory overrun
- #define IDS_STACKMEMOVERRUNINST 60270
- #define IDS_STACKMEMOVERRUNDESC 60271
- // Write Check - Static memory overrun
- #define IDS_STATICMEMOVERRUNINST 60280
- #define IDS_STATICMEMOVERRUNDESC 60281
- // Write Check - Writing overflows memory
- #define IDS_WRITEOVERFLOWSMEMINST 60320
- #define IDS_WRITEOVERFLOWSMEMDESC 60321
-
- #endif // _BCIDSRC_H
-
-