Mutator Header ----------------------------------- *** dyninstAPI test2... $Dyninst: v4.0-006 test2 #0 2003/05/31 04:38 dyninst@mashie libdyninstAPI.so => /export/home/mashie/dyninst/current/lib/sparc-sun-solaris2.8/libdyninstAPI.so libelf.so.1 => /usr/lib/libelf.so.1 libstdc++.so.5 => /homes/rchen/local/gcc-3.2.2/lib/libstdc++.so.5 libm.so.1 => /usr/lib/libm.so.1 libgcc_s.so.1 => /homes/rchen/local/gcc-3.2.2/lib/libgcc_s.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 Mutatee Header ----------------------------------- [Tests with test2.mutatee_CC] -rwxr-xr-x 1 dyninst misc5 18936 May 31 04:41 test2.mutatee_CC* libdl.so.1 => /usr/lib/libdl.so.1 libCrun.so.1 => /usr/lib/libCrun.so.1 libm.so.1 => /usr/lib/libm.so.1 libw.so.1 => /usr/lib/libw.so.1 libc.so.1 => /usr/lib/libc.so.1 /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 Mutatee ./test2.mutatee_CC [C++]:"CC:_Sun_WorkShop_6_update_2_C++_5.3_2001/05/15" Test Results ------------------------------------- "test2 -relocate -mutatee test2.mutatee_CC" $Dyninst: v4.0-006 libdyninstAPI #0 2003/05/31 04:36 dyninst@mashie $ DYNINSTAPI_RT_LIB=/export/home/mashie/dyninst/current/lib/sparc-sun-solaris2.8/libdyninstAPI_RT.so.1 Unable to parse target image Process is NULL! Unable to parse target image Process is NULL! (2) attachProcess failed Passed test #1 (run an executable that does not exist) Passed test #2 (try to execute a file that is not a valid program) Passed test #3 (attach to an invalid pid) Passed test #4 (attach to a protected pid) ERROR: Unrecognized str = Ys16__FILE;;CcE_cnt:(0,21),0,32;CcE_ptr:(0,22)=*(0,6),32,32;CcF_base:(0,22),64,32;CcF_flag:(0,6),96,8;CcF_file:(0,6),104,8;CcN__orientation:(0,8),112,2;CcK__ionolock:(0,8),114,1;CcI__filler:(0,8),115,5;;;;;;;;;000; ERROR: Unrecognized str = Yn0std; Stab string parsing ERROR!! More to parse: ;(0,3) Unknown symbol descriptor: E : __iob:E(0,34)=ar(0,3);0;19;(0,20) Stab string parsing ERROR!! More to parse: E(0,34)=ar(0,3);0;19;(0,20) Unknown symbol descriptor: E : __ctype:E(0,35)=ar(0,3);0;-1;(0,6) Stab string parsing ERROR!! More to parse: E(0,35)=ar(0,3);0;-1;(0,6) DYNINSTloadLibrary -- dlopen: Error 0 ../src/RTsolaris.c[253]: ld.so.1: test2.mutatee_CC: fatal: noSuchLibrary.Ever: open failed: No such file or directory ld.so.1: test2.mutatee_CC: fatal: noSuchLibrary.Ever: open failed: No such file or directory Error #100 (level 1): Image: Unable to find function: NoSuchFunction Passed test #5 (look up nonexistent function) Passed test #6 (load a dynamically linked library from the mutatee) Passed test #7 (load a dynamically linked library from the mutator) Passed test #8 (BPatch_breakPointExpr) Passed test #9 (dump core but do not terminate) Passed test #10 (dump image) Passed test #11 (getDisplacedInstructions) Passed test #12 (BPatch_point query funcs) Passed test #13 (dlopen failure test: ld.so.1: test2.mutatee_CC: fatal: noSuchLibrary.Ever: open failed: No such file or directory) Passed test #14 (delete thread) All tests passed