diff options
Diffstat (limited to 'Carpet/CarpetLib/param.ccl')
-rw-r--r-- | Carpet/CarpetLib/param.ccl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl index 541ec2f49..5f1d23b82 100644 --- a/Carpet/CarpetLib/param.ccl +++ b/Carpet/CarpetLib/param.ccl @@ -76,6 +76,15 @@ BOOLEAN poison_new_memory "Try to catch uninitialised data by setting newly allo { } "no" +BOOLEAN electric_fence "Surround each allocated memory block by canaries to check for out-of-bounds accesses" STEERABLE=recover +{ +} "no" + +CCTK_INT fence_width "number of guard cells to use" STEERABLE=recover +{ + 1:* :: "any number of cells" +} 1 + RESTRICTED: CCTK_INT poison_value "Integer value (0..255) used to poison new timelevels (with memset)" STEERABLE=always |