2008 2nd IFIP/IEEE International Symposium on Theoretical Aspects of Software Engineering 2008
DOI: 10.1109/tase.2008.25
|View full text |Cite
|
Sign up to set email alerts
|

Test Data Generation for C Programs with String-Handling Functions

Abstract: There are many test generation methods, but few of them consider the character strings. This paper proposes a method to generate test data for C programs with character strings and character string function calls, which is based on path oriented testing. Each character variable is viewed as an integer variable with the restriction that the value should be between 0 and 255. A character string is viewed as an array of characters with a predefined fixed length. Many commonly used character library functions are … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
4
0

Year Published

2009
2009
2023
2023

Publication Types

Select...
5
3
1

Relationship

0
9

Authors

Journals

citations
Cited by 9 publications
(5 citation statements)
references
References 18 publications
0
4
0
Order By: Relevance
“…In the context of symbolic execution of programs, string abstractions has been recently studied by Ruan et.al. [13], where an approach based on a first-order encoding of string functions is proposed. They study C programs where strings are zero-terminated arrays whose lengths are bounded by constants.…”
Section: Resultsmentioning
confidence: 99%
“…In the context of symbolic execution of programs, string abstractions has been recently studied by Ruan et.al. [13], where an approach based on a first-order encoding of string functions is proposed. They study C programs where strings are zero-terminated arrays whose lengths are bounded by constants.…”
Section: Resultsmentioning
confidence: 99%
“…The manual software test case generation relies on the experience and level of the testers to a large extent, which is time-consuming. To this end, many researchers have proposed a large number of automated test case generation methods, which include searchbased test case generation [36][37][38][39], constraint solving-based test case generation [40][41][42], requirement-based test case generation [43,44], symbol-based test case generation, executed test case generation [45][46][47][48], and random test case generation method [49]. Search-based test case generation originates from research in artificial intelligence.…”
Section: Test Case Generationmentioning
confidence: 99%
“…Every path along the tree is a set of constraints that can affect the execution of the program. By using a theorem prover, the satisfiability of constraints can be reasoned [20]. Unfortunately, due to the limitations of theorem provers, a constraint containing statements, such as function calls, is not solvable.…”
Section: Related Workmentioning
confidence: 99%