After a bit more searching, I decided to give the compiler hard work.
Get a compiler to create a Register Transfer Language (RTL) file using the -dr gcc options.
The resulting RTL file has the suffix .rtl or .expand.
This file is much easier to parse because function calls are already identified.
source
share