Edgar Kaziakhmedov's GSoC status report - #6 of 13

2017-07-11 Thread Edgar Kaziahmedov
Hello, strace community! Accoplisment: I have added basic support of personality(32bit, 64bit, x32) as a "set-abi" option. I have received new review, thank you, Eugene, for constructive critique. Today I'll try to take into account all comments. I accidentally lost mail with faster ways of comm

Nikolay Marchuk's GSoC status report - #6 of 13

2017-07-11 Thread Nikolay Marchuk
Hello, strace community! Project: Advanced syscall filtering syntax. Accomplishments: this week I've been working on refactoring of new filtering architecture patch set. Now I am working on refactoring of new filtering language parsing. During this week I've also found and fixed some new issues w

Re: Edgar Kaziakhmedov's GSoC status report - #6 of 13

2017-07-11 Thread Eugene Syromyatnikov
On Tue, Jul 11, 2017 at 7:29 AM, Edgar Kaziahmedov wrote: > I accidentally lost mail with faster ways of communication with > mentors. Could you resend it, please? Do you mean [1] or something else? [1] https://sourceforge.net/p/strace/mailman/message/35839556/ -- Eugene Syromyatnikov mailto:ev

JingPiao Chen's GSoC status report - #6 of 13

2017-07-11 Thread JingPiao Chen
Hello, strace community! Project: Netlink socket parsers. Accoplisment: * print unrecognized data in hex and update expected output. * fixed packet_diag_msg, smc_diag_msg and inet_diag_req attribute decode. * introduce TEST_NETLINK and TEST_NETLINK_ macros * fixed NETLINK_ROUTE header messages de

[PATCH v8 2/2] Introduce upoken function and expose it to LuaJIT scripts

2017-07-11 Thread Victor Krapivensky
This patch implies that we have process_vm_writev if and only if we have process_vm_readv, and that they are either both supported or both unsupported. * defs.h: Add declaration for upoken. * luajit.h (func_upoke): New wrapper function. (init_luajit): Expose it as strace.upoke. * luajit_lib.lua (w

[PATCH v8 1/2] Initial support for LuaJIT scripting

2017-07-11 Thread Victor Krapivensky
* .gitignore: Add luajit_lib.h. * Makefile.am: Build with LuaJIT if configured so. (strace_SOURCES): Add defs_shared.h, ffi.h. (luajit_lib.h): Auto-generate from luajit_lib.lua. * configure.ac: Add new --with-luajit configure option. * defs.h (TCB_AD_HOC_INJECT): new TCB flag. (QUAL_HOOK_ENTRY, QUA

[PATCH v8 0/2] LuaJIT scripting support

2017-07-11 Thread Victor Krapivensky
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} functio

Victor Krapivensky's GSoC status report - #6 of 13

2017-07-11 Thread Victor Krapivensky
Hello, strace community! Project: advanced syscall tampering and filtering with Lua/LuaJIT. Accomplishments: this week I've introduced path-matching and memory tampering functionality for LuaJIT scripts. I've also improved some things in the helper library. Next week, I will work on testing my c

Re: Edgar Kaziakhmedov's GSoC status report - #6 of 13

2017-07-11 Thread Edgar Kaziahmedov
On Tue, 11 Jul 2017 10:03:19 + Eugene Syromyatnikov wrote: > On Tue, Jul 11, 2017 at 7:29 AM, Edgar Kaziahmedov > wrote: > > I accidentally lost mail with faster ways of communication with > > mentors. Could you resend it, please? > Do you mean [1] or something else? > > [1] https://sourc