摘要 |
In general, in one aspect, embodiments of the invention relate to a method for generating executable binary. The method includes analyzing a test executable binary generated from source code, wherein the source code comprises a plurality of functions, generating, based on analyzing the test executable binary, a code call tree comprising a plurality of call durations for the plurality of functions, and determining, using the code call tree, a function order of the plurality of functions. The method further includes generating, using the function order, a call tree order map, generating a call tree ordered executable binary using the source code and the call tree order map, and executing the call tree ordered executable binary on a processor. |
主权项 |
1. A method for generating executable binary comprising:
analyzing a test executable binary generated from source code, wherein the source code comprises a plurality of functions; generating, based on analyzing the test executable binary, a code call tree comprising a plurality of call durations for the plurality of functions; determining, using the code call tree, a function order of the plurality of functions; generating, using the function order, a call tree order map; generating a call tree ordered executable binary using the source code and the call tree order map; and executing the call tree ordered executable binary on a processor. |