Comments (4)
One solution is to build LuaJIT twice:
- run plain build to compile
buildvm
without any sanitizer - remove build files only on the
src
folder (rm *.o *.a
) to keep thebuildvm
- build again, now with sanitizers
from lua-c-api-tests.
By the way, thank you for all the work put on this project!
Really well done!
from lua-c-api-tests.
Building LuaJIT with address sanitizer is not working.
It is really so, but neither oss-fuzz nor oss-sydr-fuzz doesn't use fuzzing of LuaJIT with ASAN.
However, thanks for your suggestion, I'll try to make a patch for that.
from lua-c-api-tests.
The title of the issue reports a problem on building with ASAN, but the description contains a command-line with both ENABLE_ASAN=ON
and ENABLE_UBSAN
. This ticket is about fixing ASAN, not UBSAN.
from lua-c-api-tests.
Related Issues (12)
- Assert is triggered in luaL_addgsub_test: Assertion `((B)->b != (B)->init.b) ? lua_touserdata(B->L, boxidx) != ((void*)0) : lua_touserdata(B->L, boxidx) == (void*)B' failed. HOT 2
- Fuzzing build failure with AFL
- Pass syntax-correct data to lua_loadstring
- Fuzzing build failure HOT 1
- Memory leaks in Lua: luaL_addgsub, luaL_gsub, luaL_loadbuffer HOT 1
- heap-use-after-free is found by luaL_loadbufferx_test
- [OSS Fuzz] Building of luaL_loadbuffer_proto_test is broken on aarch64 HOT 2
- Generated Lua program produce an error: `variable '(for state)' got a non-closable value`
- Generated Lua program produce an error: `'for' step is zero`
- Generated Lua program produce an error: `attempt to assign to const variable 'i'`
- `luaL_loadbuffer_proto_test` often fails due to OOM HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-c-api-tests.