Right now, during the execution of the 'general' analysis, the #ifdef expressions get rewritten with following pattern. Make this configurable.
see: analyses/general.py, function _getFeatureSignature()
Example
#ifdefA&&B#ifdefC#endif#elifD#else#endif
gets
#ifdefA&&B#if (A&&B) &&C#endif#elif !(A&&B) &&D
#**elif !(A&&B)**&& !(D)
#endif
Enchancement Idea
This behavior should be configurable to influence the following scattering and tangling analyses to the user's requirements.
Like: --rewriteifdefs [yes | no]
yes- The #ifdef expressions get rewritten as described before
- This should be default, as it is the bahvior from previous studies.
no- No rewriting is performed.
- This yields no expression for an #else branch, for example!
Right now, during the execution of the 'general' analysis, the #ifdef expressions get rewritten with following pattern. Make this configurable.
see:
analyses/general.py, function_getFeatureSignature()Example
gets
Enchancement Idea
This behavior should be configurable to influence the following scattering and tangling analyses to the user's requirements.
Like:
--rewriteifdefs [yes | no]yesno