core: Introduce chaos into memory allocations
[asterisk/asterisk.git] / build_tools / cflags.xml
index 082e8e6..49a3547 100644 (file)
                <member name="MALLOC_DEBUG" displayname="Keep Track of Memory Allocations">
                        <support_level>core</support_level>
                </member>
                <member name="MALLOC_DEBUG" displayname="Keep Track of Memory Allocations">
                        <support_level>core</support_level>
                </member>
+               <member name="DEBUG_CHAOS" displayname="Randomly FAIL memory allocations or other operations">
+                       <conflict>MALLOC_DEBUG</conflict>
+                       <support_level>core</support_level>
+               </member>
                <member name="BUSYDETECT_TONEONLY" displayname="Enable additional comparision of only the tone duration not the silence part">
                        <conflict>BUSYDETECT_COMPARE_TONE_AND_SILENCE</conflict>
                        <defaultenabled>no</defaultenabled>
                <member name="BUSYDETECT_TONEONLY" displayname="Enable additional comparision of only the tone duration not the silence part">
                        <conflict>BUSYDETECT_COMPARE_TONE_AND_SILENCE</conflict>
                        <defaultenabled>no</defaultenabled>