On Wed, Jul 11, 2012 at 4:16 AM, Aziz <[email protected]> wrote:

> Hi,
>
> So should I leave out -static flag on compilation? How to resolve library
> related issues like version mismatch?
>
> Try setting 'LD_TRACE_LOADED_OBJECTS=1' to get list of library mappings.
 I found this option from
http://stackoverflow.com/questions/5130654/when-how-does-linux-load-shared-libraries-into-address-space
(1st answer).  It also mentions that using 'ldd' will also show same
mappings.  On top of that this answer talks about some ASLR feature, so
please checkout more information on this feature to make sure that
libraries are loaded at same addresses.

- Avadh

Thanks
>
>
> On Sun, Jul 8, 2012 at 4:22 AM, Furat Afram <[email protected]> wrote:
>
>> Hi
>> these look like a vdso addresses to me. /prco/[pid]/maps shows vdso
>> memory location the problem is the kernel randomize the location of vdso
>> -Furat
>>
>> On Sat, Jul 7, 2012 at 6:41 PM, Aziz <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> When I asked about ptl_rip_trace outputs, Avadh said that  the
>>> addresses starting from 7fff are from some shared library. To find rip
>>> traces from shared library, he suggested to compile with -static flag.
>>>
>>> I want to obtain which instruction (in the assembly code that I obtained
>>> using objdump -d) refers to the rip address in the ptl_rip_trace file. But,
>>> even though I compile the executables with -static flag, for the rip
>>> addresses starting with 7fff, I cannot get which instructions they refer
>>> to. I tried to use ermine tool (which is a tool that makes portable
>>> applications by including shared libraries in executable) for that, but
>>> could not set it up correctly. Can you help me to match the rip addresses
>>> starting with 7fff to the corresponding instruction?
>>>
>>> Thanks,
>>> Aziz
>>>
>>>
>>> _______________________________________________
>>> http://www.marss86.org
>>> Marss86-Devel mailing list
>>> [email protected]
>>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>>
>>>
>>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to