I've installed splint in ~brian/cse271/splint-3.1.1/
% export LARCH_PATH=.:~brian/cse271/splint-3.1.1/lib % export LCLIMPORTDIR=~brian/cse271/splint-3.1.1/imports % ~brian/cse271/splint-3.1.1/bin/splint leak.c
% truss pwd
% truss -f -o truss.out emacs
gcc -g -pg -o myprog myprog.c
gprof myprog
% gcc -pg -g -o leak leak.c % leak % gprof leak