paper-with-me

홈 › Papers

AutoStub: Genetic Programming-Based Stub Creation for Symbolic Execution

2025-09-10 · Felix Mächtle, Nils Loose, Jan-Niclas Serr, Jonas Sander, Thomas Eisenbarth arxiv

Symbolic execution is a powerful technique for software testing, but suffers from limitations when encountering external functions, such as native methods or third-party libraries. Existing solutions often require additional context, expensive SMT solvers, or manual intervention to approximate these functions through symbolic stubs. In this work, we propose a novel approach to automatically generate symbolic stubs for external functions during symbolic execution that leverages Genetic Programming. When the symbolic executor encounters an external function, AutoStub generates training data by executing the function on randomly generated inputs and collecting the outputs. Genetic Programming then derives expressions that approximate the behavior of the function, serving as symbolic stubs. These automatically generated stubs allow the symbolic executor to continue the analysis without manual intervention, enabling the exploration of program paths that were previously intractable. We demonstrate that AutoStub can automatically approximate external functions with over 90% accuracy for 55% of the functions evaluated, and can infer language-specific behaviors that reveal edge cases crucial for software testing.

📄 PDF Abstract BibTeX arXiv:2509.08524

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Symbolic Regression via Neural-Guided Genetic Programming Population Seeding

2021-10-29 · T. Nathan Mundhenk, Mikel Landajuela, Ruben Glatt, Claudio P. Santiago 외

Symbolic regression is the process of identifying mathematical expressions that fit observed output from a black-box process. It is a discrete optimization problem generally believed to be NP-hard. Prior approaches to so…

Combinatorial OptimizationregressionSymbolic Regression

Symbolic Regression via Deep Reinforcement Learning Enhanced Genetic Programming Seeding

2021-12-01 · NeurIPS 2021 12 · Terrell Mundhenk, Mikel Landajuela, Ruben Glatt, Claudio Santiago 외

Symbolic regression is the process of identifying mathematical expressions that fit observed output from a black-box process. It is a discrete optimization problem generally believed to be NP-hard. Prior approaches to so…

Combinatorial OptimizationDeep Reinforcement Learningregressionreinforcement-learning+3

The Inefficiency of Genetic Programming for Symbolic Regression -- Extended Version

2024-04-26 · Gabriel Kronberger, Fabricio Olivetti de Franca, Harry Desmond, Deaglan J. Bartlett 외

We analyse the search behaviour of genetic programming for symbolic regression in practically relevant but limited settings, allowing exhaustive enumeration of all solutions. This enables us to quantify the success proba…

regressionSymbolic Regression

Racing Control Variable Genetic Programming for Symbolic Regression

2023-09-13 · Nan Jiang, Yexiang Xue

Symbolic regression, as one of the most crucial tasks in AI for science, discovers governing equations from experimental data. Popular approaches based on genetic programming, Monte Carlo tree search, or deep reinforceme…

Deep Reinforcement LearningregressionSymbolic Regression

Fitness Landscape Analysis of Dimensionally-Aware Genetic Programming Featuring Feynman Equations

2020-04-27 · Marko Durasevic, Domagoj Jakobovic, Marcella Scoczynski Ribeiro Martins, Stjepan Picek 외

Genetic programming is an often-used technique for symbolic regression: finding symbolic expressions that match data from an unknown function. To make the symbolic regression more efficient, one can also use dimensionall…

regressionSymbolic Regression