Skip to content

tests/capi: dump Lua samples#166

Open
ligurio wants to merge 1 commit intomasterfrom
ligurio/gh-xxxx-dump-lua-corpus
Open

tests/capi: dump Lua samples#166
ligurio wants to merge 1 commit intomasterfrom
ligurio/gh-xxxx-dump-lua-corpus

Conversation

@ligurio
Copy link
Copy Markdown
Owner

@ligurio ligurio commented Jan 19, 2026

No description provided.

mkdir /tmp/corpus
RUNS=1 ctest -R luaL_loadbuffer_proto_test --verbose

/home/sergeyb/sources/lua-c-api-tests/build/tests/capi/luaL_loadbuffer_proto/luaL_loadbuffer_proto_test -print_final_stats=1 -print_pcs=1 -reduce_inputs=1 -reload=1 -runs=1 -workers=22  -timeout=5 -jobs=5 /home/sergeyb/sources/lua-c-api-tests/corpus/corpus/luaL_loadbuffer_proto_test

LUA_FUZZER_VERBOSE=1 LPM_DUMP_NATIVE_INPUT=1 /home/sergeyb/sources/lua-c-api-tests/build/tests/capi/luaL_loadbuffer_proto/luaL_loadbuffer_proto_test -print_final_stats=1 -print_pcs=1 -reduce_inputs=1 -reload=1 -runs=1 -workers=22  -timeout=5 /home/sergeyb/sources/lua-c-api-tests/corpus/corpus/luaL_loadbuffer_proto_test 2>&1 | tee log.txt

```
mkdir /tmp/lua-corpus/
go install github.com/yuin/gopher-lua/cmd/glua
stat $GOPATH/bin/glua
for f in /tmp/lua-corpus/*; do echo $f; glua $f; done
```
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