News for hackers. Stuff that matters.
Re:Stuxnet is now on GitHub by soulclap on Sunday February 13, 2011 @10:51AM (#2212986)
'collaborative decompilation space' (github-based or not) sounds like a sick idea, actually.
Re:Stuxnet is now on GitHub by nitrogen on Sunday February 13, 2011 @07:38PM (#2214686)
I wonder if Google's translation tools could be adapted to the task: "Suggest a better decompilation," perhaps?

Does anybody have a good reference for how decompilers work? When converting assembly to C by hand I always went through multiple passes (not necessarily in this order): first a literal pass that looked a lot like this dump with gotos and variables named after registers, then I'd identify if/else and switch blocks, then I'd convert any reverse gotos into a while loop, convert while loops into for loops, identify data structures, duplicate lines that had been optimized to a single reference with jmps, etc.

Re:Stuxnet is now on GitHub by NateLawson on Monday February 14, 2011 @01:37AM (#2215650)
Pretty much that, yes.

Also, you have specific idioms for popular compilers (vc, gcc, icc, borland) and value propagation. You could even include an SMT solver to identify constraints and propagate the range to child basic blocks.

Re:Stuxnet is now on GitHub by NateLawson on Monday February 14, 2011 @01:33AM (#2215634)
Bincrowd

http://www.zynamics.com/bincrowd.html

The plugin is open source and the community server is free.

Re:Stuxnet is now on GitHub by mukyu on Monday February 14, 2011 @02:00AM (#2215720)
I wanted to post about this, but I could not remember the name and googling things like '(collaborative OR crowdsource) static binary analysis' was futile. Thanks, it was driving me insane.