• Home
  • Search
  • Automated String Constraints Solving for Programs Containing String Manipulation Functions
  • Cite Icon2
  • https://doi.org/10.1007/s11390-017-1787-yCopy DOI Icon

Automated String Constraints Solving for Programs Containing String Manipulation Functions

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The ability to solve various constraints is a principal factor of automatic constraint solvers. Most object-oriented languages treat a character string as a primitive data type which is manipulated by string library functions. Most constraint solvers have limitations on their input constraints, such as strong restrictions on the expressiveness of constraints or lack of the ability to solve hybrid constraints. These limitations hinder applying automated constraint solvers on program analysis techniques for programs containing strings and string manipulation functions. We propose an approach to automatically solve program constraints involving strings and string manipulation functions. Based on the character array model, we design a constraint language which contains primitive operations to precisely describe the constraints of commonly used string manipulation functions. The translated string constraints together with numeric constraints are then solved by a two-phase test generation procedure: firstly, a partial solution is obtained to satisfy the arithmetic constraints of the position variables, and the solution is utilized to simplify the string constraints into pure character array constraints; secondly, the pure array constraints are solved by an off-the-shelf array-specific theory based constraint solver. We integrate the approach into an automated testing tool to support the generation of string test cases, and then perform experiments. The results of the experiments prove that the integration of the proposed approach promotes the testing coverage of the existing testing tool, and the integrated tool has an advantage of handling specific string manipulation functions compared with an existing string solver.

Similar Papers
  • Research Article
  • Citations32

A guided local search with iterative ejections of bottleneck operations for the job shop scheduling problem

  • Sep 15, 2017
  • Computers & Operations Research
  • Yuichi Nagata +1
  • Book Chapter
  • Citations3

Locally Consistent Constraint Satisfaction Problems with Binary Constraints

  • Jan 01, 2005
  • Manuel Bodirsky +1
  • Preprint Article

Circuit Complexity Of Constraint Satisfaction Problems With Few Subpowers

  • May 22, 2021
  • Amir El-Aooiti
  • Research Article
  • Citations4

Partial Solution Based Constraint Solving Cache in Symbolic Execution

  • Jul 12, 2024
  • Proceedings of the ACM on Software Engineering
  • Ziqi Shuai +6
  • Conference Article
  • Citations1

System of automated timetabling

  • Jun 16, 2003
  • W Legierski +1
  • Research Article
  • Citations3

A symbolic algorithm for the case-split rule in solving word constraints with extensions

  • Mar 05, 2023
  • Journal of Systems and Software
  • Yu-Fang Chen +3
  • Research Article
  • Citations3

JTst – An Automated Unit Testing Tool for Java Program

  • Feb 01, 2008
  • American Journal of Applied Sciences
  • Kamal Zuhairi Zamli +1
  • Book Chapter
  • Citations3

Combination of Boxes and Polyhedra Abstractions for Constraint Solving

  • Jan 01, 2020
  • Ghiles Ziat +4
  • Conference Article

SoftwareHardware Hybrid Systems Verification

  • Mar 01, 2011
  • Neelesh Bhattacharya
  • Research Article
  • Citations46

Backtracking techniques for the job shop scheduling constraint satisfaction problem

  • Jul 01, 1995
  • Artificial Intelligence
  • Norman Sadeh +2
  • Research Article
  • Citations9

Randomized constraint solvers: a comparative study

  • Mar 27, 2010
  • Innovations in Systems and Software Engineering
  • Mitsuo Takaki +5
  • Conference Article
  • Citations81

Optimal strategies for testing nondeterministic systems

  • Jul 01, 2004
  • Lev Nachmanson +4
  • Conference Article
  • Citations1

Predictive constraint solving and analysis

  • Jun 27, 2020
  • Alyas Almaawi +5
  • Conference Article
  • Citations14

Problem structure and subproblem sharing in multi-agent systems

  • Jul 03, 1998
  • D.L Mammen +1
  • Book Chapter

An MP/CP-Based Hybrid Approach to Optimization of the Resource-Constrained Scheduling Problems

  • Jan 01, 2018
  • Paweł Sitek +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.