mudongliang wrote:
But the result has no feature about a ,b ,c! Can someone tell me what's wrong with me? My GCC version is gcc (Debian 4.9.2-10) 4.9.2 mudongliang
malloc is not part of gcc, it is part of glibc. I think that recent versions of glibc deliberately return random addresses, so the addresses are unpredictable and cannot be used to write malware. This is probably documented in the sources of glibc but first, see malloc(3) and mallopt(3) (e.g. "man malloc" and "man mallopt" on the command line). -- Ludovic Brenta. -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/af4bb28d8b1bc50d41a8bc44520a2...@ludovic-brenta.org