[PATCH RFC v1 0/1] Initial support for Lua scripting

Victor Krapivensky krapivenskiy.va at phystech.edu
Sat Jun 10 20:17:27 UTC 2017


The script is expected to call strace.next_sc() in a infinite loop,
e.g.:

    while true do strace.next_sc() end

next_sc() returns a LuaJIT wrapper for struct tcb *, so one can access
fields exposed to LuaJIT.

Victor Krapivensky (1):
  Initial support for Lua scripting

 Makefile.am  |   6 +++
 configure.ac |  34 +++++++++++++
 defs.h       |  34 +------------
 defs_reuse.h |  58 ++++++++++++++++++++++
 strace.c     | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 259 insertions(+), 33 deletions(-)
 create mode 100644 defs_reuse.h

-- 
2.11.0





More information about the Strace-devel mailing list