summaryrefslogtreecommitdiffstats
path: root/spec/acfg/if/malloc-dirty.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acfg/if/malloc-dirty.yml')
-rw-r--r--spec/acfg/if/malloc-dirty.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/acfg/if/malloc-dirty.yml b/spec/acfg/if/malloc-dirty.yml
new file mode 100644
index 00000000..704bc046
--- /dev/null
+++ b/spec/acfg/if/malloc-dirty.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+appl-config-option-type: feature-enable
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+description: |
+ In case this configuration option is defined, then each memory area returned
+ by C Program Heap allocator functions such as ${/c/if/malloc:/name} is dirtied
+ with a ``0xCF`` byte pattern before it is handed over to the application.
+enabled-by: true
+index-entries: []
+interface-type: appl-config-option
+links:
+- role: appl-config-group-member
+ uid: group-general
+name: CONFIGURE_MALLOC_DIRTY
+notes: |
+ The dirtying performed by this option is carried out for each successful
+ memory allocation from the C Program Heap in contrast to
+ ${dirty-memory:/name} which dirties the memory only once during the
+ system initialization.
+text: ''
+type: interface