ldd shows varied addresses on x86 Linux

前端 未结 1 2100
陌清茗
陌清茗 2021-02-20 13:09

I am using ldd to show the dynamic library on Fedora/x86, and it shows different results each time it is used.

Is that expected? Or is there an explanation

1条回答
  •  走了就别回头了
    2021-02-20 13:51

    Fedora uses address space randomization as part of its various security measures. ldd works by actually loading the shared objects and showing where they end up. Putting the two together results in the given observations.

    0 讨论(0)
提交回复
热议问题