Date: | Tue, 31 Mar 2009 22:52:22 +0530 (IST) |
---|---|
From: | alok singh <alok_shishir@xxxxxxxxxxx> |
Subject: | Re: [DynInst_API:] Stack protection error on ubuntu |
Sorry Rishikesh I am not sure what could be the cause of your problem. It looks like a problem with the installation. By the way, I looked at your program and saw that you used bpatch.processCreate() and bpatch.processAttach(). I remember being advised on this mailing list earlier to use bpatch.createProcess() and bpatch.attachProcess() instead. I just looked at one of my old dyninst programs and found this initialization: appProc = bpatch.createProcess("/home/alok/Documents/Dyninst/simple", NULL, NULL, 0, 1, 2);You can try making this change, although I doubt if it will solve the problem. If you want to test your installation with my small test programs, let me know. From: Rishikesh Naik <rishinaik9@xxxxxxxxx> To: alok singh <alok_shishir@xxxxxxxxxxx> Cc: dyninst-api@xxxxxxxxxxx Sent: Sunday, 29 March, 2009 4:21:41 PM Subject: Re: [DynInst_API:] Stack protection error on ubuntu Hi Alok, Thanks a lot for quick response! Yes. I have exported all environment variables in bashrc file as said in README. export DYNINST_ROOT=/home/dyninst/dyninstAPI/src
export PLATFORM=i386-unknown-linux2.4 export LD_LIBRARY_PATH=/home/dyninst/dyninstAPI/src/i386-unknown-linux2.4/lib:/usr/local/lib/: export DYNINSTAPI_RT_LIB=${DYNINST_ROOT}/${PLATFORM}/lib/libdyninstAPI_RT.so.1
export DYNINST_CORE=${DYNINST_ROOT}/core export DYNINST_HEADERS=${DYNINST_ROOT}/include export DYNINST_LIBS=${DYNINST_ROOT}/${PLATFORM}/lib rishi@box1:~$ ./exec 30688 Failed to find _dl_open process.C[2484]: FIXME: loadDYNINSTlib failed rishi@box1:~$ export LD_PRELOAD=/home/dyninst/dyninstAPI/src/i386-unknown-linux2.4/lib/libdyninstAPI_RT.so.1
rishi@box1:~$ ./exec 30688 ./exec: symbol lookup error: /home/dyninst/dyninstAPI/src/i386-unknown-linux2.4/lib/libdyninstAPI_RT.so.1: undefined symbol: __stack_chk_fail_local I am attaching the mutator program with this email. Program fails in process attachment/ process creation part. Thanks again.
Looking forward to your reply..
-Rishikesh
On Sun, Mar 29, 2009 at 2:55 AM, alok singh <alok_shishir@xxxxxxxxxxx> wrote:
Get rid of Add-Ons in your email ID. Get yourname@xxxxxxxxxxxxxxx Sign up now! |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [DynInst_API:] Stack protection error on ubuntu, Rishikesh Naik |
---|---|
Next by Date: | Re: [DynInst_API:] Stack protection error on ubuntu, Rishikesh Naik |
Previous by Thread: | Re: [DynInst_API:] Stack protection error on ubuntu, Rishikesh Naik |
Next by Thread: | Re: [DynInst_API:] Stack protection error on ubuntu, Rishikesh Naik |
Indexes: | [Date] [Thread] |