LWN: Comments on "Fuzz and strings" https://lwn.net/Articles/621682/ This is a special feed containing comments posted to the individual LWN article titled "Fuzz and strings". en-us Sun, 28 Sep 2025 07:53:05 +0000 Sun, 28 Sep 2025 07:53:05 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net --all option to choose to do less extra stuff? https://lwn.net/Articles/624541/ https://lwn.net/Articles/624541/ mpr22 <blockquote>How can an option named "--all" sensibly mean "don't use all of the extra capabilities"?</blockquote> <p>When it means "print all the strings" instead of "print some of the strings".</p> Thu, 04 Dec 2014 15:48:22 +0000 --all option to choose to do less extra stuff? https://lwn.net/Articles/624533/ https://lwn.net/Articles/624533/ perlwolf <div class="FormattedComment"> How can an option named "--all" sensibly mean "don't use all of the extra capabilities"? I'd expect a --all option to "turn on everything" not "turn off the binary stuff".<br> </div> Thu, 04 Dec 2014 15:23:27 +0000 Fuzz and strings https://lwn.net/Articles/622755/ https://lwn.net/Articles/622755/ jwilk <div class="FormattedComment"> -a/--all will be default in binutils 2.25:<br> <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=7fac9594c41a">https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;...</a><br> <p> </div> Sat, 22 Nov 2014 19:34:50 +0000 Fuzz and strings https://lwn.net/Articles/622497/ https://lwn.net/Articles/622497/ oever <div class="FormattedComment"> Yes, there is a more efficient way to do that. You can make that command roughly 8x faster by using + instead of \;. Also, you do not need to escape the {}.<br> <p>   find . -type f -name '*.txt' -exec grep foobar {} +<br> <p> The difference between \; and + is that \; runs the command for each file, while + uses as many arguments as will fit in 128k bytes.<br> <p>   find ~ -type f -exec bash -c 'echo $#' {} +<br> <p> </div> Fri, 21 Nov 2014 09:51:04 +0000 Fuzz and strings https://lwn.net/Articles/622437/ https://lwn.net/Articles/622437/ raven667 <div class="FormattedComment"> There is a weird dumbbell curve where efficiency matters a lot for small battery powered systems decreasing as battery power increases, very little for single-user desktops and high powered servers, and then very much again in large environments with consolidation and virtualization.<br> <p> My co-worker has a funny story from when they managed a team in the late '90s, a developer wanted to write software in a high-level language like C++ or something to save half the time and their response was that even if the developer saved half the time, but the thousands of deployed systems required a ram upgrade of $1k each that this would pay for a developer several times over to make the software more efficient and they don't have time or money to do re-work or deploy upgrades so please just make it efficient the first time though kthxbye.<br> </div> Fri, 21 Nov 2014 00:22:00 +0000 Fuzz and strings https://lwn.net/Articles/622373/ https://lwn.net/Articles/622373/ dlang <div class="FormattedComment"> <font class="QuotedText">&gt; May I postulate for consideration a proposition that computers are fast enough these days and we have enough "space cycles" not to worry about things like that for all except the most CPU-intensive or latency-sensitive programs?</font><br> <p> This may be true for your personal laptop, but on servers the question isn't "how much spare processor does this system have?" but rather "how many systems do I need to have to serve my users?". If you do something that takes an extra 10% CPU that means that you have to buy 10% more systems.<br> </div> Thu, 20 Nov 2014 18:44:49 +0000 Fuzz and strings https://lwn.net/Articles/622342/ https://lwn.net/Articles/622342/ jake <div class="FormattedComment"> <font class="QuotedText">&gt; readelf is not affected.</font><br> <p> good point ... fixed now, thanks ...<br> <p> jake<br> </div> Thu, 20 Nov 2014 16:37:58 +0000 Fuzz and strings https://lwn.net/Articles/622329/ https://lwn.net/Articles/622329/ xz <div class="FormattedComment"> readelf is not affected. Its manpage says:<br> <p> This program performs a similar function to objdump but it goes into more detail and it exists<br> independently of the BFD library, so if there is a bug in BFD then readelf will not be affected.<br> <p> And indeed it is not linked to libbfd.<br> </div> Thu, 20 Nov 2014 16:20:41 +0000 Fuzz and strings https://lwn.net/Articles/622243/ https://lwn.net/Articles/622243/ faramir <div class="FormattedComment"> For a program that you start and leave running for a long time, you might be correct. However if one is running an intensive shell script, it might startup a simple program thousands of times. Or even one-liners like the following:<br> <p> find . -type f -name '*.txt' -exec grep foobar \{\} /dev/null \;<br> <p> I'm sure there are more efficient ways to do that (probably xargs), but I still think it is worth considering.<br> </div> Thu, 20 Nov 2014 10:58:56 +0000 Fuzz and strings https://lwn.net/Articles/622219/ https://lwn.net/Articles/622219/ jezuch <div class="FormattedComment"> <font class="QuotedText">&gt; Fedora doesn't build PIEs for everything because of the extra overhead in executing an ASLR-protected binary.</font><br> <p> May I postulate for consideration a proposition that computers are fast enough these days and we have enough "space cycles" not to worry about things like that for all except the most CPU-intensive or latency-sensitive programs?<br> </div> Thu, 20 Nov 2014 08:42:29 +0000