mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Make sanitizer question in ./Config not only enable ASan but also UBSan
(both AddressSanitizer and UndefinedBehaviorSanitizer)
This previously helped finding 8c26cec5fc
Also update the ./Config text a bit, eg about ASan not running OK on FreeBSD,
which only affects <14.2 as per https://bugs.unrealircd.org/view.php?id=6470#c23412
This commit is contained in:
@@ -847,13 +847,13 @@ while [ -z "$TEST" ] ; do
|
||||
fi
|
||||
echo ""
|
||||
echo "Are you running UnrealIRCd as a test, debugging a problem or developing a module?"
|
||||
echo "Then it is possible to run with AddressSanitizer enabled. This will make it"
|
||||
echo "catch bugs such as out-of-bounds and other memory corruption issues, which can"
|
||||
echo "be really helpful in some cases. The downside is that it will consume a lot"
|
||||
echo "more memory and run slower too. So, only answer 'Yes' if you are OK with this."
|
||||
echo "Also, on some systems (notably FreeBSD), when you enable AddressSanitizer,"
|
||||
echo "UnrealIRCd may fail to start. So when in doubt, answer 'No'."
|
||||
echo "Do you want to enable AddressSanitizer?"
|
||||
echo "Then it is possible to run with AddressSanitizer and UndefinedBehaviorSanitizer"
|
||||
echo "enabled. This will catch bugs, such as out-of-bounds and other memory corruption"
|
||||
echo "issues, which can be really helpful in some cases. The downside is that it will"
|
||||
echo "consume a lot more memory and run slower too. So, only answer 'Yes' if you are"
|
||||
echo "OK with this. Also, on some systems (notably FreeBSD <14.2), when you enable"
|
||||
echo "this UnrealIRCd may fail to start. So when in doubt, answer 'No'."
|
||||
echo "Do you want to enable AddressSanitizer & UndefinedBehaviorSanitizer?"
|
||||
echo $n "[$TEST] -> $c"
|
||||
read cc
|
||||
if [ -z "$cc" ] ; then
|
||||
|
||||
Reference in New Issue
Block a user