Language Selection

English French German Italian Portuguese Spanish

New tiny project: lddsafe

Filed under
Software

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

Open source data integration with Karma

Karma is a free, an open source data integration tool that makes it easy to convert data from a variety of formats into linked data. I recently attended a half-day workshop on Karma with Pedro Szekely, our instructor. He started by warning us that he knows very little about libraries, but a ton about data. The files we needed for the workshop were on GitHub, if you’re interested in checking it out. You can follow the tutorial steps on the Wiki, and, of course, you can find Karma itself on GitHub. Read more

Linux Kernel 2.6.32.66 LTS Brings x86, Networking, and File Systems Improvements

Willy Tarreau, the maintainer of the 2.6 kernel branch, announced a few minutes ago the immediate availability for download of the sixty-six maintenance release of Linux kernel 2.6.32 LTS. Read more

elementary OS "Freya" Finally Gets Custom Keyboard Shortcuts

elementary OS "Freya" has been out for some time now, but developers are still adding features to it despite the fact that it has been dubbed stable. Now, users have the option to define custom keyboard shortcuts, which was a very sought after feature. Read more

A Linux proud history – 15 years ago and the Brazilian ATM

The history i want to share with you is how that “marble Tux” happens. Yes, it was a production machine that you see in the picture and was running in every place in Brazil for at least 10 years. So, a 25 years old boy, in this case me, the guy typing now, who was working in a ILOG graphical toolkit partner suddenly decide to look for Linux jobs, it was out of university for 1 year, but was already infected for the open source and Linux for more than 3 years, and thought it can be done. Read more