[Paper Review] SynFuzz: Efficient Concolic Execution via Branch Condition Synthesis
SynFuzz proposes a novel concolic execution framework that replaces symbolic instruction interpretation with dynamic taint analysis and oracle-guided program synthesis to achieve near-fuzzing performance while retaining the ability to flip complex branch predicates. By synthesizing symbolic expressions from input-output pairs and using SMT solvers only for constraint solving, SynFuzz achieves significantly higher scalability and coverage than traditional concolic executors.
Concolic execution is a powerful program analysis technique for exploring execution paths in a systematic manner. Compare to random-mutation-based fuzzing, concolic execution is especially good at exploring paths that are guarded by complex and tight branch predicates (e.g., (a*b) == 0xdeadbeef). The drawback, however, is that concolic execution engines are much slower than native execution. One major source of the slowness is that concolic execution engines have to the interpret instructions to maintain the symbolic expression of program variables. In this work, we propose SynFuzz, a novel approach to perform scalable concolic execution. SynFuzz achieves this goal by replacing interpretation with dynamic taint analysis and program synthesis. In particular, to flip a conditional branch, SynFuzz first uses operation-aware taint analysis to record a partial expression (i.e., a sketch) of its branch predicate. Then it uses oracle-guided program synthesis to reconstruct the symbolic expression based on input-output pairs. The last step is the same as traditional concolic execution - SynFuzz consults a SMT solver to generate an input that can flip the target branch. By doing so, SynFuzz can achieve an execution speed that is close to fuzzing while retain concolic execution's capability of flipping complex branch predicates. We have implemented a prototype of SynFuzz and evaluated it with three sets of programs: real-world applications, the LAVA-M benchmark, and the Google Fuzzer Test Suite (FTS). The evaluation results showed that SynFuzz was much more scalable than traditional concolic execution engines, was able to find more bugs in LAVA-M than most state-of-the-art concolic execution engine (QSYM), and achieved better code coverage on real-world applications and FTS.
Motivation & Objective
- To address the scalability bottleneck in concolic execution caused by slow symbolic interpretation and SMT solving.
- To enable efficient exploration of deeply nested paths guarded by complex branch conditions.
- To reduce reliance on symbolic interpretation without sacrificing path coverage or precision.
- To improve concolic execution performance to near-fuzzing levels while maintaining effectiveness on hard-to-flip branches.
- To provide a scalable, transferable alternative to existing concolic execution and learning-based fuzzing techniques.
Proposed method
- Dynamic taint analysis is used to track input bytes that influence branch predicates, capturing a partial symbolic expression (a 'sketch') of the branch condition.
- Oracle-guided program synthesis reconstructs the full symbolic formula of the branch predicate from input-output pairs collected during execution.
- The synthesized symbolic expression is then used with an SMT solver to generate inputs that flip the target branch.
- The approach eliminates the need for instruction-level symbolic interpretation, drastically reducing execution overhead.
- SynFuzz integrates with existing concolic execution pipelines, replacing symbolic interpretation with synthesis-based formula reconstruction.
- The method supports nested branch flipping by analyzing dependencies between conditions and input data.
Experimental results
Research questions
- RQ1Can program synthesis be used to reconstruct symbolic branch predicates more efficiently than symbolic interpretation?
- RQ2Can dynamic taint analysis combined with synthesis achieve concolic execution performance close to greybox fuzzing?
- RQ3Does eliminating symbolic interpretation improve scalability on deep or complex execution paths?
- RQ4Can SynFuzz outperform state-of-the-art concolic executors like QSYM in both bug finding and code coverage?
- RQ5How effective is the synthesis-based approach on real-world programs and structured input formats?
Key findings
- SynFuzz found 29 out of 29 listed bugs in the 'uniq' program from the LAVA-M benchmark, outperforming most other tools.
- On 'who', SynFuzz discovered 2,218 bugs—more than any other tool except Redqueen and Neuzz, which found 2,462 and 1,582 respectively.
- In the Google FTS suite, SynFuzz achieved higher code coverage than QSYM, Angora, and other leading concolic executors.
- SynFuzz discovered 61 out of 61 listed bugs in 'md5sum', matching or exceeding the performance of QSYM and Neuzz.
- SynFuzz achieved near-fuzzing execution speed while maintaining the ability to explore paths guarded by complex predicates like (a*b) == 0xdeadbeef.
- The prototype demonstrated that program synthesis can effectively replace symbolic interpretation, reducing overhead and improving scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.