Commits
- Commit:
fc85bea6524972929ba86f69e0c586d6284bf423
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: disable Lua tracing
Related to #18
- Commit:
f5ea5fd43837143fa043628d65903bdd2c319447
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: break is not needed
- Commit:
9ff575b67ce2a8f46dd0e3dc76dc65337c368a5c
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: manage debug hook in a fuzzing function
Enable Lua debug hook right before calling
`TestOneInput` function and disable it right after returning from
`TestOneInput`.
- Commit:
c710146e7dab72fe8424e864a3884263dce4a194
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
cmake: set default test timeout in preset
1. https://cmake.org/cmake/help/latest/prop_test/TIMEOUT.html
2. https://cmake.org/cmake/help/latest/manual/ctest.1.html#cmdoption-ctest-timeout
- Commit:
3cb1ed388e38eba952c7bf58e6189ef3d9b4b011
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: replace luaL_error with abort
We cannot use `luaL_error` if Lua state is not initialized.
- Commit:
069045d59af704cf8f0bf27432436e27b5712ede
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: fix stack overflow due to recursive traceback
Lua 5.1 has no support of `luaL_traceback` function. Previously,
it was implemented using Lua function `debug.traceback` and this
leads to recursive calls and finished with stack overflow.
The patch backports implementation of `luaL_traceback` from a late
Lua versions.
- Commit:
442f7ad87d59fba01c2e517a75032dfb69ccbd4b
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: add missed newlines to messages
- Commit:
56a8fd4062e5dfad2402c59acf210cb64eec4991
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
cmake: fix searching Clang RT
luzer module requires linking with a library
`clang_rt.fuzzer_no_main-x86_64` that is a part of a Clang runtime.
Without linking with it Lua runtime will report an error right on
loading `luzer.so`:
lua5.1: error loading module 'luzer' from file './luzer.so':
./luzer.so: undefined symbol: __sanitizer_cov_8bit_counters_init
The patch adds a module that composes a path to Clang runtime libraries
and adds this path to a library search paths. I suppose in some cases
introduced CMake function may fail. One can pass a path to a directory
with Clang RT manually using environment variable CLANG_RT_LIB_DIR.
In a usual case symbol __sanitizer_cov_8bit_counters_init is added by
compiler on instrumentation when compiler option
-fsanitize-coverage=inline-8bit-counters is specified [1].
1. https://clang.llvm.org/docs/SanitizerCoverage.html
- Commit:
e0ad4cdfda579f7d61ea90428257e0f5d82d86ce
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
ci: fix clang version inconsistency
Fixes #15
- Commit:
f37950549bca59330117cbb44943b1984ab98b2c
- From:
- Alex Zanegin <10143657+azanegin@users.noreply.github.com>
- Via:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: disable instrumentation of internal functions
Before this commit, internal functions were marked with
attributes to protect them from Address Sanitizer.
This was meant that Clang still instrumented code with
coverage collection, slowing down hot path AND unstabilizing
fuzzing process by damaging real coverage target.
Fixes #11
- Commit:
0179547ff0fefbc18aee2372d0fed63784e9b4dd
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: fix undefined symbol on loading module
Fixes #6
- Commit:
45231c6008e40c95016e9f7f8abef6b45b006b1f
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
mutator: get rid of custom libFuzzer mutator
libFuzzer custom mutator for Lua has been moved to lua-c-api-tests [1].
1. https://github.com/ligurio/lua-c-api-tests
- Commit:
91af5ba5deda63dfb9987465ef2d2522fd2cacc8
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
docs: add a page with trophies
- Commit:
8254053b6e9cb2e284eea2ffab401515fc649313
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
doc: update a list of build dependencies
- Commit:
d9e60b573418557eb8efd1dc9e95eb60a9a52b42
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
readme: add examples
- Commit:
1b0b524762382652ac89ae52a82b72387f79de5a
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: update a message
- Commit:
8cc47726a9c9d75f17a7673168224cbc36fb1f18
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
luzer: fix code style
- Commit:
866620fa24df71769cd51aa1ae2e2639add7b6f5
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Date:
ci: update publishing steps
- Commit:
a5dd3271b298ba46f50a8a47603c7c84ff736be3
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Via:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
docs: add an initial version
- Commit:
0d927a36f0b8d71f12717eb1a7327cfc42a6a51c
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Via:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
examples: add an initial version
- Commit:
847dd20811eb947fa67fb6e3c076f815f80d1a51
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Via:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
mutator: add an initial version
- Commit:
e52d181485a11b13f0951adb604e18be363ab8c9
- From:
- Sergey Bronnikov <estetus@gmail.com>
- Via:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
Initial version