[PATCH v15 0/4] Add support for Lua scripting

Victor Krapivensky krapivenskiy.va at phystech.edu
Wed Sep 20 16:42:37 UTC 2017


Changelog:
 * Fixed reverting some commits related to personality names.
 * Fixed strace.read_obj/strace.write_obj functions failing to
   read/write scalar types.
 * Enhanced the documentation; in particular, added more examples.

Victor Krapivensky (4):
  Prepare for adding support for Lua scripting
  Add initial support for Lua scripting
  Introduce upoken function and expose it to Lua scripts
  tests: check Lua scripting support

 .gitignore               |   1 +
 Makefile.am              |  17 +
 NEWS                     |   2 +
 basic_filters.c          |  60 ++--
 configure.ac             |  37 ++
 defs.h                   |  66 ++--
 defs_shared.h            |  66 ++++
 ffi.h                    |  19 +
 filter_qualify.c         |  64 +++-
 luajit.h                 | 363 +++++++++++++++++++
 luajit_lib.lua           | 468 ++++++++++++++++++++++++
 number_set.c             |  47 +++
 number_set.h             |  16 +
 strace.1.in              | 901 +++++++++++++++++++++++++++++++++++++++++++++++
 strace.c                 |  95 ++++-
 syscall.c                | 229 ++++++++----
 sysent.h                 |  24 +-
 tests/.gitignore         |   1 +
 tests/Makefile.am        |  13 +-
 tests/lua-basics.test    | 301 ++++++++++++++++
 tests/lua-qual.test      |  58 +++
 tests/lua-tampering.test | 199 +++++++++++
 tests/lua.c              | 115 ++++++
 tests/lua.sh             |  11 +
 ucopy.c                  | 177 ++++++++++
 25 files changed, 3191 insertions(+), 159 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