mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
build: Enable null sanitizer in the browser to avoid null derefs being okay
This commit is contained in:
@@ -40,6 +40,8 @@ if (EMSCRIPTEN)
|
||||
target_link_options(main PRIVATE -sWASM_BIGINT)
|
||||
target_link_options(main PRIVATE -O1)
|
||||
target_link_options(main PRIVATE -sLEGACY_GL_EMULATION)
|
||||
target_link_options(main PRIVATE -fsanitize=null)
|
||||
target_link_options(main PRIVATE -fsanitize-minimal-runtime)
|
||||
target_link_libraries(main PRIVATE idbfs.js)
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user