Project: lua

Language c
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 16
Lines of code 89092
Lines covered 26497
Code coverage 29.74%
Code coverage report Report link
Static reachability 77.01%
Fuzz Introspector report Report link (from 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
fuzz_lua 65.31% (avg: 65.38%, max: 65.89%) 2025-03-27
lua_dump_test 48.95% (avg: 48.98%, max: 49.04%) 2025-03-27
lua_load_test 75.33% (avg: 75.1%, max: 75.99%) 2025-03-27
lua_stringtonumber_test 6.39% (avg: 6.37%, max: 6.39%) 2025-03-27
luaL_addgsub_test 17.48% (avg: 17.47%, max: 17.54%) 2025-03-27
luaL_buffaddr_test 17.23% (avg: 17.17%, max: 17.3%) 2025-03-27
luaL_bufflen_test 17.08% (avg: 17.18%, max: 17.3%) 2025-03-27
luaL_buffsub_test 17.24% (avg: 17.22%, max: 17.31%) 2025-03-27
luaL_dostring_test 87.26% (avg: 86.92%, max: 87.28%) 2025-03-27
luaL_gsub_test 17.68% (avg: 17.61%, max: 17.69%) 2025-03-27
luaL_loadbuffer_proto_test 25.59% (avg: 26.04%, max: 26.51%) 2025-03-27
luaL_loadbuffer_test 70.5% (avg: 70.08%, max: 70.67%) 2025-03-27
luaL_loadbufferx_test 47.13% (avg: 47.18%, max: 47.25%) 2025-03-27
luaL_loadstring_test 84.79% (avg: 85.55%, max: 87.91%) 2025-03-27
luaL_traceback_test 17.58% (avg: 17.46%, max: 17.58%) 2025-03-27
torture_test 43.2% (avg: 43.13%, max: 43.27%) 2025-03-27

Historical Progression

Per Fuzzer Progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
loadfunc /src/testdir/build/lua-master/source/loadlib.c 5563 0.0%
ll_loadlib /src/testdir/build/lua-master/source/loadlib.c 5464 0.0%
db_upvaluejoin /src/testdir/build/lua-master/source/ldblib.c 5371 0.0%
db_setuservalue /src/testdir/build/lua-master/source/ldblib.c 5371 0.0%
codepoint /src/testdir/build/lua-master/source/lutf8lib.c 5366 0.0%
db_getuservalue /src/testdir/build/lua-master/source/ldblib.c 5364 0.0%
tcreate /src/testdir/build/lua-master/source/ltablib.c 5349 0.0%
io_pclose /src/testdir/build/lua-master/source/liolib.c 5347 0.0%
iter_auxlax /src/testdir/build/lua-master/source/lutf8lib.c 5342 0.0%
math_ult /src/testdir/build/lua-master/source/lmathlib.c 5332 0.0%