亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? memwatch.h

?? 在linux環(huán)境下使用
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
/*** MEMWATCH.H** Nonintrusive ANSI C memory leak / overwrite detection** Copyright (C) 1992-2002 Johan Lindh** All rights reserved.** Version 2.71****************************************************************************** PURPOSE:****  MEMWATCH has been written to allow guys and gals that like to**  program in C a public-domain memory error control product.**  I hope you'll find it's as advanced as most commercial packages.**  The idea is that you use it during the development phase and**  then remove the MEMWATCH define to produce your final product.**  MEMWATCH is distributed in source code form in order to allow**  you to compile it for your platform with your own compiler.**  It's aim is to be 100% ANSI C, but some compilers are more stingy**  than others. If it doesn't compile without warnings, please mail**  me the configuration of operating system and compiler you are using**  along with a description of how to modify the source, and the version**  number of MEMWATCH that you are using.**************************************************************************	This file is part of MEMWATCH.    MEMWATCH is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    MEMWATCH is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with MEMWATCH; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA**************************************************************************** REVISION HISTORY:**** 920810 JLI   [1.00]** 920830 JLI   [1.10 double-free detection]** 920912 JLI   [1.15 mwPuts, mwGrab/Drop, mwLimit]** 921022 JLI   [1.20 ASSERT and VERIFY]** 921105 JLI   [1.30 C++ support and TRACE]** 921116 JLI   [1.40 mwSetOutFunc]** 930215 JLI   [1.50 modified ASSERT/VERIFY]** 930327 JLI   [1.51 better auto-init & PC-lint support]** 930506 JLI   [1.55 MemWatch class, improved C++ support]** 930507 JLI   [1.60 mwTest & CHECK()]** 930809 JLI   [1.65 Abort/Retry/Ignore]** 930820 JLI   [1.70 data dump when unfreed]** 931016 JLI   [1.72 modified C++ new/delete handling]** 931108 JLI   [1.77 mwSetAssertAction() & some small changes]** 940110 JLI   [1.80 no-mans-land alloc/checking]** 940328 JLI   [2.00 version 2.0 rewrite]**              Improved NML (no-mans-land) support.**              Improved performance (especially for free()ing!).**              Support for 'read-only' buffers (checksums)**              ^^ NOTE: I never did this... maybe I should?**              FBI (free'd block info) tagged before freed blocks**              Exporting of the mwCounter variable**              mwBreakOut() localizes debugger support**              Allocation statistics (global, per-module, per-line)**              Self-repair ability with relinking** 950913 JLI   [2.10 improved garbage handling]** 951201 JLI   [2.11 improved auto-free in emergencies]** 960125 JLI   [X.01 implemented auto-checking using mwAutoCheck()]** 960514 JLI   [2.12 undefining of existing macros]** 960515 JLI   [2.13 possibility to use default new() & delete()]** 960516 JLI   [2.20 suppression of file flushing on unfreed msgs]** 960516 JLI   [2.21 better support for using MEMWATCH with DLL's]** 960710 JLI   [X.02 multiple logs and mwFlushNow()]** 960801 JLI   [2.22 merged X.01 version with current]** 960805 JLI   [2.30 mwIsXXXXAddr() to avoid unneeded GP's]** 960805 JLI   [2.31 merged X.02 version with current]** 961002 JLI   [2.32 support for realloc() + fixed STDERR bug]** 961222 JLI   [2.40 added mwMark() & mwUnmark()]** 970101 JLI   [2.41 added over/underflow checking after failed ASSERT/VERIFY]** 970113 JLI   [2.42 added support for PC-Lint 7.00g]** 970207 JLI   [2.43 added support for strdup()]** 970209 JLI   [2.44 changed default filename to lowercase]** 970405 JLI   [2.45 fixed bug related with atexit() and some C++ compilers]** 970723 JLI   [2.46 added MW_ARI_NULLREAD flag]** 970813 JLI   [2.47 stabilized marker handling]** 980317 JLI   [2.48 ripped out C++ support; wasn't working good anyway]** 980318 JLI   [2.50 improved self-repair facilities & SIGSEGV support]** 980417 JLI	[2.51 more checks for invalid addresses]** 980512 JLI	[2.52 moved MW_ARI_NULLREAD to occur before aborting]** 990112 JLI	[2.53 added check for empty heap to mwIsOwned]** 990217 JLI	[2.55 improved the emergency repairs diagnostics and NML]** 990224 JLI	[2.56 changed ordering of members in structures]** 990303 JLI	[2.57 first maybe-fixit-for-hpux test]** 990516 JLI	[2.58 added 'static' to the definition of mwAutoInit]** 990517 JLI	[2.59 fixed some high-sensitivity warnings]** 990610 JLI	[2.60 fixed some more high-sensitivity warnings]** 990715 JLI	[2.61 changed TRACE/ASSERT/VERIFY macro names]** 991001 JLI	[2.62 added CHECK_BUFFER() and mwTestBuffer()]** 991007 JLI	[2.63 first shot at a 64-bit compatible version]** 991009 JLI	[2.64 undef's strdup() if defined, mwStrdup made const]** 000704 JLI	[2.65 added some more detection for 64-bits]** 010502 JLI   [2.66 incorporated some user fixes]**              [mwRelink() could print out garbage pointer (thanks mac@phobos.ca)]**				[added array destructor for C++ (thanks rdasilva@connecttel.com)]**				[added mutex support (thanks rdasilva@connecttel.com)]** 010531 JLI	[2.67 fix: mwMutexXXX() was declared even if MW_HAVE_MUTEX was not defined]** 010619 JLI	[2.68 fix: mwRealloc() could leave the mutex locked]** 020918 JLI	[2.69 changed to GPL, added C++ array allocation by Howard Cohen]** 030212 JLI	[2.70 mwMalloc() bug for very large allocations (4GB on 32bits)]** 030520 JLI	[2.71 added ULONG_LONG_MAX as a 64-bit detector (thanks Sami Salonen)]**** To use, simply include 'MEMWATCH.H' as a header file,** and add MEMWATCH.C to your list of files, and define the macro** 'MEMWATCH'. If this is not defined, MEMWATCH will disable itself.**** To call the standard C malloc / realloc / calloc / free; use mwMalloc_(),** mwCalloc_() and mwFree_(). Note that mwFree_() will correctly** free both malloc()'d memory as well as mwMalloc()'d.**** 980317: C++ support has been disabled.**         The code remains, but is not compiled.****         For use with C++, which allows use of inlining in header files**         and class specific new/delete, you must also define 'new' as**         'mwNew' and 'delete' as 'mwDelete'. Do this *after* you include**         C++ header files from libraries, otherwise you can mess up their**         class definitions. If you don't define these, the C++ allocations**         will not have source file and line number information. Also note,**         most C++ class libraries implement their own C++ memory management,**         and don't allow anyone to override them. MFC belongs to this crew.**         In these cases, the only thing to do is to use MEMWATCH_NOCPP.**** You can capture output from MEMWATCH using mwSetOutFunc().** Just give it the adress of a "void myOutFunc(int c)" function,** and all characters to be output will be redirected there.**** A failing ASSERT() or VERIFY() will normally always abort your** program. This can be changed using mwSetAriFunc(). Give it a** pointer to a "int myAriFunc(const char *)" function. Your function** must ask the user whether to Abort, Retry or Ignore the trap.** Return 2 to Abort, 1 to Retry or 0 to Ignore. Beware retry; it** causes the expression to be evaluated again! MEMWATCH has a** default ARI handler. It's disabled by default, but you can enable** it by calling 'mwDefaultAri()'. Note that this will STILL abort** your program unless you define MEMWATCH_STDIO to allow MEMWATCH** to use the standard C I/O streams. Also, setting the ARI function** will cause MEMWATCH *NOT* to write the ARI error to stderr. The** error string is passed to the ARI function instead, as the** 'const char *' parameter.**** You can disable MEMWATCH's ASSERT/VERIFY and/or TRACE implementations.** This can be useful if you're using a debug terminal or smart debugger.** Disable them by defining MW_NOASSERT, MW_NOVERIFY or MW_NOTRACE.**** MEMWATCH fills all allocated memory with the byte 0xFE, so if** you're looking at erroneous data which are all 0xFE:s, the** data probably was not initialized by you. The exception is** calloc(), which will fill with zero's. All freed buffers are** zapped with 0xFD. If this is what you look at, you're using** data that has been freed. If this is the case, be aware that** MEMWATCH places a 'free'd block info' structure immediately** before the freed data. This block contains info about where** the block was freed. The information is in readable text,** in the format "FBI<counter>filename(line)", for example:** "FBI<267>test.c(12)". Using FBI's slows down free(), so it's** disabled by default. Use mwFreeBufferInfo(1) to enable it.**** To aid in tracking down wild pointer writes, MEMWATCH can perform** no-mans-land allocations. No-mans-land will contain the byte 0xFC.** MEMWATCH will, when this is enabled, convert recently free'd memory** into NML allocations.**** MEMWATCH protects it's own data buffers with checksums. If you** get an internal error, it means you're overwriting wildly,** or using an uninitialized pointer.****************************************************************************** Note when compiling with Microsoft C:**  -   MSC ignores fflush() by default. This is overridden, so that**      the disk log will always be current.**** This utility has been tested with:**  PC-lint 7.0k, passed as 100% ANSI C compatible**  Microsoft Visual C++ on Win16 and Win32**  Microsoft C on DOS**  SAS C on an Amiga 500**  Gnu C on a PC running Red Hat Linux**  ...and using an (to me) unknown compiler on an Atari machine.****************************************************************************** Format of error messages in MEMWATCH.LOG:**  message: <sequence-number> filename(linenumber), information**** Errors caught by MemWatch, when they are detected, and any** actions taken besides writing to the log file MEMWATCH.LOG:****  Double-freeing:**      A pointer that was recently freed and has not since been**      reused was freed again. The place where the previous free()**      was executed is displayed.**      Detect: delete or free() using the offending pointer.**      Action: The delete or free() is cancelled, execution continues.**  Underflow:**      You have written just ahead of the allocated memory.**      The size and place of the allocation is displayed.**      Detect: delete or free() of the damaged buffer.**      Action: The buffer is freed, but there may be secondary damage.**  Overflow:**      Like underflow, but you've written after the end of the buffer.**      Detect: see Underflow.**      Action: see Underflow.**  WILD free:**      An unrecognized pointer was passed to delete or free().**      The pointer may have been returned from a library function;**      in that case, use mwFree_() to force free() of it.**      Also, this may be a double-free, but the previous free was**      too long ago, causing MEMWATCH to 'forget' it.**      Detect: delete or free() of the offending pointer.**      Action: The delete or free() is cancelled, execution continues.**  NULL free:**      It's unclear to me whether or not freeing of NULL pointers**      is legal in ANSI C, therefore a warning is written to the log file,**      but the error counter remains the same. This is legal using C++,**      so the warning does not appear with delete.**      Detect: When you free(NULL).**      Action: The free() is cancelled.**  Failed:**      A request to allocate memory failed. If the allocation is

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久精品久久久久久清纯| 日韩欧美黄色影院| 亚洲国产高清在线| 大桥未久av一区二区三区中文| 欧美精彩视频一区二区三区| 成人午夜激情视频| 日精品一区二区三区| 欧美一区二区三区视频在线观看| 蜜臀av性久久久久av蜜臀妖精| 精品区一区二区| 粉嫩av一区二区三区在线播放 | 日本不卡中文字幕| 日韩精品一区在线| 欧美性色aⅴ视频一区日韩精品| 五月天激情小说综合| 欧美va日韩va| 欧美日韩精品综合在线| 狠狠色狠狠色综合日日91app| 亚洲专区一二三| 欧美亚洲一区二区在线| 成人性生交大片| 激情五月婷婷综合网| 欧美aaaaaa午夜精品| 欧美极品少妇xxxxⅹ高跟鞋 | 成人va在线观看| 亚洲国产精品久久不卡毛片| 日韩视频国产视频| 北条麻妃国产九九精品视频| 污片在线观看一区二区| 亚洲制服欧美中文字幕中文字幕| 中文字幕一区二区视频| 欧美一区二区三区四区在线观看| 欧美综合视频在线观看| 国产成人综合视频| 亚洲妇女屁股眼交7| 17c精品麻豆一区二区免费| 中文字幕乱码一区二区免费| 国产日韩v精品一区二区| 精品成人a区在线观看| 欧美在线观看你懂的| 91麻豆123| 国产精品一二三四| 五月婷婷久久丁香| 亚洲电影中文字幕在线观看| 亚洲国产精品人人做人人爽| 亚洲国产精品久久人人爱蜜臀| 亚洲欧美日韩一区二区| 国产亚洲成年网址在线观看| 欧美日韩美少妇| 欧美日韩国产影片| 欧美久久一二区| 91亚洲精品乱码久久久久久蜜桃| 99热国产精品| 色婷婷av一区二区三区gif| 国产成人在线视频网址| 成人中文字幕合集| 一本色道久久加勒比精品| 日本韩国欧美在线| av一二三不卡影片| 色噜噜狠狠色综合欧洲selulu| 91精彩视频在线观看| 欧美日韩亚洲综合一区| 一本在线高清不卡dvd| 在线精品视频一区二区三四| 欧美日韩成人在线一区| 日韩你懂的在线播放| 久久网站热最新地址| 日韩一级完整毛片| 久久久午夜精品| 精品国产乱码久久久久久1区2区 | 91精品婷婷国产综合久久竹菊| 99re成人在线| 精品视频1区2区3区| 日韩欧美亚洲一区二区| 久久免费精品国产久精品久久久久| 欧美—级在线免费片| 亚洲中国最大av网站| 国精品**一区二区三区在线蜜桃| www.日韩av| 5月丁香婷婷综合| 国产亚洲欧洲一区高清在线观看| 亚洲靠逼com| 又紧又大又爽精品一区二区| 日本不卡一区二区| 成人做爰69片免费看网站| 欧美色图免费看| 久久精品视频免费| 亚洲综合色区另类av| 国产在线视视频有精品| 91蜜桃传媒精品久久久一区二区| 欧美精品 日韩| 中文字幕欧美激情一区| 免费人成在线不卡| 色呦呦日韩精品| 精品精品国产高清一毛片一天堂| 一区精品在线播放| 久久国产欧美日韩精品| 久久国产精品99精品国产| 91亚洲精品久久久蜜桃网站| 亚洲精品在线一区二区| 亚洲一区免费视频| 成人h动漫精品一区二区| 8x8x8国产精品| 亚洲精品中文字幕乱码三区| 国产一区二区三区电影在线观看| 国产69精品久久久久777| 欧美一区日韩一区| 中文字幕综合网| 天堂成人国产精品一区| 99久久免费国产| 久久青草欧美一区二区三区| 日韩在线一区二区| 91免费小视频| 国产欧美一区二区精品婷婷 | 国产一区高清在线| 欧美日韩国产大片| 亚洲美女区一区| 高清国产午夜精品久久久久久| 日韩一区二区视频| 亚洲va在线va天堂| 国产在线精品免费av| 欧美精品第1页| 蜜臀av性久久久久蜜臀av麻豆| 欧美性大战久久久| 亚洲欧美日韩小说| 91尤物视频在线观看| 国产精品天干天干在观线| 一级做a爱片久久| 国产综合久久久久久久久久久久| 日韩一区二区在线看片| 调教+趴+乳夹+国产+精品| 欧美亚洲一区二区三区四区| 亚洲免费电影在线| 色哟哟一区二区| 亚洲乱码国产乱码精品精的特点| 成人国产亚洲欧美成人综合网| 国产亚洲成aⅴ人片在线观看 | 日日夜夜免费精品视频| 欧美老年两性高潮| 日日摸夜夜添夜夜添国产精品 | 久久一留热品黄| 国产一区二区三区日韩| 精品va天堂亚洲国产| 国产精品一区二区果冻传媒| 国产三区在线成人av| 国产**成人网毛片九色 | 国产丝袜美腿一区二区三区| 国产精品自拍在线| 国产精品久久久久久久岛一牛影视| 天天操天天色综合| 9191成人精品久久| 免费观看日韩电影| 欧美精品一区二区三区在线播放 | 国产精品久线在线观看| www..com久久爱| 亚洲欧美电影一区二区| 欧美系列日韩一区| 日韩成人精品在线| 精品91自产拍在线观看一区| 国产高清在线观看免费不卡| 国产精品久久久久久久久搜平片 | 91网址在线看| 亚洲国产视频直播| 欧美成va人片在线观看| 国产伦精品一区二区三区在线观看| 久久精品亚洲乱码伦伦中文 | 日韩电影一区二区三区四区| 日韩精品中文字幕在线不卡尤物| 国产精品一卡二卡| 亚洲欧美日韩国产成人精品影院| 日本高清免费不卡视频| 青青青伊人色综合久久| 国产亚洲精品中文字幕| 色欧美乱欧美15图片| 蜜臂av日日欢夜夜爽一区| 久久精品亚洲精品国产欧美kt∨| 色综合久久久久久久久久久| 天天综合色天天综合色h| 久久久三级国产网站| 91久久精品国产91性色tv| 日韩**一区毛片| 自拍av一区二区三区| 日韩三级在线观看| a亚洲天堂av| 日韩成人午夜精品| 亚洲视频资源在线| 日韩精品中文字幕一区二区三区| 成人免费va视频| 蜜桃一区二区三区在线| 亚洲三级免费观看| xnxx国产精品| 欧美视频在线一区二区三区 | 欧美日韩国产不卡| 成人污视频在线观看| 视频一区在线视频| 亚洲国产精华液网站w| 欧美一区二区三区思思人| 97aⅴ精品视频一二三区| 精品一区二区影视| 国产日韩精品久久久|