News for hackers. Stuff that matters.

regehr

Re:Introduction to Precision Farming on Friday January 20, 2017 @10:49PM (#13448646)
I adjusted the text a bit anyhow.
Re:Vigorous Public Debates in Academic Computer Science on Sunday October 02, 2016 @03:47PM (#12623896)
Yes, I'm adding them as I learn about them her (or, in this case, am reminded about them).
Re:The Melancholy of Infinite Space (1996) on Saturday July 30, 2016 @02:02AM (#12191837)
Anyone who enjoys this story will likely also enjoy _Tau Zero_ by Poul Anderson.
Re:Superoptimizing LLVM (2014) [video] on Thursday April 07, 2016 @03:27PM (#11449923)
It turns out it's harder than you'd think to decide whether or not an optimization is a good idea. Of course there are some relatively simple optimizations that are obviously good, but a lot of those have already been implemented. Also, I'm not sure how many people are going to want to add a solver into their compilation path.

On the other hand, if we simply contribute optimizations then all LLVM users benefit.

We're also using Souper to reveal imprecisions in LLVM dataflow analyses such as known bits -- this turns out to work really well.

Re:Superoptimizing LLVM (2014) [video] on Thursday April 07, 2016 @01:58AM (#11445044)
It's definitely still an active project, but I'm on sabbatical this academic year and have had much less time than usual for my regular research. I'll be getting back to it in June. Also, Raimondas Sasnauskas, who implemented the instruction synthesizer, finished his postdoc position and moved on.

In any case, there's been a lot of progress since I did that UW talk, for example here are some early synthesis results:

http://blog.regehr.org/archives/1252

Re:C – Preliminary C2x Charter on Thursday March 17, 2016 @06:11PM (#11308032)
Meanwhile, Java runs pretty fast.
Re:The Strict Aliasing Situation Is Pretty Bad on Tuesday March 15, 2016 @12:14PM (#11290712)
Replying to myself because depth limit.

Let me try to think of a good way to update the post to capture this better...

Re:The Strict Aliasing Situation Is Pretty Bad on Tuesday March 15, 2016 @11:33AM (#11290383)
Looks like your other comment hit the max reply depth so this will need to finish up, but in any case I don't agree with your reading of the vice versa.
Re:The Strict Aliasing Situation Is Pretty Bad on Tuesday March 15, 2016 @11:09AM (#11290187)
I don't see text that justifies your one-way argument, the bit of 6.2.7.1 that we are talking about says "and vice versa".
Re:The Strict Aliasing Situation Is Pretty Bad on Tuesday March 15, 2016 @10:23AM (#11289799)
It doesn't seem straightforward to me: you're using words like base and derived that aren't in the C standard.
Re:The Strict Aliasing Situation Is Pretty Bad on Tuesday March 15, 2016 @09:56AM (#11289606)
Josh, what's your opinion about this situation?

https://goo.gl/3hz0em

Frama-C can be used in "interpreter mode" where it acts like a checking C interpreter. It then catches a superset of the bugs that would be caught by Valgrind / ASan / UBSan. On the other hand it is slower and harder to use than those tools.
Re:What is the best John le Carré novel? on Sunday January 10, 2016 @04:15AM (#10874756)
_A Perfect Spy_ has my vote, it's an incredible book.
Re:The Problem with Friendly C on Thursday December 24, 2015 @03:06AM (#10787513)
Also we're all waiting for the strict aliasing checker.
Re:The Problem with Friendly C on Thursday December 24, 2015 @02:50AM (#10787486)
For new code and for actively maintained old code you are perfectly correct. But there is a huge amount of C code we still rely on that isn't getting enough attention and I don't want that getting broken either.
Re:Test-Case Reducers are Fuzzers on Monday December 07, 2015 @02:07PM (#10691801)
I'm not sure if the QuickCheck people have explored these ideas, perhaps they'll chime in.
Re:Test-Case Reducers are Fuzzers on Monday December 07, 2015 @02:03PM (#10691766)
Shrinkers, reducers, minimizers -- all are the same thing and all operate using the basic ideas outlined in the original Delta Debugging paper.
Re:Test-Case Reducers are Fuzzers on Monday December 07, 2015 @06:54AM (#10688849)
Delta Debugging provided a name and a generic algorithm for something that people had already been doing, but they hadn't been calling it anything and hadn't formulated it as an abstract problem.

DD just removes stuff. C-Reduce does lots more, such as inlining functions, rewriting the class hierarchy, instantiating templates, ...

More: http://blog.regehr.org/archives/527

Re:Microkernels Meet Recursive Virtual Machines (1996) [pdf] on Wednesday November 11, 2015 @12:15PM (#10547710)
ftp.flux.utah.edu is responding fine for me.

If you can't find what you're looking for we can help, I'm [email protected]

HintHunt in Paris is awesome.
Re:Souper – A Superoptimizer for LLVM IR on Wednesday October 28, 2015 @11:18AM (#10464914)
I'm one of the Souper developers and can offer a few pointers that may be more helpful than the github repo. Here's a somewhat recent blog post showing things that Souper can do:

  http://blog.regehr.org/archives/1252
Here's a talk I gave at the University of Washington last winter (before Souper did synthesis):

  https://www.youtube.com/watch?v=Ux0YnVEaI6A
Recently we've been teaching Souper to use dataflow facts such as LLVM's known bits and demanded bits. Perhaps interestingly, Souper can also teach LLVM how to compute these facts more precisely:

  http://lists.llvm.org/pipermail/llvm-dev/2015-September/089904.html
One really common question about Souper is "why operate on LLVM IR instead of instructions?" One of the main answers is "so that we can interact with dataflow analyses." This isn't something that previous superoptimizers have done. It seems to be working out really well.
Re:Calling conventions are hard – fuzz them on Sunday September 20, 2015 @05:15AM (#10246992)
Quest was a much earlier tool (ca. 2005) with similar goals: https://github.com/lindig/quest
Re:Finger Binary on Sunday August 30, 2015 @03:47AM (#10142639)
My kids enjoy finger binary since they only need to count to four in order to give me the finger.
Re:LLVM for Grad Students on Tuesday August 04, 2015 @03:07AM (#10002066)
Sure :).
Re:LLVM for Grad Students on Tuesday August 04, 2015 @03:01AM (#10002056)
Many people have observed the LLVM appears to move unusually quickly. This is good except when it's bad.
Re:LLVM for Grad Students on Monday August 03, 2015 @07:30PM (#10000611)
Adrian might have mentioned an important drawback of using LLVM: active effort is required to keep up with it. Many an LLVM-based research project has gotten stuck on 2.9 or 3.2 at which point it starts becoming less and less relevant.

It's not that big of a deal, but active effort is required. The amount of effort depends on how many and which APIs your project uses; for a small/medium project perhaps a couple of hours every couple of weeks.

Sean, when I visited in 2012 I don't remember any security lines, is this new?

I found the Beijing subway to be far nicer than the ones found in major American cities. No surprise since it's much newer.

Re:Lost Highways: Old roads in Vermont on Tuesday July 14, 2015 @05:59PM (#9888361)
One of my favorite things is an old highway in Kansas that emerges from a reservoir that was created in the 1960s and then drops back into the water a short distance away. It's in an out-of-the-way location and we used to go sit on the pavement and drink beer when I was in high school.
Re:What afl-fuzz is bad at on Monday May 04, 2015 @09:19PM (#9490375)
The "without requiring you to think too much about the problem space" is pretty huge and it is where solver-based testing currently falls over (in my experience).

Older »