1 Summary: An open-source memory debugger for x86-GNU/Linux
2 Summary(pl): Otwarty odpluskwiacz pamiêci dla Linuksa x86
8 Group: Networking/Utilities
9 Source0: http://developer.kde.org/~sewardj/%{name}-%{version}.tar.bz2
10 URL: http://developer.kde.org/~sewardj/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 # Valgrind binaries should _never_ be stripped
16 %define no_install_post_strip 1
19 Valgrind is a GPL'd tool to help you find memory-management problems
20 in your programs. When a program is run under Valgrind's supervision,
21 all reads and writes of memory are checked, and calls to
22 malloc/new/free/delete are intercepted. As a result, Valgrind can
23 detect problems such as:
25 - Use of uninitialised memory
26 - Reading/writing memory after it has been free'd
27 - Reading/writing off the end of malloc'd blocks
28 - Reading/writing inappropriate areas on the stack
29 - Memory leaks -- where pointers to malloc'd blocks are lost forever
30 - Passing of uninitialised and/or unaddressible memory to system calls
31 - Mismatched use of malloc/new/new [] vs free/delete/delete []
32 - Some misuses of the POSIX pthreads API
35 Valgrind jest narzêdziem rozwi±zuj±cym problemy zwi±zane z zarz±dzaniem
36 pamiêci± w programach. Gdy program zostaje uruchomiony pod nadzorem
37 Valgrinda wszystkie odczyty i zapisy do pamiêci s± sprawdzane.
38 Przechwytywane s± te¿ odwo³ania do malloc/new/free/delete. Dziêki temu
39 mo¿na wykryæ nastêpuj±ce problemy:
41 - U¿ycie niezainicjalizowanej pamiêci
42 - Odczytywanie/zapisywanie do obszaru pamiêci, który zosta³ zwolniony
43 - Odczytywanie/zapisywanie na koñcach zaalokowanych bloków
44 - Odczytywanie/zapisywanie niew³a¶ciwych obszarów na stosie
45 - Wycieki pamiêci -- gdy wska¼niki do zaalokowanych bloków s± stracone na
47 - Przekazywanie niezainicjalizowanej i/lub nieadresowalnej pamiêci do
49 - Niekonsekwencja w u¿ywaniu malloc/new/new [] kontra free/delete/delete []
50 - Niektóre nadu¿ycia API POSIX pthreads
61 LDFLAGS="" # no strip!
65 rm -rf $RPM_BUILD_ROOT
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %doc ACKNOWLEDGEMENTS AUTHORS ChangeLog PATCHES_APPLIED
75 %doc README README_MISSING_SYSCALL_OR_IOCTL TODO
77 %attr(755,root,root) %{_bindir}/*