IBM Binary Prober
A tool for instrumenting binary executable files with user-supplied instrumentation code.
Date Posted: November 15, 2007
|
|
 |
 |
|
 |  Follow the instructions in README.txt (see FAQ No. 2) and make sure that /opt/bin is in your command path. | | |
 |  These are the instrumentation shared libraries, provided in the installation. As the README.txt file says, you must set the environment variable LD_LIBRARY_PATH to the directory containing them. | | |
 |  This is the instrumentation shared libraries, provided in the installation. As the README.txt file says, you must set the environment variable LIBPATH to the directory containing it. | | |
 |  IBM Binary Prober requires that the input contain relocation information. On AIX, relocation information is preserved by default, so avoid using the -strip linker option. On Linux, use the --emit-relocs (or -q) linker option to instruct the linker to preserve relocation information. To pass this option from the compiler to the linker, use the -Wl,-q option. | | |
 |  This problem is similar to those in No. 2 and No. 3. Check the appropriate library path on your system. | | |
 |  Currently, this feature is not supported. | | |
 |  In some cases where there are multiple names for a function (for example, in FORTRAN the function main may also get the name of the file containing it). Use another symbol located at the same address to identify the function for instrumentation. In addition, the -infp option can be used to ignore this error and continue IBM Binary Prober processing without instrumenting the function. | | |
 |  The C++ compiler mangles function names even for regular functions (that is, not methods in class). Therefore, you cannot use the name as it is in the source. To fix this problem, either check what the actual name of the function is or use extern "C" in the function definition so that the function name will not be mangled. | | |
 |  The Map_Dir.mp is part of the IBM Binary Prober installation. Ensure that the Perl library path (for example, PERL5LIB) is set to include /opt/lib.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
IBM, POWER, and AIX are trademarks of IBM Corporation in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
| |
|
|
 |
|
| |