[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:29646] Re: Electorical Fence?



ä½é‡Žï¼ æµœæ¾ã§ã™ã€‚

In <20010822084505.DEE64F2A25@xxxxxxxxxxxxxxxxxxxxx>,
  on "Wed, 22 Aug 2001 17:45:07 +0900',
   with "[debian-users:29611] Re: Electorical Fence?",
 KISE Hiroshi <fuyuneko@xxxxxxxxxxxx> ã•ã‚“ wrote:

> > Cプログラムã®ãƒ¡ãƒ¢ãƒªã‚¨ãƒ©ãƒ¼ã‚’発見ã™ã‚‹ã®ã«ä¾¿åˆ©ãªElectorical Fenceã¨ã„ã†
> > ライブラリãŒã‚ã‚‹ã®ã§ã™ãŒã€potatoã«ã¯å…¥ã£ã¦ãªã„ã¿ãŸã„ã§ã™ã€‚
> > hammã«ã¯å…¥ã£ã¦ãŸã‚“ã§ã™ãŒã€ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションã‹ã‚‰è½ã¡ã¡ã‚ƒã£ãŸã‚“ã§
> > ã—ょã†ã‹ï¼Ÿã‚‚ã—debパッケージãŒã‚ã‚‹ãªã‚‰å ´æ‰€ã‚’æ•™ãˆã¦æ¬²ã—ã„ã®ã§ã™ãŒã€‚
> 
> ã†ãƒ¼ã‚“ã€æŽ¢ã—ã«ãã„ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。ã ã£ã¦â€œElectric Fenceâ€ã§ã™ã‹ã‚‰ã€‚
> パッケージåã¯â€œelectric-fenceâ€ã§ã™ã€‚

パッケージを探ã™å ´åˆã¯ apt-cache search ã§æ¤œç´¢ã™ã‚‹ã¨ä¾¿åˆ©ãªã‚“ã§ã™ãŒ
キーワードãŒé–“é•ã£ã¦ã„ã‚‹ã¨ç›®çš„ã®ãƒ¢ãƒŽã¾ã§è¾¿ã‚Šã¤ã‘ã¾ã›ã‚“ã‹ã‚‰æ³¨æ„ãŒ
å¿…è¦ã§ã™ã­ã€‚

例ãˆã° apt-cache search 'memory'|grep -i Electorical
ã§æ¤œç´¢ã™ã‚‹ã¨ã€è©²å½“ã™ã‚‹ã‚‚ã®ãŒç„¡ã„らã—ã何も表示ã•ã‚Œã¾ã›ã‚“。

一方 apt-cache search 'memory leak' ã®å ´åˆã¯

ccmalloc - A memory profiler/debugger
bridge - Control software and documentation for bridging in 2.0 kernels
task-debug - Debugging of C, C++, Objective C and friends

ã® 3 ã¤ãŒãƒ’ットã—ã¾ã™ã€‚ã•ã‚‰ã«
 apt-cache search 'memory'|grep -i fence を実行ã™ã‚‹ã¨

electric-fence - A malloc(3) debugger

ãŒã¡ã‚ƒã‚“ã¨è¦‹ã¤ã‹ã‚Šã¾ã™ã€‚

ãªãŠ apt-cache search memory |wc -l を実行ã™ã‚‹ã¨ 103 ã¨ã„ã†
ç­”ãˆãŒè¿”ã£ã¦ãã¾ã™ã€‚ã“ã‚Œã ã¨å¼•ç”¨ã™ã‚‹ã«ã¯ã¡ã‚‡ã£ã¨å¤šã„ã§ã™ãŒ
 apt-cache search memory |lv を実行ã—ã¦çµæžœã‚’眺ã‚ã¦ã¿ã‚‹ã¨ã€
ã‚ã‚“ã¾ã‚Šé–¢ä¿‚ç„¡ã•ãã†ãªã‚‚ã®ã‚‚ã‘ã£ã“ã†ä¸¦ã‚“ã§ã‚‹ã¿ãŸã„ã§ã™ã­ã€‚

ã“ã“㧠"/debug" 㧠lv ã®æ¤œç´¢ã‚’使ã£ã¦ãƒã‚§ãƒƒã‚¯ã—ã¦ã¿ã‚‹ã¨ãªã‚“ã‹
ãã‚Œã£ã½ã„ã®ãŒã„ãã¤ã‹å‡ºã¦ãã‚‹ã®ã§ã€æ”¹ã‚ã¦
 apt-cache search memory |grep -i debug を実行ã™ã‚‹ã¨

kernel-patch-2.2.13-kdb - Builtin kernel debugger.
kernel-patch-2.2.10-kdb - Builtin kernel debugger.
fda - C malloc debug library
ccmalloc - A memory profiler/debugger
electric-fence - A malloc(3) debugger
task-debug - Debugging of C, C++, Objective C and friends
dmalloc - Debug memory allocation library
gccchecker - Memory access debugger for C language development

ã¨ã„ã†ã®ãŒå‡ºã¦ãã¾ã™ã€‚

ãã‚Œã‹ã‚‰ task-debug ã®å†…容を apt-cache show task-debug ã§
調ã¹ã¦ã¿ã‚‹ã¨

Package: task-debug
Priority: optional
Section: devel
Installed-Size: 11
Maintainer: Debian GCC maintainers <gcc@packages.debian.org>
Architecture: all
Source: task-devel
Version: 0.5
Depends: gdb
Recommends: ddd | xxgdb,
            electric-fence,
            ccmalloc | dmalloc | fda | debauch,
            memprof,
            lclint
Suggests: task-c-dev | task-c++-dev | task-objc-dev | task-fortran,
          dejagnu
Filename: dists/potato/main/binary-all/devel/task-debug_0.5.deb
Size: 3352
MD5sum: 0d978ce0d7711c6c710782825f4920a7
Description: Debugging of C, C++, Objective C and friends
 A metapackage containing dependencies for the debugging of programs written
 in C, C++, Objective C and other languages supported by the gcc compiler,
 including:
  o The GNU debugger gdb
  o A sophisticated and a simple GUI frontend for the GNU debugger
  o Tools to detect memory access violations
  o Tools to track down memory leaks
  o Tools to annotate source code and extended assertion support
  o Tools for regression testing
 
ã¨ã„ã†ã®ãŒã‚ã‚Šã¾ã™ã­ã€‚ã“ã“㧠Recommends ã«è¨­å®šã•ã‚Œã¦ã„ã‚‹ã‚‚ã®ã¯
ãã‚Œãªã‚Šã«ä½¿ã‚ã‚Œã¦ã„ã‚‹ã‚‚ã®ã§ã—ょã†ã‹ã‚‰ã€è©¦ã—ã¦ã¿ã‚‹ã®ã‚‚ã„ã„ã‚“ã˜ã‚ƒ
ãªã„ã‹ã¨ã€‚

-- 
   # 以上ã€ã€ŒDebian ã«ãŠã‘るパッケージã®æŽ¢ã—æ–¹ã€ã®ä¸€éƒ¨ã§ã—ãŸã€‚
    <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (ä½é‡Žã€€æ­¦ä¿Š)