[PATCH v8 0/2] LuaJIT scripting support
Victor Krapivensky
krapivenskiy.va at phystech.edu
Tue Jul 11 11:48:43 UTC 2017
Aside from the upoken function, a notable change is that
strace.inject_signo, strace.inject_retval, strace.umove and
strace.umove_str functions no longer take the tcp argument but operate
on current_tcp.
There are also some improvements in the helper library, e.g.
strace.hook{,_class,_scno} functions now support a table argument
instead of a single string/number.
Victor Krapivensky (2):
Initial support for LuaJIT scripting
Introduce upoken function and expose it to LuaJIT scripts
.gitignore | 1 +
Makefile.am | 17 +++
configure.ac | 36 ++++++
defs.h | 56 +++------
defs_shared.h | 65 ++++++++++
ffi.h | 19 +++
luajit.h | 358 +++++++++++++++++++++++++++++++++++++++++++++++++++++
luajit_lib.lua | 376 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
qualify.c | 84 ++++++++-----
strace.1 | 379 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
strace.c | 36 +++++-
syscall.c | 117 +++++++++++++++---
sysent.h | 24 +++-
util.c | 172 ++++++++++++++++++++++++++
14 files changed, 1648 insertions(+), 92 deletions(-)
create mode 100644 defs_shared.h
create mode 100644 ffi.h
create mode 100644 luajit.h
create mode 100644 luajit_lib.lua
--
2.11.0
More information about the Strace-devel
mailing list