GSoC status report - #1 of 10

Masatake YAMATO yamato at redhat.com
Tue Jun 15 03:14:02 UTC 2021


Hi,

Interesting effort!


How about using a script language instead of C for writing `gen` ?

If we use C, the process of cross-compiling becomes a bit complicated.
So I got the question.

Masatake YAMATO

On Mon, 14 Jun 2021 18:17:56 -0400, "Srikavin Ramkumar" <srikavinramkumar at gmail.com> wrote:
> Hi,
> 
> Last week I worked on setting up the lexer, the parser and documenting the
> features and syntax of the description format. I've pushed my changes to my
> fork [1] of strace.
> 
> Accomplishments:
> 
> Using flex and bison was significantly easier than expected, and I was able to
> mostly finish up the lexer and parser. The parser is almost entirely compatible 
> with syzlang. It currently ignores type attributes and fails to parse ranges. I 
> plan to polish up the remaining issues soon. Once I do, I'll send a RFC patch. 
> This is very much a work-in-progress, but I would also appreciate any 
> comments/feedback on the current state.
> 
> I placed this code in maint/gen. Is there a better directory to put it in, or is
> this fine?
> 
> Priorities:
>  - Add support for ranges in type options
>  - Begin working on code generation
>  - Replace Makefile with a script
>  - Finalize CLI arguments, and add usage documentation
> 
> [1]: https://github.com/srikavin/strace/tree/srikavin/decoder_gen
> 
> -- Srikavin
> -- 
> Strace-devel mailing list
> Strace-devel at lists.strace.io
> https://lists.strace.io/mailman/listinfo/strace-devel
> 



More information about the Strace-devel mailing list