kgraft-analysis-tool is a simple tool capable of showing IPA cloning decisions made by modified version of the GCC compiler: https://github.com/marxin/gcc/tree/dump-ipa-clones
Having a modifed function foo, the tool displays all functions that can be affected by a change applied to the function foo. The most common case is propagation via inlining, however there are another IPA passes (IPA split, IPA constant propagation, etc.) that can be eventually generate clones that are inlined to a function.
Github link: https://github.com/marxin/kgraft-analysis-tool
Looking for mad skills in:
This project is part of:
Hack Week 13