[PATCH v12 0/3] Add support for Lua scripting

Victor Krapivensky krapivenskiy.va at phystech.edu
Mon Aug 28 10:23:07 UTC 2017


Changelog:
 * Fixed behaviour of strace.inject_error/strace.inject_signal when
given a error/signal number as a cdata integer type.
 * For all functions that are described as taking an *integer* or
*string* arguments, added tests for cdata integer/string types.
 * Fixed all the issues pointed out by Eugene.
 * Added an information on ffiex library and an example to the man page.

Victor Krapivensky (3):
  Initial support for LuaJIT scripting
  Introduce upoken function and expose it to LuaJIT scripts
  tests: check LuaJIT scripting support

 .gitignore               |   1 +
 Makefile.am              |  17 ++
 NEWS                     |   1 +
 basic_filters.c          |  60 ++--
 configure.ac             |  37 +++
 defs.h                   |  75 +++--
 defs_shared.h            |  66 ++++
 ffi.h                    |  19 ++
 filter_qualify.c         |  84 +++--
 luajit.h                 | 319 +++++++++++++++++++
 luajit_lib.lua           | 392 ++++++++++++++++++++++++
 number_set.c             |  47 +++
 number_set.h             |  15 +
 strace.1.in              | 778 +++++++++++++++++++++++++++++++++++++++++++++++
 strace.c                 |  95 +++++-
 syscall.c                | 234 ++++++++++----
 sysent.h                 |  24 +-
 tests/.gitignore         |   1 +
 tests/Makefile.am        |  13 +-
 tests/lua-basics.test    | 306 +++++++++++++++++++
 tests/lua-qual.test      |  65 ++++
 tests/lua-tampering.test | 199 ++++++++++++
 tests/lua.c              | 115 +++++++
 tests/lua.sh             |  11 +
 ucopy.c                  | 177 +++++++++++
 25 files changed, 2978 insertions(+), 173 deletions(-)
 create mode 100644 defs_shared.h
 create mode 100644 ffi.h
 create mode 100644 luajit.h
 create mode 100644 luajit_lib.lua
 create mode 100755 tests/lua-basics.test
 create mode 100755 tests/lua-qual.test
 create mode 100755 tests/lua-tampering.test
 create mode 100644 tests/lua.c
 create mode 100644 tests/lua.sh

-- 
2.11.0





More information about the Strace-devel mailing list