justincormack / ljsyscall

LuaJIT Unix syscall FFI
http://www.myriabit.com/ljsyscall/
Other
441 stars 54 forks source link

ktrace issues #115

Open justincormack opened 10 years ago

justincormack commented 10 years ago

ktrace works as proof of concept but has a lot of issues

  1. add rest of trace types
  2. add rest of syscall numbers
  3. need to be able to introspect argument and return value types so can work out which are eg ints not long
  4. special case handling for multiple return values
  5. friendlier output (see ioctl rough example)
justincormack commented 10 years ago

Also some issue with ktr_header.pid on 32 bit - fixed, version issue but see #117

justincormack commented 10 years ago

Fix tests to test stuff not print it out.

justincormack commented 10 years ago

make util.kdump take an fd or filename and allocate buffer itself.

justincormack commented 10 years ago

__tostring method on ktr_header