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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to