|Valgrind 3.3 - Advanced Debugging and Profiling for GNU/Linux applications|
by J. Seward, N. Nethercote, J. Weidendorfer and the Valgrind Development Team
Paperback (6"x9"), 164 pages
RRP £12.95 ($19.95)
3.6.4 malloc()-related Options
For tools that use their own version of ‘malloc()’ (e.g. Memcheck and Massif), the following options apply.
--alignment=<number> [default: 8]By default Valgrind's
realloc(), etc, return 8-byte aligned addresses. This is standard for most processors. However, some programs might assume that
malloc()et al return 16-byte or more aligned memory. The supplied value must be between 8 and 4096 inclusive, and must be a power of two.
|ISBN 0954612051||Valgrind 3.3 - Advanced Debugging and Profiling for GNU/Linux applications||See the print edition|