mark@arisia.xerox.com (Mark Weiser) (11/29/89)
Ever wanted to make a previously ld'd variable or procedure invisible so you could make a different version of it visible to later routines? Or, ever wanted to make a declared 'static' variable visible? Then you have wanted 'ldhide' (which also functions as an ldunhide). To give a hint of its handiness, the man page describes how to use it to wrap the C-library malloc routine with your own code which can do arbitrary things (like print out the values malloced, or just keep track of them), while still calling the original routines, while still naming YOUR function 'malloc' so all the other routines use it. The code and documentation is available for anonmyous ftp on arisia.xerox.com (13.1.100.206), directory pub, file ldhide.shar. Tested on sun-3's and 4's, and vaxes. Doesn't work on COFF format. Mark