Skip to content

Add CI jobs to compile the tools we use#6870

Closed
lilith218 wants to merge 22 commits intogoogle:masterfrom
open-s4c:lilith/ci
Closed

Add CI jobs to compile the tools we use#6870
lilith218 wants to merge 22 commits intogoogle:masterfrom
open-s4c:lilith/ci

Conversation

@lilith218
Copy link
Copy Markdown

No description provided.

martin-beck and others added 22 commits February 26, 2026 15:12
Fix parser and lexer for strace log parsing.
Add macros for C-code generation for dynamic map ranges.

---
Signed-off-by: Martin Beck <[email protected]>
 - Adds mmap length macro
 - File descriptor tracking to close otherwise leaking fds
 - Increases lexer memory to parse larger strace logs

Signed-off-by: Martin Beck <[email protected]>
Adds:

 - Storing syscall return value in syzlang .prog files

---------

Signed-off-by: Martin Beck <[email protected]>
Changes:
 - Uses cache for already computed resource usage per syscall
 - Uses Bloom Filters to implement a fast skip instead of checking cache
- Uses information about already processed calls to skip all tests on
them
- Uses a pre-generated map storing indices of next-to-check syscalls for
skipping irrelevant syscall checks

Reduces overall runtime on a complete 4gb mysql syzlang program from 7
hours to 30 seconds.

-----
Signed-off-by: Martin Beck <[email protected]>
Changes:

 - Fixes statx struct definition in syzkaller to match strace output

----
Signed-off-by: Martin Beck <[email protected]>
)

Changes:
 - all write/send syscalls use one thread local buffer as source

---------
Signed-off-by: martin-beck <[email protected]>
Signed-off-by: Bohdan Trach <[email protected]>
Co-authored-by: Bohdan Trach <[email protected]>
Change

- Parsing of strace log into complete syzlang program by default, not a
single program per thread
- Ordering of syscalls to appear at the place where they finished in the
strace log, not where they were started
---------

Signed-off-by: Martin Beck <[email protected]>
Signed-off-by: Lilith Oberhauser <[email protected]>
Adds:
 - Extraction based on threads as recorded in strace log

---------

Signed-off-by: Martin Beck <[email protected]>
Signed-off-by: Bohdan Trach <[email protected]>
Co-authored-by: Martin Beck <[email protected]>
Co-authored-by: Bohdan Trach <[email protected]>
Signed-off-by: Bohdan Trach <[email protected]>
Co-authored-by: Bohdan Trach <[email protected]>
Change

 - Small fixes, improvements and cleanup on thread based extraction

---------

Signed-off-by: Martin Beck <[email protected]>
Adds:
 - Initial support for networking syscalls

---------
Signed-off-by: Martin Beck <[email protected]>
Signed-off-by: Lilith Oberhauser <[email protected]>
Signed-off-by: Lilith Oberhauser <[email protected]>
Signed-off-by: Lilith Oberhauser <[email protected]>
Signed-off-by: Lilith Oberhauser <[email protected]>
Signed-off-by: Lilith Oberhauser <[email protected]>
@lilith218 lilith218 closed this Mar 2, 2026
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Mar 2, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants