Skip to content

Infinite recursion in wrapper for String#split #1614

@Damtev

Description

@Damtev

Description

The current implementation of java.lang.String#split in wrapper UtString is implicitly infinite recursive. Since we don't have a test for this method, we didn't notice this behavior in time. The implementation should be fixed, and

To Reproduce

Generate a test for code using the java.lang.String#split method.

Expected behavior

Tests should be generated in time.

Actual behavior

The generation can end only because of timeout.

Environment

Not applicable.

Additional context

Not applicable.

Metadata

Metadata

Assignees

Labels

comp-symbolic-engineIssue is related to the symbolic execution enginectg-bugIssue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions