Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I instrument a program that relies on multiple executables (.exe files)?

0
Posted

How do I instrument a program that relies on multiple executables (.exe files)?

0

The key in getting this to work is that these applications typically need to share copies of one or more DLLs. This means that instrumenting the executables in different project directories would not work, as each project directory will contain its own private copy of the instrumented DLL. You can cause the executables to share DLLs simply having them share the same project directory. Note: In the current version of the Etch Call Graph Profiler, you will only get output for the last executable to terminate. Suppose we have two programs, helper.exe and master.exe, where running master.exe causes the execution of helper.exe as a helper process. Frequently, the two programs communicate through common DLLs. Etch must determine the set of DLLs used by both helper.exe and master.exe. The specific steps we need to follow for helper.exe and master.

0

The key in getting this to work is that these applications typically need to share copies of one or more DLLs. This means that instrumenting the executables in different project directories would not work, as each project directory will contain its own private copy of the instrumented DLL. You can cause the executables to share DLLs simply having them share the same project directory. Note: In the current version of the Etch Call Graph Profiler, you will only get output for the last executable to terminate. Suppose we have two programs, helper.exe and master.exe, where running master.exe causes the execution of helper.exe as a helper process. Frequently, the two programs communicate through common DLLs. Etch must determine the set of DLLs used by both helper.exe and master.exe.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123