https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123155

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Object-like macro arguments don't need to be obfuscated and in most cases they
are not.
grep '#[[:blank:]]*define[[:blank:]]*[a-zA-Z_0-9]\+([A-Za-z]' *intrin.h | wc -l
1928
grep '#[[:blank:]]*define[[:blank:]]*[a-zA-Z_0-9]\+([^A-Za-z]' *intrin.h | wc
-l
11
Similarly for glibc headers
rpm -ql glibc-headers-x86 | grep '\.h$' | xargs grep
'#[[:blank:]]*define[[:blank:]]*[a-zA-Z_0-9]\+([A-Za-z]' | wc -l
1161
rpm -ql glibc-headers-x86 | grep '\.h$' | xargs grep
'#[[:blank:]]*define[[:blank:]]*[a-zA-Z_0-9]\+([^A-Za-z]' | wc -l
38
It is just arguments in function declarations or automatic variables in inline
functions etc. that need to be obfuscated.

Reply via email to