diff options
Diffstat (limited to 'spec/rtems/basedefs/req/obfuscate-variable-0.yml')
-rw-r--r-- | spec/rtems/basedefs/req/obfuscate-variable-0.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/obfuscate-variable-0.yml b/spec/rtems/basedefs/req/obfuscate-variable-0.yml new file mode 100644 index 00000000..11a132d9 --- /dev/null +++ b/spec/rtems/basedefs/req/obfuscate-variable-0.yml @@ -0,0 +1,20 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: requirement-refinement + uid: ../if/obfuscate-variable +non-functional-type: interface +rationale: null +references: [] +requirement-type: non-functional +text: | + When the code is compiled with the GNU C compiler, + and argument ${../if/obfuscate-variable:/params[0]/name} + is an automatic variable or function argument, + and the value of that variable or function argument is of a type + which fits into a register, + the ${../if/obfuscate-variable:/name} macro shall prevent the compiler + from performing optimizations based on the variable value. +type: requirement |