Well, the return address from libc problem is at least partially solved.
commitde708b883932ccb8914e5f6799358d178740acec
authorstrange <kawk256@gmail.com>
Wed, 20 Jan 2010 05:57:55 +0000 (19 22:57 -0700)
committerstrange <kawk256@gmail.com>
Wed, 20 Jan 2010 05:57:55 +0000 (19 22:57 -0700)
tree83d14659deb3f9c28ed768244fbaaaf5cc882eb1
parent2c87565d656e939cf77459d00e3def854f6a2844
Well, the return address from libc problem is at least partially solved.

For my version of libc (version 2.10.2-5, from Debian), the return address
is stored at qword [rsp]. Ergo, the breakpoints are now set correctly.

Something I can't help but wonder is if the breakpoints should be placed in
ProgramManager or not . . . but no, they should be, I guess.
src/monitor/ProgramManager.cpp
src/monitor/ProgramManager.h
src/monitor/ptrace/MallocObserver.cpp
src/monitor/ptrace/Portal.cpp