2015 · 30 citations · 23 references
ComputingComputer EngineeringComputer ScienceAlgorithmsCompilersComputer ArchitectureCode GenerationCompiler ConstructionDesign SynthesisHardware ObfuscationLogic SynthesisMicroarchitecture DesignBit-vector ReasoningEnumerative SynthesisMachine Code GenerationPartial EvaluationSearch HeuristicsSearch Space Pruning
In this paper, we present a technique to synthesize machine-code instructions from a semantic specification, given as a Quantifier-Free Bit-Vector (QFBV) logic formula. Our technique uses an instantiation of the Counter-Example Guided Inductive Synthesis (CEGIS) framework, in combination with search-space pruning heuristics to synthesize instruction-sequences. To counter the exponential cost inherent in enumerative synthesis, our technique uses a divide-and-conquer strategy to break the input QFBV formula into independent sub-formulas, and synthesize instructions for the sub-formulas. Synthesizers created by our technique could be used to create semantics-based binary rewriting tools such as optimizers, partial evaluators, program obfuscators/de-obfuscators, etc. Our experiments for Intel's IA-32 instruction set show that, in comparison to our baseline algorithm, our search-space pruning heuristics reduce the synthesis time by a factor of 473, and our divide-and-conquer strategy reduces the synthesis time by a further 3 to 5 orders of magnitude.
23
SPEC CPU2006 benchmark descriptions
John L. Henning · ACM SIGARCH Computer Architecture News · 2006 · 2K citations
Semantics-aware malware detection
Mihai Christodorescu, Somesh Jha, Sanjit A. Seshia et al. · 2005 · 723 citations · Full text
Combinatorial sketching for finite programs
Armando Solar-Lezama, Liviu Tancau, Rastislav Bodík et al. · 2006 · 642 citations
Program synthesis by sketching
Rastislav Bodík, Armando Solar-Lezama · 2008 · 338 citations
Eric Schkufza, Rahul Sharma, Alex Aiken · 2013 · 277 citations