You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It finds the Lua header for the 5.1 version but links with the version 5.4.
As a result, the custom mutator library can't be preloaded:
LD_PRELOAD="/home/burii/reviews/ligurio-luzer/ligurio-luzer/build/luzer/libcustom_mutator.so.1" ls
ls: symbol lookup error: /home/burii/reviews/ligurio-luzer/ligurio-luzer/build/luzer/libcustom_mutator.so.1: undefined symbol: lua_objlen
It results in the following test failures when run by Lua 5.4 binary:
$ ctest -V --test-dir build -R luzer_custom_mutator_example
...
7: /usr/bin/lua5.4: ...burii/reviews/ligurio-luzer/ligurio-luzer/luzer/init.lua:48: function LLVMFuzzerCustomMutator is not available
7: stack traceback:
7: [C]: in function 'luzer_impl.Fuzz'
7: ...burii/reviews/ligurio-luzer/ligurio-luzer/luzer/init.lua:48: in function 'luzer.Fuzz'
7: ...-luzer/ligurio-luzer/examples/example_custom_mutator.lua:29: in main chunk
7: [C]: in ?
1/1 Test #7: luzer_custom_mutator_example .....***Failed Required regular expression not found. Regex=[example_custom_mutator.lua:19: assert has triggered
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I have the following Lua versions installed on my machine:
The mixed part is the custom mutator library, which uses
lua_objlen()
which is renamed to thelua_rawlen()
since Lua 5.2.As I noticed, when I build luzer like the following:
It finds the Lua header for the 5.1 version but links with the version 5.4.
As a result, the custom mutator library can't be
preloaded:It results in the following test failures when run by Lua 5.4 binary:
The text was updated successfully, but these errors were encountered: