summaryrefslogblamecommitdiffstats
path: root/spec/rtems/basedefs/req/obfuscate-variable-0.yml
blob: 2ed45cc5c9f13016ab5f06e5f698ed1c0c048c47 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                     
                                                  
                
                         
      
                          
                               

               
                            








                                                                        
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/obfuscate-variable
rationale: null
references: []
requirement-type: 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