Language Selection

English French German Italian Portuguese Spanish

New tiny project: lddsafe

Filed under

Some days ago we could all read that “ldd”, a tool which prints shared library dependencies, should not be run on untrusted binaries. I read it first on Hacker News and later it hit Slashdot’s frontpage. In some operating systems, this is stated clearly in the man page for the program, while in others it’s not mentioned at all. I belonged to the camp that didn’t know about it and I was a bit surprised. I supposed ldd was doing its job by examining the binary file and not by running it setting some special environment variables.

A Hacker News user, anyway, pointed out something interesting. You can easily get information about the needed shared library dependencies for a program or library using “objdump”, so I spent a few hours writing and tweaking a small script called lddsafe that prints almost the same information as “ldd” using “objdump” and avoiding the security problems, as it doesn’t have to run the program.

Rest Here

More in Tux Machines

Gentoo-Based Sabayon Linux 15.12 Is Out, Raspberry Pi 2 Version Incoming

Sabayon Linux 15.12 is an operating system designed for Linux enthusiasts who want the latest packages and the best performance. This is a system based on Gentoo, a system known for its reliability. Read more

Radeon DRM Linux 4.4 + Mesa 11.1 + DRI3 vs. AMD's Proprietary Driver

On Friday I posted benchmarks showing Nouveau's re-clocked performance relative to NVIDIA's proprietary driver for showing the performance potential of NVIDIA's GeForce GTX 600/700 series with the performance state code there beginning to work. That article was followed by AMDGPU driver tests on Linux 4.4 against Catalyst for the newest AMD GPU tech that uses this newer Direct Rendering Manager driver. The third test now is comparing the Radeon DRM performance on Linux 4.4 against AMD's binary blob when using older AMD GCN GPUs as well as a Northern Islands GPU for reference. Read more

Would stock Android make you more likely to buy a Chinese smartphone?

Huawei, like any manufacturer that puts time and effort into a software layer of unique features and enhancements, believes wholeheartedly in the value its interface adds to the core Android experience. As Android nerds, we naturally tend to gravitate toward a stock experience that we can customize ourselves, but we are also aware that we are hardly representative of 'average' smartphone consumers. Read more