Only one of those addresses automatic/stack variables: Purify. Even then, for Solaris you have to go back to Solaris 10u4 or so to get Purify support.
Yes, dtrace can find memory leaks. But that's kind of like using a crowbar as a paperweight: it works, but there are a lot easier tools to use that are designed for that purpose. And even then, dtrace doesn't do array bounds or any other type of memory checking. If your code is portable, you'd probably be best off compiling it on Linux and running it under Purify there. That's what I do. -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
