On 5/23/2013 4:57 PM, Emily Jacobson wrote:
A couple of things. First, this functionality probably belongs in a
"value added" library that sits on top of Dyninst or its toolkits.
It doesn't need to go inside.
Second, the semantics of the argument types should be defined by the
syscall number. It's a bit of work, but mostly one-time work to
define a table of argument number and types for each syscall. And
there would be table version for each platform version of the
library. An interesting question is whether there is a DWARF-ful
version of libc so that we could build this table automatically?
(Or could we just trigger our own build of libc?)
--bart
|
|