We're interested to see if we can include Instruments-based leak testing as a part of our regular application smoke testing. What kind of scriptability is available for Instruments?
Instruments is based on the dtrace
framework. You might be able to use that directly, without the instruments GUI.