snapshot: find the correct binary name
authorBrian Norris <banorris@uci.edu>
Sat, 3 Nov 2012 22:31:20 +0000 (15:31 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 14 Nov 2012 22:26:40 +0000 (14:26 -0800)
commitfb619bf46f246eeaaa794e6e98ad30f300ec160e
tree8a5327f3a4792ed88ae043da6f89ec6ae3f36a04
parent6f2d14687b0bc7063946d5dfca05cf47330eef4e
snapshot: find the correct binary name

This is somewhat of a neutral change; the existing /proc/*/maps check
works because our path name usually has the word 'model' in it. But
really, we should find the true, full path of the user program.

This should be extended to find more maps (e.g., for other libraries),
and it should be extended for Mac OSX too.
snapshot-interface.cc