c
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
c [2024/07/11 17:01] – nine | c [2025/02/20 12:47] (current) – [tsan] nine | ||
---|---|---|---|
Line 27: | Line 27: | ||
target_compile_options(< | target_compile_options(< | ||
target_link_options(< | target_link_options(< | ||
+ | |||
+ | ==== tsan ==== | ||
+ | |||
+ | Problem when executing a binary: | ||
+ | FATAL: ThreadSanitizer: | ||
+ | |||
+ | |||
+ | Sulution, disable ASLR for testing: | ||
+ | setarch --addr-no-randomize build/ | ||
+ | |||
+ | or: | ||
+ | sudo sysctl vm.mmap_rnd_bits=30 |
c.1720717307.txt.gz · Last modified: 2024/07/11 17:01 by nine