On 5/24/2013 3:49 AM, Barton Miller wrote:
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?)
Or perhaps we can auto-generate it from the kernel source? That
would allow us (for Linux) to auto-pull kernels from kernel.org and
generate the configuration files.
Jeff
|
|