Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ligurio/tarantool-lua-api-tests
Fuzzing Tarantool Lua API
https://github.com/ligurio/tarantool-lua-api-tests
fuzzing lua luzer
Last synced: 6 days ago
JSON representation
Fuzzing Tarantool Lua API
- Host: GitHub
- URL: https://github.com/ligurio/tarantool-lua-api-tests
- Owner: ligurio
- License: mit
- Created: 2023-04-05T06:39:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-02T19:04:32.000Z (3 months ago)
- Last Synced: 2024-08-03T21:14:33.179Z (3 months ago)
- Topics: fuzzing, lua, luzer
- Language: Lua
- Homepage: https://github.com/ligurio/luzer
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Fuzzing Tarantool Lua API
Fuzzing tests for Tarantool built-in Lua modules -
https://www.tarantool.io/en/doc/latest/reference/reference_lua/### Usage
Build Tarantool:
```sh
$ CFLAGS="-fsanitize=fuzzer-no-link" LDFLAGS="-fsanitize=fuzzer-no-link" CC=clang CXX=clang++ cmake -S . -B build -DENABLE_BUNDLED_LIBCURL=OFF -DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=ON -DENABLE_BACKTRACE=OFF
$ cmake --build build --parallel
```Run tests:
```sh
$ luarocks --local install luzer
$ git clone https://github.com/ligurio/tarantool-corpus tests/tarantool-corpus
$ LSAN_OPTIONS=suppressions=$(pwd)/asan/lsan.supp ASAN_OPTIONS=heap_profile=0:unmap_shadow_on_exit=1:print_suppressions=0 tarantool tarantool_csv.lua
```