libelf question

Dag-Erling Smørgrav des at des.no
Mon Jun 25 15:19:46 UTC 2007


Angus Barrow <angus at aggyb.org> writes:
> 30   time_t timet=arh->ar_date;
> (gdb) n
> 31   strftime(timestring, sizeof(timestring), "%b %e %H:%M %Y",
> gmtime(&timet));
> (gdb) n
> ...
> (gdb) print timet
> $1 = -1515870811

(gdb) p/x -1515870811
$1 = 0xa5a5a5a5

from malloc(3):

     J       Each byte of new memory allocated by malloc(), realloc() or
             reallocf() will be initialized to 0xa5.  All memory returned by
             free(), realloc() or reallocf() will be initialized to 0x5a.
             This is intended for debugging and will impact performance nega-
             tively.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list