Skip to content

Conversation

@ligurio
Copy link
Contributor

@ligurio ligurio commented Dec 23, 2025

Depends on #13929
Depends on ligurio/luzer#74

@github-actions
Copy link

ligurio is integrating a new project:
- Main repo: https://github.com/ligurio/luzer
- Criticality score: 0.23719
ligurio is either the primary contact or is in the CCs list of projects/tarantool.
ligurio has previously contributed to projects/tarantool. The previous PR was #13379
ligurio is either the primary contact or is in the CCs list of projects/lua.
ligurio has previously contributed to projects/lua. The previous PR was #12685

The patch enables using luzer for fuzzing Lua projects in OSS-Fuzz.

sudo docker build infra/base-images/base-runner
sudo docker tag 12a7301c37b0 gcr.io/oss-fuzz-base/base-runner:latest

Usage:

sudo python infra/helper.py build_fuzzers lua-example
sudo python infra/helper.py check_build lua-example fuzz_basic
sudo python infra/helper.py run_fuzzer lua-example fuzz_basic

TODO

- Fix compile_lua_fuzzer-related text in documentation
- Describe using luzer for testing builtin Lua C modules
- Move projects/lua-example/compile_lua_fuzzer to infra?
- Remove projects/lua-example/luzer-scm-1.rockspec

Closes google#13782
sudo python infra/helper.py build_fuzzers lua
sudo python infra/helper.py check_build lua utf8_char_test
cd infra/base-images/base-runner/
sudo docker build -f ubuntu-24-04.Dockerfile -t gcr.io/oss-fuzz-base/base-runner:ubuntu-24-04 .

sudo python infra/helper.py build_fuzzers tarantool
sudo python infra/helper.py check_build tarantool decimal_new_test
sudo python infra/helper.py run_fuzzer tarantool decimal_new_test

/tmp/not-out/tmpl_6fepn3/tarantool: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory

Depends on google#13929
Depends on ligurio/luzer#74
@ligurio ligurio force-pushed the ligurio/test-tarantool-with-luzer branch from 36fbd6d to 34cfaeb Compare December 24, 2025 19:49
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.

1 participant